diff options
Diffstat (limited to 'kdejava/koala')
1847 files changed, 0 insertions, 307788 deletions
diff --git a/kdejava/koala/Makefile.am b/kdejava/koala/Makefile.am deleted file mode 100644 index 2122d2fb..00000000 --- a/kdejava/koala/Makefile.am +++ /dev/null @@ -1,51 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## -noinst_PROGRAMS = koala - -## INCLUDES were found outside tdevelop specific part - -koala_SOURCES = main.cpp -koala_LDADD = ./kdejava/libkdejava.la ../../qtjava/javalib/qtjava/libqtjava.la $(LIB_TDESPELL) -ltdeparts $(LIB_TDEIO) -lXext -lX11 $(LIBSOCKET) - -SUBDIRS = org kdejava - -EXTRA_DIST = main.cpp - -####### tdevelop will overwrite this part!!! (end)############ -# this 10 paths are KDE specific. Use them: -# kde_htmldir Where your docs should go to. (contains lang subdirs) -# kde_appsdir Where your application file (.kdelnk) should go to. -# kde_icondir Where your icon should go to. -# kde_minidir Where your mini icon should go to. -# kde_datadir Where you install application data. (Use a subdir) -# kde_locale Where translation files should go to.(contains lang subdirs) -# kde_cgidir Where cgi-bin executables should go to. -# kde_confdir Where config files should go to. -# kde_mimedir Where mimetypes should go to. -# kde_toolbardir Where general toolbar icons should go to. -# kde_wallpaperdir Where general wallpapers should go to. - -data_DATA = koala.jar -datadir = $(kde_libraries)/java - -koala.jar: org/kde/koala/classnoinst.stamp - $(JAR) cf koala.jar org/kde/koala/*.class - -# set the include path for X, qt and KDE -INCLUDES= $(all_includes) - -koala_METASOURCES = AUTO - -# the library search path. -koala_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor - -# them while "make clean", use CLEANFILES -CLEANFILES = koala.jar - -# make messages.po. Move this one to ../po/ and "make merge" in po -# the -x is for skipping messages already translated in tdelibs -messages: - LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ - if test -n "$$LIST"; then \ - $(XGETTEXT) -C -ki18n -x $(kde_includes)/kde.pot $$LIST -o ../po/koala.pot; \ - fi - diff --git a/kdejava/koala/examples/kscribble/KPenBrushDlg.java b/kdejava/koala/examples/kscribble/KPenBrushDlg.java deleted file mode 100644 index a1fb0502..00000000 --- a/kdejava/koala/examples/kscribble/KPenBrushDlg.java +++ /dev/null @@ -1,82 +0,0 @@ -import java.util.*; - -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * The base class for JavaApiTest application windows. It sets up the main - * window and reads the config file as well as providing a menubar, toolbar - * and statusbar. An instance of KBaseView creates your center view, which is connected - * to the window's Doc object. - * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports - * full session management as well as using TDEActions. - * @see TDEMainWindow - * @see TDEApplication - * @see TDEConfig - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class KPenBrushDlg extends TQDialog { - - private TQSpinBox width_spbox; - private TQLabel width_label; - private TQPushButton default_btn; - private TQPushButton ok_btn; - private TQPushButton cancel_btn; - - public KPenBrushDlg(int curr, TQWidget parent, String name) { - super (parent,name,true,WStyle_ContextHelp); - initDialog(); - TQWhatsThis.add(width_spbox,i18n("Select brush width")); - - width_spbox.setValue(curr); - connect(default_btn, SIGNAL("clicked()"), this, SLOT("slotDefault()")); - connect(ok_btn, SIGNAL("clicked()"), this, SLOT("accept()")); - connect(cancel_btn, SIGNAL("clicked()"), this, SLOT("reject()")); - - - } - - int getPenWidth() { - return width_spbox.value(); - }; - - void initDialog(){ - this.resize(370,210); - this.setMinimumSize(0,0); - width_spbox= new TQSpinBox(this,"width_spbox"); - width_spbox.setGeometry(150,50,100,25); - width_spbox.setMinimumSize(0,0); - width_spbox.setValue(1); - width_spbox.setRange(1,99); - - width_label= new TQLabel(this,"width_label"); - width_label.setGeometry(20,50,120,25); - width_label.setMinimumSize(0,0); - width_label.setText(i18n("Pen width:")); - - default_btn= new TQPushButton(this,"default"); - default_btn.setGeometry(30,160,100,30); - default_btn.setMinimumSize(0,0); - default_btn.setText(i18n("&Default")); - default_btn.setAutoDefault(true); - - ok_btn= new TQPushButton(this,"ok"); - ok_btn.setGeometry(140,160,100,30); - ok_btn.setMinimumSize(0,0); - ok_btn.setText(i18n("&OK")); - ok_btn.setAutoDefault(true); - - cancel_btn= new TQPushButton(this,"cancel"); - cancel_btn.setGeometry(250,160,100,30); - cancel_btn.setMinimumSize(0,0); - cancel_btn.setText(i18n("&Cancel")); - cancel_btn.setAutoDefault(true); - - } - - void slotDefault(){ - width_spbox.setValue(3); - } -} diff --git a/kdejava/koala/examples/kscribble/KScribbleApp.java b/kdejava/koala/examples/kscribble/KScribbleApp.java deleted file mode 100644 index 00be368e..00000000 --- a/kdejava/koala/examples/kscribble/KScribbleApp.java +++ /dev/null @@ -1,1039 +0,0 @@ -import java.util.*; -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * The base class for KScribble application windows. It sets up the main - * window and reads the config file as well as providing a menubar, toolbar - * and statusbar. In initView(), your main view is created as the MDI child window manager. - * Child windows are created in createClient(), which gets a document instance as it's document to - * display whereby one document can have several views.The MDI child is an instance of KScribbleView, - * the document an instance of KScribbleDoc. - * KScribbleApp reimplements the methods that TDEMainWindow provides for main window handling and supports - * full session management as well as keyboard accelerator configuration by using TDEAccel. - * @see TDEMainWindow - * @see TDEApplication - * @see TDEConfig - * @see TDEAccel - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.1 code generation - */ -public class KScribbleApp extends TDEMainWindow implements Resource { - - /** the configuration object of the application */ - private TDEConfig config; - /** view is the main widget which represents your working area. The View - * class should handle all events of the view widget. It is kept empty so - * you can create your view according to your application's needs by - * changing the view class. - */ - private KScribbleView view; - /** doc represents your actual document and is created only once. It keeps - * information such as filename and does the serialization of your files. - */ - private KScribbleDoc doc; - - /** contains the recently used filenames */ - ArrayList recentFiles = null; - - // menus - private TQPopupMenu pFileMenu; - private TQPopupMenu pEditMenu; - private TQPopupMenu pPenMenu; - private TQPopupMenu pViewMenu; - private TQPopupMenu pWindowMenu; - private TQPopupMenu pHelpMenu; - private TQPopupMenu pRecentFileMenu; - - private TQWorkspace pWorkspace; - private TQPrinter printer; - private int untitledCount = 0; - private ArrayList pDocList; - private TDEApplication kapp; - private TDEIconLoader k = new TDEIconLoader(); - - /** construtor of KScribbleApp, calls all init functions to create the application. - */ - public KScribbleApp(TQWidget parent, String name) { - super(parent,name, 0); - kapp = TDEApplication.kApplication(); - config=kapp.config(); - - printer = new TQPrinter(); - untitledCount=0; - pDocList = new ArrayList(); - setAcceptDrops(true); - /////////////////////////////////////////////////////////////////// - // call inits to invoke all other construction parts - initMenuBar(); - initToolBar(); - initStatusBar(); - initKeyAccel(); - initView(); - - readOptions(); - - /////////////////////////////////////////////////////////////////// - // disable menu and toolbar items at startup - disableCommand(ID_EDIT_UNDO); - - } - - public KScribbleApp() { - this(null, null); - } - - /** initializes the TDEActions of the application */ - protected void initKeyAccel() { - - TDEAccel keyAccel = new TDEAccel(this); - - // fileMenu accelerators - keyAccel.insert(TDEStdAccel.New, this, SLOT("slotFileNew()")); - keyAccel.insert(TDEStdAccel.Open, this, SLOT("slotFileOpen()")); - keyAccel.insert(TDEStdAccel.Save, this, SLOT("slotFileSave()")); - keyAccel.insert(TDEStdAccel.Close, this, SLOT("slotFileClose()")); - keyAccel.insert(TDEStdAccel.Print, this, SLOT("slotFilePrint()")); - keyAccel.insert(TDEStdAccel.Quit, this, SLOT("slotFileQuit()")); - - // editMenu accelerators - keyAccel.insert(TDEStdAccel.Cut, this, SLOT("slotEditCut()")); - keyAccel.insert(TDEStdAccel.Copy, this, SLOT("slotEditCopy()")); - keyAccel.insert(TDEStdAccel.Paste, this, SLOT("slotEditPaste()")); - - // help accelerator - keyAccel.insert(TDEStdAccel.Help, this, SLOT("appHelpActivated()")); - - keyAccel.readSettings(); - - } - - - void initMenuBar() { - /////////////////////////////////////////////////////////////////// - // MENUBAR - - pRecentFileMenu = new TQPopupMenu(this); - connect(pRecentFileMenu, SIGNAL("activated(int)"), SLOT("slotFileOpenRecent(int)")); - - - /////////////////////////////////////////////////////////////////// - // menuBar entry file-Menu - pFileMenu = new TQPopupMenu(this); - - - pFileMenu.insertItem(KDE.BarIconSet("filenew"),i18n("&New"), ID_FILE_NEW,-1); - pFileMenu.insertItem(KDE.BarIconSet("fileopen"),i18n("&Open..."), ID_FILE_OPEN,-1); - pFileMenu.insertItem(i18n("Open &recent"), pRecentFileMenu, ID_FILE_OPEN_RECENT,-1); - - pFileMenu.insertItem(i18n("&Close"), ID_FILE_CLOSE,-1); - pFileMenu.insertSeparator(); - pFileMenu.insertItem(KDE.BarIconSet("filefloppy") ,i18n("&Save"), ID_FILE_SAVE,-1); - pFileMenu.insertItem(i18n("Save &As..."), ID_FILE_SAVE_AS,-1); - pFileMenu.insertSeparator(); - pFileMenu.insertItem(KDE.BarIconSet("fileprint"), i18n("&Print..."), ID_FILE_PRINT,-1); - pFileMenu.insertSeparator(); - pFileMenu.insertItem(i18n("E&xit"), ID_FILE_QUIT,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry edit-Menu - pEditMenu = new TQPopupMenu(this); - pEditMenu.insertItem(KDE.BarIconSet("undo"), i18n("&Undo"), ID_EDIT_UNDO,-1); - pEditMenu.insertSeparator(); - pEditMenu.insertItem(KDE.BarIconSet("editcut"), i18n("Cu&t"), ID_EDIT_CUT,-1); - pEditMenu.insertItem(KDE.BarIconSet("editcopy"), i18n("&Copy"), ID_EDIT_COPY,-1); - pEditMenu.insertItem(KDE.BarIconSet("editpaste"), i18n("&Paste"), ID_EDIT_PASTE,-1); - pEditMenu.insertItem(KDE.BarIconSet("delete"),i18n("&Clear All"), ID_EDIT_CLEAR_ALL,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry pen-Menu - pPenMenu = new TQPopupMenu(); - pPenMenu.insertItem(i18n("&Color"), ID_PEN_COLOR,-1); - pPenMenu.insertItem(i18n("&Brush"), ID_PEN_BRUSH,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry view-Menu - pViewMenu = new TQPopupMenu(this); - pViewMenu.setCheckable(true); - pViewMenu.insertItem(i18n("&Toolbar"), ID_VIEW_TOOLBAR,-1); - pViewMenu.insertItem(i18n("&Statusbar"), ID_VIEW_STATUSBAR,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry window-Menu - pWindowMenu = new TQPopupMenu(this); - pWindowMenu.setCheckable(true); - - - /////////////////////////////////////////////////////////////////// - // menuBar entry helpMenu - - TQPopupMenu pHelpMenu = helpMenu(i18n("Java KScribble " + Main.VERSION + "\n\n(c) 2002 by\n" + - "Ralf Nolden\nRalf.Nolden@post.rwth-aachen.de"),true); - - /////////////////////////////////////////////////////////////////// - // MENUBAR CONFIGURATION - // insert your popup menus with the according menubar entries in the order - // they will appear later from left to right - menuBar().insertItem(i18n("&File"), pFileMenu); - menuBar().insertItem(i18n("&Edit"), pEditMenu); - menuBar().insertItem(i18n("&Pen"), pPenMenu); - menuBar().insertItem(i18n("&View"), pViewMenu); - menuBar().insertItem(i18n("&Window"), pWindowMenu ); - menuBar().insertItem(i18n("&Help"), pHelpMenu); - - /////////////////////////////////////////////////////////////////// - // CONNECT THE MENU SLOTS WITH SIGNALS - // for execution slots and statusbar messages - connect(pFileMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pFileMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pEditMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pEditMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pPenMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pPenMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pViewMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pViewMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pWindowMenu, SIGNAL("aboutToShow()" ), SLOT( "windowMenuAboutToShow()" ) ); - connect(pWindowMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pWindowMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - } - - - private void initToolBar() { - - /////////////////////////////////////////////////////////////////// - // TOOLBAR - - toolBar().insertButton(KDE.BarIcon("filenew"), ID_FILE_NEW, true, i18n("New File"),-1); - toolBar().insertButton(KDE.BarIcon("fileopen"), ID_FILE_OPEN, true, i18n("Open File"),-1); - toolBar().insertButton(KDE.BarIcon("filefloppy"), ID_FILE_SAVE, true, i18n("Save File"),-1); - toolBar().insertButton(KDE.BarIcon("fileprint"), ID_FILE_PRINT, true, i18n("Print"),-1); - toolBar().insertSeparator(); - toolBar().insertButton(KDE.BarIcon("editcut"), ID_EDIT_CUT, true, i18n("Cut"),-1); - toolBar().insertButton(KDE.BarIcon("editcopy"), ID_EDIT_COPY, true, i18n("Copy"),-1); - toolBar().insertButton(KDE.BarIcon("editpaste"), ID_EDIT_PASTE, true, i18n("Paste"),-1); - toolBar().insertSeparator(); - toolBar().insertButton(KDE.BarIcon("pencolor"), ID_PEN_COLOR, true, i18n("Color"),-1 ); - toolBar().insertButton(KDE.BarIcon("penwidth"), ID_PEN_BRUSH, true, i18n("Width"),-1 ); - toolBar().insertSeparator(); - toolBar().insertButton(KDE.BarIcon("help"), ID_HELP_CONTENTS, SIGNAL("clicked()"), - this, SLOT("appHelpActivated()"), true,i18n("Help"),-1); - - TQToolButton btnwhat = TQWhatsThis.whatsThisButton(toolBar()); - TQToolTip.add(btnwhat, i18n("What's this...?")); - toolBar().insertWidget(ID_HELP_WHATS_THIS, btnwhat.sizeHint().width(), btnwhat); - - /////////////////////////////////////////////////////////////////// - // INSERT YOUR APPLICATION SPECIFIC TOOLBARS HERE WITH toolBar(n) - - - /////////////////////////////////////////////////////////////////// - // CONNECT THE TOOLBAR SLOTS WITH SIGNALS - add new created toolbars by their according number - // connect for invoking the slot actions - connect(toolBar(), SIGNAL("clicked(int)"), SLOT("commandCallback(int)")); - // connect for the status help on holing icons pressed with the mouse button - connect(toolBar(), SIGNAL("pressed(int)"), SLOT("statusCallback(int)")); - - } - - - /** sets up the kstatusBar for the main window by initialzing a statuslabel. - */ - protected void initStatusBar() { - /////////////////////////////////////////////////////////////////// - // STATUSBAR - // TODO: add your own items you need for displaying current application status. - kstatusBar().insertItem(i18n("Ready."), ID_STATUS_MSG); - } - - /** creates the centerwidget of the KTMainWindow instance and sets it as the view - */ - protected void initView() { - - //////////////////////////////////////////////////////////////////// - // here the main view of the KTMainWindow is created by a background box and - // the TQWorkspace instance for MDI view. - TQVBox view_back = new TQVBox( this ); - view_back.setFrameStyle( TQFrame.StyledPanel | TQFrame.Sunken ); - pWorkspace = new TQWorkspace( view_back, "" ); - connect(pWorkspace, SIGNAL("windowActivated(TQWidget)"), this, SLOT("setWndTitle(TQWidget)")); -// setView(view_back); - setCentralWidget(view_back); - } - - void createClient(KScribbleDoc doc) { - KScribbleView w = new KScribbleView(doc, pWorkspace,null,WDestructiveClose); - w.installEventFilter(this); - doc.addView(w); - w.setIcon(kapp.miniIcon()); - if ( pWorkspace.windowList().isEmpty() ) // show the very first window in maximized mode - w.showMaximized(); - else - w.show(); - } - - void addRecentFile(String file) { - - - if(recentFiles != null && recentFiles.contains(file)) - return; // it's already there - - if( recentFiles.size() < 5) - recentFiles.add(0,file); - else{ - recentFiles.remove(recentFiles.remove(recentFiles.size()-1)); - recentFiles.add(0,file); - } - - pRecentFileMenu.clear(); - - Iterator it = recentFiles.iterator(); - while (it.hasNext()) { - pRecentFileMenu.insertItem((String)it.next()); - } - - } - - /** opens a file specified by commandline option - */ - public void openDocumentFile(KURL url) { - slotStatusMsg(i18n("Opening file...")); - - KScribbleDoc doc; - String file = url.directory(false,true) + url.fileName(); - - Iterator it = pDocList.iterator(); - - while (it.hasNext()) { - - doc = (KScribbleDoc)it.next(); - // check, if document already open. If yes, set the focus to the first view - if(doc.pathName().equals(file)) { - - KScribbleView view=doc.firstView(); - view.setFocus(); - return; - } - } - doc = new KScribbleDoc(); - pDocList.add(doc); - doc.newDocument(); - // Creates an untitled window if file is 0 - if(file == null || file.length() == 0) { - untitledCount+=1; - String fileName= i18n("Untitled" +untitledCount); - doc.setPathName(fileName); - doc.setTitle(fileName); - } - // Open the file - else { - - String format= TQImageIO.imageFormat(file); - if(!doc.openDocument(file,format)) - KMessageBox.error (this,i18n("Could not open document !"), i18n("Error !"),KMessageBox.Notify); - addRecentFile(file); - } - // create the window - createClient(doc); - slotStatusMsg(i18n("Ready.")); - - } - - - public void openDocumentFile() { - openDocumentFile(new KURL()); - return; - } - - void windowMenuAboutToShow() { - pWindowMenu.clear(); - - pWindowMenu.insertItem(i18n("&New Window"), ID_WINDOW_NEW_WINDOW); - pWindowMenu.insertItem(i18n("&Cascade"), - pWorkspace, SLOT("cascade()" ),new TQKeySequence(0) , ID_WINDOW_CASCADE ); - pWindowMenu.insertItem(i18n("&Tile"), - pWorkspace, SLOT("tile()" ),new TQKeySequence(0) , ID_WINDOW_TILE ); - - if ( pWorkspace.windowList().isEmpty() ) { - - disableCommand(ID_WINDOW_NEW_WINDOW); - disableCommand(ID_WINDOW_CASCADE); - disableCommand(ID_WINDOW_TILE); - } - - pWindowMenu.insertSeparator(); - - ArrayList windows = pWorkspace.windowList(); - - for ( int i = 0; i < windows.size(); ++i ) { - int id = pWindowMenu.insertItem((i+1)+ ((TQWidget)windows.get(i)).caption(), - this, SLOT( "windowMenuActivated( int )" ) ); - pWindowMenu.setItemParameter( id, i ); - pWindowMenu.setItemChecked( id, pWorkspace.activeWindow() == (TQWidget)windows.get(i) ); - } - } - - void windowMenuActivated( int id ) { - TQWidget w = (TQWidget)pWorkspace.windowList().get( id ); - if ( w != null ) - w.setFocus(); - } - - void setWndTitle(TQWidget qw){ - setCaption(pWorkspace.activeWindow() != null ? pWorkspace.activeWindow().caption() : ""); - } - - void enableCommand(int id_) { - /////////////////////////////////////////////////////////////////// - // enable menu and toolbar functions by their ID's - menuBar().setItemEnabled(id_, true); - toolBar().setItemEnabled(id_, true); - } - - void disableCommand(int id_) { - /////////////////////////////////////////////////////////////////// - // disable menu and toolbar functions by their ID's - menuBar().setItemEnabled(id_, false); - toolBar().setItemEnabled(id_, false); - } - - void commandCallback(int id_) { - switch (id_) { - case ID_FILE_NEW: - slotFileNew(); - break; - - case ID_FILE_OPEN: - slotFileOpen(); - break; - - case ID_FILE_SAVE: - slotFileSave(); - break; - - case ID_FILE_SAVE_AS: - slotFileSaveAs(); - break; - - case ID_FILE_CLOSE: - slotFileClose(); - break; - - case ID_FILE_PRINT: - slotFilePrint(); - break; - - case ID_FILE_QUIT: - slotFileQuit(); - break; - - case ID_EDIT_CUT: - slotEditCut(); - break; - - case ID_EDIT_COPY: - slotEditCopy(); - break; - - case ID_EDIT_PASTE: - slotEditPaste(); - break; - - case ID_EDIT_CLEAR_ALL: - slotEditClearAll(); - break; - - case ID_PEN_BRUSH: - slotPenBrush(); - break; - - case ID_PEN_COLOR: - slotPenColor(); - break; - - case ID_VIEW_TOOLBAR: - slotViewToolBar(); - break; - - case ID_VIEW_STATUSBAR: - slotViewStatusBar(); - break; - - case ID_WINDOW_NEW_WINDOW: - slotWindowNewWindow(); - break; - - default: - break; - } - } - - void statusCallback(int id_) { - switch (id_) { - case ID_FILE_NEW: - slotStatusHelpMsg(i18n("Creates a new document")); - break; - - case ID_FILE_OPEN: - slotStatusHelpMsg(i18n("Opens an existing document")); - break; - - case ID_FILE_OPEN_RECENT: - slotStatusHelpMsg(i18n("Opens a recently used file")); - break; - - case ID_FILE_SAVE: - slotStatusHelpMsg(i18n("Saves the currently active document")); - break; - - case ID_FILE_SAVE_AS: - slotStatusHelpMsg(i18n("Saves the currently active document as under a new filename")); - break; - - case ID_FILE_CLOSE: - slotStatusHelpMsg(i18n("Closes the currently active document")); - break; - - case ID_FILE_PRINT: - slotStatusHelpMsg(i18n("Prints out the actual document")); - break; - - case ID_FILE_QUIT: - slotStatusHelpMsg(i18n("Quits the application")); - break; - - case ID_EDIT_UNDO: - slotStatusHelpMsg(i18n("Reverts the last editing action")); - break; - - case ID_EDIT_CUT: - slotStatusHelpMsg(i18n("Cuts the selected section and puts it to the clipboard")); - break; - - case ID_EDIT_COPY: - slotStatusHelpMsg(i18n("Copies the selected section to the clipboard")); - break; - - case ID_EDIT_PASTE: - slotStatusHelpMsg(i18n("Pastes the clipboard contents to actual position")); - break; - - case ID_EDIT_CLEAR_ALL: - slotStatusHelpMsg(i18n("Clears the document contents")); - break; - - case ID_PEN_BRUSH: - slotStatusHelpMsg(i18n("Sets the pen width")); - break; - - case ID_PEN_COLOR: - slotStatusHelpMsg(i18n("Sets the current pen color")); - break; - - case ID_VIEW_TOOLBAR: - slotStatusHelpMsg(i18n("Enables/disables the toolbar")); - break; - - case ID_VIEW_STATUSBAR: - slotStatusHelpMsg(i18n("Enables/disables the statusbar")); - break; - - case ID_WINDOW_NEW_WINDOW: - slotStatusHelpMsg(i18n("Opens a new view for the current document")); - break; - - case ID_WINDOW_CASCADE: - slotStatusHelpMsg(i18n("Cascades all windows")); - break; - - case ID_WINDOW_TILE: - slotStatusHelpMsg(i18n("Tiles all windows")); - break; - - default: - break; - } - } - - void slotStatusHelpMsg(String text) { - /////////////////////////////////////////////////////////////////// - // change status message of whole statusbar temporary (text, msec) - statusBar().message(text, 2000); - } - - - /** returns a pointer to the current document connected to the KTMainWindow instance and is used by - * the View class to access the document object's methods - */ - public KScribbleDoc getDocument() { - return doc; - } - - /** save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration - * file - */ - protected void saveOptions() { - config.setGroup("General Options"); - config.writeEntry("Geometry", size()); - config.writeEntry("Show Toolbar", toolBar().isVisible()); - config.writeEntry("Show Statusbar",statusBar().isVisible()); - config.writeEntry("ToolBarPos", (int) toolBar().barPos()); - String[] rf = new String[recentFiles.size()]; - rf = (String[]) recentFiles.toArray(rf); - if (rf != null) - config.writeEntry("Recent Files", rf); - } - - - - /** read general Options again and initialize all variables like the recent file list - */ - private void readOptions() { - - config.setGroup("General Options"); - - // bar status settings - boolean bViewToolbar = config.readBoolEntry("Show Toolbar", true); - menuBar().setItemChecked(ID_VIEW_TOOLBAR, bViewToolbar); - if(!bViewToolbar) { - toolBar("mainToolBar").hide(); - } - - boolean bViewStatusbar = config.readBoolEntry("Show Statusbar", true); - menuBar().setItemChecked(ID_VIEW_STATUSBAR, bViewStatusbar); - if(!bViewStatusbar) { - toolBar("mainToolBar").hide(); - } - - // bar position settings - int toolBarPos = TDEToolBar.Top; - toolBarPos = config.readUnsignedNumEntry("ToolBarPos", TDEToolBar.Top); - toolBar().setBarPos(toolBarPos); - - // initialize the recent file list - // commented out until fix is applied. - recentFiles = config.readListEntry("Recent Files"); - Iterator it = recentFiles.iterator(); - while (it.hasNext()) { - pRecentFileMenu.insertItem((String) it.next()); - } - - // Read the size information and resize from settings. - TQSize size = new TQSize(); - config.readSizeEntry("Geometry",size); - if(!size.isEmpty()) { - resize(size); - } - else - resize(400,350); - - } - - /** saves the window properties for each open window during session end to the session config file, including saving the currently - * opened file by a temporary filename provided by TDEApplication. - * @see KTMainWindow#saveProperties - */ - protected void saveProperties(TDEConfig _cfg) { - - } - - - /** reads the session config file and restores the application's state including the last opened files and documents by reading the - * temporary files saved by saveProperties() - * @see KTMainWindow#readProperties - */ - protected void readProperties(TDEConfig _cfg) { - } - - /** queryClose is called by KTMainWindow on each closeEvent of a window. Against the - * default implementation (only returns true), this calles saveModified() on the document object to ask if the document shall - * be saved if Modified; on cancel the closeEvent is rejected. - * @see KTMainWindow#queryClose - * @see KTMainWindow#closeEvent - */ - protected boolean queryClose() { - - ArrayList saveFiles = new ArrayList(); - KScribbleDoc doc; - - if(pDocList.isEmpty()) - return true; - - Iterator it = pDocList.iterator(); - - while (it.hasNext()) { - doc = (KScribbleDoc)it.next(); - if(doc.isModified()) - saveFiles.add(doc.title()); - - } - - if(saveFiles.isEmpty()) - return true; - - // lets load up a String array with the documents to save. - String[] sf = new String[saveFiles.size()]; - for (int x = 0; x < saveFiles.size(); x++) { - sf[x] = (String)saveFiles.get(x); - } - switch (KMessageBox.questionYesNoList(this, - i18n("One or more documents have been modified.\nSave changes before exiting?"),sf)) - { - case KMessageBox.Yes: - - Iterator itr = pDocList.iterator(); - - while (itr.hasNext()) { - doc = (KScribbleDoc)itr.next(); - if(doc.title().indexOf(i18n("Untitled")) > 0) { - - slotFileSaveAs(); - } - else { - if(!doc.saveDocument(doc.pathName())){ - KMessageBox.error (this,i18n("Could not save the current document !"), i18n("I/O Error !"),KMessageBox.Notify); - return false; - } - - } - - - } - return true; - case KMessageBox.No: - default: - return true; - } - - } - - /** queryExit is called by KTMainWindow when the last window of the application is going to be closed during the closeEvent(). - * Against the default implementation that just returns true, this calls saveOptions() to save the settings of the last window's - * properties. - * @see KTMainWindow#queryExit - * @see KTMainWindow#closeEvent - */ - protected boolean queryExit() { - saveOptions(); - return true; - } - -///////////////////////////////////////////////////////////////////// -// SLOT IMPLEMENTATION -///////////////////////////////////////////////////////////////////// - - - void slotFileNew() { - slotStatusMsg(i18n("Creating new document...")); - - openDocumentFile(); - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileOpen() { - slotStatusMsg(i18n("Opening file...")); - - String fileToOpen=KFileDialog.getOpenFileName(TQDir.currentDirPath(), - KImageIO.pattern(KImageIO.Reading), this, i18n("Open File...")); - if(fileToOpen != null && fileToOpen.length() > 0) { - openDocumentFile(new KURL(fileToOpen)); - } - - slotStatusMsg(i18n("Ready.")); - } - - - void slotFileSave() { - slotStatusMsg(i18n("Saving file...")); - KScribbleView m = (KScribbleView)pWorkspace.activeWindow(); - if( m != null) { - KScribbleDoc doc = m.getDocument(); - if(doc.title().indexOf(i18n("Untitled")) > 0) - slotFileSaveAs(); - else - if(!doc.saveDocument(doc.pathName())) - KMessageBox.error (this,i18n("Could not save the current document !"), i18n("I/O Error !"),KMessageBox.Notify); } - - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileSaveAs() { - slotStatusMsg(i18n("Saving file with a new filename...")); - - String newName=KFileDialog.getSaveFileName(TQDir.currentDirPath(), - KImageIO.pattern(KImageIO.Writing), this, i18n("Save as...")); - - if(newName != null) { - KScribbleView m = (KScribbleView)pWorkspace.activeWindow(); - if( m != null ) { - KScribbleDoc doc = m.getDocument(); - - String format=new TQFileInfo(newName).extension(); - format=format.toUpperCase(); - - if(!doc.saveDocument(newName,format)) { - KMessageBox.error (this,i18n("Could not save the current document !"), i18n("I/O Error !"),KMessageBox.Notify); - return; - } - doc.changedViewList(); - setWndTitle(m); - } - - } - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileClose() { - slotStatusMsg(i18n("Closing file...")); - - KScribbleView m = (KScribbleView)pWorkspace.activeWindow(); - if( m != null ) { - KScribbleDoc doc=m.getDocument(); - doc.closeDocument(); - } - - - slotStatusMsg(i18n("Ready.")); - } - - void slotFilePrint() { - slotStatusMsg(i18n("Printing...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null) - m.print( printer ); - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileQuit() { - slotStatusMsg(i18n("Exiting...")); - saveOptions(); - // close the first window, the list makes the next one the first again. - // This ensures that queryClose() is called on each window to ask for closing - TDEMainWindow w; - - ArrayList memberlist = memberList(); - if(memberlist != null) { - Iterator it = memberlist.iterator(); - while (it.hasNext()) { - w = (TDEMainWindow)it.next(); - // only close the window if the closeEvent is accepted. If the user - // presses Cancel on the saveModified() dialog, - // the window and the application stay open. - if(!w.close()) - break; - } - } - slotStatusMsg(i18n("Ready.")); - } - - void slotFileOpenRecent(int id_) { - slotStatusMsg(i18n("Opening file...")); - - KURL kurl = new KURL(pRecentFileMenu.text(id_)); -// openDocumentFile(pRecentFileMenu.text(id_)); - openDocumentFile(kurl); - slotStatusMsg(i18n("Ready.")); - } - - void slotEditClearAll() { - slotStatusMsg(i18n("Clearing the document contents...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ){ - KScribbleDoc pDoc = m.getDocument(); - pDoc.editClearAll(); - } - slotStatusMsg(i18n("Ready.")); - } - - void slotPenBrush() { - slotStatusMsg(i18n("Setting brush width...")); - - // get one window with document for a current pen width - ArrayList windows = pWorkspace.windowList(); - KScribbleView m = (KScribbleView)windows.get(0); - KScribbleDoc pDoc = m.getDocument(); - int curr_width=pDoc.penWidth(); - - // create the dialog, get the new width and set the pen width for all documents - KPenBrushDlg dlg= new KPenBrushDlg(curr_width,this,""); - if(dlg.exec() > 0){ - int width=dlg.getPenWidth(); - for ( int i = 0; i < windows.size(); ++i ) { - m = (KScribbleView)windows.get(i); - if ( m != null ) { - pDoc = m.getDocument(); - pDoc.setPenWidth(width); - } - } - } - slotStatusMsg(i18n("Ready.")); - } - - void slotPenColor() { - slotStatusMsg(i18n("Selecting pen color...")); - - TQColor myColor = new TQColor(); - int result = KColorDialog.getColor( myColor, this ); - if ( result == KColorDialog.Accepted ) - { - ArrayList windows = pWorkspace.windowList(); - KScribbleDoc pDoc; - KScribbleView m; - for ( int i = 0; i < windows.size(); ++i ) { - m = (KScribbleView)windows.get(i); - if ( m != null) { - pDoc = m.getDocument(); - pDoc.setPenColor(myColor); - } - } - } - slotStatusMsg(i18n("Ready.")); - } - - void slotEditUndo() { - slotStatusMsg(i18n("Reverting last action...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); -// if ( m != null ) -// m.undo(); - - slotStatusMsg(i18n("Ready.")); - } - - /** put the marked object into the clipboard and remove - * it from the document - */ - void slotEditCut() { - slotStatusMsg(i18n("Cutting selection...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ) - m.cutSelection(); - - slotStatusMsg(i18n("Ready.")); - } - - /** put the marked text/object into the clipboard - */ - public void slotEditCopy() { - slotStatusMsg(i18n("Copying selection to clipboard...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null) - m.copySelection(); - - slotStatusMsg(i18n("Ready.")); - } - - /** paste the clipboard into the document - */ - public void slotEditPaste() { - slotStatusMsg(i18n("Inserting clipboard contents...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ) { - m.pasteSelection(); - } - slotStatusMsg(i18n("Ready.")); - } - - /** toggles the toolbar - */ - - void slotViewToolBar() { - slotStatusMsg(i18n("Toggle the toolbar...")); - /////////////////////////////////////////////////////////////////// - // turn Toolbar on or off - if( menuBar().isItemChecked(ID_VIEW_TOOLBAR)) { - menuBar().setItemChecked(ID_VIEW_TOOLBAR, false); - toolBar("mainToolBar").hide(); - - } - else { - menuBar().setItemChecked(ID_VIEW_TOOLBAR, true); - toolBar("mainToolBar").show(); - } - - slotStatusMsg(i18n("Ready.")); - } - - /** toggles the statusbar - */ - void slotViewStatusBar() { - slotStatusMsg(i18n("Toggle the statusbar...")); - /////////////////////////////////////////////////////////////////// - //turn Statusbar on or off - if( menuBar().isItemChecked(ID_VIEW_STATUSBAR)) { - menuBar().setItemChecked(ID_VIEW_STATUSBAR, false); - kstatusBar().hide(); - - } - else { - menuBar().setItemChecked(ID_VIEW_STATUSBAR, true); - kstatusBar().show(); - } - - slotStatusMsg(i18n("Ready.")); - } - - void slotWindowNewWindow() { - slotStatusMsg(i18n("Opening a new application window...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ){ - KScribbleDoc doc = m.getDocument(); - createClient(doc); - } - - slotStatusMsg(i18n("Ready.")); - } - - /** changes the statusbar contents for the standard label permanently, used to indicate current actions. - * @param text the text that is displayed in the statusbar - */ - public void slotStatusMsg(String text) { - /////////////////////////////////////////////////////////////////// - // change status message permanently - kstatusBar().clear(); - kstatusBar().changeItem(text, ID_STATUS_MSG); - } - - /** accepts drops and opens a new document - for each drop */ - protected void dropEvent( TQDropEvent e){ - TQImage img = new TQImage(); - if ( TQImageDrag.decode(e, img) ) { - KScribbleDoc doc = new KScribbleDoc(); - untitledCount+=1; - String fileName= i18n("Untitled") + untitledCount; - doc.setPathName(fileName); - doc.setTitle(fileName); - doc.newDocument(); - pDocList.add(doc); - KPixmap tmp = new KPixmap(); - tmp.resize(img.size()); - tmp.convertFromImage(img); - doc.setPixmap(tmp); - doc.resizeDocument(tmp.size()); - doc.setModified(); - createClient(doc); - } - } - /** accepts drag events for images */ - protected void dragEnterEvent( TQDragEnterEvent e){ - e.accept(TQImageDrag.canDecode(e)); - } - - -} diff --git a/kdejava/koala/examples/kscribble/KScribbleDoc.java b/kdejava/koala/examples/kscribble/KScribbleDoc.java deleted file mode 100644 index 089a3adb..00000000 --- a/kdejava/koala/examples/kscribble/KScribbleDoc.java +++ /dev/null @@ -1,300 +0,0 @@ -import java.util.*; - -import org.kde.qt.*; -import org.kde.koala.*; - -/** KScribbleDoc provides a document object for a document-view model. - * - * The KScribbleDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KScribbleView - * to create a document-view model for standard KDE applications based on TDEApplication and TDEMainWindow. Thereby, the document object - * is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document - * data by KScribbleView objects. Also, KScribbleDoc contains the methods for serialization of the document data from and to files. - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class KScribbleDoc extends TQObject { - - /** the list of the views currently connected to the document */ - private ArrayList pViewList; - private String m_title; - private String m_filename; - private TQSize size; - private TQPen pen; - public TQPointArray polyline; - public KPixmap buffer; - - /** the modified flag of the current document */ - private boolean modified; - private KURL doc_url; - - - public KScribbleDoc() { - - pViewList = new ArrayList(); - } - - void addView(KScribbleView view) { - pViewList.add(view); - changedViewList(); - } - - void removeView(KScribbleView view) { - pViewList.remove(view); - if(!pViewList.isEmpty()) - changedViewList(); - else - deleteContents(); - } - - void changedViewList(){ - - KScribbleView w; - if(pViewList.size() == 1){ - w=(KScribbleView)pViewList.get(0); - w.setCaption(m_title); - } - else{ - int i = 1; - Iterator it = pViewList.iterator(); - while(it.hasNext()) { - w = (KScribbleView)it.next(); - w.setCaption(m_title + ":"+ i++); - - } - } - } - - boolean isLastView() { - return (pViewList.size() == 1); - } - - - void updateAllViews(KScribbleView sender) { - KScribbleView w; - Iterator it = pViewList.iterator(); - while(it.hasNext()) { - w = (KScribbleView)it.next(); - w.update(sender); - - } - - } - - void setPathName(String name) { - m_filename=name; - m_title= new TQFileInfo(name).fileName(); - } - - String pathName() { - return m_filename; - } - - /** returns the current pen in use */ - TQPen currentPen() { - return pen; - } - - /** returns the pen color */ - int penWidth() { - return pen.width(); - } - - /** returns the pen color */ - TQColor penColor(){ - return pen.color(); - } - - /** sets the pen width */ - void setPenWidth( int w ){ - pen.setWidth( w ); - } - - /** sets the pen color */ - void setPenColor( TQColor c ){ - pen.setColor( c ); - } - - /** sets the pen style by a second toolbar */ -// void setPenStyle( PenStyle s) { -// pen.setStyle(s); -// } - - void setTitle(String title) { - - m_title=title; - } - - String title() { - return m_title; - } - - /** sets the pixmap contents. Used by KScribbleApp - to create a new document by drop events */ - void setPixmap(KPixmap pix) { - buffer=pix; - }; - void resizeDocument(TQSize m_size) { - size=m_size; - }; - - void closeDocument() { - KScribbleView w; - if(!isLastView()) { - Iterator it = pViewList.iterator(); - while(it.hasNext()) { - w = (KScribbleView)it.next(); - if (!w.close()) - break; - - } - - } - if(isLastView()) { - w= (KScribbleView)pViewList.get(0); - w.close(); - } - } - - boolean newDocument() { - ///////////////////////////////////////////////// - // TODO: Add your document initialization code here - size=new TQSize(300,200 ); - pen= new TQPen(); - pen.setColor(Qt.black()); - pen.setWidth(3); - polyline= new TQPointArray(3); - if (buffer == null) { - buffer = new KPixmap(); - } - buffer.resize(size); - buffer.fill( Qt.white() ); - ///////////////////////////////////////////////// - modified=false; - return true; - } - - public boolean openDocument(String filename, String format) { - - TQFile f = new TQFile( filename ); - // if ( !f.open( IO_ReadOnly ) ) - // return false; - ///////////////////////////////////////////////// - // TODO: Add your document opening code here - if(!buffer.load( filename, format, 0)) - return false; - size=buffer.size(); - ///////////////////////////////////////////////// - // f.close(); - - modified=false; - m_filename=filename; - m_title=new TQFileInfo(f).fileName(); - return true; - } - - boolean saveDocument(String filename) { - return saveDocument(filename,"") ; - } - - /** returns the first view instance */ - KScribbleView firstView(){ - return (KScribbleView) pViewList.get(0); - }; - - boolean saveDocument(String filename, String format /*=0*/) { - TQFile f = new TQFile( filename ); - // if ( !f.open( IO_WriteOnly ) ) - // return false; - - ///////////////////////////////////////////////// - // TODO: Add your document saving code here - if(!buffer.save( filename, format )) - return false; - ///////////////////////////////////////////////// - - // f.close(); - - modified=false; - m_filename=filename; - m_title=new TQFileInfo(f).fileName(); - return true; - } - - void deleteContents() { - ///////////////////////////////////////////////// - // TODO: Add implementation to delete the document contents - buffer.fill( Qt.white() ); - ///////////////////////////////////////////////// - - } - - boolean isModified() { - return modified; - } - - void setModified() { - modified = true; - } - - boolean canCloseFrame(KScribbleView pFrame) { - if(!isLastView()) - return true; - - boolean ret=false; - if(isModified()) { - String saveName = new String(); - switch(KMessageBox.warningYesNoCancel(pFrame, i18n("The current file has been modified.\n" + - "Do you want to save it?"),title())) - { - case KMessageBox.Yes: - if(title().indexOf(i18n("Untitled")) > 0) { - saveName= KFileDialog.getSaveFileName(TQDir.currentDirPath(), - i18n("*|All files"), pFrame, i18n("Save as...")); - if(saveName == null || saveName.length() == 0) - return false; - } - else - saveName=pathName(); - - if(!saveDocument(saveName)) { - switch(KMessageBox.warningYesNo(pFrame,i18n("Could not save the current document !\n" + - "Close anyway ?"), i18n("I/O Error !"))) - { - case KMessageBox.Yes: - ret=true; - case KMessageBox.No: - ret=false; - } - } - else - ret=true; - break; - case KMessageBox.No: - ret=true; - break; - case KMessageBox.Cancel: - default: - ret=false; - break; - } - } - else - ret=true; - - return ret; - } - - /** get the document size */ - TQSize docSize() { - return size; - } - - void editClearAll() { - deleteContents(); - setModified(); - updateAllViews(null); - - } - -} diff --git a/kdejava/koala/examples/kscribble/KScribbleView.java b/kdejava/koala/examples/kscribble/KScribbleView.java deleted file mode 100644 index 7fe3f94c..00000000 --- a/kdejava/koala/examples/kscribble/KScribbleView.java +++ /dev/null @@ -1,342 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** The KScribbleView class provides the view widget for the KScribble instance. - * The View instance inherits TQWidget as a base class and represents the view object of a TDEMainWindow. As KScribbleView is part of the - * docuement-view model, it needs a reference to the document object connected with it by the KScribble class to manipulate and display - * the document structure provided by the KScribbleDoc class. - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 0.4 code generation - */ -public class KScribbleView extends TQScrollView { - - private TQClipboard cb; - private KScribbleDoc doc; - private static final int IDLE = 0; - private static final int DRAW = 1; - private static final int SELECT = 2; - private static final int PASTE = 3; - private static final int DRAG = 4; - - private TQPixmap tmp = new TQPixmap(); - - private int action = IDLE; - private TQRect select = new TQRect(); - - private TDEIconLoader k = new TDEIconLoader(); - private TQImageDrag qid; - - public KScribbleView(KScribbleDoc pDoc, TQWidget parent, String name, int wflags) { - super(parent, name,wflags | WPaintClever | WNorthWestGravity | WRepaintNoErase); - setBackgroundMode(PaletteBase); - cb = TQApplication.clipboard(); - viewport().setAcceptDrops(true); - setDragAutoScroll(true); - doc=pDoc; - action=IDLE; - viewport().setCursor( Qt.crossCursor() ); - - TQSize size=doc.docSize(); - resizeContents(size.width(), size.height()); - resize(size); - - } - - void update(KScribbleView pSender){ - if(pSender != this) - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - public KScribbleDoc getDocument() { - return doc; - } - - protected void keyPressEvent( TQKeyEvent e ) { - switch (e.key()) { - case Key_Right: - scrollBy( 10, 0 ); - break; - case Key_Left: - scrollBy( -10,0); - break; - case Key_Up: - scrollBy( 0, -10 ); - break; - case Key_Down: - scrollBy( 0, 10 ); - break; - case Key_Home: - setContentsPos(0,0); - break; - case Key_End: - setContentsPos(0,viewport().height()-viewport().height()); - break; - case Key_PageUp: - scrollBy( 0, -viewport().height() ); - break; - case Key_PageDown: - scrollBy( 0, viewport().height() ); - break; - } - - } - - /** cuts out a selection */ - void cutSelection() { - select=select.normalize(); - TQPixmap cb_pix = new TQPixmap(); - cb_pix.resize(select.size()); - // copy selection to cb_pix and copy to clipboard - bitBlt(cb_pix,0, 0, doc.buffer, select.x()+contentsX(), select.y()+contentsY(), cb_pix.width(),cb_pix.height()); - cb.setPixmap(cb_pix); - // fill cb_pix with white and copy to selection area - cb_pix.fill(Qt.white()); - bitBlt(doc.buffer, select.x()+contentsX(), select.y()+contentsY(),cb_pix, 0, 0, cb_pix.width(), cb_pix.height()); - action = IDLE; - doc.setModified(); - doc.updateAllViews(this); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - /** pastes the clipboard contents to a selection that can be inserted into the picture */ - void pasteSelection(){ - select=cb.pixmap().rect(); - action = PASTE; - viewport().setCursor( Qt.sizeAllCursor() ); - } - - /** copies a selection to the clipboard */ - void copySelection(){ - select=select.normalize(); - TQPixmap cb_pix = new TQPixmap(); - cb_pix.resize(select.size()); - // copy selection to cb_pix and copy to clipboard - bitBlt(cb_pix, 0, 0,doc.buffer, select.x()+contentsX(), select.y()+contentsY(), cb_pix.width(),cb_pix.height()); - cb.setPixmap(cb_pix); - action = IDLE; - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - public void print(TQPrinter pPrinter) { - if (pPrinter.setup(this)) { - TQPainter p = new TQPainter(); - p.begin(pPrinter); - - /////////////////////////////// - // TODO: add your printing code here - p.drawPixmap(0,0,doc.buffer); - /////////////////////////////// - p.end(); - } - } - - protected void viewportMousePressEvent( TQMouseEvent e ) { - if ( e.button() == LeftButton && action == IDLE) { - action=DRAW; - doc.polyline.setPoint(0,viewportToContents(e.pos())); - doc.polyline.setPoint(1,viewportToContents(e.pos())); - doc.polyline.setPoint(2,viewportToContents(e.pos())); - doc.updateAllViews(this); - } - else if ( e.button() == RightButton && action == IDLE) { - action = SELECT; - TQPoint pt=e.pos(); - int x = pt.x() > contentsWidth() ? contentsWidth() : pt.x(); - int y = pt.y() > contentsHeight() ? contentsHeight() : pt.y(); - select.setLeft(x-1); - select.setTop(y-1); - select.setRight(x-1); - select.setBottom(y-1); - } - else if( action == SELECT ) { - action = IDLE; - - select=select.normalize(); - // drag - if(select.contains(e.pos(), true)) { // point inside the selection - tmp.resize(select.size()); - bitBlt(tmp, 0, 0, doc.buffer, select.x()+contentsX(), select.y()+contentsY(), tmp.width(),tmp.height()); - TQImage img =tmp.convertToImage(); - TQDragObject d = new TQImageDrag( img, viewport(), "" ); - d.setPixmap(KDE.BarIcon("filenew")); - d.drag(); - } - // remove selection - else - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - else if( action == PASTE ) { - if ( e.button() == RightButton ) { - action = IDLE; - viewport().setCursor( Qt.crossCursor() ); - } - TQPoint mv_pt = new TQPoint(viewport().height(), viewport().width()); - if(new TQRect(0,0,mv_pt.x(),mv_pt.y()).contains(e.pos())) - select.moveCenter(e.pos()); - else { - select.moveBottomRight(mv_pt); - } - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - } - - protected void viewportMouseReleaseEvent( TQMouseEvent e ) { - if ( action == DRAW ) { - action = IDLE; - doc.updateAllViews(this); - } - if ( action == SELECT) { - TQPoint pt=e.pos(); - int x = pt.x() > 0 ? pt.x() : 0; - int y = pt.y() > 0 ? pt.y() : 0; - select.setRight(x); - select.setBottom(y); - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - } - } - - /** On paste actions inserts the pasted clipboard contents - */ - protected void viewportMouseDoubleClickEvent(TQMouseEvent e) { - if( action == PASTE ) { - action = IDLE; - select.moveCenter(e.pos()); - viewport().setCursor( Qt.crossCursor() ); - TQPixmap cb_pix = new TQPixmap(); - cb_pix.resize(cb.pixmap().size()); - cb_pix=cb.pixmap(); - bitBlt( doc.buffer,contentsX()+select.x(), contentsY()+select.y(),cb_pix, 0, 0, select.width(), select.height()); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - doc.setModified(); - doc.updateAllViews(this); - } - - } - - protected void viewportMouseMoveEvent( TQMouseEvent e ) { - if ( action == DRAW ) { - TQPainter painter = new TQPainter(); - painter.begin( doc.buffer ); - painter.setPen( doc.currentPen() ); - doc.polyline.setPoint(2, doc.polyline.at(1)); - doc.polyline.setPoint(1, doc.polyline.at(0)); - doc.polyline.setPoint(0, viewportToContents(e.pos())); - painter.drawPolyline( doc.polyline ); - painter.end(); - - TQRect r = doc.polyline.boundingRect(); - r = r.normalize(); - r.setLeft( r.left() - doc.penWidth() ); - r.setTop( r.top() - doc.penWidth() ); - r.setRight( r.right() + doc.penWidth() ); - r.setBottom( r.bottom() + doc.penWidth() ); - - bitBlt(viewport(), r.x()-contentsX(), r.y()-contentsY(), doc.buffer, r.x(), r.y(), r.width(),r.height()); - doc.setModified(); - doc.updateAllViews(this); - } - if ( action == SELECT ) { - TQPoint pt=e.pos(); - select.setWidth(select.x()+pt.x()); - select.setHeight(select.y()+pt.y()); - select.setRight(pt.x()); - select.setBottom(pt.y()); - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - if( action == PASTE ) { - TQPoint mv_pt = new TQPoint(viewport().height(), viewport().width()); - if(new TQRect(0,0,mv_pt.x(),mv_pt.y()).contains(e.pos())) - select.moveCenter(e.pos()); - else { - select.moveBottomRight(mv_pt); - } - TQRect pm_rect=cb.pixmap().rect(); - select.setWidth(pm_rect.width()); - select.setHeight(pm_rect.height()); - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - doc.setModified(); - doc.updateAllViews(this); - } - } - - //void KScribbleView::viewportResizeEvent( TQResizeEvent *e ) - //{ - //} - - protected void viewportPaintEvent( TQPaintEvent e ) { - bitBlt( viewport(),0, 0, doc.buffer, contentsX(), contentsY(), doc.buffer.width(),doc.buffer.width()); - - if( action == PASTE ) - { - tmp.resize(cb.pixmap().size()); - tmp=cb.pixmap(); - } - if( action == PASTE || action == DRAG ) - { - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - if(select.intersects(e.rect())) - bitBlt(viewport(), select.x(), select.y(), tmp, 0, 0, select.width(), select.height()); - } - if( action == PASTE || action == DRAG || action == SELECT ) { - if(select.intersects(e.rect())) { - TQPainter paint_area = new TQPainter(); - paint_area.begin(viewport()); - paint_area.setPen(new TQPen(Qt.black(), 0, DashLine)); - paint_area.drawRect( select ); - paint_area.end(); - } - } - - // not implemented for TQScrollView yet -// super.viewportPaintEvent(e); - } - - protected void viewportDragEnterEvent ( TQDragEnterEvent e) { - e.accept(TQImageDrag.canDecode(e)); - action = DRAG; - } - - protected void viewportDragMoveEvent ( TQDragMoveEvent e) { - TQImage img = new TQImage(); - - if ( TQImageDrag.canDecode(e) ){ - TQImageDrag.decode(e, img); - tmp.resize(img.size()); - tmp.convertFromImage(img); - select.setWidth(tmp.width()); - select.setHeight(tmp.height()); - select.moveCenter(e.pos()); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - } - - protected void viewportDragLeaveEvent ( TQDragLeaveEvent e ) { - action = IDLE; - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - protected void viewportDropEvent ( TQDropEvent e) { - TQImage img = new TQImage(); - if ( TQImageDrag.canDecode(e) ) { - TQImageDrag.decode(e, img); - tmp.resize(img.size()); - tmp.convertFromImage(img); - select.setWidth(tmp.width()); - select.setHeight(tmp.height()); - select.moveCenter(e.pos()); - bitBlt(doc.buffer, select.x()+contentsX(), select.y()+contentsY(), tmp,0,0,tmp.width(), tmp.height()); - doc.setModified(); - doc.updateAllViews(this); - } - action = IDLE; - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - -} diff --git a/kdejava/koala/examples/kscribble/Main.java b/kdejava/koala/examples/kscribble/Main.java deleted file mode 100644 index b797f8a5..00000000 --- a/kdejava/koala/examples/kscribble/Main.java +++ /dev/null @@ -1,78 +0,0 @@ -/*************************************************************************** - KScribble.java - KScribble using java bindings - ------------------- - begin : Mon Jan 31 11:05:05 CET 2000 - copyright : (C) 2000 by Ralf Nolden - email : Ralf.Nolden@post.rwth-aachen.de - java translation : Kenneth J. Pouncey - email : kjpou@hotmail.com - ***************************************************************************/ - - -import java.util.*; -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * The base class for JavaApiTest application windows. It sets up the main - * window and reads the config file as well as providing a menubar, toolbar - * and statusbar. An instance of KBaseView creates your center view, which is connected - * to the window's Doc object. - * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports - * full session management as well as using TDEActions. - * @see TDEMainWindow - * @see TDEApplication - * @see TDEConfig - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class Main { - - static String description = "java KDE 3 example application"; - - - static String[][] options = { - { "+[File]", "image file to open", null } - }; - -static String VERSION = "0.1"; - - public static void main(String[] cmdLineArgs) { - - TDEAboutData aboutData = new TDEAboutData( "kscribble", "KScribble", - VERSION, description, TDEAboutData.License_GPL, - "(C) 2000 by Ralf Nolden"); - TDECmdLineArgs.init( cmdLineArgs, aboutData ); - TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. - - TDEApplication app = new TDEApplication(); - KImageIO.registerFormats(); - KScribbleApp kscribbleapp = new KScribbleApp(); - - if (app.isRestored()) { - kscribbleapp.RESTORE("kscribbleapp"); - } - else { - kscribbleapp.show(); - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - - if (args.count() > 0) { - kscribbleapp.openDocumentFile(new KURL(args.arg(0))); - } - else { - kscribbleapp.openDocumentFile(); - } - args.clear(); - } - - app.exec(); - return; - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/examples/kscribble/Resource.java b/kdejava/koala/examples/kscribble/Resource.java deleted file mode 100644 index 8277dea6..00000000 --- a/kdejava/koala/examples/kscribble/Resource.java +++ /dev/null @@ -1,71 +0,0 @@ - - /////////////////////////////////////////////////////////////////// - // resource.h -- contains macros used for commands -public interface Resource { - - /////////////////////////////////////////////////////////////////// - // COMMAND VALUES FOR MENUBAR AND TOOLBAR ENTRIES - - - /////////////////////////////////////////////////////////////////// - // File-menu entries - static final int ID_FILE_NEW = 10010; - static final int ID_FILE_OPEN = 10020; - static final int ID_FILE_OPEN_RECENT = 10030; - static final int ID_FILE_CLOSE = 10040; - - static final int ID_FILE_SAVE = 10050; - static final int ID_FILE_SAVE_AS = 10060; - - static final int ID_FILE_PRINT = 10070; - - static final int ID_FILE_QUIT = 10080; - - /////////////////////////////////////////////////////////////////// - // Edit-menu entries - static final int ID_EDIT_UNDO = 11010; - static final int ID_EDIT_COPY = 11020; - static final int ID_EDIT_CUT = 11030; - static final int ID_EDIT_PASTE = 11040; - static final int ID_EDIT_CLEAR_ALL = 11050; - - /////////////////////////////////////////////////////////////////// - // Pen-menu entries - static final int ID_PEN_COLOR = 14010; - static final int ID_PEN_BRUSH = 14020; - - /////////////////////////////////////////////////////////////////// - // Draw-menu entries - static final int ID_DRAW_FIND = 15010; - static final int ID_DRAW_FREEHAND = 15020; - static final int ID_DRAW_LINE = 15030; - static final int ID_DRAW_RECT = 15040; - static final int ID_DRAW_RECT_FILL = 15050; - static final int ID_DRAW_CIRCLE = 15060; - static final int ID_DRAW_CIRCLE_FILL = 15070; - static final int ID_DRAW_ELLIPSE = 15080; - static final int ID_DRAW_ELLIPSE_FILL = 15090; - static final int ID_DRAW_SPRAY = 15100; - static final int ID_DRAW_FILL = 15110; - static final int ID_DRAW_ERASE = 15120; - - /////////////////////////////////////////////////////////////////// - // View-menu entries - static final int ID_VIEW_TOOLBAR = 12010; - static final int ID_VIEW_STATUSBAR = 12020; - - /////////////////////////////////////////////////////////////////// - // Window-menu entries - static final int ID_WINDOW_NEW_WINDOW = 13010; - static final int ID_WINDOW_CASCADE = 13020; - static final int ID_WINDOW_TILE = 13030; - - /////////////////////////////////////////////////////////////////// - // Help-menu entries - static final int ID_HELP_CONTENTS = 1002; - static final int ID_HELP_WHATS_THIS = 1003; - /////////////////////////////////////////////////////////////////// - // General application values - static final int ID_STATUS_MSG = 1001; - static final int TOOLS_TOOLBAR = 1; -}
\ No newline at end of file diff --git a/kdejava/koala/examples/simplemail/MailHelper.java b/kdejava/koala/examples/simplemail/MailHelper.java deleted file mode 100644 index b7fa8aba..00000000 --- a/kdejava/koala/examples/simplemail/MailHelper.java +++ /dev/null @@ -1,220 +0,0 @@ -//package com.werpu.simplemail; - - -import java.util.Iterator; -import java.util.LinkedList; -import java.util.Properties; - -import javax.mail.Address; -import javax.mail.Message; -import javax.mail.MessagingException; -import javax.mail.Session; -import javax.mail.Transport; -import javax.mail.internet.InternetAddress; -import javax.mail.internet.MimeMessage; - -/** - * - * @author Werner Punz werpu@gmx.at - * @version 1.0 - * This is a basic Mailer class built upon the JavaMail API - * it only does SMTP. - */ -public class MailHelper -{ - - private String message = ""; - - private String recipient = ""; - - private String server = ""; - - private String password = ""; - - private String sender = ""; - - private String subject = ""; - - private String username = ""; - - private LinkedList ccAddresses = new LinkedList(); - - /** Creates a new instance of LC_Mailer */ - public MailHelper() - { - } - - /** Getter for property message. - * @return Value of property message. - */ - public String getMessage() - { - return message; - } - - /** Setter for property message. - * @param message New value of property message. - */ - public void setMessage(String message) - { - this.message = message; - } - - /** Getter for property password. - * @return Value of property password. - */ - public String getPassword() - { - return password; - } - - /** Setter for property password. - * @param password New value of property password. - */ - public void setPassword(String password) - { - this.password = password; - } - - /** Getter for property recipient. - * @return Value of property recipient. - */ - public String getRecipient() - { - return recipient; - } - - /** Setter for property recipient. - * @param recipient New value of property recipient. - */ - public void setRecipient(String recipient) - { - this.recipient = recipient; - } - - /** Getter for property sender. - * @return Value of property sender. - */ - public String getSender() - { - return sender; - } - - /** Setter for property sender. - * @param sender New value of property sender. - */ - public void setSender(String sender) - { - this.sender = sender; - } - - /** Getter for property server. - * @return Value of property server. - */ - public String getServer() - { - return server; - } - - /** Setter for property server. - * @param server New value of property server. - */ - public void setServer(String server) - { - this.server = server; - } - - /** Getter for property subject. - * @return Value of property subject. - */ - public String getSubject() - { - return subject; - } - - /** Setter for property subject. - * @param subject New value of property subject. - */ - public void setSubject(String subject) - { - this.subject = subject; - } - - /** - * Method setUsername. - * @param username - */ - public void setUsername(String username) - { - this.username = username; - } - - /** - * Method addCCAddress. - * @param ccAddresses - * Adds a single CC Adress to the current CC Addresses - */ - public void addCCAddress(String ccAddresses) - { - if (!ccAddresses.equalsIgnoreCase("null")) - this.ccAddresses.add(ccAddresses); - } - - /** - * Method addCCAddress. - * @param ccAddresses - * adds the ccAddresses to the current messaging parameters - */ - public void addCCAddress(Iterator ccAddresses) - { - - while (ccAddresses.hasNext()) - addCCAddress((String) ccAddresses.next()); - } - - /** - * Method send. - * @throws MessagingException - * sends out the mail with the set messaging parameters - */ - public void send() throws MessagingException - { - Properties props = new Properties(); - Session session = Session.getDefaultInstance(props, null); - - - Address to = new InternetAddress(getRecipient()); - Address from = new InternetAddress(getSender()); - - //only one from address - Address[] froms = new Address[1]; - froms[0] = from; - - MimeMessage message = new MimeMessage(session); - message.setText(getMessage()); - message.setSubject(getSubject()); - message.addRecipient(Message.RecipientType.TO, to); - - //Add CCs to the recipient list - Iterator i = ccAddresses.iterator(); - while (i.hasNext()) - { - to = new InternetAddress((String) i.next()); - message.addRecipient(Message.RecipientType.BCC, to); - } - - message.addFrom(froms); - message.saveChanges(); - - - //set smtp - Transport myTransport = session.getTransport("smtp"); - - //send mail - myTransport.connect(getServer(), username.trim(), password.trim()); - - myTransport.sendMessage(message,message.getAllRecipients()); - myTransport.close(); - } - -} diff --git a/kdejava/koala/examples/simplemail/README b/kdejava/koala/examples/simplemail/README deleted file mode 100644 index b48e131d..00000000 --- a/kdejava/koala/examples/simplemail/README +++ /dev/null @@ -1,29 +0,0 @@ -Werner Punz writes: - -A simple send the email app I hacked together today in 2 hours, feel - free to add it to the repository... - - This time I used the QT designer and the provided sed script to convert - the files into near-java files and then started from there. - -First you need JDK 1.2+ since a LinkedList ist used. - Secondly you have to have the javamail and activation jar files in the - classpath otherwise it won?t work! Those are not part of the standard JDK - distro, and haven? t made it into 1.4 yet, but nevertheless are great APIs - to access email and nntp systems easily (actually activation isn? t but - javamail depends on it). - - Both can be obtained from the Sun java website. - - Here are the links to these api's taken from one of my readme's - - 1. Download the e-mail api's from sun. You will need two packages. - - http://java.sun.com/products/javamail/ - http://java.sun.com/products/javabeans/glasgow/jaf.html - - Ah yes you can add multiple BCCs simply by separating them with a ',' or a - ';'. - - Thats all have much fun with it :-). - diff --git a/kdejava/koala/examples/simplemail/SimpleMailFrm.java b/kdejava/koala/examples/simplemail/SimpleMailFrm.java deleted file mode 100644 index 93b3d4e0..00000000 --- a/kdejava/koala/examples/simplemail/SimpleMailFrm.java +++ /dev/null @@ -1,240 +0,0 @@ -// package com.werpu.simplemail; - - -/** - * SimpleMailFrm - * This is the main window from of the simple mail application - * @author Werner Punz werpu@gmx.at - * This class was generated by Qt Designer and then converted to Java and - * redesigned to fit into the KDE Framework - */ - -import org.kde.qt.*; -import org.kde.koala.*; -import java.util.StringTokenizer; -import java.util.LinkedList; - - - -class SimpleMailFrm extends TDEMainWindow { - - - TQGroupBox groupBox1; - KLineEdit txtServer; - KLineEdit txtUserName; - KPasswordEdit txtPassword; - TQLabel textLabel1; - TQLabel textLabel2; - TQLabel textLabel3; - KLineEdit txtFrom; - KLineEdit txtTo; - KLineEdit txtBCC; - TQLabel textLabel4; - TQLabel textLabel6; - TQLabel textLabel5; - KPushButton btSend; - KPushButton btCancel; - TQMultiLineEdit txtMessage; - - - TQGridLayout form1Layout; - TQGridLayout groupBox1Layout; - - TDEApplication parentApp = null; - - public SimpleMailFrm(TDEApplication kApp) - - { - super( null, null,0); - parentApp = kApp; - - - resize( 582, 486 ); - setCaption( trUtf8( "Simple Mailer" ) ); - - TQGroupBox centralBox = new TQGroupBox((TQWidget) this,""); - - form1Layout = new TQGridLayout(centralBox, 1, 1, 11, 6, "form1Layout"); - - groupBox1 = new TQGroupBox( centralBox, "groupBox1" ); - groupBox1.setTitle( trUtf8( "Mailserver data" ) ); - groupBox1.setColumnLayout(0, Qt.Vertical ); - groupBox1.layout().setSpacing( 6 ); - groupBox1.layout().setMargin( 11 ); - groupBox1Layout = new TQGridLayout( groupBox1.layout() ); - groupBox1Layout.setAlignment( Qt.AlignTop ); - - txtServer = new KLineEdit( groupBox1, "txtServer" ); - - groupBox1Layout.addWidget( txtServer, 0, 1 ); - - txtUserName = new KLineEdit( groupBox1, "txtUserName" ); - - groupBox1Layout.addWidget( txtUserName, 1, 1 ); - - txtPassword = new KPasswordEdit( groupBox1, "txtPassword" ); - - groupBox1Layout.addWidget( txtPassword, 2, 1 ); - - textLabel1 = new TQLabel( groupBox1, "textLabel1" ); - textLabel1.setText( trUtf8( "Server" ) ); - - groupBox1Layout.addWidget( textLabel1, 0, 0 ); - - textLabel2 = new TQLabel( groupBox1, "textLabel2" ); - textLabel2.setText( trUtf8( "Username" ) ); - - groupBox1Layout.addWidget( textLabel2, 1, 0 ); - - textLabel3 = new TQLabel( groupBox1, "textLabel3" ); - textLabel3.setText( trUtf8( "Password" ) ); - - groupBox1Layout.addWidget( textLabel3, 2, 0 ); - - txtFrom = new KLineEdit( groupBox1, "txtFrom" ); - - groupBox1Layout.addWidget( txtFrom, 0, 3 ); - - txtTo = new KLineEdit( groupBox1, "txtTo" ); - - groupBox1Layout.addWidget( txtTo, 1, 3 ); - - txtBCC = new KLineEdit( groupBox1, "txtBCC" ); - - groupBox1Layout.addWidget( txtBCC, 2, 3 ); - - textLabel4 = new TQLabel( groupBox1, "textLabel4" ); - textLabel4.setText( trUtf8( "From" ) ); - - groupBox1Layout.addWidget( textLabel4, 0, 2 ); - - textLabel6 = new TQLabel( groupBox1, "textLabel6" ); - textLabel6.setText( trUtf8( "BCC" ) ); - - groupBox1Layout.addWidget( textLabel6, 2, 2 ); - - textLabel5 = new TQLabel( groupBox1, "textLabel5" ); - textLabel5.setText( trUtf8( "To" ) ); - - groupBox1Layout.addWidget( textLabel5, 1, 2 ); - - form1Layout.addMultiCellWidget( groupBox1, 0, 0, 0, 1 ); - - btSend = new KPushButton( centralBox, "btSend" ); - btSend.setText( trUtf8( "Send" ) ); - - form1Layout.addWidget( btSend, 2, 0 ); - - btCancel = new KPushButton( centralBox, "btCancel" ); - btCancel.setText( trUtf8( "Cancel" ) ); - - form1Layout.addWidget( btCancel, 2, 1 ); - - txtMessage = new TQMultiLineEdit(centralBox, "txtMessage" ); - - form1Layout.addMultiCellWidget( txtMessage, 1, 1, 0, 1 ); - - setCentralWidget(centralBox); - // tab order - setTabOrder( txtServer, txtUserName ); - setTabOrder( txtUserName, txtPassword ); - setTabOrder( txtPassword, txtFrom ); - setTabOrder( txtFrom, txtTo ); - setTabOrder( txtTo, txtBCC ); - setTabOrder( txtBCC, txtMessage ); - setTabOrder( txtMessage, btSend ); - setTabOrder( btSend, btCancel ); - - setEventHandlers(); - } - - //---------------------------------------------------------- - // Getter Methods to access the data outside of the - // current class - //---------------------------------------------------------- - - public String getServer() { - return txtServer.text(); - } - - public String getUserName() { - return txtUserName.text(); - } - - public String getPassword() { - return txtPassword.text(); - } - - public String getFrom() { - return txtFrom.text(); - } - - public String getTo() { - return txtTo.text(); - } - - public String getBCC() { - return txtBCC.text(); - } - - public String getMessage() { - return txtMessage.text(); - } - - void setEventHandlers() { - connect( btCancel, SIGNAL("clicked()"), parentApp, SLOT("quit()")); - connect( btSend,SIGNAL("clicked()"),this,SLOT("sendMail()")); - } - - - //-------------------------------------------- - // Slots - //------------------------------------------- - public void sendMail() { - String server = getServer(); - String userName = getUserName(); - String password = getPassword(); - String from = getFrom(); - String to = getTo(); - String message = getMessage(); - LinkedList bccs = getBCCs(); - - try { - MailHelper mailer = new MailHelper(); - mailer.setMessage(message); - mailer.setSubject("Simple Mail"); - mailer.setSender(from); - mailer.setRecipient(to); - mailer.addCCAddress(bccs.iterator()); - mailer.setServer(server); - mailer.setUsername(userName); - mailer.setPassword(password); - mailer.send(); - } - catch (Exception ex) { - KMessageBox.error(this , ex.getMessage()); - return; - } - KMessageBox.information(this,"Mail was successfully sent!"); - } - - //------------------------------------- - //Helpers - //------------------------------------- - - /** - * Split the BCCs into single entries if nedded - */ - LinkedList getBCCs() { - LinkedList retVal = new LinkedList(); - - String bcc = getBCC(); - StringTokenizer splitter = new StringTokenizer(bcc,",;"); - - while(splitter.hasMoreTokens()) - retVal.add(splitter.nextToken()); - - return retVal; - } -} - diff --git a/kdejava/koala/examples/simplemail/SimpleMailer.java b/kdejava/koala/examples/simplemail/SimpleMailer.java deleted file mode 100644 index 8236d875..00000000 --- a/kdejava/koala/examples/simplemail/SimpleMailer.java +++ /dev/null @@ -1,39 +0,0 @@ -//package com.werpu.simplemail; - -import org.kde.qt.*; -import org.kde.koala.*; - - -/** - * - * @author Werner Punz werpu@gmx.at - * This is a simple mailer to demonstrate the connection - * of KDE Java with java packages. - * It demonstrates the connection between KDEJava and the javamail API - * to send mails from a KDE Application box via the SMTP protocol - * Note:The javamail and activation jar files have to be in your classpath! - * - */ -public class SimpleMailer extends TDEApplication{ - static { - qtjava.initialize(); - kdejava.initialize(); - } - - public SimpleMailer() { - super(); - SimpleMailFrm mainWidget = new SimpleMailFrm(this); - this.setMainWidget(mainWidget); - mainWidget.show(); - this.exec(); - } - - /** - * Entry point for the program - */ - public static void main(String [] argv) { - TDECmdLineArgs.init(argv, "simplemailer", "SimpleMailer", - "Simple Mailing Application", "0.1"); - SimpleMailer mailClnt = new SimpleMailer(); - } -} diff --git a/kdejava/koala/kdejava/AbstractView.cpp b/kdejava/koala/kdejava/AbstractView.cpp deleted file mode 100644 index 352780e5..00000000 --- a/kdejava/koala/kdejava/AbstractView.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_doc.h> -#include <dom/dom_element.h> -#include <dom/css_value.h> -#include <dom/dom_string.h> -#include <dom/dom2_views.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/AbstractView.h> - -class AbstractViewJBridge : public DOM::AbstractView -{ -public: - AbstractViewJBridge() : DOM::AbstractView() {}; - AbstractViewJBridge(const DOM::AbstractView& arg1) : DOM::AbstractView(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_AbstractView_document(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::AbstractView*) QtSupport::getQt(env, obj))->document()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_AbstractView_getComputedStyle(JNIEnv* env, jobject obj, jobject elt, jstring pseudoElt) -{ -static DOM::DOMString* _domstring_pseudoElt = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::AbstractView*) QtSupport::getQt(env, obj))->getComputedStyle((const DOM::Element&)*(const DOM::Element*) QtSupport::getQt(env, elt), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, pseudoElt, &_domstring_pseudoElt))), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_AbstractView_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::AbstractView*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AbstractView_newAbstractView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AbstractViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AbstractView_newAbstractView__Lorg_kde_koala_AbstractView_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AbstractViewJBridge((const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/AbstractView.h b/kdejava/koala/kdejava/AbstractView.h deleted file mode 100644 index b992625e..00000000 --- a/kdejava/koala/kdejava/AbstractView.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_AbstractView__ -#define __org_kde_koala_AbstractView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_AbstractView_newAbstractView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_AbstractView_newAbstractView__Lorg_kde_koala_AbstractView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_AbstractView_document (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_AbstractView_getComputedStyle (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_AbstractView_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_AbstractView__ */ diff --git a/kdejava/koala/kdejava/Attr.cpp b/kdejava/koala/kdejava/Attr.cpp deleted file mode 100644 index ec5f8619..00000000 --- a/kdejava/koala/kdejava/Attr.cpp +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_element.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Attr.h> - -class AttrJBridge : public DOM::Attr -{ -public: - AttrJBridge() : DOM::Attr() {}; - AttrJBridge(const DOM::Node& arg1) : DOM::Attr(arg1) {}; - AttrJBridge(const DOM::Attr& arg1) : DOM::Attr(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Attr_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Attr*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_newAttr__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AttrJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Attr_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AttrJBridge((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AttrJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Attr_ownerElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Attr*) QtSupport::getQt(env, obj))->ownerElement()), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::Attr*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Attr_specified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Attr*) QtSupport::getQt(env, obj))->specified(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Attr_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Attr*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Attr.h b/kdejava/koala/kdejava/Attr.h deleted file mode 100644 index 5e350f7b..00000000 --- a/kdejava/koala/kdejava/Attr.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Attr__ -#define __org_kde_koala_Attr__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_newAttr__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Attr_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Attr_name (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Attr_specified (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Attr_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Attr_ownerElement (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Attr__ */ diff --git a/kdejava/koala/kdejava/AuthInfo.cpp b/kdejava/koala/kdejava/AuthInfo.cpp deleted file mode 100644 index a5f5d078..00000000 --- a/kdejava/koala/kdejava/AuthInfo.cpp +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/authinfo.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/AuthInfo.h> - -class AuthInfoJBridge : public TDEIO::AuthInfo -{ -public: - AuthInfoJBridge() : TDEIO::AuthInfo() {}; - AuthInfoJBridge(const TDEIO::AuthInfo& arg1) : TDEIO::AuthInfo(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_AuthInfo_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::AuthInfo*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AuthInfo_newAuthInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AuthInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AuthInfo_newAuthInfo__Lorg_kde_koala_AuthInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AuthInfoJBridge((const TDEIO::AuthInfo&)*(const TDEIO::AuthInfo*) QtSupport::getQt(env, info))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AuthInfo_setModified(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEIO::AuthInfo*) QtSupport::getQt(env, obj))->setModified((bool) flag); - return; -} - diff --git a/kdejava/koala/kdejava/AuthInfo.h b/kdejava/koala/kdejava/AuthInfo.h deleted file mode 100644 index b4f9f27f..00000000 --- a/kdejava/koala/kdejava/AuthInfo.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_AuthInfo__ -#define __org_kde_koala_AuthInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_AuthInfo_newAuthInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_AuthInfo_newAuthInfo__Lorg_kde_koala_AuthInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_AuthInfo_isModified (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_AuthInfo_setModified (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_AuthInfo__ */ diff --git a/kdejava/koala/kdejava/BrowserExtension.cpp b/kdejava/koala/kdejava/BrowserExtension.cpp deleted file mode 100644 index 5be10ce9..00000000 --- a/kdejava/koala/kdejava/BrowserExtension.cpp +++ /dev/null @@ -1,211 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/browserextension.h> -#include <tqdatastream.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/BrowserExtension.h> - -class BrowserExtensionJBridge : public KParts::BrowserExtension -{ -public: - BrowserExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::BrowserExtension(arg1,arg2) {}; - BrowserExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::BrowserExtension(arg1) {}; - void setURLArgs(const KParts::URLArgs& arg1) { - if (!QtSupport::eventDelegate(this,"setURLArgs",(void*)&arg1,"org.kde.koala.URLArgs")) { - BrowserExtension::setURLArgs(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void restoreState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"restoreState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - BrowserExtension::restoreState(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void saveState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - BrowserExtension::saveState(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.BrowserExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserExtension_actionText(JNIEnv* env, jobject obj, jstring name) -{ - TQString _qstring; -static TQCString* _qstring_name = 0; - _qstring = ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->actionText((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_browserInterface(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->browserInterface(), "org.kde.koala.BrowserInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)BrowserExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.BrowserExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserExtension_isActionEnabled(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jboolean xret = (jboolean) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->isActionEnabled((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserExtension_isURLDropHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->isURLDropHandlingEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_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 BrowserExtensionJBridge((KParts::ReadOnlyPart*) 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_BrowserExtension_pasteRequest(JNIEnv* env, jobject obj) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->pasteRequest(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_restoreState(JNIEnv* env, jobject obj, jobject stream) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->restoreState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_saveState(JNIEnv* env, jobject obj, jobject stream) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->saveState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_setBrowserInterface(JNIEnv* env, jobject obj, jobject impl) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->setBrowserInterface((KParts::BrowserInterface*) QtSupport::getQt(env, impl)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_setURLArgs(JNIEnv* env, jobject obj, jobject args) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->setURLArgs((const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_setURLDropHandlingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->setURLDropHandlingEnabled((bool) enable); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_urlArgs(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KParts::URLArgs(((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->urlArgs()), "org.kde.koala.URLArgs", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_BrowserExtension_xOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->xOffset(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_BrowserExtension_yOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->yOffset(); - return xret; -} - diff --git a/kdejava/koala/kdejava/BrowserExtension.h b/kdejava/koala/kdejava/BrowserExtension.h deleted file mode 100644 index 725014a6..00000000 --- a/kdejava/koala/kdejava/BrowserExtension.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_BrowserExtension__ -#define __org_kde_koala_BrowserExtension__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_setURLArgs (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_urlArgs (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_BrowserExtension_xOffset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_BrowserExtension_yOffset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_restoreState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserExtension_isURLDropHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_setURLDropHandlingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_setBrowserInterface (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_browserInterface (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserExtension_isActionEnabled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserExtension_actionText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_pasteRequest (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_BrowserExtension__ */ diff --git a/kdejava/koala/kdejava/BrowserHostExtension.cpp b/kdejava/koala/kdejava/BrowserHostExtension.cpp deleted file mode 100644 index 7391bd68..00000000 --- a/kdejava/koala/kdejava/BrowserHostExtension.cpp +++ /dev/null @@ -1,121 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/browserextension.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/BrowserHostExtension.h> - -class BrowserHostExtensionJBridge : public KParts::BrowserHostExtension -{ -public: - BrowserHostExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::BrowserHostExtension(arg1,arg2) {}; - BrowserHostExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::BrowserHostExtension(arg1) {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.BrowserHostExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)BrowserHostExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.BrowserHostExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserHostExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_findFrameParent(JNIEnv* env, jobject obj, jobject callingPart, jstring frame) -{ -static TQString* _qstring_frame = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->findFrameParent((KParts::ReadOnlyPart*) QtSupport::getQt(env, callingPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, frame, &_qstring_frame)), "org.kde.koala.BrowserHostExtension"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_frameNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->frameNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserHostExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_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 BrowserHostExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserHostExtension_openURLInFrame(JNIEnv* env, jobject obj, jobject url, jobject urlArgs) -{ - jboolean xret = (jboolean) ((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->openURLInFrame((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, urlArgs)); - return xret; -} - diff --git a/kdejava/koala/kdejava/BrowserHostExtension.h b/kdejava/koala/kdejava/BrowserHostExtension.h deleted file mode 100644 index 7db58f50..00000000 --- a/kdejava/koala/kdejava/BrowserHostExtension.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_BrowserHostExtension__ -#define __org_kde_koala_BrowserHostExtension__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserHostExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_frameNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_findFrameParent (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserHostExtension_openURLInFrame (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_BrowserHostExtension__ */ diff --git a/kdejava/koala/kdejava/BrowserRun.cpp b/kdejava/koala/kdejava/BrowserRun.cpp deleted file mode 100644 index 01501670..00000000 --- a/kdejava/koala/kdejava/BrowserRun.cpp +++ /dev/null @@ -1,273 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <tdeparts/browserrun.h> -#include <tdeparts/browserextension.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/BrowserRun.h> - -class BrowserRunJBridge : public KParts::BrowserRun -{ -public: - BrowserRunJBridge(const KURL& arg1,const KParts::URLArgs& arg2,KParts::ReadOnlyPart* arg3,TQWidget* arg4,bool arg5,bool arg6) : KParts::BrowserRun(arg1,arg2,arg3,arg4,arg5,arg6) {}; - BrowserRunJBridge(const KURL& arg1,const KParts::URLArgs& arg2,KParts::ReadOnlyPart* arg3,TQWidget* arg4,bool arg5,bool arg6,bool arg7) : KParts::BrowserRun(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - void protected_scanFile() { - KParts::BrowserRun::scanFile(); - return; - } - void protected_init() { - KParts::BrowserRun::init(); - return; - } - void protected_handleError(TDEIO::Job* arg1) { - KParts::BrowserRun::handleError(arg1); - return; - } - void protected_slotBrowserScanFinished(TDEIO::Job* arg1) { - KParts::BrowserRun::slotBrowserScanFinished(arg1); - return; - } - void protected_slotBrowserMimetype(TDEIO::Job* arg1,const TQString& arg2) { - KParts::BrowserRun::slotBrowserMimetype(arg1,arg2); - return; - } - void protected_slotCopyToTempFileResult(TDEIO::Job* arg1) { - KParts::BrowserRun::slotCopyToTempFileResult(arg1); - return; - } - void protected_slotStatResult(TDEIO::Job* arg1) { - KParts::BrowserRun::slotStatResult(arg1); - return; - } - void slotStatResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotStatResult",(void*)arg1,"org.kde.koala.Job")) { - BrowserRun::slotStatResult(arg1); - } - return; - } - void scanFile() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.BrowserRun","scanFile")) { - BrowserRun::scanFile(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void init() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.BrowserRun","init")) { - BrowserRun::init(); - } - return; - } - void killJob() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.BrowserRun","killJob")) { - KRun::killJob(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void handleError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)arg1,"org.kde.koala.Job")) { - BrowserRun::handleError(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.BrowserRun",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_allowExecution(JNIEnv* env, jclass cls, jstring serviceType, jobject url) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) BrowserRunJBridge::allowExecution((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserRun_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_handleError(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_handleError((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_hideErrorDialog(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->hideErrorDialog(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_init(JNIEnv* env, jobject obj) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_isExecutable(JNIEnv* env, jclass cls, jstring serviceType) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) BrowserRunJBridge::isExecutable((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_isTextExecutable(JNIEnv* env, jclass cls, jstring serviceType) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) BrowserRunJBridge::isTextExecutable((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserRun_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserRun*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jobject obj, jobject url, jobject args, jobject part, jobject window, jboolean removeReferrer, jboolean trustedSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args), (KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, window), (bool) removeReferrer, (bool) trustedSource)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZZ(JNIEnv* env, jobject obj, jobject url, jobject args, jobject part, jobject window, jboolean removeReferrer, jboolean trustedSource, jboolean hideErrorDialog) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args), (KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, window), (bool) removeReferrer, (bool) trustedSource, (bool) hideErrorDialog)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_save(JNIEnv* env, jobject obj, jobject url, jstring suggestedFilename) -{ -static TQString* _qstring_suggestedFilename = 0; - ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->save((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedFilename, &_qstring_suggestedFilename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_scanFile(JNIEnv* env, jobject obj) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_scanFile(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring suggestedFilename) -{ - (void) cls; -static TQString* _qstring_suggestedFilename = 0; - BrowserRunJBridge::simpleSave((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedFilename, &_qstring_suggestedFilename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject url, jstring suggestedFilename, jobject window) -{ - (void) cls; -static TQString* _qstring_suggestedFilename = 0; - BrowserRunJBridge::simpleSave((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedFilename, &_qstring_suggestedFilename), (TQWidget*) QtSupport::getQt(env, window)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotBrowserMimetype(JNIEnv* env, jobject obj, jobject job, jstring type) -{ -static TQString* _qstring_type = 0; - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotBrowserMimetype((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotBrowserScanFinished(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotBrowserScanFinished((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotCopyToTempFileResult(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotCopyToTempFileResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotStatResult(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserRun_suggestedFilename(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->suggestedFilename(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserRun_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KParts::BrowserRun*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/BrowserRun.h b/kdejava/koala/kdejava/BrowserRun.h deleted file mode 100644 index f0b00fbf..00000000 --- a/kdejava/koala/kdejava/BrowserRun.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_BrowserRun__ -#define __org_kde_koala_BrowserRun__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserRun_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserRun_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZZ (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserRun_url (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_hideErrorDialog (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserRun_suggestedFilename (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_save (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_allowExecution (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_isExecutable (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_isTextExecutable (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_scanFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_handleError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotBrowserScanFinished (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotBrowserMimetype (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotCopyToTempFileResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotStatResult (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_BrowserRun__ */ diff --git a/kdejava/koala/kdejava/CDATASection.cpp b/kdejava/koala/kdejava/CDATASection.cpp deleted file mode 100644 index 3360bad0..00000000 --- a/kdejava/koala/kdejava/CDATASection.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_xml.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CDATASection.h> - -class CDATASectionJBridge : public DOM::CDATASection -{ -public: - CDATASectionJBridge() : DOM::CDATASection() {}; - CDATASectionJBridge(const DOM::CDATASection& arg1) : DOM::CDATASection(arg1) {}; - CDATASectionJBridge(const DOM::Node& arg1) : DOM::CDATASection(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CDATASection_newCDATASection__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CDATASectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_CDATASection_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CDATASectionJBridge((const DOM::CDATASection&)*(const DOM::CDATASection*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CDATASectionJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CDATASection.h b/kdejava/koala/kdejava/CDATASection.h deleted file mode 100644 index d7957fbd..00000000 --- a/kdejava/koala/kdejava/CDATASection.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CDATASection__ -#define __org_kde_koala_CDATASection__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CDATASection_newCDATASection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_CDATASection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CDATASection__ */ diff --git a/kdejava/koala/kdejava/CSSCharsetRule.cpp b/kdejava/koala/kdejava/CSSCharsetRule.cpp deleted file mode 100644 index 4efe54b9..00000000 --- a/kdejava/koala/kdejava/CSSCharsetRule.cpp +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSCharsetRule.h> - -class CSSCharsetRuleJBridge : public DOM::CSSCharsetRule -{ -public: - CSSCharsetRuleJBridge() : DOM::CSSCharsetRule() {}; - CSSCharsetRuleJBridge(const DOM::CSSCharsetRule& arg1) : DOM::CSSCharsetRule(arg1) {}; - CSSCharsetRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSCharsetRule(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSCharsetRule_encoding(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSCharsetRule*) QtSupport::getQt(env, obj))->encoding(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSCharsetRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSCharsetRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSCharsetRuleJBridge((const DOM::CSSCharsetRule&)*(const DOM::CSSCharsetRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSCharsetRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_setEncoding(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSCharsetRule*) QtSupport::getQt(env, obj))->setEncoding((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSCharsetRule.h b/kdejava/koala/kdejava/CSSCharsetRule.h deleted file mode 100644 index aebcf62c..00000000 --- a/kdejava/koala/kdejava/CSSCharsetRule.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSCharsetRule__ -#define __org_kde_koala_CSSCharsetRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSCharsetRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSCharsetRule_encoding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_setEncoding (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSCharsetRule__ */ diff --git a/kdejava/koala/kdejava/CSSException.cpp b/kdejava/koala/kdejava/CSSException.cpp deleted file mode 100644 index de9fe7e5..00000000 --- a/kdejava/koala/kdejava/CSSException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_stylesheet.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSException.h> - -class CSSExceptionJBridge : public DOM::CSSException -{ -public: - CSSExceptionJBridge(unsigned short arg1) : DOM::CSSException(arg1) {}; - CSSExceptionJBridge(const DOM::CSSException& arg1) : DOM::CSSException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSException_newCSSException__Lorg_kde_koala_CSSException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSExceptionJBridge((const DOM::CSSException&)*(const DOM::CSSException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSException_newCSSException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSException.h b/kdejava/koala/kdejava/CSSException.h deleted file mode 100644 index d4058ca5..00000000 --- a/kdejava/koala/kdejava/CSSException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSException__ -#define __org_kde_koala_CSSException__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSException_newCSSException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSException_newCSSException__Lorg_kde_koala_CSSException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSException__ */ diff --git a/kdejava/koala/kdejava/CSSFontFaceRule.cpp b/kdejava/koala/kdejava/CSSFontFaceRule.cpp deleted file mode 100644 index 64a9e5f4..00000000 --- a/kdejava/koala/kdejava/CSSFontFaceRule.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSFontFaceRule.h> - -class CSSFontFaceRuleJBridge : public DOM::CSSFontFaceRule -{ -public: - CSSFontFaceRuleJBridge() : DOM::CSSFontFaceRule() {}; - CSSFontFaceRuleJBridge(const DOM::CSSFontFaceRule& arg1) : DOM::CSSFontFaceRule(arg1) {}; - CSSFontFaceRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSFontFaceRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSFontFaceRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSFontFaceRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSFontFaceRuleJBridge((const DOM::CSSFontFaceRule&)*(const DOM::CSSFontFaceRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSFontFaceRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSFontFaceRule_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::CSSFontFaceRule*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSFontFaceRule.h b/kdejava/koala/kdejava/CSSFontFaceRule.h deleted file mode 100644 index 7e0387b0..00000000 --- a/kdejava/koala/kdejava/CSSFontFaceRule.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSFontFaceRule__ -#define __org_kde_koala_CSSFontFaceRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSFontFaceRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSFontFaceRule_style (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSFontFaceRule__ */ diff --git a/kdejava/koala/kdejava/CSSImportRule.cpp b/kdejava/koala/kdejava/CSSImportRule.cpp deleted file mode 100644 index e745d979..00000000 --- a/kdejava/koala/kdejava/CSSImportRule.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_stylesheet.h> -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSImportRule.h> - -class CSSImportRuleJBridge : public DOM::CSSImportRule -{ -public: - CSSImportRuleJBridge() : DOM::CSSImportRule() {}; - CSSImportRuleJBridge(const DOM::CSSImportRule& arg1) : DOM::CSSImportRule(arg1) {}; - CSSImportRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSImportRule(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSImportRule_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSImportRule*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSImportRule_media(JNIEnv* env, jobject obj) -{ - DOM::MediaList _qlist; - _qlist = ((DOM::CSSImportRule*) QtSupport::getQt(env, obj))->media(); - return (jobject) KDESupport::arrayWithMediaList(env, (DOM::MediaList *) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSImportRule_newCSSImportRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSImportRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSImportRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSImportRuleJBridge((const DOM::CSSImportRule&)*(const DOM::CSSImportRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSImportRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSImportRule_styleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleSheet(((DOM::CSSImportRule*) QtSupport::getQt(env, obj))->styleSheet()), "org.kde.koala.CSSStyleSheet", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSImportRule.h b/kdejava/koala/kdejava/CSSImportRule.h deleted file mode 100644 index 25b38f91..00000000 --- a/kdejava/koala/kdejava/CSSImportRule.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSImportRule__ -#define __org_kde_koala_CSSImportRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSImportRule_newCSSImportRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSImportRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSImportRule_href (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSImportRule_media (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSImportRule_styleSheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSImportRule__ */ diff --git a/kdejava/koala/kdejava/CSSMediaRule.cpp b/kdejava/koala/kdejava/CSSMediaRule.cpp deleted file mode 100644 index dfaf3aab..00000000 --- a/kdejava/koala/kdejava/CSSMediaRule.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_stylesheet.h> -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSMediaRule.h> - -class CSSMediaRuleJBridge : public DOM::CSSMediaRule -{ -public: - CSSMediaRuleJBridge() : DOM::CSSMediaRule() {}; - CSSMediaRuleJBridge(const DOM::CSSMediaRule& arg1) : DOM::CSSMediaRule(arg1) {}; - CSSMediaRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSMediaRule(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSMediaRule_cssRules(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRuleList(((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->cssRules()), "org.kde.koala.CSSRuleList", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_deleteRule(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->deleteRule((unsigned long) index); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSMediaRule_insertRule(JNIEnv* env, jobject obj, jstring rule, jlong index) -{ -static DOM::DOMString* _domstring_rule = 0; - jlong xret = (jlong) ((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->insertRule((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, rule, &_domstring_rule), (unsigned long) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSMediaRule_media(JNIEnv* env, jobject obj) -{ - DOM::MediaList _qlist; - _qlist = ((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->media(); - return (jobject) KDESupport::arrayWithMediaList(env, (DOM::MediaList *) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSMediaRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSMediaRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSMediaRuleJBridge((const DOM::CSSMediaRule&)*(const DOM::CSSMediaRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSMediaRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSMediaRule.h b/kdejava/koala/kdejava/CSSMediaRule.h deleted file mode 100644 index e487e633..00000000 --- a/kdejava/koala/kdejava/CSSMediaRule.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSMediaRule__ -#define __org_kde_koala_CSSMediaRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSMediaRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSMediaRule_media (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSMediaRule_cssRules (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSMediaRule_insertRule (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_deleteRule (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSMediaRule__ */ diff --git a/kdejava/koala/kdejava/CSSPageRule.cpp b/kdejava/koala/kdejava/CSSPageRule.cpp deleted file mode 100644 index 669b1078..00000000 --- a/kdejava/koala/kdejava/CSSPageRule.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSPageRule.h> - -class CSSPageRuleJBridge : public DOM::CSSPageRule -{ -public: - CSSPageRuleJBridge() : DOM::CSSPageRule() {}; - CSSPageRuleJBridge(const DOM::CSSPageRule& arg1) : DOM::CSSPageRule(arg1) {}; - CSSPageRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSPageRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_newCSSPageRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPageRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSPageRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPageRuleJBridge((const DOM::CSSPageRule&)*(const DOM::CSSPageRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPageRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSPageRule_selectorText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSPageRule*) QtSupport::getQt(env, obj))->selectorText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_setSelectorText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSPageRule*) QtSupport::getQt(env, obj))->setSelectorText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPageRule_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::CSSPageRule*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSPageRule.h b/kdejava/koala/kdejava/CSSPageRule.h deleted file mode 100644 index 77224a99..00000000 --- a/kdejava/koala/kdejava/CSSPageRule.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSPageRule__ -#define __org_kde_koala_CSSPageRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_newCSSPageRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSPageRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSPageRule_selectorText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_setSelectorText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPageRule_style (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSPageRule__ */ diff --git a/kdejava/koala/kdejava/CSSPrimitiveValue.cpp b/kdejava/koala/kdejava/CSSPrimitiveValue.cpp deleted file mode 100644 index 776b92b1..00000000 --- a/kdejava/koala/kdejava/CSSPrimitiveValue.cpp +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <dom/dom_string.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSPrimitiveValue.h> - -class CSSPrimitiveValueJBridge : public DOM::CSSPrimitiveValue -{ -public: - CSSPrimitiveValueJBridge() : DOM::CSSPrimitiveValue() {}; - CSSPrimitiveValueJBridge(const DOM::CSSPrimitiveValue& arg1) : DOM::CSSPrimitiveValue(arg1) {}; - CSSPrimitiveValueJBridge(const DOM::CSSValue& arg1) : DOM::CSSPrimitiveValue(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getCounterValue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Counter(((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getCounterValue()), "org.kde.koala.Counter", TRUE); - return xret; -} - -JNIEXPORT jfloat JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getFloatValue(JNIEnv* env, jobject obj, jshort unitType) -{ - jfloat xret = (jfloat) ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getFloatValue((unsigned short) unitType); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getRGBColorValue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::RGBColor(((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getRGBColorValue()), "org.kde.koala.RGBColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getRectValue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Rect(((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getRectValue()), "org.kde.koala.Rect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getStringValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getStringValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPrimitiveValueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSPrimitiveValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPrimitiveValueJBridge((const DOM::CSSPrimitiveValue&)*(const DOM::CSSPrimitiveValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPrimitiveValueJBridge((const DOM::CSSValue&)*(const DOM::CSSValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CSSPrimitiveValue_primitiveType(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->primitiveType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_setFloatValue(JNIEnv* env, jobject obj, jshort unitType, jfloat floatValue) -{ - ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->setFloatValue((unsigned short) unitType, (float) floatValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_setStringValue(JNIEnv* env, jobject obj, jshort stringType, jstring stringValue) -{ -static DOM::DOMString* _domstring_stringValue = 0; - ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->setStringValue((unsigned short) stringType, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, stringValue, &_domstring_stringValue)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSPrimitiveValue.h b/kdejava/koala/kdejava/CSSPrimitiveValue.h deleted file mode 100644 index a7dee392..00000000 --- a/kdejava/koala/kdejava/CSSPrimitiveValue.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSPrimitiveValue__ -#define __org_kde_koala_CSSPrimitiveValue__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSPrimitiveValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CSSPrimitiveValue_primitiveType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_setFloatValue (JNIEnv *env, jobject, jshort, jfloat); -extern JNIEXPORT jfloat JNICALL Java_org_kde_koala_CSSPrimitiveValue_getFloatValue (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_setStringValue (JNIEnv *env, jobject, jshort, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSPrimitiveValue_getStringValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPrimitiveValue_getCounterValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPrimitiveValue_getRectValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPrimitiveValue_getRGBColorValue (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSPrimitiveValue__ */ diff --git a/kdejava/koala/kdejava/CSSRule.cpp b/kdejava/koala/kdejava/CSSRule.cpp deleted file mode 100644 index 699dbf1f..00000000 --- a/kdejava/koala/kdejava/CSSRule.cpp +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_stylesheet.h> -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSRule.h> - -class CSSRuleJBridge : public DOM::CSSRule -{ -public: - CSSRuleJBridge() : DOM::CSSRule() {}; - CSSRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSRule(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSRule_cssText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSRule*) QtSupport::getQt(env, obj))->cssText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSRule_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSRule*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRule_newCSSRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRule_newCSSRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSRule_parentRule(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSRule*) QtSupport::getQt(env, obj))->parentRule()), "org.kde.koala.CSSRule", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSRule_parentStyleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleSheet(((DOM::CSSRule*) QtSupport::getQt(env, obj))->parentStyleSheet()), "org.kde.koala.CSSStyleSheet", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRule_setCssText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSRule*) QtSupport::getQt(env, obj))->setCssText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CSSRule_type(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::CSSRule*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSRule.h b/kdejava/koala/kdejava/CSSRule.h deleted file mode 100644 index d5eb59c0..00000000 --- a/kdejava/koala/kdejava/CSSRule.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSRule__ -#define __org_kde_koala_CSSRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRule_newCSSRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRule_newCSSRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CSSRule_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSRule_cssText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRule_setCssText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSRule_parentStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSRule_parentRule (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSRule_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSRule__ */ diff --git a/kdejava/koala/kdejava/CSSRuleList.cpp b/kdejava/koala/kdejava/CSSRuleList.cpp deleted file mode 100644 index 05b76f1e..00000000 --- a/kdejava/koala/kdejava/CSSRuleList.cpp +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSRuleList.h> - -class CSSRuleListJBridge : public DOM::CSSRuleList -{ -public: - CSSRuleListJBridge() : DOM::CSSRuleList() {}; - CSSRuleListJBridge(const DOM::CSSRuleList& arg1) : DOM::CSSRuleList(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSRuleList_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSRuleList*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSRuleList_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSRuleList*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.CSSRule", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSRuleList_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CSSRuleList*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRuleList_newCSSRuleList__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleListJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRuleList_newCSSRuleList__Lorg_kde_koala_CSSRuleList_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleListJBridge((const DOM::CSSRuleList&)*(const DOM::CSSRuleList*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSRuleList.h b/kdejava/koala/kdejava/CSSRuleList.h deleted file mode 100644 index 2c8a0efc..00000000 --- a/kdejava/koala/kdejava/CSSRuleList.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSRuleList__ -#define __org_kde_koala_CSSRuleList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRuleList_newCSSRuleList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRuleList_newCSSRuleList__Lorg_kde_koala_CSSRuleList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSRuleList_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSRuleList_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSRuleList_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSRuleList__ */ diff --git a/kdejava/koala/kdejava/CSSStyleDeclaration.cpp b/kdejava/koala/kdejava/CSSStyleDeclaration.cpp deleted file mode 100644 index 387b3fb7..00000000 --- a/kdejava/koala/kdejava/CSSStyleDeclaration.cpp +++ /dev/null @@ -1,126 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSStyleDeclaration.h> - -class CSSStyleDeclarationJBridge : public DOM::CSSStyleDeclaration -{ -public: - CSSStyleDeclarationJBridge() : DOM::CSSStyleDeclaration() {}; - CSSStyleDeclarationJBridge(const DOM::CSSStyleDeclaration& arg1) : DOM::CSSStyleDeclaration(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_cssText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->cssText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleDeclaration_getPropertyCSSValue(JNIEnv* env, jobject obj, jstring propertyName) -{ -static DOM::DOMString* _domstring_propertyName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSValue(((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyCSSValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName))), "org.kde.koala.CSSValue", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_getPropertyPriority(JNIEnv* env, jobject obj, jstring propertyName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_propertyName = 0; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyPriority((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_getPropertyValue(JNIEnv* env, jobject obj, jstring propertyName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_propertyName = 0; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSStyleDeclaration_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_item(JNIEnv* env, jobject obj, jlong index) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->item((unsigned long) index); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSStyleDeclaration_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleDeclarationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__Lorg_kde_koala_CSSStyleDeclaration_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleDeclarationJBridge((const DOM::CSSStyleDeclaration&)*(const DOM::CSSStyleDeclaration*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleDeclaration_parentRule(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->parentRule()), "org.kde.koala.CSSRule", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_removeProperty(JNIEnv* env, jobject obj, jstring propertyName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_propertyName = 0; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->removeProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_setCssText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->setCssText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_setProperty(JNIEnv* env, jobject obj, jstring propertyName, jstring value, jstring priority) -{ -static DOM::DOMString* _domstring_propertyName = 0; -static DOM::DOMString* _domstring_value = 0; -static DOM::DOMString* _domstring_priority = 0; - ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->setProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, priority, &_domstring_priority)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSStyleDeclaration.h b/kdejava/koala/kdejava/CSSStyleDeclaration.h deleted file mode 100644 index ce30e40f..00000000 --- a/kdejava/koala/kdejava/CSSStyleDeclaration.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSStyleDeclaration__ -#define __org_kde_koala_CSSStyleDeclaration__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__Lorg_kde_koala_CSSStyleDeclaration_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_cssText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_setCssText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSStyleDeclaration_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleDeclaration_parentRule (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_getPropertyValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleDeclaration_getPropertyCSSValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_removeProperty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_getPropertyPriority (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_setProperty (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSStyleDeclaration_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSStyleDeclaration__ */ diff --git a/kdejava/koala/kdejava/CSSStyleRule.cpp b/kdejava/koala/kdejava/CSSStyleRule.cpp deleted file mode 100644 index df49bcd5..00000000 --- a/kdejava/koala/kdejava/CSSStyleRule.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSStyleRule.h> - -class CSSStyleRuleJBridge : public DOM::CSSStyleRule -{ -public: - CSSStyleRuleJBridge() : DOM::CSSStyleRule() {}; - CSSStyleRuleJBridge(const DOM::CSSStyleRule& arg1) : DOM::CSSStyleRule(arg1) {}; - CSSStyleRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSStyleRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSStyleRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleRuleJBridge((const DOM::CSSStyleRule&)*(const DOM::CSSStyleRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleRule_selectorText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSStyleRule*) QtSupport::getQt(env, obj))->selectorText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_setSelectorText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSStyleRule*) QtSupport::getQt(env, obj))->setSelectorText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleRule_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::CSSStyleRule*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSStyleRule.h b/kdejava/koala/kdejava/CSSStyleRule.h deleted file mode 100644 index a2733a8f..00000000 --- a/kdejava/koala/kdejava/CSSStyleRule.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSStyleRule__ -#define __org_kde_koala_CSSStyleRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSStyleRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleRule_selectorText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_setSelectorText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleRule_style (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSStyleRule__ */ diff --git a/kdejava/koala/kdejava/CSSStyleSheet.cpp b/kdejava/koala/kdejava/CSSStyleSheet.cpp deleted file mode 100644 index 2705f9ed..00000000 --- a/kdejava/koala/kdejava/CSSStyleSheet.cpp +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_stylesheet.h> -#include <dom/dom_string.h> -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSStyleSheet.h> - -class CSSStyleSheetJBridge : public DOM::CSSStyleSheet -{ -public: - CSSStyleSheetJBridge() : DOM::CSSStyleSheet() {}; - CSSStyleSheetJBridge(const DOM::CSSStyleSheet& arg1) : DOM::CSSStyleSheet(arg1) {}; - CSSStyleSheetJBridge(const DOM::StyleSheet& arg1) : DOM::CSSStyleSheet(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleSheet_cssRules(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRuleList(((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->cssRules()), "org.kde.koala.CSSRuleList", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_deleteRule(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->deleteRule((unsigned long) index); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSStyleSheet_insertRule(JNIEnv* env, jobject obj, jstring rule, jlong index) -{ -static DOM::DOMString* _domstring_rule = 0; - jlong xret = (jlong) ((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->insertRule((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, rule, &_domstring_rule), (unsigned long) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleSheetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_CSSStyleSheet_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleSheetJBridge((const DOM::CSSStyleSheet&)*(const DOM::CSSStyleSheet*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_StyleSheet_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleSheetJBridge((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleSheet_ownerRule(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->ownerRule()), "org.kde.koala.CSSRule", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSStyleSheet.h b/kdejava/koala/kdejava/CSSStyleSheet.h deleted file mode 100644 index 1280285d..00000000 --- a/kdejava/koala/kdejava/CSSStyleSheet.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSStyleSheet__ -#define __org_kde_koala_CSSStyleSheet__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_CSSStyleSheet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_StyleSheet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleSheet_ownerRule (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleSheet_cssRules (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSStyleSheet_insertRule (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_deleteRule (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSStyleSheet__ */ diff --git a/kdejava/koala/kdejava/CSSUnknownRule.cpp b/kdejava/koala/kdejava/CSSUnknownRule.cpp deleted file mode 100644 index be1dee92..00000000 --- a/kdejava/koala/kdejava/CSSUnknownRule.cpp +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_rule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSUnknownRule.h> - -class CSSUnknownRuleJBridge : public DOM::CSSUnknownRule -{ -public: - CSSUnknownRuleJBridge() : DOM::CSSUnknownRule() {}; - CSSUnknownRuleJBridge(const DOM::CSSUnknownRule& arg1) : DOM::CSSUnknownRule(arg1) {}; - CSSUnknownRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSUnknownRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSUnknownRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge((const DOM::CSSUnknownRule&)*(const DOM::CSSUnknownRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSUnknownRule.h b/kdejava/koala/kdejava/CSSUnknownRule.h deleted file mode 100644 index f0bbd28b..00000000 --- a/kdejava/koala/kdejava/CSSUnknownRule.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSUnknownRule__ -#define __org_kde_koala_CSSUnknownRule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSUnknownRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSUnknownRule__ */ diff --git a/kdejava/koala/kdejava/CSSValue.cpp b/kdejava/koala/kdejava/CSSValue.cpp deleted file mode 100644 index 814b15fd..00000000 --- a/kdejava/koala/kdejava/CSSValue.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <dom/dom_string.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSValue.h> - -class CSSValueJBridge : public DOM::CSSValue -{ -public: - CSSValueJBridge() : DOM::CSSValue() {}; - CSSValueJBridge(const DOM::CSSValue& arg1) : DOM::CSSValue(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSValue_cssText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSValue*) QtSupport::getQt(env, obj))->cssText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CSSValue_cssValueType(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->cssValueType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSValue_isCSSPrimitiveValue(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->isCSSPrimitiveValue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSValue_isCSSValueList(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->isCSSValueList(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSValue_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValue_newCSSValue__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValue_newCSSValue__Lorg_kde_koala_CSSValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueJBridge((const DOM::CSSValue&)*(const DOM::CSSValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValue_setCssText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSValue*) QtSupport::getQt(env, obj))->setCssText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSValue.h b/kdejava/koala/kdejava/CSSValue.h deleted file mode 100644 index ea7002f8..00000000 --- a/kdejava/koala/kdejava/CSSValue.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSValue__ -#define __org_kde_koala_CSSValue__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValue_newCSSValue__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValue_newCSSValue__Lorg_kde_koala_CSSValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSValue_cssText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValue_setCssText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CSSValue_cssValueType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSValue_isCSSValueList (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSValue_isCSSPrimitiveValue (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSValue_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSValue__ */ diff --git a/kdejava/koala/kdejava/CSSValueList.cpp b/kdejava/koala/kdejava/CSSValueList.cpp deleted file mode 100644 index e0ad4366..00000000 --- a/kdejava/koala/kdejava/CSSValueList.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CSSValueList.h> - -class CSSValueListJBridge : public DOM::CSSValueList -{ -public: - CSSValueListJBridge() : DOM::CSSValueList() {}; - CSSValueListJBridge(const DOM::CSSValueList& arg1) : DOM::CSSValueList(arg1) {}; - CSSValueListJBridge(const DOM::CSSValue& arg1) : DOM::CSSValueList(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSValueList_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSValue(((DOM::CSSValueList*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.CSSValue", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSValueList_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CSSValueList*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValueList_newCSSValueList__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueListJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValueList_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueListJBridge((const DOM::CSSValueList&)*(const DOM::CSSValueList*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueListJBridge((const DOM::CSSValue&)*(const DOM::CSSValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSValueList.h b/kdejava/koala/kdejava/CSSValueList.h deleted file mode 100644 index d75951e9..00000000 --- a/kdejava/koala/kdejava/CSSValueList.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSValueList__ -#define __org_kde_koala_CSSValueList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValueList_newCSSValueList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValueList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSValueList_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSValueList_item (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSValueList__ */ diff --git a/kdejava/koala/kdejava/CharacterData.cpp b/kdejava/koala/kdejava/CharacterData.cpp deleted file mode 100644 index ef17c92a..00000000 --- a/kdejava/koala/kdejava/CharacterData.cpp +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_text.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CharacterData.h> - -class CharacterDataJBridge : public DOM::CharacterData -{ -public: - CharacterDataJBridge() : DOM::CharacterData() {}; - CharacterDataJBridge(const DOM::CharacterData& arg1) : DOM::CharacterData(arg1) {}; - CharacterDataJBridge(const DOM::Node& arg1) : DOM::CharacterData(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_appendData(JNIEnv* env, jobject obj, jstring arg) -{ -static DOM::DOMString* _domstring_arg = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->appendData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg, &_domstring_arg)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CharacterData_data(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CharacterData*) QtSupport::getQt(env, obj))->data(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_deleteData(JNIEnv* env, jobject obj, jlong offset, jlong count) -{ - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->deleteData((const unsigned long) offset, (const unsigned long) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_insertData(JNIEnv* env, jobject obj, jlong offset, jstring arg) -{ -static DOM::DOMString* _domstring_arg = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->insertData((const unsigned long) offset, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg, &_domstring_arg)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CharacterData_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CharacterData*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_newCharacterData__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CharacterDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_CharacterData_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CharacterDataJBridge((const DOM::CharacterData&)*(const DOM::CharacterData*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CharacterDataJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_replaceData(JNIEnv* env, jobject obj, jlong offset, jlong count, jstring arg) -{ -static DOM::DOMString* _domstring_arg = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->replaceData((const unsigned long) offset, (const unsigned long) count, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg, &_domstring_arg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_setData(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->setData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CharacterData_substringData(JNIEnv* env, jobject obj, jlong offset, jlong count) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CharacterData*) QtSupport::getQt(env, obj))->substringData((const unsigned long) offset, (const unsigned long) count); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/CharacterData.h b/kdejava/koala/kdejava/CharacterData.h deleted file mode 100644 index 27ff2441..00000000 --- a/kdejava/koala/kdejava/CharacterData.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CharacterData__ -#define __org_kde_koala_CharacterData__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_newCharacterData__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_CharacterData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CharacterData_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CharacterData_length (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CharacterData_substringData (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_appendData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_insertData (JNIEnv *env, jobject, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_deleteData (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_replaceData (JNIEnv *env, jobject, jlong, jlong, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CharacterData__ */ diff --git a/kdejava/koala/kdejava/Comment.cpp b/kdejava/koala/kdejava/Comment.cpp deleted file mode 100644 index 553ef2cb..00000000 --- a/kdejava/koala/kdejava/Comment.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_text.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Comment.h> - -class CommentJBridge : public DOM::Comment -{ -public: - CommentJBridge() : DOM::Comment() {}; - CommentJBridge(const DOM::Comment& arg1) : DOM::Comment(arg1) {}; - CommentJBridge(const DOM::Node& arg1) : DOM::Comment(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Comment_newComment__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CommentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Comment_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CommentJBridge((const DOM::Comment&)*(const DOM::Comment*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CommentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/Comment.h b/kdejava/koala/kdejava/Comment.h deleted file mode 100644 index a45367e0..00000000 --- a/kdejava/koala/kdejava/Comment.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Comment__ -#define __org_kde_koala_Comment__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Comment_newComment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Comment_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Comment__ */ diff --git a/kdejava/koala/kdejava/Connection.cpp b/kdejava/koala/kdejava/Connection.cpp deleted file mode 100644 index 92616fe2..00000000 --- a/kdejava/koala/kdejava/Connection.cpp +++ /dev/null @@ -1,197 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/connection.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Connection.h> - -class ConnectionJBridge : public TDEIO::Connection -{ -public: - ConnectionJBridge() : TDEIO::Connection() {}; - void protected_dequeue() { - TDEIO::Connection::dequeue(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Connection",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Connection_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Connection*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_close(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_connect__(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->connect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->connect((TQObject*) QtSupport::getQt(env, receiver)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->connect((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_dequeue(JNIEnv* env, jobject obj) -{ - ((ConnectionJBridge*) QtSupport::getQt(env, obj))->protected_dequeue(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Connection_fd_1from(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->fd_from(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Connection_fd_1to(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->fd_to(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_init(JNIEnv* env, jobject obj, jint fd_in, jint fd_out) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->init((int) fd_in, (int) fd_out); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Connection_inited(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->inited(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Connection_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Connection*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_newConnection(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ConnectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Connection_read(JNIEnv* env, jobject obj, jintArray _cmd, jbyteArray data) -{ - int* _int__cmd = QtSupport::toIntPtr(env, _cmd); -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->read( (int*) _int__cmd, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - env->SetIntArrayRegion(_cmd, 0, 1, (jint *) _int__cmd); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_resume(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_send__I(JNIEnv* env, jobject obj, jint cmd) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->send((int) cmd); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_send__I_3B(JNIEnv* env, jobject obj, jint cmd, jbyteArray arr) -{ -static TQByteArray* _qbyteArray_arr = 0; - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->send((int) cmd, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Connection_sendnow(JNIEnv* env, jobject obj, jint _cmd, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->sendnow((int) _cmd, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_suspend(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Connection_suspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->suspended(); - return xret; -} - diff --git a/kdejava/koala/kdejava/Connection.h b/kdejava/koala/kdejava/Connection.h deleted file mode 100644 index 51699bb6..00000000 --- a/kdejava/koala/kdejava/Connection.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Connection__ -#define __org_kde_koala_Connection__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Connection_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Connection_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_newConnection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_init (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_connect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_close (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Connection_fd_1from (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Connection_fd_1to (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Connection_inited (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_send__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_send__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Connection_sendnow (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Connection_read (JNIEnv *env, jobject, jintArray, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Connection_suspended (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_dequeue (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Connection__ */ diff --git a/kdejava/koala/kdejava/CopyJob.cpp b/kdejava/koala/kdejava/CopyJob.cpp deleted file mode 100644 index 43297aff..00000000 --- a/kdejava/koala/kdejava/CopyJob.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CopyJob.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CopyJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CopyJob_destURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->destURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CopyJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CopyJob_setDefaultPermissions(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->setDefaultPermissions((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CopyJob_setInteractive(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->setInteractive((bool) b); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CopyJob_srcURLs(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->srcURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/CopyJob.h b/kdejava/koala/kdejava/CopyJob.h deleted file mode 100644 index c4782a34..00000000 --- a/kdejava/koala/kdejava/CopyJob.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CopyJob__ -#define __org_kde_koala_CopyJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CopyJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CopyJob_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CopyJob_srcURLs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CopyJob_destURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CopyJob_setDefaultPermissions (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CopyJob_setInteractive (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CopyJob__ */ diff --git a/kdejava/koala/kdejava/Counter.cpp b/kdejava/koala/kdejava/Counter.cpp deleted file mode 100644 index 4ebc48f4..00000000 --- a/kdejava/koala/kdejava/Counter.cpp +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <dom/dom_string.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Counter.h> - -class CounterJBridge : public DOM::Counter -{ -public: - CounterJBridge() : DOM::Counter() {}; - CounterJBridge(const DOM::Counter& arg1) : DOM::Counter(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Counter_identifier(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Counter*) QtSupport::getQt(env, obj))->identifier(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Counter_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Counter*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Counter_listStyle(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Counter*) QtSupport::getQt(env, obj))->listStyle(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Counter_newCounter__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CounterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Counter_newCounter__Lorg_kde_koala_Counter_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CounterJBridge((const DOM::Counter&)*(const DOM::Counter*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Counter_separator(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Counter*) QtSupport::getQt(env, obj))->separator(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Counter.h b/kdejava/koala/kdejava/Counter.h deleted file mode 100644 index f744e81a..00000000 --- a/kdejava/koala/kdejava/Counter.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Counter__ -#define __org_kde_koala_Counter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Counter_newCounter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Counter_newCounter__Lorg_kde_koala_Counter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Counter_identifier (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Counter_listStyle (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Counter_separator (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Counter_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Counter__ */ diff --git a/kdejava/koala/kdejava/CustomNodeFilter.cpp b/kdejava/koala/kdejava/CustomNodeFilter.cpp deleted file mode 100644 index fa87732a..00000000 --- a/kdejava/koala/kdejava/CustomNodeFilter.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom2_traversal.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/CustomNodeFilter.h> - -class CustomNodeFilterJBridge : public DOM::CustomNodeFilter -{ -public: - CustomNodeFilterJBridge() : DOM::CustomNodeFilter() {}; -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CustomNodeFilter_acceptNode(JNIEnv* env, jobject obj, jobject n) -{ - jshort xret = (jshort) ((DOM::CustomNodeFilter*) QtSupport::getQt(env, obj))->acceptNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CustomNodeFilter_customNodeFilterType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CustomNodeFilter*) QtSupport::getQt(env, obj))->customNodeFilterType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CustomNodeFilter_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CustomNodeFilter*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CustomNodeFilter_newCustomNodeFilter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CustomNodeFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CustomNodeFilter.h b/kdejava/koala/kdejava/CustomNodeFilter.h deleted file mode 100644 index aaf527fd..00000000 --- a/kdejava/koala/kdejava/CustomNodeFilter.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CustomNodeFilter__ -#define __org_kde_koala_CustomNodeFilter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CustomNodeFilter_newCustomNodeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CustomNodeFilter_acceptNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CustomNodeFilter_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CustomNodeFilter_customNodeFilterType (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CustomNodeFilter__ */ diff --git a/kdejava/koala/kdejava/DCOPClient.cpp b/kdejava/koala/kdejava/DCOPClient.cpp deleted file mode 100644 index db18b2d5..00000000 --- a/kdejava/koala/kdejava/DCOPClient.cpp +++ /dev/null @@ -1,641 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dcopclient.h> -#include <tqglobal.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DCOPClient.h> - -class DCOPClientJBridge : public DCOPClient -{ -public: - DCOPClientJBridge() : DCOPClient() {}; - void protected_processSocketData(int arg1) { - DCOPClient::processSocketData(arg1); - return; - } - ~DCOPClientJBridge() {QtSupport::qtKeyDeleted(this);} - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DCOPClient",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_acceptCalls(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->acceptCalls(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_appId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->appId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_attach(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->attach(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_bindToApp(JNIEnv* env, jobject obj) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->bindToApp(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DCOPClient_callAsync(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jobject callBackObj, jstring callBackSlot) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qstring_callBackSlot = 0; - jint xret = (jint) ((DCOPClient*) QtSupport::getQt(env, obj))->callAsync((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQObject*) QtSupport::getQt(env, callBackObj), (const char*) QtSupport::toCharString(env, callBackSlot, &_qstring_callBackSlot)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_call(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jobject replyType, jbyteArray replyData, jboolean useEventLoop, jint timeout) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->call((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData), (bool) useEventLoop, (int) timeout); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring receiverObj, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_receiverObj = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, receiverObj, &_qcstring_receiverObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_dcopServerFile__(JNIEnv* env, jclass cls) -{ - TQCString _qstring; - (void) cls; - _qstring = DCOPClientJBridge::dcopServerFile(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_dcopServerFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring hostname) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_hostname = 0; - _qstring = DCOPClientJBridge::dcopServerFile((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, hostname, &_qcstring_hostname)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_defaultObject(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->defaultObject(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_detach(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->detach(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring receiverObj, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_receiverObj = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, receiverObj, &_qcstring_receiverObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_DCOPClient_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_emergencyClose(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - DCOPClientJBridge::emergencyClose(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring object, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_object = 0; -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPClient*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, object, &_qcstring_object), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPClient*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((DCOPClient*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (DCOPClient*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_findLocalClient(JNIEnv* env, jclass cls, jstring _appId) -{ - (void) cls; -static TQCString* _qcstring__appId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPClientJBridge::findLocalClient((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _appId, &_qcstring__appId)), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_findObject(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jobject foundApp, jobject foundObj, jboolean useEventLoop, jint timeout) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_foundApp = 0; - if (_qcstring_foundApp == 0) { - _qcstring_foundApp = new TQCString(); - } -static TQCString* _qcstring_foundObj = 0; - if (_qcstring_foundObj == 0) { - _qcstring_foundObj = new TQCString(); - } - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->findObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_foundApp, (TQCString&)*(TQCString*) _qcstring_foundObj, (bool) useEventLoop, (int) timeout); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_foundApp, foundApp); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_foundObj, foundObj); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_find(JNIEnv* env, jobject obj, jstring app, jstring arg2, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_app = 0; -static TQCString* _qcstring_arg2 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, app, &_qcstring_app), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg2, &_qcstring_arg2), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_iceauthPath(JNIEnv* env, jclass cls) -{ - TQCString _qstring; - (void) cls; - _qstring = DCOPClientJBridge::iceauthPath(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isApplicationRegistered(JNIEnv* env, jobject obj, jstring remApp) -{ -static TQCString* _qcstring_remApp = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isApplicationRegistered((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isAttachedToForeignServer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isAttachedToForeignServer(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isAttached(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isAttached(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isRegistered(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isRegistered(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isSuspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isSuspended(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_mainClient(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPClientJBridge::mainClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPClient*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_newDCOPClient(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPClientJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_normalizeFunctionSignature(JNIEnv* env, jclass cls, jstring fun) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_fun = 0; - _qstring = DCOPClientJBridge::normalizeFunctionSignature((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_postMortemFunction(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = DCOPClientJBridge::postMortemFunction(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_postMortemObject(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = DCOPClientJBridge::postMortemObject(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_postMortemSender(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = DCOPClientJBridge::postMortemSender(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_processSocketData(JNIEnv* env, jobject obj, jint socknum) -{ - ((DCOPClientJBridge*) QtSupport::getQt(env, obj))->protected_processSocketData((int) socknum); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_qtBridgeEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->qtBridgeEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_receive(JNIEnv* env, jobject obj, jstring app, jstring arg2, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_app = 0; -static TQCString* _qcstring_arg2 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->receive((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, app, &_qcstring_app), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg2, &_qcstring_arg2), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appId) -{ - TQCString _qstring; -static TQCString* _qcstring_appId = 0; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->registerAs((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, appId, &_qcstring_appId)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring appId, jboolean addPID) -{ - TQCString _qstring; -static TQCString* _qcstring_appId = 0; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->registerAs((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, appId, &_qcstring_appId), (bool) addPID); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_registeredApplications(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->registeredApplications(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jbooleanArray ok) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_resume(JNIEnv* env, jobject obj) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jstring data) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQString* _qstring_data = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->send((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->send((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_senderId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->senderId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setAcceptCalls(JNIEnv* env, jobject obj, jboolean b) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setAcceptCalls((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setDaemonMode(JNIEnv* env, jobject obj, jboolean daemonMode) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setDaemonMode((bool) daemonMode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setDefaultObject(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - ((DCOPClient*) QtSupport::getQt(env, obj))->setDefaultObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setMainClient(JNIEnv* env, jclass cls, jobject mainClient) -{ - (void) cls; - DCOPClientJBridge::setMainClient((DCOPClient*) QtSupport::getQt(env, mainClient)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setNotifications(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setNotifications((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setPriorityCall(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setPriorityCall((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setQtBridgeEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setQtBridgeEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setServerAddress(JNIEnv* env, jclass cls, jstring addr) -{ - (void) cls; -static TQCString* _qcstring_addr = 0; - DCOPClientJBridge::setServerAddress((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, addr, &_qcstring_addr)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DCOPClient_socket(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DCOPClient*) QtSupport::getQt(env, obj))->socket(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_suspend(JNIEnv* env, jobject obj) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DCOPClient_transactionId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DCOPClient*) QtSupport::getQt(env, obj))->transactionId(); - return xret; -} - diff --git a/kdejava/koala/kdejava/DCOPClient.h b/kdejava/koala/kdejava/DCOPClient.h deleted file mode 100644 index 11e79383..00000000 --- a/kdejava/koala/kdejava/DCOPClient.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DCOPClient__ -#define __org_kde_koala_DCOPClient__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_newDCOPClient (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_attach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_bindToApp (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isAttached (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isAttachedToForeignServer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_acceptCalls (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setAcceptCalls (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_qtBridgeEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setQtBridgeEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isRegistered (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_appId (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DCOPClient_socket (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isSuspended (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_call (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jbyteArray, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DCOPClient_callAsync (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_findObject (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jstring, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DCOPClient_transactionId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isApplicationRegistered (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_registeredApplications (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_receive (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_find (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_senderId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setDefaultObject (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_defaultObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setNotifications (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setDaemonMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setPriorityCall (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setServerAddress (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_normalizeFunctionSignature (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_mainClient (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setMainClient (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_findLocalClient (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_emergencyClose (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_postMortemSender (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_postMortemObject (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_postMortemFunction (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_dcopServerFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_dcopServerFile__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_iceauthPath (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_processSocketData (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DCOPClient__ */ diff --git a/kdejava/koala/kdejava/DCOPObject.cpp b/kdejava/koala/kdejava/DCOPObject.cpp deleted file mode 100644 index bfce1f72..00000000 --- a/kdejava/koala/kdejava/DCOPObject.cpp +++ /dev/null @@ -1,222 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dcopclient.h> -#include <dcopobject.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DCOPObject.h> - -class DCOPObjectJBridge : public DCOPObject -{ -public: - DCOPObjectJBridge() : DCOPObject() {}; - DCOPObjectJBridge(TQObject* arg1) : DCOPObject(arg1) {}; - DCOPObjectJBridge(const TQCString& arg1) : DCOPObject(arg1) {}; - ~DCOPObjectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_DCOPObject_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (DCOPObject*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPObjectJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) DCOPObjectJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_newDCOPObject__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_newDCOPObject__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_newDCOPObject__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge((TQObject*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPObject_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPObject_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = DCOPObjectJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - diff --git a/kdejava/koala/kdejava/DCOPObject.h b/kdejava/koala/kdejava/DCOPObject.h deleted file mode 100644 index d3a89329..00000000 --- a/kdejava/koala/kdejava/DCOPObject.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DCOPObject__ -#define __org_kde_koala_DCOPObject__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPObject_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPObject_objectName (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DCOPObject__ */ diff --git a/kdejava/koala/kdejava/DCOPObjectProxy.cpp b/kdejava/koala/kdejava/DCOPObjectProxy.cpp deleted file mode 100644 index 7f4058e5..00000000 --- a/kdejava/koala/kdejava/DCOPObjectProxy.cpp +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dcopobject.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DCOPObjectProxy.h> - -class DCOPObjectProxyJBridge : public DCOPObjectProxy -{ -public: - DCOPObjectProxyJBridge() : DCOPObjectProxy() {}; - ~DCOPObjectProxyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObjectProxy_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_DCOPObjectProxy_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObjectProxy_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (DCOPObjectProxy*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObjectProxy_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObjectProxy_newDCOPObjectProxy(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectProxyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObjectProxy_process(JNIEnv* env, jobject obj, jstring arg1, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObjectProxy*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - diff --git a/kdejava/koala/kdejava/DCOPObjectProxy.h b/kdejava/koala/kdejava/DCOPObjectProxy.h deleted file mode 100644 index 754f8602..00000000 --- a/kdejava/koala/kdejava/DCOPObjectProxy.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DCOPObjectProxy__ -#define __org_kde_koala_DCOPObjectProxy__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObjectProxy_newDCOPObjectProxy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObjectProxy_process (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObjectProxy_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObjectProxy_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObjectProxy_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DCOPObjectProxy__ */ diff --git a/kdejava/koala/kdejava/DOMException.cpp b/kdejava/koala/kdejava/DOMException.cpp deleted file mode 100644 index f0d7ea30..00000000 --- a/kdejava/koala/kdejava/DOMException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_exception.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DOMException.h> - -class DOMExceptionJBridge : public DOM::DOMException -{ -public: - DOMExceptionJBridge(unsigned short arg1) : DOM::DOMException(arg1) {}; - DOMExceptionJBridge(const DOM::DOMException& arg1) : DOM::DOMException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMException_newDOMException__Lorg_kde_koala_DOMException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMExceptionJBridge((const DOM::DOMException&)*(const DOM::DOMException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMException_newDOMException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/DOMException.h b/kdejava/koala/kdejava/DOMException.h deleted file mode 100644 index 65bb4139..00000000 --- a/kdejava/koala/kdejava/DOMException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DOMException__ -#define __org_kde_koala_DOMException__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMException_newDOMException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMException_newDOMException__Lorg_kde_koala_DOMException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DOMException__ */ diff --git a/kdejava/koala/kdejava/DOMImplementation.cpp b/kdejava/koala/kdejava/DOMImplementation.cpp deleted file mode 100644 index f49c1634..00000000 --- a/kdejava/koala/kdejava/DOMImplementation.cpp +++ /dev/null @@ -1,97 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_document.h> -#include <dom/css_stylesheet.h> -#include <dom/dom_doc.h> -#include <dom/dom_string.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DOMImplementation.h> - -class DOMImplementationJBridge : public DOM::DOMImplementation -{ -public: - DOMImplementationJBridge() : DOM::DOMImplementation() {}; - DOMImplementationJBridge(const DOM::DOMImplementation& arg1) : DOM::DOMImplementation(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createCSSStyleSheet(JNIEnv* env, jobject obj, jstring title, jstring media) -{ -static DOM::DOMString* _domstring_title = 0; -static DOM::DOMString* _domstring_media = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleSheet(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createCSSStyleSheet((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, title, &_domstring_title), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, media, &_domstring_media))), "org.kde.koala.CSSStyleSheet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createDocumentType(JNIEnv* env, jobject obj, jstring qualifiedName, jstring publicId, jstring systemId) -{ -static DOM::DOMString* _domstring_qualifiedName = 0; -static DOM::DOMString* _domstring_publicId = 0; -static DOM::DOMString* _domstring_systemId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentType(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createDocumentType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, publicId, &_domstring_publicId), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, systemId, &_domstring_systemId))), "org.kde.koala.DocumentType", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createDocument(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName, jobject doctype) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createDocument((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (const DOM::DocumentType&)*(const DOM::DocumentType*) QtSupport::getQt(env, doctype))), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createHTMLDocument(JNIEnv* env, jobject obj, jstring title) -{ -static DOM::DOMString* _domstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLDocument(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createHTMLDocument((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, title, &_domstring_title))), "org.kde.koala.HTMLDocument", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_getInterface(JNIEnv* env, jobject obj, jstring feature) -{ -static DOM::DOMString* _domstring_feature = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DOMImplementation(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->getInterface((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature))), "org.kde.koala.DOMImplementation", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DOMImplementation_hasFeature(JNIEnv* env, jobject obj, jstring feature, jstring version) -{ -static DOM::DOMString* _domstring_feature = 0; -static DOM::DOMString* _domstring_version = 0; - jboolean xret = (jboolean) ((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->hasFeature((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, version, &_domstring_version)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DOMImplementation_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMImplementation_newDOMImplementation__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMImplementationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMImplementation_newDOMImplementation__Lorg_kde_koala_DOMImplementation_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMImplementationJBridge((const DOM::DOMImplementation&)*(const DOM::DOMImplementation*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/DOMImplementation.h b/kdejava/koala/kdejava/DOMImplementation.h deleted file mode 100644 index d7df30f0..00000000 --- a/kdejava/koala/kdejava/DOMImplementation.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DOMImplementation__ -#define __org_kde_koala_DOMImplementation__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMImplementation_newDOMImplementation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMImplementation_newDOMImplementation__Lorg_kde_koala_DOMImplementation_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DOMImplementation_hasFeature (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createDocumentType (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createDocument (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_getInterface (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createCSSStyleSheet (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createHTMLDocument (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DOMImplementation_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DOMImplementation__ */ diff --git a/kdejava/koala/kdejava/DavJob.cpp b/kdejava/koala/kdejava/DavJob.cpp deleted file mode 100644 index cfa1da70..00000000 --- a/kdejava/koala/kdejava/DavJob.cpp +++ /dev/null @@ -1,152 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/davjob.h> -#include <tqstring.h> -#include <tqdom.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DavJob.h> - -class DavJobJBridge : public TDEIO::DavJob -{ -public: - DavJobJBridge(const KURL& arg1,int arg2,const TQString& arg3,bool arg4) : TDEIO::DavJob(arg1,arg2,arg3,arg4) {}; - void protected_slotFinished() { - TDEIO::DavJob::slotFinished(); - return; - } - void protected_slotData(const TQByteArray& arg1) { - TDEIO::DavJob::slotData(arg1); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotFinished")) { - DavJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - TransferJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DavJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DavJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::DavJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DavJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::DavJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_newDavJob(JNIEnv* env, jobject obj, jobject url, jint method, jstring request, jboolean showProgressInfo) -{ -static TQString* _qstring_request = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DavJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) method, (const TQString&)*(TQString*) QtSupport::toTQString(env, request, &_qstring_request), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DavJob_response(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDomDocument *) &((TDEIO::DavJob*) QtSupport::getQt(env, obj))->response(), "org.kde.qt.TQDomDocument"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_slotData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - diff --git a/kdejava/koala/kdejava/DavJob.h b/kdejava/koala/kdejava/DavJob.h deleted file mode 100644 index ef140a92..00000000 --- a/kdejava/koala/kdejava/DavJob.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DavJob__ -#define __org_kde_koala_DavJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DavJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DavJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DavJob_newDavJob (JNIEnv *env, jobject, jobject, jint, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DavJob_response (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DavJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DavJob_slotData (JNIEnv *env, jobject, jbyteArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DavJob__ */ diff --git a/kdejava/koala/kdejava/DefaultProgress.cpp b/kdejava/koala/kdejava/DefaultProgress.cpp deleted file mode 100644 index 3d2d4dcc..00000000 --- a/kdejava/koala/kdejava/DefaultProgress.cpp +++ /dev/null @@ -1,618 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tdeio/defaultprogress.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DefaultProgress.h> - -class DefaultProgressJBridge : public TDEIO::DefaultProgress -{ -public: - DefaultProgressJBridge(bool arg1) : TDEIO::DefaultProgress(arg1) {}; - DefaultProgressJBridge() : TDEIO::DefaultProgress() {}; - DefaultProgressJBridge(TQWidget* arg1,const char* arg2) : TDEIO::DefaultProgress(arg1,arg2) {}; - DefaultProgressJBridge(TQWidget* arg1) : TDEIO::DefaultProgress(arg1) {}; - void protected_init() { - TDEIO::DefaultProgress::init(); - return; - } - void protected_showTotals() { - TDEIO::DefaultProgress::showTotals(); - return; - } - void protected_setDestVisible(bool arg1) { - TDEIO::DefaultProgress::setDestVisible(arg1); - return; - } - void protected_checkDestination(const KURL& arg1) { - TDEIO::DefaultProgress::checkDestination(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")) { - TQWidget::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","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.DefaultProgress","show")) { - TQWidget::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.DefaultProgress","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","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")) { - ProgressBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","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 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.DefaultProgress","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DefaultProgress",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_checkDestination(JNIEnv* env, jobject obj, jobject dest) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_checkDestination((const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DefaultProgress_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_init(JNIEnv* env, jobject obj) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DefaultProgress_keepOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->keepOpen(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DefaultProgress_makePercentString(JNIEnv* env, jclass cls, jlong percent, jlong totalSize, jlong totalFiles) -{ - TQString _qstring; - (void) cls; - _qstring = DefaultProgressJBridge::makePercentString((unsigned long) percent, (TDEIO::filesize_t) totalSize, (unsigned long) totalFiles); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DefaultProgress_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_newDefaultProgress__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DefaultProgressJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_newDefaultProgress__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DefaultProgressJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_newDefaultProgress__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 DefaultProgressJBridge((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_DefaultProgress_newDefaultProgress__Z(JNIEnv* env, jobject obj, jboolean showNow) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DefaultProgressJBridge((bool) showNow)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_setDestVisible(JNIEnv* env, jobject obj, jboolean visible) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_setDestVisible((bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_showTotals(JNIEnv* env, jobject obj) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_showTotals(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotCanResume(JNIEnv* env, jobject obj, jobject arg1, jlong arg2) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotCanResume((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotClean(JNIEnv* env, jobject obj) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotClean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotCopying(JNIEnv* env, jobject obj, jobject arg1, jobject src, jobject dest) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotCopying((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotCreatingDir(JNIEnv* env, jobject obj, jobject arg1, jobject dir) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotCreatingDir((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotDeleting(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotDeleting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotInfoMessage(JNIEnv* env, jobject obj, jobject job, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotInfoMessage((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotMounting(JNIEnv* env, jobject obj, jobject arg1, jstring dev, jstring point) -{ -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotMounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotMoving(JNIEnv* env, jobject obj, jobject arg1, jobject src, jobject dest) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotMoving((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotPercent(JNIEnv* env, jobject obj, jobject arg1, jlong percent) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotProcessedDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotProcessedDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotProcessedFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotProcessedFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong bytes) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) bytes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotSpeed(JNIEnv* env, jobject obj, jobject arg1, jlong speed) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotStating(JNIEnv* env, jobject obj, jobject arg1, jobject dir) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotStating((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTotalDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTotalDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTotalFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTotalFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTotalSize(JNIEnv* env, jobject obj, jobject arg1, jlong size) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTransferring(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTransferring((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotUnmounting(JNIEnv* env, jobject obj, jobject arg1, jstring point) -{ -static TQString* _qstring_point = 0; - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotUnmounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - diff --git a/kdejava/koala/kdejava/DefaultProgress.h b/kdejava/koala/kdejava/DefaultProgress.h deleted file mode 100644 index cfff24b7..00000000 --- a/kdejava/koala/kdejava/DefaultProgress.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DefaultProgress__ -#define __org_kde_koala_DefaultProgress__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DefaultProgress_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DefaultProgress_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DefaultProgress_keepOpen (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTotalFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTotalDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotProcessedFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotProcessedDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotInfoMessage (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotCopying (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotMoving (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotDeleting (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTransferring (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotCreatingDir (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotStating (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotMounting (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotUnmounting (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotCanResume (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotClean (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DefaultProgress_makePercentString (JNIEnv *env, jclass, jlong, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_showTotals (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_setDestVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_checkDestination (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DefaultProgress__ */ diff --git a/kdejava/koala/kdejava/DeleteJob.cpp b/kdejava/koala/kdejava/DeleteJob.cpp deleted file mode 100644 index 8c017c7c..00000000 --- a/kdejava/koala/kdejava/DeleteJob.cpp +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DeleteJob.h> - -class DeleteJobJBridge : public TDEIO::DeleteJob -{ -public: - DeleteJobJBridge(const KURL::List& arg1,bool arg2,bool arg3) : TDEIO::DeleteJob(arg1,arg2,arg3) {}; - void protected_slotStart() { - TDEIO::DeleteJob::slotStart(); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::DeleteJob::slotResult(arg1); - return; - } - void protected_slotProcessedSize(TDEIO::Job* arg1,TDEIO::filesize_t arg2) { - TDEIO::DeleteJob::slotProcessedSize(arg1,arg2); - return; - } - void protected_slotReport() { - TDEIO::DeleteJob::slotReport(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - DeleteJob::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DeleteJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DeleteJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::DeleteJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DeleteJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::DeleteJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_newDeleteJob(JNIEnv* env, jobject obj, jobjectArray src, jboolean shred, jboolean showProgressInfo) -{ -static KURL::List* _qlist_src = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DeleteJobJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred, (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong data_size) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) data_size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotReport(JNIEnv* env, jobject obj) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotReport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotStart(JNIEnv* env, jobject obj) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotStart(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DeleteJob_urls(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((TDEIO::DeleteJob*) QtSupport::getQt(env, obj))->urls(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/DeleteJob.h b/kdejava/koala/kdejava/DeleteJob.h deleted file mode 100644 index e307af24..00000000 --- a/kdejava/koala/kdejava/DeleteJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DeleteJob__ -#define __org_kde_koala_DeleteJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DeleteJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DeleteJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_newDeleteJob (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DeleteJob_urls (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotStart (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotReport (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DeleteJob__ */ diff --git a/kdejava/koala/kdejava/DockMainWindow.cpp b/kdejava/koala/kdejava/DockMainWindow.cpp deleted file mode 100644 index a1ef9413..00000000 --- a/kdejava/koala/kdejava/DockMainWindow.cpp +++ /dev/null @@ -1,576 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeparts/dockmainwindow.h> -#include <tdeparts/part.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DockMainWindow.h> - -class DockMainWindowJBridge : public KParts::DockMainWindow -{ -public: - DockMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KParts::DockMainWindow(arg1,arg2,arg3) {}; - DockMainWindowJBridge(TQWidget* arg1,const char* arg2) : KParts::DockMainWindow(arg1,arg2) {}; - DockMainWindowJBridge(TQWidget* arg1) : KParts::DockMainWindow(arg1) {}; - DockMainWindowJBridge() : KParts::DockMainWindow() {}; - void protected_createShellGUI(bool arg1) { - KParts::DockMainWindow::createShellGUI(arg1); - return; - } - void protected_createShellGUI() { - KParts::DockMainWindow::createShellGUI(); - return; - } - void protected_createGUI(KParts::Part* arg1) { - KParts::DockMainWindow::createGUI(arg1); - return; - } - void protected_slotSetStatusBarText(const TQString& arg1) { - KParts::DockMainWindow::slotSetStatusBarText(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - 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.DockMainWindow","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.DockMainWindow","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.DockMainWindow","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.DockMainWindow","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.DockMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","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.DockMainWindow","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.DockMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","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.DockMainWindow","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.DockMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","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.DockMainWindow","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.DockMainWindow","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.DockMainWindow","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 showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DockMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::DockMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_createGUI(JNIEnv* env, jobject obj, jobject part) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createGUI((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_createShellGUI__(JNIEnv* env, jobject obj) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_createShellGUI__Z(JNIEnv* env, jobject obj, jboolean create) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI((bool) create); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DockMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::DockMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_newDockMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DockMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DockMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_newDockMainWindow__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 DockMainWindowJBridge((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_DockMainWindow_newDockMainWindow__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 DockMainWindowJBridge((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 jobject JNICALL -Java_org_kde_koala_DockMainWindow_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*)(KParts::DockMainWindow*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*)(KParts::DockMainWindow*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_slotSetStatusBarText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_slotSetStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/DockMainWindow.h b/kdejava/koala/kdejava/DockMainWindow.h deleted file mode 100644 index 61cf596a..00000000 --- a/kdejava/koala/kdejava/DockMainWindow.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DockMainWindow__ -#define __org_kde_koala_DockMainWindow__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DockMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DockMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_createShellGUI__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_createShellGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_createGUI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_slotSetStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DockMainWindow_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DockMainWindow__ */ diff --git a/kdejava/koala/kdejava/Document.cpp b/kdejava/koala/kdejava/Document.cpp deleted file mode 100644 index de24863f..00000000 --- a/kdejava/koala/kdejava/Document.cpp +++ /dev/null @@ -1,383 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_xml.h> -#include <dom/dom_element.h> -#include <dom/css_value.h> -#include <dom/dom2_range.h> -#include <dom/dom_text.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/css_stylesheet.h> -#include <dom/dom_doc.h> -#include <dom/dom2_views.h> -#include <dom/dom2_events.h> -#include <dom/dom2_traversal.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Document.h> - -class DocumentJBridge : public DOM::Document -{ -public: - DocumentJBridge() : DOM::Document() {}; - DocumentJBridge(bool arg1) : DOM::Document(arg1) {}; - DocumentJBridge(const DOM::Document& arg1) : DOM::Document(arg1) {}; - DocumentJBridge(const DOM::Node& arg1) : DOM::Document(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_abort(JNIEnv* env, jobject obj) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_addStyleSheet(JNIEnv* env, jobject obj, jobject sheet) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->addStyleSheet((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, sheet)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Document_async(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Document*) QtSupport::getQt(env, obj))->async(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_completeURL(JNIEnv* env, jobject obj, jstring url) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_url = 0; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->completeURL((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, url, &_domstring_url)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Document*) QtSupport::getQt(env, obj))->createAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Document*) QtSupport::getQt(env, obj))->createAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createCDATASection(JNIEnv* env, jobject obj, jstring data) -{ -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CDATASection(((DOM::Document*) QtSupport::getQt(env, obj))->createCDATASection((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.CDATASection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createComment(JNIEnv* env, jobject obj, jstring data) -{ -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Comment(((DOM::Document*) QtSupport::getQt(env, obj))->createComment((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.Comment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createDocumentFragment(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Document*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createElementNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->createElementNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName))), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createElement(JNIEnv* env, jobject obj, jstring tagName) -{ -static DOM::DOMString* _domstring_tagName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->createElement((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, tagName, &_domstring_tagName))), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createEntityReference(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::EntityReference(((DOM::Document*) QtSupport::getQt(env, obj))->createEntityReference((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.EntityReference", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createEvent(JNIEnv* env, jobject obj, jstring eventType) -{ -static DOM::DOMString* _domstring_eventType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Event(((DOM::Document*) QtSupport::getQt(env, obj))->createEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, eventType, &_domstring_eventType))), "org.kde.koala.Event", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createNodeIterator(JNIEnv* env, jobject obj, jobject root, jlong whatToShow, jobject filter, jboolean entityReferenceExpansion) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeIterator(((DOM::Document*) QtSupport::getQt(env, obj))->createNodeIterator((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, root), (unsigned long) whatToShow, (DOM::NodeFilter)*(DOM::NodeFilter*) QtSupport::getQt(env, filter), (bool) entityReferenceExpansion)), "org.kde.koala.NodeIterator", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createProcessingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) -{ -static DOM::DOMString* _domstring_target = 0; -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::ProcessingInstruction(((DOM::Document*) QtSupport::getQt(env, obj))->createProcessingInstruction((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, target, &_domstring_target), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.ProcessingInstruction", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createRange(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((DOM::Document*) QtSupport::getQt(env, obj))->createRange()), "org.kde.koala.Range", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createTextNode(JNIEnv* env, jobject obj, jstring data) -{ -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Text(((DOM::Document*) QtSupport::getQt(env, obj))->createTextNode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.Text", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createTreeWalker(JNIEnv* env, jobject obj, jobject root, jlong whatToShow, jobject filter, jboolean entityReferenceExpansion) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::TreeWalker(((DOM::Document*) QtSupport::getQt(env, obj))->createTreeWalker((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, root), (unsigned long) whatToShow, (DOM::NodeFilter)*(DOM::NodeFilter*) QtSupport::getQt(env, filter), (bool) entityReferenceExpansion)), "org.kde.koala.TreeWalker", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_defaultView(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::AbstractView(((DOM::Document*) QtSupport::getQt(env, obj))->defaultView()), "org.kde.koala.AbstractView", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Document_designMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Document*) QtSupport::getQt(env, obj))->designMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_doctype(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentType(((DOM::Document*) QtSupport::getQt(env, obj))->doctype()), "org.kde.koala.DocumentType", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_documentElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getElementById(JNIEnv* env, jobject obj, jstring elementId) -{ -static DOM::DOMString* _domstring_elementId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->getElementById((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, elementId, &_domstring_elementId))), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getElementsByTagNameNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - _qlist = ((DOM::Document*) QtSupport::getQt(env, obj))->getElementsByTagNameNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getElementsByTagName(JNIEnv* env, jobject obj, jstring tagname) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_tagname = 0; - _qlist = ((DOM::Document*) QtSupport::getQt(env, obj))->getElementsByTagName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, tagname, &_domstring_tagname)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getOverrideStyle(JNIEnv* env, jobject obj, jobject elt, jstring pseudoElt) -{ -static DOM::DOMString* _domstring_pseudoElt = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::Document*) QtSupport::getQt(env, obj))->getOverrideStyle((const DOM::Element&)*(const DOM::Element*) QtSupport::getQt(env, elt), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, pseudoElt, &_domstring_pseudoElt))), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_implementation(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DOMImplementation(((DOM::Document*) QtSupport::getQt(env, obj))->implementation()), "org.kde.koala.DOMImplementation", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_importNode(JNIEnv* env, jobject obj, jobject importedNode, jboolean deep) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Document*) QtSupport::getQt(env, obj))->importNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Document_isHTMLDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Document*) QtSupport::getQt(env, obj))->isHTMLDocument(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_loadXML(JNIEnv* env, jobject obj, jstring source) -{ -static DOM::DOMString* _domstring_source = 0; - ((DOM::Document*) QtSupport::getQt(env, obj))->loadXML((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, source, &_domstring_source)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_load(JNIEnv* env, jobject obj, jstring uri) -{ -static DOM::DOMString* _domstring_uri = 0; - ((DOM::Document*) QtSupport::getQt(env, obj))->load((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, uri, &_domstring_uri)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Document_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge((const DOM::Document&)*(const DOM::Document*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge((bool) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_preferredStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->preferredStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_removeStyleSheet(JNIEnv* env, jobject obj, jobject sheet) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->removeStyleSheet((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, sheet)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_selectedStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->selectedStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_setAsync(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->setAsync((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_setDesignMode(JNIEnv* env, jobject obj, jboolean enable) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->setDesignMode((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_setSelectedStylesheetSet(JNIEnv* env, jobject obj, jstring aString) -{ -static DOM::DOMString* _domstring_aString = 0; - ((DOM::Document*) QtSupport::getQt(env, obj))->setSelectedStylesheetSet((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, aString, &_domstring_aString)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_styleSheets(JNIEnv* env, jobject obj) -{ - DOM::StyleSheetList _qlist; - _qlist = ((DOM::Document*) QtSupport::getQt(env, obj))->styleSheets(); - return (jobject) KDESupport::arrayWithStyleSheetList(env, (DOM::StyleSheetList *) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_toString(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->toString(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_updateRendering(JNIEnv* env, jobject obj) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->updateRendering(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DOM::Document*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.TDEHTMLView"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Document.h b/kdejava/koala/kdejava/Document.h deleted file mode 100644 index 1334ddeb..00000000 --- a/kdejava/koala/kdejava/Document.h +++ /dev/null @@ -1,63 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Document__ -#define __org_kde_koala_Document__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Document_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_doctype (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_implementation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_documentElement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createElement (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createElementNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createDocumentFragment (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createTextNode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createComment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createCDATASection (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createProcessingInstruction (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createEntityReference (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getElementById (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getElementsByTagName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getElementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_importNode (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Document_isHTMLDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createRange (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createNodeIterator (JNIEnv *env, jobject, jobject, jlong, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createTreeWalker (JNIEnv *env, jobject, jobject, jlong, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createEvent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_defaultView (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_styleSheets (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_preferredStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_selectedStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_setSelectedStylesheetSet (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_addStyleSheet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_removeStyleSheet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_view (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getOverrideStyle (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Document_async (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_setAsync (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_abort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_load (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_loadXML (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Document_designMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_setDesignMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_completeURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_toString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_updateRendering (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Document__ */ diff --git a/kdejava/koala/kdejava/DocumentFragment.cpp b/kdejava/koala/kdejava/DocumentFragment.cpp deleted file mode 100644 index d7882645..00000000 --- a/kdejava/koala/kdejava/DocumentFragment.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/dom_doc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DocumentFragment.h> - -class DocumentFragmentJBridge : public DOM::DocumentFragment -{ -public: - DocumentFragmentJBridge() : DOM::DocumentFragment() {}; - DocumentFragmentJBridge(const DOM::DocumentFragment& arg1) : DOM::DocumentFragment(arg1) {}; - DocumentFragmentJBridge(const DOM::Node& arg1) : DOM::DocumentFragment(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentFragment_newDocumentFragment__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentFragmentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_DocumentFragment_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentFragmentJBridge((const DOM::DocumentFragment&)*(const DOM::DocumentFragment*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentFragmentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/DocumentFragment.h b/kdejava/koala/kdejava/DocumentFragment.h deleted file mode 100644 index 6aba2fed..00000000 --- a/kdejava/koala/kdejava/DocumentFragment.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DocumentFragment__ -#define __org_kde_koala_DocumentFragment__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentFragment_newDocumentFragment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_DocumentFragment_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DocumentFragment__ */ diff --git a/kdejava/koala/kdejava/DocumentStyle.cpp b/kdejava/koala/kdejava/DocumentStyle.cpp deleted file mode 100644 index 86a13517..00000000 --- a/kdejava/koala/kdejava/DocumentStyle.cpp +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/css_stylesheet.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DocumentStyle.h> - -class DocumentStyleJBridge : public DOM::DocumentStyle -{ -public: - DocumentStyleJBridge() : DOM::DocumentStyle() {}; - DocumentStyleJBridge(const DOM::DocumentStyle& arg1) : DOM::DocumentStyle(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DocumentStyle_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentStyle_newDocumentStyle__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentStyleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentStyle_newDocumentStyle__Lorg_kde_koala_DocumentStyle_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentStyleJBridge((const DOM::DocumentStyle&)*(const DOM::DocumentStyle*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentStyle_preferredStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->preferredStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentStyle_selectedStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->selectedStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentStyle_setSelectedStylesheetSet(JNIEnv* env, jobject obj, jstring aString) -{ -static DOM::DOMString* _domstring_aString = 0; - ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->setSelectedStylesheetSet((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, aString, &_domstring_aString)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DocumentStyle_styleSheets(JNIEnv* env, jobject obj) -{ - DOM::StyleSheetList _qlist; - _qlist = ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->styleSheets(); - return (jobject) KDESupport::arrayWithStyleSheetList(env, (DOM::StyleSheetList *) &_qlist); -} - diff --git a/kdejava/koala/kdejava/DocumentStyle.h b/kdejava/koala/kdejava/DocumentStyle.h deleted file mode 100644 index 8e2e569f..00000000 --- a/kdejava/koala/kdejava/DocumentStyle.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DocumentStyle__ -#define __org_kde_koala_DocumentStyle__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentStyle_newDocumentStyle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentStyle_newDocumentStyle__Lorg_kde_koala_DocumentStyle_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DocumentStyle_styleSheets (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentStyle_preferredStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentStyle_selectedStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentStyle_setSelectedStylesheetSet (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DocumentStyle_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DocumentStyle__ */ diff --git a/kdejava/koala/kdejava/DocumentType.cpp b/kdejava/koala/kdejava/DocumentType.cpp deleted file mode 100644 index c258534f..00000000 --- a/kdejava/koala/kdejava/DocumentType.cpp +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom_doc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DocumentType.h> - -class DocumentTypeJBridge : public DOM::DocumentType -{ -public: - DocumentTypeJBridge() : DOM::DocumentType() {}; - DocumentTypeJBridge(const DOM::DocumentType& arg1) : DOM::DocumentType(arg1) {}; - DocumentTypeJBridge(const DOM::Node& arg1) : DOM::DocumentType(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DocumentType_entities(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::DocumentType*) QtSupport::getQt(env, obj))->entities()), "org.kde.koala.NamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_internalSubset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->internalSubset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentType_newDocumentType__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentTypeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_DocumentType_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentTypeJBridge((const DOM::DocumentType&)*(const DOM::DocumentType*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentTypeJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DocumentType_notations(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::DocumentType*) QtSupport::getQt(env, obj))->notations()), "org.kde.koala.NamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_publicId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->publicId(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_systemId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->systemId(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/DocumentType.h b/kdejava/koala/kdejava/DocumentType.h deleted file mode 100644 index d5c33476..00000000 --- a/kdejava/koala/kdejava/DocumentType.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DocumentType__ -#define __org_kde_koala_DocumentType__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentType_newDocumentType__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_DocumentType_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DocumentType_entities (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DocumentType_notations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_internalSubset (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DocumentType__ */ diff --git a/kdejava/koala/kdejava/DomShared.cpp b/kdejava/koala/kdejava/DomShared.cpp deleted file mode 100644 index 5946d477..00000000 --- a/kdejava/koala/kdejava/DomShared.cpp +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_misc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DomShared.h> - -class DomSharedJBridge : public DOM::DomShared -{ -public: - DomSharedJBridge() : DOM::DomShared() {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DomShared_deleteMe(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DomShared*) QtSupport::getQt(env, obj))->deleteMe(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DomShared_deref(JNIEnv* env, jobject obj) -{ - ((DOM::DomShared*) QtSupport::getQt(env, obj))->deref(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DomShared_hasOneRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DomShared*) QtSupport::getQt(env, obj))->hasOneRef(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DomShared_newDomShared(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DomSharedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DomShared_refCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::DomShared*) QtSupport::getQt(env, obj))->refCount(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DomShared_ref(JNIEnv* env, jobject obj) -{ - ((DOM::DomShared*) QtSupport::getQt(env, obj))->ref(); - return; -} - diff --git a/kdejava/koala/kdejava/DomShared.h b/kdejava/koala/kdejava/DomShared.h deleted file mode 100644 index 45bbefc7..00000000 --- a/kdejava/koala/kdejava/DomShared.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DomShared__ -#define __org_kde_koala_DomShared__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DomShared_newDomShared (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DomShared_deleteMe (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DomShared_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DomShared_deref (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DomShared_hasOneRef (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DomShared_refCount (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DomShared__ */ diff --git a/kdejava/koala/kdejava/Element.cpp b/kdejava/koala/kdejava/Element.cpp deleted file mode 100644 index d54c7e0a..00000000 --- a/kdejava/koala/kdejava/Element.cpp +++ /dev/null @@ -1,265 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_element.h> -#include <dom/css_value.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Element.h> - -class ElementJBridge : public DOM::Element -{ -public: - ElementJBridge() : DOM::Element() {}; - ElementJBridge(const DOM::Node& arg1) : DOM::Element(arg1) {}; - ElementJBridge(const DOM::Element& arg1) : DOM::Element(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_contentEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->contentEditable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_form(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Element*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Element_getAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - _qstring = ((DOM::Element*) QtSupport::getQt(env, obj))->getAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getAttributeNodeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->getAttributeNodeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getAttributeNode(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->getAttributeNode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Element_getAttribute(JNIEnv* env, jobject obj, jstring name) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_name = 0; - _qstring = ((DOM::Element*) QtSupport::getQt(env, obj))->getAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getElementsByTagNameNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - _qlist = ((DOM::Element*) QtSupport::getQt(env, obj))->getElementsByTagNameNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getElementsByTagName(JNIEnv* env, jobject obj, jstring name) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_name = 0; - _qlist = ((DOM::Element*) QtSupport::getQt(env, obj))->getElementsByTagName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_hasAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->hasAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_hasAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->hasAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_isHTMLElement(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->isHTMLElement(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlMalformedPrefix(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlMalformedPrefix((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlMalformedQualifiedName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlMalformedQualifiedName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlValidAttrName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlValidAttrName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlValidPrefix(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlValidPrefix((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlValidQualifiedName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlValidQualifiedName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_newElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Element_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ElementJBridge((const DOM::Element&)*(const DOM::Element*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_removeAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->removeAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_removeAttributeNode(JNIEnv* env, jobject obj, jobject oldAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->removeAttributeNode((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, oldAttr))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_removeAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->removeAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_setAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName, jstring value) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; -static DOM::DOMString* _domstring_value = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->setAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_setAttributeNodeNS(JNIEnv* env, jobject obj, jobject newAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->setAttributeNodeNS((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, newAttr))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_setAttributeNode(JNIEnv* env, jobject obj, jobject newAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->setAttributeNode((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, newAttr))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_setAttribute(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static DOM::DOMString* _domstring_name = 0; -static DOM::DOMString* _domstring_value = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->setAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_setContentEditable(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((DOM::Element*) QtSupport::getQt(env, obj))->setContentEditable((bool) enabled); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::Element*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Element_tagName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Element*) QtSupport::getQt(env, obj))->tagName(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Element.h b/kdejava/koala/kdejava/Element.h deleted file mode 100644 index cdd5e4be..00000000 --- a/kdejava/koala/kdejava/Element.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Element__ -#define __org_kde_koala_Element__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_newElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Element_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Element_tagName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Element_getAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_setAttribute (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_removeAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getAttributeNode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_setAttributeNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_removeAttributeNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getElementsByTagName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getElementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Element_getAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_setAttributeNS (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_removeAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getAttributeNodeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_setAttributeNodeNS (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_hasAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_hasAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_style (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_contentEditable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_setContentEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_isHTMLElement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_form (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlValidAttrName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlValidPrefix (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlValidQualifiedName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlMalformedQualifiedName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlMalformedPrefix (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Element__ */ diff --git a/kdejava/koala/kdejava/Entity.cpp b/kdejava/koala/kdejava/Entity.cpp deleted file mode 100644 index 1ee412f3..00000000 --- a/kdejava/koala/kdejava/Entity.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_xml.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Entity.h> - -class EntityJBridge : public DOM::Entity -{ -public: - EntityJBridge() : DOM::Entity() {}; - EntityJBridge(const DOM::Entity& arg1) : DOM::Entity(arg1) {}; - EntityJBridge(const DOM::Node& arg1) : DOM::Entity(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Entity_newEntity__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Entity_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityJBridge((const DOM::Entity&)*(const DOM::Entity*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Entity_notationName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Entity*) QtSupport::getQt(env, obj))->notationName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Entity_publicId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Entity*) QtSupport::getQt(env, obj))->publicId(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Entity_systemId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Entity*) QtSupport::getQt(env, obj))->systemId(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Entity.h b/kdejava/koala/kdejava/Entity.h deleted file mode 100644 index 78bc80cd..00000000 --- a/kdejava/koala/kdejava/Entity.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Entity__ -#define __org_kde_koala_Entity__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Entity_newEntity__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Entity_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Entity_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Entity_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Entity_notationName (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Entity__ */ diff --git a/kdejava/koala/kdejava/EntityReference.cpp b/kdejava/koala/kdejava/EntityReference.cpp deleted file mode 100644 index ef699684..00000000 --- a/kdejava/koala/kdejava/EntityReference.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_xml.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/EntityReference.h> - -class EntityReferenceJBridge : public DOM::EntityReference -{ -public: - EntityReferenceJBridge() : DOM::EntityReference() {}; - EntityReferenceJBridge(const DOM::EntityReference& arg1) : DOM::EntityReference(arg1) {}; - EntityReferenceJBridge(const DOM::Node& arg1) : DOM::EntityReference(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_EntityReference_newEntityReference__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityReferenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_EntityReference_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityReferenceJBridge((const DOM::EntityReference&)*(const DOM::EntityReference*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityReferenceJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/EntityReference.h b/kdejava/koala/kdejava/EntityReference.h deleted file mode 100644 index 53c7fb17..00000000 --- a/kdejava/koala/kdejava/EntityReference.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_EntityReference__ -#define __org_kde_koala_EntityReference__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_EntityReference_newEntityReference__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_EntityReference_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_EntityReference__ */ diff --git a/kdejava/koala/kdejava/Event.cpp b/kdejava/koala/kdejava/Event.cpp deleted file mode 100644 index 7305e287..00000000 --- a/kdejava/koala/kdejava/Event.cpp +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/event.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Event.h> - -class EventJBridge : public KParts::Event -{ -public: - EventJBridge(const char* arg1) : KParts::Event(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Event_eventName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Event*) QtSupport::getQt(env, obj))->eventName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Event_newEvent(JNIEnv* env, jobject obj, jstring eventName) -{ -static TQCString* _qstring_eventName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventJBridge((const char*) QtSupport::toCharString(env, eventName, &_qstring_eventName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject event, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return xret; -} - diff --git a/kdejava/koala/kdejava/Event.h b/kdejava/koala/kdejava/Event.h deleted file mode 100644 index 22830d18..00000000 --- a/kdejava/koala/kdejava/Event.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Event__ -#define __org_kde_koala_Event__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Event_newEvent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Event_eventName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Event__ */ diff --git a/kdejava/koala/kdejava/EventException.cpp b/kdejava/koala/kdejava/EventException.cpp deleted file mode 100644 index 579faaf4..00000000 --- a/kdejava/koala/kdejava/EventException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom2_events.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/EventException.h> - -class EventExceptionJBridge : public DOM::EventException -{ -public: - EventExceptionJBridge(unsigned short arg1) : DOM::EventException(arg1) {}; - EventExceptionJBridge(const DOM::EventException& arg1) : DOM::EventException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventException_newEventException__Lorg_kde_koala_EventException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventExceptionJBridge((const DOM::EventException&)*(const DOM::EventException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventException_newEventException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/EventException.h b/kdejava/koala/kdejava/EventException.h deleted file mode 100644 index 12e8bf97..00000000 --- a/kdejava/koala/kdejava/EventException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_EventException__ -#define __org_kde_koala_EventException__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventException_newEventException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventException_newEventException__Lorg_kde_koala_EventException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_EventException__ */ diff --git a/kdejava/koala/kdejava/EventListener.cpp b/kdejava/koala/kdejava/EventListener.cpp deleted file mode 100644 index 8db32e5c..00000000 --- a/kdejava/koala/kdejava/EventListener.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom2_events.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/EventListener.h> - -class EventListenerJBridge : public DOM::EventListener -{ -public: - EventListenerJBridge() : DOM::EventListener() {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_EventListener_eventListenerType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::EventListener*) QtSupport::getQt(env, obj))->eventListenerType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventListener_handleEvent(JNIEnv* env, jobject obj, jobject evt) -{ - ((DOM::EventListener*) QtSupport::getQt(env, obj))->handleEvent((DOM::Event&)*(DOM::Event*) QtSupport::getQt(env, evt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventListener_newEventListener(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventListenerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/EventListener.h b/kdejava/koala/kdejava/EventListener.h deleted file mode 100644 index e14d3eb9..00000000 --- a/kdejava/koala/kdejava/EventListener.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_EventListener__ -#define __org_kde_koala_EventListener__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventListener_newEventListener (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventListener_handleEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_EventListener_eventListenerType (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_EventListener__ */ diff --git a/kdejava/koala/kdejava/Factory.cpp b/kdejava/koala/kdejava/Factory.cpp deleted file mode 100644 index 44a75ad0..00000000 --- a/kdejava/koala/kdejava/Factory.cpp +++ /dev/null @@ -1,100 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstringlist.h> -#include <tdeparts/factory.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Factory.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Factory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Factory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName) -{ -static TQCString* _qstring_widgetName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent) -{ -static TQCString* _qstring_widgetName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring classname) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring classname, jobjectArray args) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_partInstanceFromLibrary(JNIEnv* env, jclass cls, jstring libraryName) -{ - (void) cls; -static TQCString* _qcstring_libraryName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KParts::Factory::partInstanceFromLibrary((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, libraryName, &_qcstring_libraryName)), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_partInstance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->partInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Factory.h b/kdejava/koala/kdejava/Factory.h deleted file mode 100644 index f68767e8..00000000 --- a/kdejava/koala/kdejava/Factory.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Factory__ -#define __org_kde_koala_Factory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Factory_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_partInstance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_partInstanceFromLibrary (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Factory__ */ diff --git a/kdejava/koala/kdejava/FileCopyJob.cpp b/kdejava/koala/kdejava/FileCopyJob.cpp deleted file mode 100644 index 0a7520e7..00000000 --- a/kdejava/koala/kdejava/FileCopyJob.cpp +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/FileCopyJob.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_FileCopyJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_FileCopyJob_destURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->destURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_FileCopyJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_setSourceSize64(JNIEnv* env, jobject obj, jlong size) -{ - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->setSourceSize64((TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_slotDataReq(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotDataReq((TDEIO::Job*) QtSupport::getQt(env, arg1), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_slotData(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotData((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_slotStart(JNIEnv* env, jobject obj) -{ - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotStart(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_FileCopyJob_srcURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->srcURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/FileCopyJob.h b/kdejava/koala/kdejava/FileCopyJob.h deleted file mode 100644 index 4e7bac53..00000000 --- a/kdejava/koala/kdejava/FileCopyJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_FileCopyJob__ -#define __org_kde_koala_FileCopyJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_FileCopyJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_FileCopyJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_setSourceSize64 (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_FileCopyJob_srcURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_FileCopyJob_destURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_slotStart (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_slotData (JNIEnv *env, jobject, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_slotDataReq (JNIEnv *env, jobject, jobject, jbyteArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_FileCopyJob__ */ diff --git a/kdejava/koala/kdejava/GUIActivateEvent.cpp b/kdejava/koala/kdejava/GUIActivateEvent.cpp deleted file mode 100644 index 2fc9ef6b..00000000 --- a/kdejava/koala/kdejava/GUIActivateEvent.cpp +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/event.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/GUIActivateEvent.h> - -class GUIActivateEventJBridge : public KParts::GUIActivateEvent -{ -public: - GUIActivateEventJBridge(bool arg1) : KParts::GUIActivateEvent(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_GUIActivateEvent_activated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::GUIActivateEvent*) QtSupport::getQt(env, obj))->activated(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_GUIActivateEvent_newGUIActivateEvent(JNIEnv* env, jobject obj, jboolean activated) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new GUIActivateEventJBridge((bool) activated)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_GUIActivateEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) GUIActivateEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - diff --git a/kdejava/koala/kdejava/GUIActivateEvent.h b/kdejava/koala/kdejava/GUIActivateEvent.h deleted file mode 100644 index c1c384a0..00000000 --- a/kdejava/koala/kdejava/GUIActivateEvent.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_GUIActivateEvent__ -#define __org_kde_koala_GUIActivateEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_GUIActivateEvent_newGUIActivateEvent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_GUIActivateEvent_activated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_GUIActivateEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_GUIActivateEvent__ */ diff --git a/kdejava/koala/kdejava/HTMLAnchorElement.cpp b/kdejava/koala/kdejava/HTMLAnchorElement.cpp deleted file mode 100644 index e73be14f..00000000 --- a/kdejava/koala/kdejava/HTMLAnchorElement.cpp +++ /dev/null @@ -1,251 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_inline.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLAnchorElement.h> - -class HTMLAnchorElementJBridge : public DOM::HTMLAnchorElement -{ -public: - HTMLAnchorElementJBridge() : DOM::HTMLAnchorElement() {}; - HTMLAnchorElementJBridge(const DOM::HTMLAnchorElement& arg1) : DOM::HTMLAnchorElement(arg1) {}; - HTMLAnchorElementJBridge(const DOM::Node& arg1) : DOM::HTMLAnchorElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_charset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->charset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_coords(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->coords(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_hreflang(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->hreflang(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAnchorElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_HTMLAnchorElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAnchorElementJBridge((const DOM::HTMLAnchorElement&)*(const DOM::HTMLAnchorElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAnchorElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_rel(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->rel(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_rev(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->rev(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setCoords(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setCoords((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setHreflang(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setHreflang((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setRel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setRel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setRev(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setRev((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setShape(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setShape((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_shape(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->shape(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAnchorElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLAnchorElement.h b/kdejava/koala/kdejava/HTMLAnchorElement.h deleted file mode 100644 index f818f8fd..00000000 --- a/kdejava/koala/kdejava/HTMLAnchorElement.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLAnchorElement__ -#define __org_kde_koala_HTMLAnchorElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_HTMLAnchorElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_charset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_coords (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setCoords (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_hreflang (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setHreflang (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_rel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setRel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_rev (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setRev (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_shape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setShape (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAnchorElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setTarget (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_focus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLAnchorElement__ */ diff --git a/kdejava/koala/kdejava/HTMLAppletElement.cpp b/kdejava/koala/kdejava/HTMLAppletElement.cpp deleted file mode 100644 index 051c67e6..00000000 --- a/kdejava/koala/kdejava/HTMLAppletElement.cpp +++ /dev/null @@ -1,219 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_object.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLAppletElement.h> - -class HTMLAppletElementJBridge : public DOM::HTMLAppletElement -{ -public: - HTMLAppletElementJBridge() : DOM::HTMLAppletElement() {}; - HTMLAppletElementJBridge(const DOM::HTMLAppletElement& arg1) : DOM::HTMLAppletElement(arg1) {}; - HTMLAppletElementJBridge(const DOM::Node& arg1) : DOM::HTMLAppletElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_archive(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->archive(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_codeBase(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->codeBase(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_code(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->code(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAppletElement_getHspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->getHspace(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAppletElement_getVspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->getVspace(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAppletElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_HTMLAppletElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAppletElementJBridge((const DOM::HTMLAppletElement&)*(const DOM::HTMLAppletElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAppletElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_object(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->object(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setArchive(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setArchive((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setCodeBase(JNIEnv* env, jobject obj, jstring value) -{ -static DOM::DOMString* _domstring_value = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setCodeBase((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setCode(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setCode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setHspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setHspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setObject(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setObject((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setVspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setVspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLAppletElement.h b/kdejava/koala/kdejava/HTMLAppletElement.h deleted file mode 100644 index 06fc7c25..00000000 --- a/kdejava/koala/kdejava/HTMLAppletElement.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLAppletElement__ -#define __org_kde_koala_HTMLAppletElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_HTMLAppletElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_archive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setArchive (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_code (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setCode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_codeBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setCodeBase (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAppletElement_getHspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setHspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_object (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setObject (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAppletElement_getVspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setVspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLAppletElement__ */ diff --git a/kdejava/koala/kdejava/HTMLAreaElement.cpp b/kdejava/koala/kdejava/HTMLAreaElement.cpp deleted file mode 100644 index 19a11101..00000000 --- a/kdejava/koala/kdejava/HTMLAreaElement.cpp +++ /dev/null @@ -1,171 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_image.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLAreaElement.h> - -class HTMLAreaElementJBridge : public DOM::HTMLAreaElement -{ -public: - HTMLAreaElementJBridge() : DOM::HTMLAreaElement() {}; - HTMLAreaElementJBridge(const DOM::HTMLAreaElement& arg1) : DOM::HTMLAreaElement(arg1) {}; - HTMLAreaElementJBridge(const DOM::Node& arg1) : DOM::HTMLAreaElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_coords(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->coords(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAreaElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_HTMLAreaElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAreaElementJBridge((const DOM::HTMLAreaElement&)*(const DOM::HTMLAreaElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAreaElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLAreaElement_noHref(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->noHref(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setCoords(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setCoords((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setNoHref(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setNoHref((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setShape(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setShape((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_shape(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->shape(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAreaElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLAreaElement.h b/kdejava/koala/kdejava/HTMLAreaElement.h deleted file mode 100644 index 9a6e4e42..00000000 --- a/kdejava/koala/kdejava/HTMLAreaElement.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLAreaElement__ -#define __org_kde_koala_HTMLAreaElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_HTMLAreaElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_coords (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setCoords (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLAreaElement_noHref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setNoHref (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_shape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setShape (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAreaElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setTarget (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLAreaElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBRElement.cpp b/kdejava/koala/kdejava/HTMLBRElement.cpp deleted file mode 100644 index 72584a58..00000000 --- a/kdejava/koala/kdejava/HTMLBRElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_inline.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLBRElement.h> - -class HTMLBRElementJBridge : public DOM::HTMLBRElement -{ -public: - HTMLBRElementJBridge() : DOM::HTMLBRElement() {}; - HTMLBRElementJBridge(const DOM::HTMLBRElement& arg1) : DOM::HTMLBRElement(arg1) {}; - HTMLBRElementJBridge(const DOM::Node& arg1) : DOM::HTMLBRElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBRElement_clear(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBRElement*) QtSupport::getQt(env, obj))->clear(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBRElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_HTMLBRElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBRElementJBridge((const DOM::HTMLBRElement&)*(const DOM::HTMLBRElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBRElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_setClear(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBRElement*) QtSupport::getQt(env, obj))->setClear((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLBRElement.h b/kdejava/koala/kdejava/HTMLBRElement.h deleted file mode 100644 index 59653acc..00000000 --- a/kdejava/koala/kdejava/HTMLBRElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBRElement__ -#define __org_kde_koala_HTMLBRElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_HTMLBRElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBRElement_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_setClear (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBRElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBaseElement.cpp b/kdejava/koala/kdejava/HTMLBaseElement.cpp deleted file mode 100644 index 817afbe0..00000000 --- a/kdejava/koala/kdejava/HTMLBaseElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_head.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLBaseElement.h> - -class HTMLBaseElementJBridge : public DOM::HTMLBaseElement -{ -public: - HTMLBaseElementJBridge() : DOM::HTMLBaseElement() {}; - HTMLBaseElementJBridge(const DOM::HTMLBaseElement& arg1) : DOM::HTMLBaseElement(arg1) {}; - HTMLBaseElementJBridge(const DOM::Node& arg1) : DOM::HTMLBaseElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_HTMLBaseElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseElementJBridge((const DOM::HTMLBaseElement&)*(const DOM::HTMLBaseElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLBaseElement.h b/kdejava/koala/kdejava/HTMLBaseElement.h deleted file mode 100644 index 402a6f7f..00000000 --- a/kdejava/koala/kdejava/HTMLBaseElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBaseElement__ -#define __org_kde_koala_HTMLBaseElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_HTMLBaseElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_setTarget (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBaseElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBaseFontElement.cpp b/kdejava/koala/kdejava/HTMLBaseFontElement.cpp deleted file mode 100644 index a0d2bd10..00000000 --- a/kdejava/koala/kdejava/HTMLBaseFontElement.cpp +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLBaseFontElement.h> - -class HTMLBaseFontElementJBridge : public DOM::HTMLBaseFontElement -{ -public: - HTMLBaseFontElementJBridge() : DOM::HTMLBaseFontElement() {}; - HTMLBaseFontElementJBridge(const DOM::HTMLBaseFontElement& arg1) : DOM::HTMLBaseFontElement(arg1) {}; - HTMLBaseFontElementJBridge(const DOM::Node& arg1) : DOM::HTMLBaseFontElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseFontElement_color(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->color(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseFontElement_face(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->face(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLBaseFontElement_getSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->getSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseFontElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_HTMLBaseFontElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseFontElementJBridge((const DOM::HTMLBaseFontElement&)*(const DOM::HTMLBaseFontElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseFontElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_setColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->setColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_setFace(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->setFace((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_setSize(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->setSize((long) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLBaseFontElement.h b/kdejava/koala/kdejava/HTMLBaseFontElement.h deleted file mode 100644 index e6f6f31a..00000000 --- a/kdejava/koala/kdejava/HTMLBaseFontElement.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBaseFontElement__ -#define __org_kde_koala_HTMLBaseFontElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_HTMLBaseFontElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseFontElement_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_setColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseFontElement_face (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_setFace (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLBaseFontElement_getSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_setSize (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBaseFontElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBlockquoteElement.cpp b/kdejava/koala/kdejava/HTMLBlockquoteElement.cpp deleted file mode 100644 index b3281f3e..00000000 --- a/kdejava/koala/kdejava/HTMLBlockquoteElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_block.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLBlockquoteElement.h> - -class HTMLBlockquoteElementJBridge : public DOM::HTMLBlockquoteElement -{ -public: - HTMLBlockquoteElementJBridge() : DOM::HTMLBlockquoteElement() {}; - HTMLBlockquoteElementJBridge(const DOM::HTMLBlockquoteElement& arg1) : DOM::HTMLBlockquoteElement(arg1) {}; - HTMLBlockquoteElementJBridge(const DOM::Node& arg1) : DOM::HTMLBlockquoteElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_cite(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBlockquoteElement*) QtSupport::getQt(env, obj))->cite(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBlockquoteElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_HTMLBlockquoteElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBlockquoteElementJBridge((const DOM::HTMLBlockquoteElement&)*(const DOM::HTMLBlockquoteElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBlockquoteElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_setCite(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBlockquoteElement*) QtSupport::getQt(env, obj))->setCite((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLBlockquoteElement.h b/kdejava/koala/kdejava/HTMLBlockquoteElement.h deleted file mode 100644 index dd311972..00000000 --- a/kdejava/koala/kdejava/HTMLBlockquoteElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBlockquoteElement__ -#define __org_kde_koala_HTMLBlockquoteElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_HTMLBlockquoteElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBlockquoteElement_cite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_setCite (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBlockquoteElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBodyElement.cpp b/kdejava/koala/kdejava/HTMLBodyElement.cpp deleted file mode 100644 index 157f807a..00000000 --- a/kdejava/koala/kdejava/HTMLBodyElement.cpp +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_base.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLBodyElement.h> - -class HTMLBodyElementJBridge : public DOM::HTMLBodyElement -{ -public: - HTMLBodyElementJBridge() : DOM::HTMLBodyElement() {}; - HTMLBodyElementJBridge(const DOM::HTMLBodyElement& arg1) : DOM::HTMLBodyElement(arg1) {}; - HTMLBodyElementJBridge(const DOM::Node& arg1) : DOM::HTMLBodyElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_aLink(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->aLink(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_background(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->background(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_link(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->link(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBodyElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_HTMLBodyElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBodyElementJBridge((const DOM::HTMLBodyElement&)*(const DOM::HTMLBodyElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBodyElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setALink(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setALink((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setBackground(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setBackground((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setLink(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setLink((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setVLink(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setVLink((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_vLink(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->vLink(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLBodyElement.h b/kdejava/koala/kdejava/HTMLBodyElement.h deleted file mode 100644 index cf2647e6..00000000 --- a/kdejava/koala/kdejava/HTMLBodyElement.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBodyElement__ -#define __org_kde_koala_HTMLBodyElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_HTMLBodyElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_aLink (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setALink (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_background (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setBackground (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_link (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setLink (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_vLink (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setVLink (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBodyElement__ */ diff --git a/kdejava/koala/kdejava/HTMLButtonElement.cpp b/kdejava/koala/kdejava/HTMLButtonElement.cpp deleted file mode 100644 index d77d977a..00000000 --- a/kdejava/koala/kdejava/HTMLButtonElement.cpp +++ /dev/null @@ -1,152 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLButtonElement.h> - -class HTMLButtonElementJBridge : public DOM::HTMLButtonElement -{ -public: - HTMLButtonElementJBridge() : DOM::HTMLButtonElement() {}; - HTMLButtonElementJBridge(const DOM::HTMLButtonElement& arg1) : DOM::HTMLButtonElement(arg1) {}; - HTMLButtonElementJBridge(const DOM::Node& arg1) : DOM::HTMLButtonElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLButtonElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLButtonElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLButtonElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_HTMLButtonElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLButtonElementJBridge((const DOM::HTMLButtonElement&)*(const DOM::HTMLButtonElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLButtonElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLButtonElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLButtonElement.h b/kdejava/koala/kdejava/HTMLButtonElement.h deleted file mode 100644 index 1575943b..00000000 --- a/kdejava/koala/kdejava/HTMLButtonElement.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLButtonElement__ -#define __org_kde_koala_HTMLButtonElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_HTMLButtonElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLButtonElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLButtonElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLButtonElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_focus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLButtonElement__ */ diff --git a/kdejava/koala/kdejava/HTMLCollection.cpp b/kdejava/koala/kdejava/HTMLCollection.cpp deleted file mode 100644 index a0c60a4a..00000000 --- a/kdejava/koala/kdejava/HTMLCollection.cpp +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLCollection.h> - -class HTMLCollectionJBridge : public DOM::HTMLCollection -{ -public: - HTMLCollectionJBridge() : DOM::HTMLCollection() {}; - HTMLCollectionJBridge(const DOM::HTMLCollection& arg1) : DOM::HTMLCollection(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_base(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->base()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_firstItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->firstItem()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLCollection_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLCollection_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_namedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->namedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLCollection_newHTMLCollection__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLCollectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLCollection_newHTMLCollection__Lorg_kde_koala_HTMLCollection_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLCollectionJBridge((const DOM::HTMLCollection&)*(const DOM::HTMLCollection*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_nextItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->nextItem()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_nextNamedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->nextNamedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLCollection.h b/kdejava/koala/kdejava/HTMLCollection.h deleted file mode 100644 index 66cff230..00000000 --- a/kdejava/koala/kdejava/HTMLCollection.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLCollection__ -#define __org_kde_koala_HTMLCollection__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLCollection_newHTMLCollection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLCollection_newHTMLCollection__Lorg_kde_koala_HTMLCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLCollection_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_namedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_base (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLCollection_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_firstItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_nextItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_nextNamedItem (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLCollection__ */ diff --git a/kdejava/koala/kdejava/HTMLDListElement.cpp b/kdejava/koala/kdejava/HTMLDListElement.cpp deleted file mode 100644 index 18317bfe..00000000 --- a/kdejava/koala/kdejava/HTMLDListElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/html_list.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLDListElement.h> - -class HTMLDListElementJBridge : public DOM::HTMLDListElement -{ -public: - HTMLDListElementJBridge() : DOM::HTMLDListElement() {}; - HTMLDListElementJBridge(const DOM::HTMLDListElement& arg1) : DOM::HTMLDListElement(arg1) {}; - HTMLDListElementJBridge(const DOM::Node& arg1) : DOM::HTMLDListElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLDListElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLDListElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDListElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_HTMLDListElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDListElementJBridge((const DOM::HTMLDListElement&)*(const DOM::HTMLDListElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDListElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLDListElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDListElement.h b/kdejava/koala/kdejava/HTMLDListElement.h deleted file mode 100644 index cb11b9a7..00000000 --- a/kdejava/koala/kdejava/HTMLDListElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDListElement__ -#define __org_kde_koala_HTMLDListElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_HTMLDListElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLDListElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_setCompact (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDListElement__ */ diff --git a/kdejava/koala/kdejava/HTMLDirectoryElement.cpp b/kdejava/koala/kdejava/HTMLDirectoryElement.cpp deleted file mode 100644 index f5078ecc..00000000 --- a/kdejava/koala/kdejava/HTMLDirectoryElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/html_list.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLDirectoryElement.h> - -class HTMLDirectoryElementJBridge : public DOM::HTMLDirectoryElement -{ -public: - HTMLDirectoryElementJBridge() : DOM::HTMLDirectoryElement() {}; - HTMLDirectoryElementJBridge(const DOM::HTMLDirectoryElement& arg1) : DOM::HTMLDirectoryElement(arg1) {}; - HTMLDirectoryElementJBridge(const DOM::Node& arg1) : DOM::HTMLDirectoryElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLDirectoryElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLDirectoryElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_HTMLDirectoryElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge((const DOM::HTMLDirectoryElement&)*(const DOM::HTMLDirectoryElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLDirectoryElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDirectoryElement.h b/kdejava/koala/kdejava/HTMLDirectoryElement.h deleted file mode 100644 index c4e02ba3..00000000 --- a/kdejava/koala/kdejava/HTMLDirectoryElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDirectoryElement__ -#define __org_kde_koala_HTMLDirectoryElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_HTMLDirectoryElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLDirectoryElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_setCompact (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDirectoryElement__ */ diff --git a/kdejava/koala/kdejava/HTMLDivElement.cpp b/kdejava/koala/kdejava/HTMLDivElement.cpp deleted file mode 100644 index adafd5c8..00000000 --- a/kdejava/koala/kdejava/HTMLDivElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_block.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLDivElement.h> - -class HTMLDivElementJBridge : public DOM::HTMLDivElement -{ -public: - HTMLDivElementJBridge() : DOM::HTMLDivElement() {}; - HTMLDivElementJBridge(const DOM::HTMLDivElement& arg1) : DOM::HTMLDivElement(arg1) {}; - HTMLDivElementJBridge(const DOM::Node& arg1) : DOM::HTMLDivElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDivElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDivElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDivElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_HTMLDivElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDivElementJBridge((const DOM::HTMLDivElement&)*(const DOM::HTMLDivElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDivElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLDivElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDivElement.h b/kdejava/koala/kdejava/HTMLDivElement.h deleted file mode 100644 index be6b139e..00000000 --- a/kdejava/koala/kdejava/HTMLDivElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDivElement__ -#define __org_kde_koala_HTMLDivElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_HTMLDivElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDivElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDivElement__ */ diff --git a/kdejava/koala/kdejava/HTMLDocument.cpp b/kdejava/koala/kdejava/HTMLDocument.cpp deleted file mode 100644 index e99a342d..00000000 --- a/kdejava/koala/kdejava/HTMLDocument.cpp +++ /dev/null @@ -1,235 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_document.h> -#include <dom/html_element.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLDocument.h> - -class HTMLDocumentJBridge : public DOM::HTMLDocument -{ -public: - HTMLDocumentJBridge() : DOM::HTMLDocument() {}; - HTMLDocumentJBridge(TDEHTMLView* arg1) : DOM::HTMLDocument(arg1) {}; - HTMLDocumentJBridge(const DOM::HTMLDocument& arg1) : DOM::HTMLDocument(arg1) {}; - HTMLDocumentJBridge(const DOM::Node& arg1) : DOM::HTMLDocument(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_URL(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->URL(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_all(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->all()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_anchors(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->anchors()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_applets(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->applets()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_body(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->body()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_close(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_completeURL(JNIEnv* env, jobject obj, jstring url) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_url = 0; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->completeURL((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, url, &_domstring_url)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_cookie(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->cookie(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_domain(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->domain(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_forms(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->forms()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_getElementsByName(JNIEnv* env, jobject obj, jstring elementName) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_elementName = 0; - _qlist = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->getElementsByName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, elementName, &_domstring_elementName)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_images(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->images()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_lastModified(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->lastModified(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_layers(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->layers()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_links(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->links()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_HTMLDocument_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge((const DOM::HTMLDocument&)*(const DOM::HTMLDocument*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_TDEHTMLView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge((TDEHTMLView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_open(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->open(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_referrer(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->referrer(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_setBody(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->setBody((const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_setCookie(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->setCookie((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_setTitle(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->setTitle((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_title(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->title(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_write(JNIEnv* env, jobject obj, jstring text) -{ -static DOM::DOMString* _domstring_text = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->write((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, text, &_domstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_writeln(JNIEnv* env, jobject obj, jstring text) -{ -static DOM::DOMString* _domstring_text = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->writeln((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, text, &_domstring_text)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDocument.h b/kdejava/koala/kdejava/HTMLDocument.h deleted file mode 100644 index 0f1c1e6b..00000000 --- a/kdejava/koala/kdejava/HTMLDocument.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDocument__ -#define __org_kde_koala_HTMLDocument__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_TDEHTMLView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_HTMLDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_title (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_referrer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_domain (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_URL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_body (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_setBody (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_images (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_applets (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_links (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_forms (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_layers (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_anchors (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_cookie (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_setCookie (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_open (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_write (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_writeln (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_getElementsByName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_completeURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_lastModified (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_all (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDocument__ */ diff --git a/kdejava/koala/kdejava/HTMLElement.cpp b/kdejava/koala/kdejava/HTMLElement.cpp deleted file mode 100644 index 2fef0c0d..00000000 --- a/kdejava/koala/kdejava/HTMLElement.cpp +++ /dev/null @@ -1,202 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_element.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLElement.h> - -class HTMLElementJBridge : public DOM::HTMLElement -{ -public: - HTMLElementJBridge() : DOM::HTMLElement() {}; - HTMLElementJBridge(const DOM::HTMLElement& arg1) : DOM::HTMLElement(arg1) {}; - HTMLElementJBridge(const DOM::Node& arg1) : DOM::HTMLElement(arg1) {}; - void protected_assignOther(const DOM::Node& arg1,int arg2) { - DOM::HTMLElement::assignOther(arg1,arg2); - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_addCSSProperty(JNIEnv* env, jobject obj, jstring property, jstring value) -{ -static DOM::DOMString* _domstring_property = 0; -static DOM::DOMString* _domstring_value = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->addCSSProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, property, &_domstring_property), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLElement_all(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLElement*) QtSupport::getQt(env, obj))->all()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_assignOther(JNIEnv* env, jobject obj, jobject other, jint elementId) -{ - ((HTMLElementJBridge*) QtSupport::getQt(env, obj))->protected_assignOther((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other), (int) elementId); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLElement_children(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLElement*) QtSupport::getQt(env, obj))->children()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_className(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->className(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_dir(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->dir(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_id(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->id(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_innerHTML(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->innerHTML(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_innerText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->innerText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_lang(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->lang(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_newHTMLElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_HTMLElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLElementJBridge((const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_removeCSSProperty(JNIEnv* env, jobject obj, jstring property) -{ -static DOM::DOMString* _domstring_property = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->removeCSSProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, property, &_domstring_property)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setClassName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setClassName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setDir(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setDir((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setId(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setId((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setInnerHTML(JNIEnv* env, jobject obj, jstring html) -{ -static DOM::DOMString* _domstring_html = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setInnerHTML((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, html, &_domstring_html)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setInnerText(JNIEnv* env, jobject obj, jstring text) -{ -static DOM::DOMString* _domstring_text = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setInnerText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, text, &_domstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setLang(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setLang((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setTitle(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setTitle((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_title(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->title(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLElement.h b/kdejava/koala/kdejava/HTMLElement.h deleted file mode 100644 index adb70254..00000000 --- a/kdejava/koala/kdejava/HTMLElement.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLElement__ -#define __org_kde_koala_HTMLElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_newHTMLElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_HTMLElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_title (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_lang (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setLang (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_dir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setClassName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_innerHTML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setInnerHTML (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_innerText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setInnerText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLElement_children (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLElement_all (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_removeCSSProperty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_addCSSProperty (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_assignOther (JNIEnv *env, jobject, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFieldSetElement.cpp b/kdejava/koala/kdejava/HTMLFieldSetElement.cpp deleted file mode 100644 index 751a884b..00000000 --- a/kdejava/koala/kdejava/HTMLFieldSetElement.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLFieldSetElement.h> - -class HTMLFieldSetElementJBridge : public DOM::HTMLFieldSetElement -{ -public: - HTMLFieldSetElementJBridge() : DOM::HTMLFieldSetElement() {}; - HTMLFieldSetElementJBridge(const DOM::HTMLFieldSetElement& arg1) : DOM::HTMLFieldSetElement(arg1) {}; - HTMLFieldSetElementJBridge(const DOM::Node& arg1) : DOM::HTMLFieldSetElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLFieldSetElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLFieldSetElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFieldSetElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_HTMLFieldSetElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFieldSetElementJBridge((const DOM::HTMLFieldSetElement&)*(const DOM::HTMLFieldSetElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFieldSetElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/HTMLFieldSetElement.h b/kdejava/koala/kdejava/HTMLFieldSetElement.h deleted file mode 100644 index b5e018e1..00000000 --- a/kdejava/koala/kdejava/HTMLFieldSetElement.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFieldSetElement__ -#define __org_kde_koala_HTMLFieldSetElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_HTMLFieldSetElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLFieldSetElement_formElement (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFieldSetElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFontElement.cpp b/kdejava/koala/kdejava/HTMLFontElement.cpp deleted file mode 100644 index d923354f..00000000 --- a/kdejava/koala/kdejava/HTMLFontElement.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_inline.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLFontElement.h> - -class HTMLFontElementJBridge : public DOM::HTMLFontElement -{ -public: - HTMLFontElementJBridge() : DOM::HTMLFontElement() {}; - HTMLFontElementJBridge(const DOM::HTMLFontElement& arg1) : DOM::HTMLFontElement(arg1) {}; - HTMLFontElementJBridge(const DOM::Node& arg1) : DOM::HTMLFontElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFontElement_color(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->color(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFontElement_face(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->face(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFontElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_HTMLFontElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFontElementJBridge((const DOM::HTMLFontElement&)*(const DOM::HTMLFontElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFontElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_setColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->setColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_setFace(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->setFace((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_setSize(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->setSize((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFontElement_size(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->size(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLFontElement.h b/kdejava/koala/kdejava/HTMLFontElement.h deleted file mode 100644 index efbac3e4..00000000 --- a/kdejava/koala/kdejava/HTMLFontElement.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFontElement__ -#define __org_kde_koala_HTMLFontElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_HTMLFontElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFontElement_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_setColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFontElement_face (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_setFace (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFontElement_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_setSize (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFontElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFormCollection.cpp b/kdejava/koala/kdejava/HTMLFormCollection.cpp deleted file mode 100644 index 3efaa617..00000000 --- a/kdejava/koala/kdejava/HTMLFormCollection.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_misc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLFormCollection.h> - diff --git a/kdejava/koala/kdejava/HTMLFormCollection.h b/kdejava/koala/kdejava/HTMLFormCollection.h deleted file mode 100644 index 8a25f6cc..00000000 --- a/kdejava/koala/kdejava/HTMLFormCollection.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFormCollection__ -#define __org_kde_koala_HTMLFormCollection__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFormCollection__ */ diff --git a/kdejava/koala/kdejava/HTMLFormElement.cpp b/kdejava/koala/kdejava/HTMLFormElement.cpp deleted file mode 100644 index a0c5c3e2..00000000 --- a/kdejava/koala/kdejava/HTMLFormElement.cpp +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLFormElement.h> - -class HTMLFormElementJBridge : public DOM::HTMLFormElement -{ -public: - HTMLFormElementJBridge() : DOM::HTMLFormElement() {}; - HTMLFormElementJBridge(const DOM::HTMLFormElement& arg1) : DOM::HTMLFormElement(arg1) {}; - HTMLFormElementJBridge(const DOM::Node& arg1) : DOM::HTMLFormElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_acceptCharset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->acceptCharset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_action(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->action(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLFormElement_elements(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->elements()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_enctype(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->enctype(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLFormElement_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_method(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->method(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFormElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_HTMLFormElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFormElementJBridge((const DOM::HTMLFormElement&)*(const DOM::HTMLFormElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFormElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_reset(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setAcceptCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setAcceptCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setAction(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setAction((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setEnctype(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setEnctype((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setMethod(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setMethod((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_submit(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->submit(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLFormElement.h b/kdejava/koala/kdejava/HTMLFormElement.h deleted file mode 100644 index 72211962..00000000 --- a/kdejava/koala/kdejava/HTMLFormElement.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFormElement__ -#define __org_kde_koala_HTMLFormElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_HTMLFormElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLFormElement_elements (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLFormElement_length (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_acceptCharset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setAcceptCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_action (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setAction (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_enctype (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setEnctype (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_method (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setMethod (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setTarget (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_submit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_reset (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFormElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFrameElement.cpp b/kdejava/koala/kdejava/HTMLFrameElement.cpp deleted file mode 100644 index 6e64ba8d..00000000 --- a/kdejava/koala/kdejava/HTMLFrameElement.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_base.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom_doc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLFrameElement.h> - -class HTMLFrameElementJBridge : public DOM::HTMLFrameElement -{ -public: - HTMLFrameElementJBridge() : DOM::HTMLFrameElement() {}; - HTMLFrameElementJBridge(const DOM::HTMLFrameElement& arg1) : DOM::HTMLFrameElement(arg1) {}; - HTMLFrameElementJBridge(const DOM::Node& arg1) : DOM::HTMLFrameElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLFrameElement_contentDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->contentDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_frameBorder(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->frameBorder(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_longDesc(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->longDesc(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_marginHeight(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->marginHeight(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_marginWidth(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->marginWidth(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_HTMLFrameElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameElementJBridge((const DOM::HTMLFrameElement&)*(const DOM::HTMLFrameElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLFrameElement_noResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->noResize(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_scrolling(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->scrolling(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setFrameBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setFrameBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setLongDesc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setLongDesc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setMarginHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setMarginHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setMarginWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setMarginWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setNoResize(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setNoResize((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setScrolling(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setScrolling((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLFrameElement.h b/kdejava/koala/kdejava/HTMLFrameElement.h deleted file mode 100644 index 8b41b6bf..00000000 --- a/kdejava/koala/kdejava/HTMLFrameElement.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFrameElement__ -#define __org_kde_koala_HTMLFrameElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_HTMLFrameElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_frameBorder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setFrameBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_longDesc (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setLongDesc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_marginHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setMarginHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_marginWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setMarginWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLFrameElement_noResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setNoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_scrolling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setScrolling (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLFrameElement_contentDocument (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFrameElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFrameSetElement.cpp b/kdejava/koala/kdejava/HTMLFrameSetElement.cpp deleted file mode 100644 index 7c973e09..00000000 --- a/kdejava/koala/kdejava/HTMLFrameSetElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_base.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLFrameSetElement.h> - -class HTMLFrameSetElementJBridge : public DOM::HTMLFrameSetElement -{ -public: - HTMLFrameSetElementJBridge() : DOM::HTMLFrameSetElement() {}; - HTMLFrameSetElementJBridge(const DOM::HTMLFrameSetElement& arg1) : DOM::HTMLFrameSetElement(arg1) {}; - HTMLFrameSetElementJBridge(const DOM::Node& arg1) : DOM::HTMLFrameSetElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameSetElement_cols(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->cols(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameSetElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_HTMLFrameSetElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameSetElementJBridge((const DOM::HTMLFrameSetElement&)*(const DOM::HTMLFrameSetElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameSetElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameSetElement_rows(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->rows(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_setCols(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->setCols((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_setRows(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->setRows((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLFrameSetElement.h b/kdejava/koala/kdejava/HTMLFrameSetElement.h deleted file mode 100644 index 9bfe315e..00000000 --- a/kdejava/koala/kdejava/HTMLFrameSetElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFrameSetElement__ -#define __org_kde_koala_HTMLFrameSetElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_HTMLFrameSetElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameSetElement_cols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_setCols (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameSetElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_setRows (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFrameSetElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHRElement.cpp b/kdejava/koala/kdejava/HTMLHRElement.cpp deleted file mode 100644 index c2dd172c..00000000 --- a/kdejava/koala/kdejava/HTMLHRElement.cpp +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_block.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLHRElement.h> - -class HTMLHRElementJBridge : public DOM::HTMLHRElement -{ -public: - HTMLHRElementJBridge() : DOM::HTMLHRElement() {}; - HTMLHRElementJBridge(const DOM::HTMLHRElement& arg1) : DOM::HTMLHRElement(arg1) {}; - HTMLHRElementJBridge(const DOM::Node& arg1) : DOM::HTMLHRElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHRElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHRElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_HTMLHRElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHRElementJBridge((const DOM::HTMLHRElement&)*(const DOM::HTMLHRElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHRElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLHRElement_noShade(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->noShade(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setNoShade(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setNoShade((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setSize(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setSize((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHRElement_size(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->size(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHRElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLHRElement.h b/kdejava/koala/kdejava/HTMLHRElement.h deleted file mode 100644 index a1d11bfd..00000000 --- a/kdejava/koala/kdejava/HTMLHRElement.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHRElement__ -#define __org_kde_koala_HTMLHRElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_HTMLHRElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHRElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLHRElement_noShade (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setNoShade (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHRElement_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setSize (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHRElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHRElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHeadElement.cpp b/kdejava/koala/kdejava/HTMLHeadElement.cpp deleted file mode 100644 index 1eba1959..00000000 --- a/kdejava/koala/kdejava/HTMLHeadElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_base.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLHeadElement.h> - -class HTMLHeadElementJBridge : public DOM::HTMLHeadElement -{ -public: - HTMLHeadElementJBridge() : DOM::HTMLHeadElement() {}; - HTMLHeadElementJBridge(const DOM::HTMLHeadElement& arg1) : DOM::HTMLHeadElement(arg1) {}; - HTMLHeadElementJBridge(const DOM::Node& arg1) : DOM::HTMLHeadElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_HTMLHeadElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadElementJBridge((const DOM::HTMLHeadElement&)*(const DOM::HTMLHeadElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHeadElement_profile(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHeadElement*) QtSupport::getQt(env, obj))->profile(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_setProfile(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHeadElement*) QtSupport::getQt(env, obj))->setProfile((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLHeadElement.h b/kdejava/koala/kdejava/HTMLHeadElement.h deleted file mode 100644 index 070fbc09..00000000 --- a/kdejava/koala/kdejava/HTMLHeadElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHeadElement__ -#define __org_kde_koala_HTMLHeadElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_HTMLHeadElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHeadElement_profile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_setProfile (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHeadElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHeadingElement.cpp b/kdejava/koala/kdejava/HTMLHeadingElement.cpp deleted file mode 100644 index 0cfe8c22..00000000 --- a/kdejava/koala/kdejava/HTMLHeadingElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_block.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLHeadingElement.h> - -class HTMLHeadingElementJBridge : public DOM::HTMLHeadingElement -{ -public: - HTMLHeadingElementJBridge() : DOM::HTMLHeadingElement() {}; - HTMLHeadingElementJBridge(const DOM::HTMLHeadingElement& arg1) : DOM::HTMLHeadingElement(arg1) {}; - HTMLHeadingElementJBridge(const DOM::Node& arg1) : DOM::HTMLHeadingElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHeadingElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHeadingElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadingElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_HTMLHeadingElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadingElementJBridge((const DOM::HTMLHeadingElement&)*(const DOM::HTMLHeadingElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadingElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHeadingElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLHeadingElement.h b/kdejava/koala/kdejava/HTMLHeadingElement.h deleted file mode 100644 index 0d4ab51c..00000000 --- a/kdejava/koala/kdejava/HTMLHeadingElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHeadingElement__ -#define __org_kde_koala_HTMLHeadingElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_HTMLHeadingElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHeadingElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHeadingElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHtmlElement.cpp b/kdejava/koala/kdejava/HTMLHtmlElement.cpp deleted file mode 100644 index 39e55c6d..00000000 --- a/kdejava/koala/kdejava/HTMLHtmlElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_base.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLHtmlElement.h> - -class HTMLHtmlElementJBridge : public DOM::HTMLHtmlElement -{ -public: - HTMLHtmlElementJBridge() : DOM::HTMLHtmlElement() {}; - HTMLHtmlElementJBridge(const DOM::HTMLHtmlElement& arg1) : DOM::HTMLHtmlElement(arg1) {}; - HTMLHtmlElementJBridge(const DOM::Node& arg1) : DOM::HTMLHtmlElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHtmlElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_HTMLHtmlElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHtmlElementJBridge((const DOM::HTMLHtmlElement&)*(const DOM::HTMLHtmlElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHtmlElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_setVersion(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHtmlElement*) QtSupport::getQt(env, obj))->setVersion((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHtmlElement_version(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHtmlElement*) QtSupport::getQt(env, obj))->version(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLHtmlElement.h b/kdejava/koala/kdejava/HTMLHtmlElement.h deleted file mode 100644 index b9e89487..00000000 --- a/kdejava/koala/kdejava/HTMLHtmlElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHtmlElement__ -#define __org_kde_koala_HTMLHtmlElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_HTMLHtmlElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHtmlElement_version (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_setVersion (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHtmlElement__ */ diff --git a/kdejava/koala/kdejava/HTMLIFrameElement.cpp b/kdejava/koala/kdejava/HTMLIFrameElement.cpp deleted file mode 100644 index 6dbb8b74..00000000 --- a/kdejava/koala/kdejava/HTMLIFrameElement.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_base.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom_doc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLIFrameElement.h> - -class HTMLIFrameElementJBridge : public DOM::HTMLIFrameElement -{ -public: - HTMLIFrameElementJBridge() : DOM::HTMLIFrameElement() {}; - HTMLIFrameElementJBridge(const DOM::HTMLIFrameElement& arg1) : DOM::HTMLIFrameElement(arg1) {}; - HTMLIFrameElementJBridge(const DOM::Node& arg1) : DOM::HTMLIFrameElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLIFrameElement_contentDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->contentDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_frameBorder(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->frameBorder(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_longDesc(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->longDesc(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_marginHeight(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->marginHeight(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_marginWidth(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->marginWidth(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIFrameElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_HTMLIFrameElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIFrameElementJBridge((const DOM::HTMLIFrameElement&)*(const DOM::HTMLIFrameElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIFrameElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_scrolling(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->scrolling(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setFrameBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setFrameBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setLongDesc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setLongDesc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setMarginHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setMarginHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setMarginWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setMarginWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setScrolling(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setScrolling((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLIFrameElement.h b/kdejava/koala/kdejava/HTMLIFrameElement.h deleted file mode 100644 index 321afd5d..00000000 --- a/kdejava/koala/kdejava/HTMLIFrameElement.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLIFrameElement__ -#define __org_kde_koala_HTMLIFrameElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_HTMLIFrameElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_frameBorder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setFrameBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_longDesc (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setLongDesc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_marginHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setMarginHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_marginWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setMarginWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_scrolling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setScrolling (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLIFrameElement_contentDocument (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLIFrameElement__ */ diff --git a/kdejava/koala/kdejava/HTMLImageElement.cpp b/kdejava/koala/kdejava/HTMLImageElement.cpp deleted file mode 100644 index 4f09d053..00000000 --- a/kdejava/koala/kdejava/HTMLImageElement.cpp +++ /dev/null @@ -1,243 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_image.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLImageElement.h> - -class HTMLImageElementJBridge : public DOM::HTMLImageElement -{ -public: - HTMLImageElementJBridge() : DOM::HTMLImageElement() {}; - HTMLImageElementJBridge(const DOM::HTMLImageElement& arg1) : DOM::HTMLImageElement(arg1) {}; - HTMLImageElementJBridge(const DOM::Node& arg1) : DOM::HTMLImageElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_getBorder(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->getBorder(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_height(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_hspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->hspace(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLImageElement_isMap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->isMap(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_longDesc(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->longDesc(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLImageElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_HTMLImageElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLImageElementJBridge((const DOM::HTMLImageElement&)*(const DOM::HTMLImageElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLImageElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setHeight(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setHeight((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setHspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setHspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setIsMap(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setIsMap((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setLongDesc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setLongDesc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setUseMap(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setUseMap((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setVspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setVspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setWidth(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setWidth((long) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_useMap(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->useMap(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_vspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->vspace(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_width(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_x(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_y(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLImageElement.h b/kdejava/koala/kdejava/HTMLImageElement.h deleted file mode 100644 index f0759e50..00000000 --- a/kdejava/koala/kdejava/HTMLImageElement.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLImageElement__ -#define __org_kde_koala_HTMLImageElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_HTMLImageElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_getBorder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setHeight (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_hspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setHspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLImageElement_isMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setIsMap (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_longDesc (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setLongDesc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_useMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setUseMap (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_vspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setVspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setWidth (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_x (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_y (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLImageElement__ */ diff --git a/kdejava/koala/kdejava/HTMLInputElement.cpp b/kdejava/koala/kdejava/HTMLInputElement.cpp deleted file mode 100644 index 495c2ed0..00000000 --- a/kdejava/koala/kdejava/HTMLInputElement.cpp +++ /dev/null @@ -1,340 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLInputElement.h> - -class HTMLInputElementJBridge : public DOM::HTMLInputElement -{ -public: - HTMLInputElementJBridge() : DOM::HTMLInputElement() {}; - HTMLInputElementJBridge(const DOM::HTMLInputElement& arg1) : DOM::HTMLInputElement(arg1) {}; - HTMLInputElementJBridge(const DOM::Node& arg1) : DOM::HTMLInputElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_accept(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->accept(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_checked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->checked(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_click(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->click(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_defaultChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->defaultChecked(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_defaultValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->defaultValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLInputElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLInputElement_getSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->getSize(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLInputElement_maxLength(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->maxLength(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLInputElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_HTMLInputElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLInputElementJBridge((const DOM::HTMLInputElement&)*(const DOM::HTMLInputElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLInputElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_readOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->readOnly(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_select(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->select(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAccept(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAccept((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setDefaultChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDefaultChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setDefaultValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDefaultValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setMaxLength(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setMaxLength((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setSize(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setSize((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setUseMap(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setUseMap((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLInputElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_useMap(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->useMap(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLInputElement.h b/kdejava/koala/kdejava/HTMLInputElement.h deleted file mode 100644 index 8ae444be..00000000 --- a/kdejava/koala/kdejava/HTMLInputElement.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLInputElement__ -#define __org_kde_koala_HTMLInputElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_HTMLInputElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_defaultValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setDefaultValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_defaultChecked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setDefaultChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLInputElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAccept (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_checked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLInputElement_maxLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setMaxLength (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_readOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLInputElement_getSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLInputElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_useMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setUseMap (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_focus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_select (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_click (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLInputElement__ */ diff --git a/kdejava/koala/kdejava/HTMLIsIndexElement.cpp b/kdejava/koala/kdejava/HTMLIsIndexElement.cpp deleted file mode 100644 index 71558507..00000000 --- a/kdejava/koala/kdejava/HTMLIsIndexElement.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLIsIndexElement.h> - -class HTMLIsIndexElementJBridge : public DOM::HTMLIsIndexElement -{ -public: - HTMLIsIndexElementJBridge() : DOM::HTMLIsIndexElement() {}; - HTMLIsIndexElementJBridge(const DOM::HTMLIsIndexElement& arg1) : DOM::HTMLIsIndexElement(arg1) {}; - HTMLIsIndexElementJBridge(const DOM::Node& arg1) : DOM::HTMLIsIndexElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLIsIndexElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_HTMLIsIndexElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge((const DOM::HTMLIsIndexElement&)*(const DOM::HTMLIsIndexElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIsIndexElement_prompt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->prompt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_setPrompt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->setPrompt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLIsIndexElement.h b/kdejava/koala/kdejava/HTMLIsIndexElement.h deleted file mode 100644 index 5ac502e1..00000000 --- a/kdejava/koala/kdejava/HTMLIsIndexElement.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLIsIndexElement__ -#define __org_kde_koala_HTMLIsIndexElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_HTMLIsIndexElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLIsIndexElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIsIndexElement_prompt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_setPrompt (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLIsIndexElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLIElement.cpp b/kdejava/koala/kdejava/HTMLLIElement.cpp deleted file mode 100644 index 80fe7ead..00000000 --- a/kdejava/koala/kdejava/HTMLLIElement.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_list.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLLIElement.h> - -class HTMLLIElementJBridge : public DOM::HTMLLIElement -{ -public: - HTMLLIElementJBridge() : DOM::HTMLLIElement() {}; - HTMLLIElementJBridge(const DOM::HTMLLIElement& arg1) : DOM::HTMLLIElement(arg1) {}; - HTMLLIElementJBridge(const DOM::Node& arg1) : DOM::HTMLLIElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLIElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_HTMLLIElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLIElementJBridge((const DOM::HTMLLIElement&)*(const DOM::HTMLLIElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLIElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_setValue(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->setValue((long) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLIElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLLIElement_value(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLLIElement.h b/kdejava/koala/kdejava/HTMLLIElement.h deleted file mode 100644 index 6f0adf7f..00000000 --- a/kdejava/koala/kdejava/HTMLLIElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLIElement__ -#define __org_kde_koala_HTMLLIElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_HTMLLIElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLIElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLLIElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_setValue (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLIElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLabelElement.cpp b/kdejava/koala/kdejava/HTMLLabelElement.cpp deleted file mode 100644 index 49148800..00000000 --- a/kdejava/koala/kdejava/HTMLLabelElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLLabelElement.h> - -class HTMLLabelElementJBridge : public DOM::HTMLLabelElement -{ -public: - HTMLLabelElementJBridge() : DOM::HTMLLabelElement() {}; - HTMLLabelElementJBridge(const DOM::HTMLLabelElement& arg1) : DOM::HTMLLabelElement(arg1) {}; - HTMLLabelElementJBridge(const DOM::Node& arg1) : DOM::HTMLLabelElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLabelElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLabelElement_htmlFor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->htmlFor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLabelElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_HTMLLabelElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLabelElementJBridge((const DOM::HTMLLabelElement&)*(const DOM::HTMLLabelElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLabelElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_setHtmlFor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->setHtmlFor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLLabelElement.h b/kdejava/koala/kdejava/HTMLLabelElement.h deleted file mode 100644 index a8392c2a..00000000 --- a/kdejava/koala/kdejava/HTMLLabelElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLabelElement__ -#define __org_kde_koala_HTMLLabelElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_HTMLLabelElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLabelElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLabelElement_htmlFor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_setHtmlFor (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLabelElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLegendElement.cpp b/kdejava/koala/kdejava/HTMLLegendElement.cpp deleted file mode 100644 index 95e37eb2..00000000 --- a/kdejava/koala/kdejava/HTMLLegendElement.cpp +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLLegendElement.h> - -class HTMLLegendElementJBridge : public DOM::HTMLLegendElement -{ -public: - HTMLLegendElementJBridge() : DOM::HTMLLegendElement() {}; - HTMLLegendElementJBridge(const DOM::HTMLLegendElement& arg1) : DOM::HTMLLegendElement(arg1) {}; - HTMLLegendElementJBridge(const DOM::Node& arg1) : DOM::HTMLLegendElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLegendElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLegendElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLLegendElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLegendElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_HTMLLegendElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLegendElementJBridge((const DOM::HTMLLegendElement&)*(const DOM::HTMLLegendElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLegendElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLLegendElement.h b/kdejava/koala/kdejava/HTMLLegendElement.h deleted file mode 100644 index 9e4e6bed..00000000 --- a/kdejava/koala/kdejava/HTMLLegendElement.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLegendElement__ -#define __org_kde_koala_HTMLLegendElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_HTMLLegendElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLLegendElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLegendElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLegendElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLegendElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLinkElement.cpp b/kdejava/koala/kdejava/HTMLLinkElement.cpp deleted file mode 100644 index d8b72154..00000000 --- a/kdejava/koala/kdejava/HTMLLinkElement.cpp +++ /dev/null @@ -1,197 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_head.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/css_stylesheet.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLLinkElement.h> - -class HTMLLinkElementJBridge : public DOM::HTMLLinkElement -{ -public: - HTMLLinkElementJBridge() : DOM::HTMLLinkElement() {}; - HTMLLinkElementJBridge(const DOM::HTMLLinkElement& arg1) : DOM::HTMLLinkElement(arg1) {}; - HTMLLinkElementJBridge(const DOM::Node& arg1) : DOM::HTMLLinkElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_charset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->charset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLLinkElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_hreflang(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->hreflang(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_media(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->media(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLinkElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_HTMLLinkElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLinkElementJBridge((const DOM::HTMLLinkElement&)*(const DOM::HTMLLinkElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLinkElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_rel(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->rel(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_rev(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->rev(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setHreflang(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setHreflang((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setMedia(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setMedia((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setRel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setRel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setRev(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setRev((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLLinkElement_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLLinkElement.h b/kdejava/koala/kdejava/HTMLLinkElement.h deleted file mode 100644 index 3844aad1..00000000 --- a/kdejava/koala/kdejava/HTMLLinkElement.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLinkElement__ -#define __org_kde_koala_HTMLLinkElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_HTMLLinkElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLLinkElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_charset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_hreflang (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setHreflang (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_media (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setMedia (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_rel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setRel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_rev (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setRev (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setTarget (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLLinkElement_sheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLinkElement__ */ diff --git a/kdejava/koala/kdejava/HTMLMapElement.cpp b/kdejava/koala/kdejava/HTMLMapElement.cpp deleted file mode 100644 index 4aa396b4..00000000 --- a/kdejava/koala/kdejava/HTMLMapElement.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> -#include <dom/html_image.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLMapElement.h> - -class HTMLMapElementJBridge : public DOM::HTMLMapElement -{ -public: - HTMLMapElementJBridge() : DOM::HTMLMapElement() {}; - HTMLMapElementJBridge(const DOM::HTMLMapElement& arg1) : DOM::HTMLMapElement(arg1) {}; - HTMLMapElementJBridge(const DOM::Node& arg1) : DOM::HTMLMapElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLMapElement_areas(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLMapElement*) QtSupport::getQt(env, obj))->areas()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMapElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMapElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMapElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_HTMLMapElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMapElementJBridge((const DOM::HTMLMapElement&)*(const DOM::HTMLMapElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMapElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMapElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLMapElement.h b/kdejava/koala/kdejava/HTMLMapElement.h deleted file mode 100644 index 1ee55acd..00000000 --- a/kdejava/koala/kdejava/HTMLMapElement.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLMapElement__ -#define __org_kde_koala_HTMLMapElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_HTMLMapElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLMapElement_areas (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMapElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_setName (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLMapElement__ */ diff --git a/kdejava/koala/kdejava/HTMLMenuElement.cpp b/kdejava/koala/kdejava/HTMLMenuElement.cpp deleted file mode 100644 index 505e7d53..00000000 --- a/kdejava/koala/kdejava/HTMLMenuElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/html_list.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLMenuElement.h> - -class HTMLMenuElementJBridge : public DOM::HTMLMenuElement -{ -public: - HTMLMenuElementJBridge() : DOM::HTMLMenuElement() {}; - HTMLMenuElementJBridge(const DOM::HTMLMenuElement& arg1) : DOM::HTMLMenuElement(arg1) {}; - HTMLMenuElementJBridge(const DOM::Node& arg1) : DOM::HTMLMenuElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLMenuElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLMenuElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMenuElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_HTMLMenuElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMenuElementJBridge((const DOM::HTMLMenuElement&)*(const DOM::HTMLMenuElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMenuElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLMenuElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLMenuElement.h b/kdejava/koala/kdejava/HTMLMenuElement.h deleted file mode 100644 index b65bda6a..00000000 --- a/kdejava/koala/kdejava/HTMLMenuElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLMenuElement__ -#define __org_kde_koala_HTMLMenuElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_HTMLMenuElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLMenuElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_setCompact (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLMenuElement__ */ diff --git a/kdejava/koala/kdejava/HTMLMetaElement.cpp b/kdejava/koala/kdejava/HTMLMetaElement.cpp deleted file mode 100644 index d455fb61..00000000 --- a/kdejava/koala/kdejava/HTMLMetaElement.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_head.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLMetaElement.h> - -class HTMLMetaElementJBridge : public DOM::HTMLMetaElement -{ -public: - HTMLMetaElementJBridge() : DOM::HTMLMetaElement() {}; - HTMLMetaElementJBridge(const DOM::HTMLMetaElement& arg1) : DOM::HTMLMetaElement(arg1) {}; - HTMLMetaElementJBridge(const DOM::Node& arg1) : DOM::HTMLMetaElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_content(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->content(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_httpEquiv(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->httpEquiv(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMetaElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_HTMLMetaElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMetaElementJBridge((const DOM::HTMLMetaElement&)*(const DOM::HTMLMetaElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMetaElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_scheme(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->scheme(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setContent(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setContent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setHttpEquiv(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setHttpEquiv((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setScheme(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setScheme((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLMetaElement.h b/kdejava/koala/kdejava/HTMLMetaElement.h deleted file mode 100644 index 4991784f..00000000 --- a/kdejava/koala/kdejava/HTMLMetaElement.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLMetaElement__ -#define __org_kde_koala_HTMLMetaElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_HTMLMetaElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_content (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setContent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_httpEquiv (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setHttpEquiv (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_scheme (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setScheme (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLMetaElement__ */ diff --git a/kdejava/koala/kdejava/HTMLModElement.cpp b/kdejava/koala/kdejava/HTMLModElement.cpp deleted file mode 100644 index 04d48fc9..00000000 --- a/kdejava/koala/kdejava/HTMLModElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_inline.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLModElement.h> - -class HTMLModElementJBridge : public DOM::HTMLModElement -{ -public: - HTMLModElementJBridge() : DOM::HTMLModElement() {}; - HTMLModElementJBridge(const DOM::HTMLModElement& arg1) : DOM::HTMLModElement(arg1) {}; - HTMLModElementJBridge(const DOM::Node& arg1) : DOM::HTMLModElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLModElement_cite(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->cite(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLModElement_dateTime(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->dateTime(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_newHTMLModElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLModElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_HTMLModElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLModElementJBridge((const DOM::HTMLModElement&)*(const DOM::HTMLModElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLModElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_setCite(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->setCite((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_setDateTime(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->setDateTime((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLModElement.h b/kdejava/koala/kdejava/HTMLModElement.h deleted file mode 100644 index cd3c3bfd..00000000 --- a/kdejava/koala/kdejava/HTMLModElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLModElement__ -#define __org_kde_koala_HTMLModElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_newHTMLModElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_HTMLModElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLModElement_cite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_setCite (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLModElement_dateTime (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_setDateTime (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLModElement__ */ diff --git a/kdejava/koala/kdejava/HTMLOListElement.cpp b/kdejava/koala/kdejava/HTMLOListElement.cpp deleted file mode 100644 index 0960a330..00000000 --- a/kdejava/koala/kdejava/HTMLOListElement.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_list.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLOListElement.h> - -class HTMLOListElementJBridge : public DOM::HTMLOListElement -{ -public: - HTMLOListElementJBridge() : DOM::HTMLOListElement() {}; - HTMLOListElementJBridge(const DOM::HTMLOListElement& arg1) : DOM::HTMLOListElement(arg1) {}; - HTMLOListElementJBridge(const DOM::Node& arg1) : DOM::HTMLOListElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOListElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOListElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_HTMLOListElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOListElementJBridge((const DOM::HTMLOListElement&)*(const DOM::HTMLOListElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOListElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_setStart(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->setStart((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLOListElement_start(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOListElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLOListElement.h b/kdejava/koala/kdejava/HTMLOListElement.h deleted file mode 100644 index c5d08660..00000000 --- a/kdejava/koala/kdejava/HTMLOListElement.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLOListElement__ -#define __org_kde_koala_HTMLOListElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_HTMLOListElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOListElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_setCompact (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLOListElement_start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_setStart (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOListElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_setType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLOListElement__ */ diff --git a/kdejava/koala/kdejava/HTMLObjectElement.cpp b/kdejava/koala/kdejava/HTMLObjectElement.cpp deleted file mode 100644 index bbeab6c0..00000000 --- a/kdejava/koala/kdejava/HTMLObjectElement.cpp +++ /dev/null @@ -1,327 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_object.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom_doc.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLObjectElement.h> - -class HTMLObjectElementJBridge : public DOM::HTMLObjectElement -{ -public: - HTMLObjectElementJBridge() : DOM::HTMLObjectElement() {}; - HTMLObjectElementJBridge(const DOM::HTMLObjectElement& arg1) : DOM::HTMLObjectElement(arg1) {}; - HTMLObjectElementJBridge(const DOM::Node& arg1) : DOM::HTMLObjectElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_archive(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->archive(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_border(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->border(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_codeBase(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->codeBase(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_codeType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->codeType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_code(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->code(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLObjectElement_contentDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->contentDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_data(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->data(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLObjectElement_declare(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->declare(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLObjectElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLObjectElement_getHspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->getHspace(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLObjectElement_getVspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->getVspace(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLObjectElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_HTMLObjectElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLObjectElementJBridge((const DOM::HTMLObjectElement&)*(const DOM::HTMLObjectElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLObjectElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setArchive(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setArchive((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setCodeBase(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setCodeBase((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setCodeType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setCodeType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setCode(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setCode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setData(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setDeclare(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setDeclare((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setHspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setHspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setStandby(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setStandby((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setUseMap(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setUseMap((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setVspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setVspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_standby(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->standby(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLObjectElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_useMap(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->useMap(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLObjectElement.h b/kdejava/koala/kdejava/HTMLObjectElement.h deleted file mode 100644 index 0dd634ab..00000000 --- a/kdejava/koala/kdejava/HTMLObjectElement.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLObjectElement__ -#define __org_kde_koala_HTMLObjectElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_HTMLObjectElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLObjectElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_code (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setCode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_archive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setArchive (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_border (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_codeBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setCodeBase (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_codeType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setCodeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLObjectElement_declare (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setDeclare (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLObjectElement_getHspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setHspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_standby (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setStandby (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLObjectElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_useMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setUseMap (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLObjectElement_getVspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setVspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLObjectElement_contentDocument (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLObjectElement__ */ diff --git a/kdejava/koala/kdejava/HTMLOptGroupElement.cpp b/kdejava/koala/kdejava/HTMLOptGroupElement.cpp deleted file mode 100644 index 3d5d15bc..00000000 --- a/kdejava/koala/kdejava/HTMLOptGroupElement.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLOptGroupElement.h> - -class HTMLOptGroupElementJBridge : public DOM::HTMLOptGroupElement -{ -public: - HTMLOptGroupElementJBridge() : DOM::HTMLOptGroupElement() {}; - HTMLOptGroupElementJBridge(const DOM::HTMLOptGroupElement& arg1) : DOM::HTMLOptGroupElement(arg1) {}; - HTMLOptGroupElementJBridge(const DOM::Node& arg1) : DOM::HTMLOptGroupElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptGroupElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptGroupElement_label(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->label(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptGroupElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_HTMLOptGroupElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptGroupElementJBridge((const DOM::HTMLOptGroupElement&)*(const DOM::HTMLOptGroupElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptGroupElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_setLabel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->setLabel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLOptGroupElement.h b/kdejava/koala/kdejava/HTMLOptGroupElement.h deleted file mode 100644 index 3ec98610..00000000 --- a/kdejava/koala/kdejava/HTMLOptGroupElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLOptGroupElement__ -#define __org_kde_koala_HTMLOptGroupElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_HTMLOptGroupElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptGroupElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptGroupElement_label (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_setLabel (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLOptGroupElement__ */ diff --git a/kdejava/koala/kdejava/HTMLOptionElement.cpp b/kdejava/koala/kdejava/HTMLOptionElement.cpp deleted file mode 100644 index a86e8f23..00000000 --- a/kdejava/koala/kdejava/HTMLOptionElement.cpp +++ /dev/null @@ -1,150 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLOptionElement.h> - -class HTMLOptionElementJBridge : public DOM::HTMLOptionElement -{ -public: - HTMLOptionElementJBridge() : DOM::HTMLOptionElement() {}; - HTMLOptionElementJBridge(const DOM::HTMLOptionElement& arg1) : DOM::HTMLOptionElement(arg1) {}; - HTMLOptionElementJBridge(const DOM::Node& arg1) : DOM::HTMLOptionElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptionElement_defaultSelected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->defaultSelected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptionElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLOptionElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLOptionElement_index(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->index(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptionElement_label(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->label(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptionElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_HTMLOptionElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptionElementJBridge((const DOM::HTMLOptionElement&)*(const DOM::HTMLOptionElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptionElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptionElement_selected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->selected(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setDefaultSelected(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setDefaultSelected((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setLabel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setLabel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setSelected(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setSelected((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptionElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptionElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLOptionElement.h b/kdejava/koala/kdejava/HTMLOptionElement.h deleted file mode 100644 index 4a0b4403..00000000 --- a/kdejava/koala/kdejava/HTMLOptionElement.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLOptionElement__ -#define __org_kde_koala_HTMLOptionElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_HTMLOptionElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLOptionElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptionElement_defaultSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setDefaultSelected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptionElement_text (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLOptionElement_index (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptionElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptionElement_label (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptionElement_selected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setSelected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptionElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setValue (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLOptionElement__ */ diff --git a/kdejava/koala/kdejava/HTMLParagraphElement.cpp b/kdejava/koala/kdejava/HTMLParagraphElement.cpp deleted file mode 100644 index 29bdae5e..00000000 --- a/kdejava/koala/kdejava/HTMLParagraphElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_block.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLParagraphElement.h> - -class HTMLParagraphElementJBridge : public DOM::HTMLParagraphElement -{ -public: - HTMLParagraphElementJBridge() : DOM::HTMLParagraphElement() {}; - HTMLParagraphElementJBridge(const DOM::HTMLParagraphElement& arg1) : DOM::HTMLParagraphElement(arg1) {}; - HTMLParagraphElementJBridge(const DOM::Node& arg1) : DOM::HTMLParagraphElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParagraphElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParagraphElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_HTMLParagraphElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge((const DOM::HTMLParagraphElement&)*(const DOM::HTMLParagraphElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParagraphElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLParagraphElement.h b/kdejava/koala/kdejava/HTMLParagraphElement.h deleted file mode 100644 index 045fab91..00000000 --- a/kdejava/koala/kdejava/HTMLParagraphElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLParagraphElement__ -#define __org_kde_koala_HTMLParagraphElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_HTMLParagraphElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParagraphElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLParagraphElement__ */ diff --git a/kdejava/koala/kdejava/HTMLParamElement.cpp b/kdejava/koala/kdejava/HTMLParamElement.cpp deleted file mode 100644 index d5a414c0..00000000 --- a/kdejava/koala/kdejava/HTMLParamElement.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_object.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLParamElement.h> - -class HTMLParamElementJBridge : public DOM::HTMLParamElement -{ -public: - HTMLParamElementJBridge() : DOM::HTMLParamElement() {}; - HTMLParamElementJBridge(const DOM::HTMLParamElement& arg1) : DOM::HTMLParamElement(arg1) {}; - HTMLParamElementJBridge(const DOM::Node& arg1) : DOM::HTMLParamElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParamElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_HTMLParamElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParamElementJBridge((const DOM::HTMLParamElement&)*(const DOM::HTMLParamElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParamElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setValueType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setValueType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_valueType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->valueType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLParamElement.h b/kdejava/koala/kdejava/HTMLParamElement.h deleted file mode 100644 index 537bca42..00000000 --- a/kdejava/koala/kdejava/HTMLParamElement.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLParamElement__ -#define __org_kde_koala_HTMLParamElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_HTMLParamElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_valueType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setValueType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLParamElement__ */ diff --git a/kdejava/koala/kdejava/HTMLPreElement.cpp b/kdejava/koala/kdejava/HTMLPreElement.cpp deleted file mode 100644 index df9c3b37..00000000 --- a/kdejava/koala/kdejava/HTMLPreElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_block.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLPreElement.h> - -class HTMLPreElementJBridge : public DOM::HTMLPreElement -{ -public: - HTMLPreElementJBridge() : DOM::HTMLPreElement() {}; - HTMLPreElementJBridge(const DOM::HTMLPreElement& arg1) : DOM::HTMLPreElement(arg1) {}; - HTMLPreElementJBridge(const DOM::Node& arg1) : DOM::HTMLPreElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLPreElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_HTMLPreElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLPreElementJBridge((const DOM::HTMLPreElement&)*(const DOM::HTMLPreElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLPreElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_setWidth(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->setWidth((long) arg1); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLPreElement_width(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLPreElement.h b/kdejava/koala/kdejava/HTMLPreElement.h deleted file mode 100644 index 7be35e91..00000000 --- a/kdejava/koala/kdejava/HTMLPreElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLPreElement__ -#define __org_kde_koala_HTMLPreElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_HTMLPreElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLPreElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_setWidth (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLPreElement__ */ diff --git a/kdejava/koala/kdejava/HTMLQuoteElement.cpp b/kdejava/koala/kdejava/HTMLQuoteElement.cpp deleted file mode 100644 index c7c52bb0..00000000 --- a/kdejava/koala/kdejava/HTMLQuoteElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_inline.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLQuoteElement.h> - -class HTMLQuoteElementJBridge : public DOM::HTMLQuoteElement -{ -public: - HTMLQuoteElementJBridge() : DOM::HTMLQuoteElement() {}; - HTMLQuoteElementJBridge(const DOM::HTMLQuoteElement& arg1) : DOM::HTMLQuoteElement(arg1) {}; - HTMLQuoteElementJBridge(const DOM::Node& arg1) : DOM::HTMLQuoteElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLQuoteElement_cite(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLQuoteElement*) QtSupport::getQt(env, obj))->cite(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_HTMLQuoteElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge((const DOM::HTMLQuoteElement&)*(const DOM::HTMLQuoteElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_setCite(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLQuoteElement*) QtSupport::getQt(env, obj))->setCite((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLQuoteElement.h b/kdejava/koala/kdejava/HTMLQuoteElement.h deleted file mode 100644 index 1d0b573e..00000000 --- a/kdejava/koala/kdejava/HTMLQuoteElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLQuoteElement__ -#define __org_kde_koala_HTMLQuoteElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_HTMLQuoteElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLQuoteElement_cite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_setCite (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLQuoteElement__ */ diff --git a/kdejava/koala/kdejava/HTMLScriptElement.cpp b/kdejava/koala/kdejava/HTMLScriptElement.cpp deleted file mode 100644 index b7ca7c19..00000000 --- a/kdejava/koala/kdejava/HTMLScriptElement.cpp +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_head.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLScriptElement.h> - -class HTMLScriptElementJBridge : public DOM::HTMLScriptElement -{ -public: - HTMLScriptElementJBridge() : DOM::HTMLScriptElement() {}; - HTMLScriptElementJBridge(const DOM::HTMLScriptElement& arg1) : DOM::HTMLScriptElement(arg1) {}; - HTMLScriptElementJBridge(const DOM::Node& arg1) : DOM::HTMLScriptElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_charset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->charset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLScriptElement_defer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->defer(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_event(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->event(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_htmlFor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->htmlFor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLScriptElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_HTMLScriptElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLScriptElementJBridge((const DOM::HTMLScriptElement&)*(const DOM::HTMLScriptElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLScriptElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setDefer(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setDefer((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setEvent(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setHtmlFor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setHtmlFor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLScriptElement.h b/kdejava/koala/kdejava/HTMLScriptElement.h deleted file mode 100644 index fcd366a3..00000000 --- a/kdejava/koala/kdejava/HTMLScriptElement.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLScriptElement__ -#define __org_kde_koala_HTMLScriptElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_HTMLScriptElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_htmlFor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setHtmlFor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_event (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setEvent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_charset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLScriptElement_defer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setDefer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLScriptElement__ */ diff --git a/kdejava/koala/kdejava/HTMLSelectElement.cpp b/kdejava/koala/kdejava/HTMLSelectElement.cpp deleted file mode 100644 index 086661d7..00000000 --- a/kdejava/koala/kdejava/HTMLSelectElement.cpp +++ /dev/null @@ -1,208 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_element.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLSelectElement.h> - -class HTMLSelectElementJBridge : public DOM::HTMLSelectElement -{ -public: - HTMLSelectElementJBridge() : DOM::HTMLSelectElement() {}; - HTMLSelectElementJBridge(const DOM::HTMLSelectElement& arg1) : DOM::HTMLSelectElement(arg1) {}; - HTMLSelectElementJBridge(const DOM::Node& arg1) : DOM::HTMLSelectElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_add(JNIEnv* env, jobject obj, jobject element, jobject before) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->add((const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, element), (const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, before)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLSelectElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLSelectElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLSelectElement_multiple(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->multiple(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLSelectElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLSelectElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_HTMLSelectElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLSelectElementJBridge((const DOM::HTMLSelectElement&)*(const DOM::HTMLSelectElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLSelectElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLSelectElement_options(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->options()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_remove(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->remove((long) index); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_selectedIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->selectedIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setMultiple(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setMultiple((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setSelectedIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setSelectedIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setSize(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setSize((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLSelectElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLSelectElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLSelectElement.h b/kdejava/koala/kdejava/HTMLSelectElement.h deleted file mode 100644 index a659c21d..00000000 --- a/kdejava/koala/kdejava/HTMLSelectElement.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLSelectElement__ -#define __org_kde_koala_HTMLSelectElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_HTMLSelectElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLSelectElement_type (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_selectedIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setSelectedIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLSelectElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLSelectElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLSelectElement_options (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLSelectElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLSelectElement_multiple (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setMultiple (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLSelectElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_add (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_remove (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_focus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLSelectElement__ */ diff --git a/kdejava/koala/kdejava/HTMLStyleElement.cpp b/kdejava/koala/kdejava/HTMLStyleElement.cpp deleted file mode 100644 index 5972e303..00000000 --- a/kdejava/koala/kdejava/HTMLStyleElement.cpp +++ /dev/null @@ -1,101 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_head.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/css_stylesheet.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLStyleElement.h> - -class HTMLStyleElementJBridge : public DOM::HTMLStyleElement -{ -public: - HTMLStyleElementJBridge() : DOM::HTMLStyleElement() {}; - HTMLStyleElementJBridge(const DOM::HTMLStyleElement& arg1) : DOM::HTMLStyleElement(arg1) {}; - HTMLStyleElementJBridge(const DOM::Node& arg1) : DOM::HTMLStyleElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLStyleElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLStyleElement_media(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->media(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLStyleElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_HTMLStyleElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLStyleElementJBridge((const DOM::HTMLStyleElement&)*(const DOM::HTMLStyleElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLStyleElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_setMedia(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->setMedia((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLStyleElement_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLStyleElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLStyleElement.h b/kdejava/koala/kdejava/HTMLStyleElement.h deleted file mode 100644 index b6b023c5..00000000 --- a/kdejava/koala/kdejava/HTMLStyleElement.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLStyleElement__ -#define __org_kde_koala_HTMLStyleElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_HTMLStyleElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLStyleElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLStyleElement_media (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_setMedia (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLStyleElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLStyleElement_sheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLStyleElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableCaptionElement.cpp b/kdejava/koala/kdejava/HTMLTableCaptionElement.cpp deleted file mode 100644 index e337f32b..00000000 --- a/kdejava/koala/kdejava/HTMLTableCaptionElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_table.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTableCaptionElement.h> - -class HTMLTableCaptionElementJBridge : public DOM::HTMLTableCaptionElement -{ -public: - HTMLTableCaptionElementJBridge() : DOM::HTMLTableCaptionElement() {}; - HTMLTableCaptionElementJBridge(const DOM::HTMLTableCaptionElement& arg1) : DOM::HTMLTableCaptionElement(arg1) {}; - HTMLTableCaptionElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableCaptionElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCaptionElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_HTMLTableCaptionElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCaptionElementJBridge((const DOM::HTMLTableCaptionElement&)*(const DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCaptionElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLTableCaptionElement.h b/kdejava/koala/kdejava/HTMLTableCaptionElement.h deleted file mode 100644 index b7a4defb..00000000 --- a/kdejava/koala/kdejava/HTMLTableCaptionElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableCaptionElement__ -#define __org_kde_koala_HTMLTableCaptionElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_HTMLTableCaptionElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCaptionElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableCaptionElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableCellElement.cpp b/kdejava/koala/kdejava/HTMLTableCellElement.cpp deleted file mode 100644 index c3068963..00000000 --- a/kdejava/koala/kdejava/HTMLTableCellElement.cpp +++ /dev/null @@ -1,279 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_table.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTableCellElement.h> - -class HTMLTableCellElementJBridge : public DOM::HTMLTableCellElement -{ -public: - HTMLTableCellElementJBridge() : DOM::HTMLTableCellElement() {}; - HTMLTableCellElementJBridge(const DOM::HTMLTableCellElement& arg1) : DOM::HTMLTableCellElement(arg1) {}; - HTMLTableCellElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableCellElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_abbr(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->abbr(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_axis(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->axis(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableCellElement_cellIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->cellIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableCellElement_colSpan(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->colSpan(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_headers(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->headers(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCellElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_HTMLTableCellElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCellElementJBridge((const DOM::HTMLTableCellElement&)*(const DOM::HTMLTableCellElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCellElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLTableCellElement_noWrap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->noWrap(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableCellElement_rowSpan(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->rowSpan(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_scope(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->scope(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setAbbr(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setAbbr((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setAxis(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setAxis((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setCellIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setCellIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setColSpan(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setColSpan((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setHeaders(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setHeaders((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setNoWrap(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setNoWrap((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setRowSpan(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setRowSpan((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setScope(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setScope((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableCellElement.h b/kdejava/koala/kdejava/HTMLTableCellElement.h deleted file mode 100644 index 5bae95fa..00000000 --- a/kdejava/koala/kdejava/HTMLTableCellElement.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableCellElement__ -#define __org_kde_koala_HTMLTableCellElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_HTMLTableCellElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableCellElement_cellIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setCellIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_abbr (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setAbbr (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_axis (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setAxis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableCellElement_colSpan (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setColSpan (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_headers (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setHeaders (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLTableCellElement_noWrap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setNoWrap (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableCellElement_rowSpan (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setRowSpan (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_scope (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setScope (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableCellElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableColElement.cpp b/kdejava/koala/kdejava/HTMLTableColElement.cpp deleted file mode 100644 index 98e8ffbd..00000000 --- a/kdejava/koala/kdejava/HTMLTableColElement.cpp +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_table.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTableColElement.h> - -class HTMLTableColElementJBridge : public DOM::HTMLTableColElement -{ -public: - HTMLTableColElementJBridge() : DOM::HTMLTableColElement() {}; - HTMLTableColElementJBridge(const DOM::HTMLTableColElement& arg1) : DOM::HTMLTableColElement(arg1) {}; - HTMLTableColElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableColElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableColElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_HTMLTableColElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableColElementJBridge((const DOM::HTMLTableColElement&)*(const DOM::HTMLTableColElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableColElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setSpan(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setSpan((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableColElement_span(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->span(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableColElement.h b/kdejava/koala/kdejava/HTMLTableColElement.h deleted file mode 100644 index fa921109..00000000 --- a/kdejava/koala/kdejava/HTMLTableColElement.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableColElement__ -#define __org_kde_koala_HTMLTableColElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_HTMLTableColElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableColElement_span (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setSpan (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableColElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableElement.cpp b/kdejava/koala/kdejava/HTMLTableElement.cpp deleted file mode 100644 index f6e60198..00000000 --- a/kdejava/koala/kdejava/HTMLTableElement.cpp +++ /dev/null @@ -1,305 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_element.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> -#include <dom/html_table.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTableElement.h> - -class HTMLTableElementJBridge : public DOM::HTMLTableElement -{ -public: - HTMLTableElementJBridge() : DOM::HTMLTableElement() {}; - HTMLTableElementJBridge(const DOM::HTMLTableElement& arg1) : DOM::HTMLTableElement(arg1) {}; - HTMLTableElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_border(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->border(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_caption(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableCaptionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->caption()), "org.kde.koala.HTMLTableCaptionElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_cellPadding(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->cellPadding(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_cellSpacing(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->cellSpacing(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_createCaption(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createCaption()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_createTFoot(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createTFoot()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_createTHead(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createTHead()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteCaption(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteCaption(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteRow(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteRow((long) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteTFoot(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteTFoot(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteTHead(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteTHead(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_frame(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->frame(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_insertRow(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->insertRow((long) index)), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_HTMLTableElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableElementJBridge((const DOM::HTMLTableElement&)*(const DOM::HTMLTableElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_rows(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->rows()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_rules(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->rules(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setCaption(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setCaption((const DOM::HTMLTableCaptionElement&)*(const DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setCellPadding(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setCellPadding((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setCellSpacing(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setCellSpacing((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setFrame(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setFrame((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setRules(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setRules((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setSummary(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setSummary((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setTFoot(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setTFoot((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setTHead(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setTHead((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_summary(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->summary(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_tBodies(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tBodies()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_tFoot(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableSectionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tFoot()), "org.kde.koala.HTMLTableSectionElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_tHead(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableSectionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tHead()), "org.kde.koala.HTMLTableSectionElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableElement.h b/kdejava/koala/kdejava/HTMLTableElement.h deleted file mode 100644 index 22802f78..00000000 --- a/kdejava/koala/kdejava/HTMLTableElement.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableElement__ -#define __org_kde_koala_HTMLTableElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_HTMLTableElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_caption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setCaption (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_tHead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setTHead (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_tFoot (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setTFoot (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_tBodies (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_border (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_cellPadding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setCellPadding (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_cellSpacing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setCellSpacing (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_frame (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setFrame (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_rules (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setRules (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_summary (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setSummary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_createTHead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteTHead (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_createTFoot (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteTFoot (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_createCaption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteCaption (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_insertRow (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteRow (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableRowElement.cpp b/kdejava/koala/kdejava/HTMLTableRowElement.cpp deleted file mode 100644 index 583213ae..00000000 --- a/kdejava/koala/kdejava/HTMLTableRowElement.cpp +++ /dev/null @@ -1,185 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_element.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> -#include <dom/html_table.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTableRowElement.h> - -class HTMLTableRowElementJBridge : public DOM::HTMLTableRowElement -{ -public: - HTMLTableRowElementJBridge() : DOM::HTMLTableRowElement() {}; - HTMLTableRowElementJBridge(const DOM::HTMLTableRowElement& arg1) : DOM::HTMLTableRowElement(arg1) {}; - HTMLTableRowElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableRowElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableRowElement_cells(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->cells()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_deleteCell(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->deleteCell((long) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableRowElement_insertCell(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->insertCell((long) index)), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableRowElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_HTMLTableRowElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableRowElementJBridge((const DOM::HTMLTableRowElement&)*(const DOM::HTMLTableRowElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableRowElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableRowElement_rowIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->rowIndex(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableRowElement_sectionRowIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->sectionRowIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setCells(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setCells((const DOM::HTMLCollection&)*(const DOM::HTMLCollection*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setRowIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setRowIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setSectionRowIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setSectionRowIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableRowElement.h b/kdejava/koala/kdejava/HTMLTableRowElement.h deleted file mode 100644 index 399b053c..00000000 --- a/kdejava/koala/kdejava/HTMLTableRowElement.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableRowElement__ -#define __org_kde_koala_HTMLTableRowElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_HTMLTableRowElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableRowElement_rowIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setRowIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableRowElement_sectionRowIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setSectionRowIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableRowElement_cells (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setCells (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableRowElement_insertCell (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_deleteCell (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableRowElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableSectionElement.cpp b/kdejava/koala/kdejava/HTMLTableSectionElement.cpp deleted file mode 100644 index aa06b5ae..00000000 --- a/kdejava/koala/kdejava/HTMLTableSectionElement.cpp +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_element.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_misc.h> -#include <dom/html_table.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTableSectionElement.h> - -class HTMLTableSectionElementJBridge : public DOM::HTMLTableSectionElement -{ -public: - HTMLTableSectionElementJBridge() : DOM::HTMLTableSectionElement() {}; - HTMLTableSectionElementJBridge(const DOM::HTMLTableSectionElement& arg1) : DOM::HTMLTableSectionElement(arg1) {}; - HTMLTableSectionElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableSectionElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_deleteRow(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->deleteRow((long) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableSectionElement_insertRow(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->insertRow((long) index)), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableSectionElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_HTMLTableSectionElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableSectionElementJBridge((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableSectionElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableSectionElement_rows(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->rows()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableSectionElement.h b/kdejava/koala/kdejava/HTMLTableSectionElement.h deleted file mode 100644 index 9cd0f98e..00000000 --- a/kdejava/koala/kdejava/HTMLTableSectionElement.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableSectionElement__ -#define __org_kde_koala_HTMLTableSectionElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_HTMLTableSectionElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableSectionElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableSectionElement_insertRow (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_deleteRow (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableSectionElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTextAreaElement.cpp b/kdejava/koala/kdejava/HTMLTextAreaElement.cpp deleted file mode 100644 index 959f5633..00000000 --- a/kdejava/koala/kdejava/HTMLTextAreaElement.cpp +++ /dev/null @@ -1,217 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_form.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTextAreaElement.h> - -class HTMLTextAreaElementJBridge : public DOM::HTMLTextAreaElement -{ -public: - HTMLTextAreaElementJBridge() : DOM::HTMLTextAreaElement() {}; - HTMLTextAreaElementJBridge(const DOM::HTMLTextAreaElement& arg1) : DOM::HTMLTextAreaElement(arg1) {}; - HTMLTextAreaElementJBridge(const DOM::Node& arg1) : DOM::HTMLTextAreaElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTextAreaElement_cols(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->cols(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_defaultValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->defaultValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLTextAreaElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTextAreaElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_HTMLTextAreaElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge((const DOM::HTMLTextAreaElement&)*(const DOM::HTMLTextAreaElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLTextAreaElement_readOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->readOnly(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTextAreaElement_rows(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->rows(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_select(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->select(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setCols(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setCols((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setDefaultValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setDefaultValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setRows(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setRows((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTextAreaElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTextAreaElement.h b/kdejava/koala/kdejava/HTMLTextAreaElement.h deleted file mode 100644 index 30dc9072..00000000 --- a/kdejava/koala/kdejava/HTMLTextAreaElement.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTextAreaElement__ -#define __org_kde_koala_HTMLTextAreaElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_HTMLTextAreaElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_defaultValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setDefaultValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTextAreaElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTextAreaElement_cols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setCols (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLTextAreaElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLTextAreaElement_readOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTextAreaElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setRows (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTextAreaElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_focus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_select (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTextAreaElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTitleElement.cpp b/kdejava/koala/kdejava/HTMLTitleElement.cpp deleted file mode 100644 index eca01cf9..00000000 --- a/kdejava/koala/kdejava/HTMLTitleElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_head.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLTitleElement.h> - -class HTMLTitleElementJBridge : public DOM::HTMLTitleElement -{ -public: - HTMLTitleElementJBridge() : DOM::HTMLTitleElement() {}; - HTMLTitleElementJBridge(const DOM::HTMLTitleElement& arg1) : DOM::HTMLTitleElement(arg1) {}; - HTMLTitleElementJBridge(const DOM::Node& arg1) : DOM::HTMLTitleElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTitleElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_HTMLTitleElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTitleElementJBridge((const DOM::HTMLTitleElement&)*(const DOM::HTMLTitleElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTitleElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTitleElement*) QtSupport::getQt(env, obj))->setText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTitleElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTitleElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTitleElement.h b/kdejava/koala/kdejava/HTMLTitleElement.h deleted file mode 100644 index c125303c..00000000 --- a/kdejava/koala/kdejava/HTMLTitleElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTitleElement__ -#define __org_kde_koala_HTMLTitleElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_HTMLTitleElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTitleElement_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_setText (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTitleElement__ */ diff --git a/kdejava/koala/kdejava/HTMLUListElement.cpp b/kdejava/koala/kdejava/HTMLUListElement.cpp deleted file mode 100644 index 188e2294..00000000 --- a/kdejava/koala/kdejava/HTMLUListElement.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/html_list.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HTMLUListElement.h> - -class HTMLUListElementJBridge : public DOM::HTMLUListElement -{ -public: - HTMLUListElementJBridge() : DOM::HTMLUListElement() {}; - HTMLUListElementJBridge(const DOM::HTMLUListElement& arg1) : DOM::HTMLUListElement(arg1) {}; - HTMLUListElementJBridge(const DOM::Node& arg1) : DOM::HTMLUListElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLUListElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLUListElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_HTMLUListElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLUListElementJBridge((const DOM::HTMLUListElement&)*(const DOM::HTMLUListElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLUListElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLUListElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLUListElement.h b/kdejava/koala/kdejava/HTMLUListElement.h deleted file mode 100644 index 4ab4cbd9..00000000 --- a/kdejava/koala/kdejava/HTMLUListElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLUListElement__ -#define __org_kde_koala_HTMLUListElement__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_HTMLUListElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLUListElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_setCompact (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLUListElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_setType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLUListElement__ */ diff --git a/kdejava/koala/kdejava/HistoryProvider.cpp b/kdejava/koala/kdejava/HistoryProvider.cpp deleted file mode 100644 index 68c491c5..00000000 --- a/kdejava/koala/kdejava/HistoryProvider.cpp +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeparts/historyprovider.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/HistoryProvider.h> - -class HistoryProviderJBridge : public KParts::HistoryProvider -{ -public: - HistoryProviderJBridge(TQObject* arg1,const char* arg2) : KParts::HistoryProvider(arg1,arg2) {}; - HistoryProviderJBridge(TQObject* arg1) : KParts::HistoryProvider(arg1) {}; - HistoryProviderJBridge() : KParts::HistoryProvider() {}; - void public_clear() { - KParts::HistoryProvider::clear(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.HistoryProvider","clear")) { - HistoryProvider::clear(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.HistoryProvider",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HistoryProvider_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_clear(JNIEnv* env, jobject obj) -{ - ((HistoryProviderJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HistoryProvider_contains(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jboolean xret = (jboolean) ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_insert(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HistoryProvider_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_newHistoryProvider__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HistoryProviderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HistoryProviderJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HistoryProviderJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_remove(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HistoryProvider_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)HistoryProviderJBridge::self(), "org.kde.koala.HistoryProvider"); - return xret; -} - diff --git a/kdejava/koala/kdejava/HistoryProvider.h b/kdejava/koala/kdejava/HistoryProvider.h deleted file mode 100644 index 1637ffb3..00000000 --- a/kdejava/koala/kdejava/HistoryProvider.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HistoryProvider__ -#define __org_kde_koala_HistoryProvider__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HistoryProvider_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HistoryProvider_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_newHistoryProvider__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HistoryProvider_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_insert (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HistoryProvider_self (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HistoryProvider__ */ diff --git a/kdejava/koala/kdejava/Job.cpp b/kdejava/koala/kdejava/Job.cpp deleted file mode 100644 index 24b22f7c..00000000 --- a/kdejava/koala/kdejava/Job.cpp +++ /dev/null @@ -1,415 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Job.h> - -class JobJBridge : public TDEIO::Job -{ -public: - void public_kill() { - TDEIO::Job::kill(); - return; - } - JobJBridge(bool arg1) : TDEIO::Job(arg1) {}; - void protected_addSubjob(TDEIO::Job* arg1,bool arg2) { - TDEIO::Job::addSubjob(arg1,arg2); - return; - } - void protected_addSubjob(TDEIO::Job* arg1) { - TDEIO::Job::addSubjob(arg1); - return; - } - void protected_removeSubjob(TDEIO::Job* arg1) { - TDEIO::Job::removeSubjob(arg1); - return; - } - void protected_removeSubjob(TDEIO::Job* arg1,bool arg2,bool arg3) { - TDEIO::Job::removeSubjob(arg1,arg2,arg3); - return; - } - void protected_emitPercent(TDEIO::filesize_t arg1,TDEIO::filesize_t arg2) { - TDEIO::Job::emitPercent(arg1,arg2); - return; - } - void protected_emitSpeed(unsigned long arg1) { - TDEIO::Job::emitSpeed(arg1); - return; - } - void protected_emitResult() { - TDEIO::Job::emitResult(); - return; - } - void protected_setProcessedSize(TDEIO::filesize_t arg1) { - TDEIO::Job::setProcessedSize(arg1); - return; - } - int& protected_extraFlags() { - return (int&) TDEIO::Job::extraFlags(); - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::Job::slotResult(arg1); - return; - } - void protected_slotSpeed(TDEIO::Job* arg1,unsigned long arg2) { - TDEIO::Job::slotSpeed(arg1,arg2); - return; - } - void protected_slotInfoMessage(TDEIO::Job* arg1,const TQString& arg2) { - TDEIO::Job::slotInfoMessage(arg1,arg2); - return; - } - void protected_slotSpeedTimeout() { - TDEIO::Job::slotSpeedTimeout(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - Job::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Job",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_addMetaData(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((TDEIO::Job*) QtSupport::getQt(env, obj))->addMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2(JNIEnv* env, jobject obj, jobject job) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_addSubjob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2Z(JNIEnv* env, jobject obj, jobject job, jboolean inheritMetaData) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_addSubjob((TDEIO::Job*) QtSupport::getQt(env, job), (bool) inheritMetaData); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_detailedErrorStrings__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEIO::Job*) QtSupport::getQt(env, obj))->detailedErrorStrings(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject reqUrl) -{ - TQStringList _qlist; - _qlist = ((TDEIO::Job*) QtSupport::getQt(env, obj))->detailedErrorStrings((const KURL*) QtSupport::getQt(env, reqUrl)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject reqUrl, jint method) -{ - TQStringList _qlist; - _qlist = ((TDEIO::Job*) QtSupport::getQt(env, obj))->detailedErrorStrings((const KURL*) QtSupport::getQt(env, reqUrl), (int) method); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_emitPercent(JNIEnv* env, jobject obj, jlong processedSize, jlong totalSize) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_emitPercent((TDEIO::filesize_t) processedSize, (TDEIO::filesize_t) totalSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_emitResult(JNIEnv* env, jobject obj) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_emitResult(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_emitSpeed(JNIEnv* env, jobject obj, jlong speed) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_emitSpeed((unsigned long) speed); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_errorText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->errorText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Job_error(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Job*) QtSupport::getQt(env, obj))->error(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Job_extraFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((JobJBridge*) QtSupport::getQt(env, obj))->protected_extraFlags(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Job_getProcessedSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TDEIO::Job*) QtSupport::getQt(env, obj))->getProcessedSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Job_isAutoErrorHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Job*) QtSupport::getQt(env, obj))->isAutoErrorHandlingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Job_isAutoWarningHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Job*) QtSupport::getQt(env, obj))->isAutoWarningHandlingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Job_isInteractive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Job*) QtSupport::getQt(env, obj))->isInteractive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_kill__(JNIEnv* env, jobject obj) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->public_kill(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_kill__Z(JNIEnv* env, jobject obj, jboolean quietly) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->kill((bool) quietly); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Job*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_newJob(JNIEnv* env, jobject obj, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new JobJBridge((bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_parentJob(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Job*) QtSupport::getQt(env, obj))->parentJob(), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Job_progressId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Job*) QtSupport::getQt(env, obj))->progressId(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_queryMetaData(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQString* _qstring_key = 0; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->queryMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2(JNIEnv* env, jobject obj, jobject job) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_removeSubjob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2ZZ(JNIEnv* env, jobject obj, jobject job, jboolean mergeMetaData, jboolean emitResultIfLast) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_removeSubjob((TDEIO::Job*) QtSupport::getQt(env, job), (bool) mergeMetaData, (bool) emitResultIfLast); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__Z(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setAutoErrorHandlingEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean enable, jobject parentWidget) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setAutoErrorHandlingEnabled((bool) enable, (TQWidget*) QtSupport::getQt(env, parentWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setAutoWarningHandlingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setAutoWarningHandlingEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setInteractive(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setInteractive((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setParentJob(JNIEnv* env, jobject obj, jobject parentJob) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setParentJob((TDEIO::Job*) QtSupport::getQt(env, parentJob)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setProcessedSize(JNIEnv* env, jobject obj, jlong size) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_setProcessedSize((TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setWindow(JNIEnv* env, jobject obj, jobject window) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setWindow((TQWidget*) QtSupport::getQt(env, window)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_showErrorDialog__(JNIEnv* env, jobject obj) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->showErrorDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_showErrorDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->showErrorDialog((TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotInfoMessage(JNIEnv* env, jobject obj, jobject job, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotInfoMessage((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotSpeedTimeout(JNIEnv* env, jobject obj) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotSpeedTimeout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotSpeed(JNIEnv* env, jobject obj, jobject job, jlong speed) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotSpeed((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) speed); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_window(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Job*) QtSupport::getQt(env, obj))->window(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Job.h b/kdejava/koala/kdejava/Job.h deleted file mode 100644 index aa1ab81f..00000000 --- a/kdejava/koala/kdejava/Job.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Job__ -#define __org_kde_koala_Job__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_kill__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_kill__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Job_error (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Job_progressId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_errorText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_errorString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_detailedErrorStrings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_showErrorDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_showErrorDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Job_isAutoErrorHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setAutoWarningHandlingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Job_isAutoWarningHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setInteractive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Job_isInteractive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_window (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setParentJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_parentJob (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_addMetaData (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_queryMetaData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Job_getProcessedSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_newJob (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_emitPercent (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_emitSpeed (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_emitResult (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setProcessedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Job_extraFlags (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotInfoMessage (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotSpeedTimeout (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Job__ */ diff --git a/kdejava/koala/kdejava/KActiveLabel.cpp b/kdejava/koala/kdejava/KActiveLabel.cpp deleted file mode 100644 index e25f494b..00000000 --- a/kdejava/koala/kdejava/KActiveLabel.cpp +++ /dev/null @@ -1,771 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kactivelabel.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KActiveLabel.h> - -class KActiveLabelJBridge : public KActiveLabel -{ -public: - KActiveLabelJBridge(TQWidget* arg1,const char* arg2) : KActiveLabel(arg1,arg2) {}; - KActiveLabelJBridge(TQWidget* arg1) : KActiveLabel(arg1) {}; - KActiveLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KActiveLabel(arg1,arg2,arg3) {}; - KActiveLabelJBridge(const TQString& arg1,TQWidget* arg2) : KActiveLabel(arg1,arg2) {}; - void protected_focusInEvent(TQFocusEvent* arg1) { - KActiveLabel::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - KActiveLabel::focusOutEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KActiveLabel::keyPressEvent(arg1); - return; - } - ~KActiveLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KActiveLabel::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void home() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","home")) { - TQTextBrowser::home(); - } - 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.KActiveLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KActiveLabel::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void backward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","backward")) { - TQTextBrowser::backward(); - } - return; - } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); - } - return; - } - void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void reload() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","reload")) { - TQTextBrowser::reload(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KActiveLabel::focusInEvent(arg1); - } - return; - } - void forward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","forward")) { - TQTextBrowser::forward(); - } - 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")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActiveLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KActiveLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KActiveLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KActiveLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KActiveLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_focusInEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((KActiveLabelJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((KActiveLabelJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActiveLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KActiveLabelJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActiveLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActiveLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActiveLabel_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KActiveLabel*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActiveLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActiveLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_KActiveLabel_newKActiveLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActiveLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_newKActiveLabel__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 KActiveLabelJBridge((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_KActiveLabel_openLink(JNIEnv* env, jobject obj, jstring link) -{ -static TQString* _qstring_link = 0; - ((KActiveLabel*) QtSupport::getQt(env, obj))->openLink((const TQString&)*(TQString*) QtSupport::toTQString(env, link, &_qstring_link)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActiveLabel_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KActiveLabel*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KActiveLabel.h b/kdejava/koala/kdejava/KActiveLabel.h deleted file mode 100644 index fb106932..00000000 --- a/kdejava/koala/kdejava/KActiveLabel.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KActiveLabel__ -#define __org_kde_koala_KActiveLabel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActiveLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActiveLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActiveLabel_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActiveLabel_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_openLink (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActiveLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KActiveLabel__ */ diff --git a/kdejava/koala/kdejava/KAnimWidget.cpp b/kdejava/koala/kdejava/KAnimWidget.cpp deleted file mode 100644 index 9d7ee5b2..00000000 --- a/kdejava/koala/kdejava/KAnimWidget.cpp +++ /dev/null @@ -1,608 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kanimwidget.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAnimWidget.h> - -class KAnimWidgetJBridge : public KAnimWidget -{ -public: - KAnimWidgetJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4) : KAnimWidget(arg1,arg2,arg3,arg4) {}; - KAnimWidgetJBridge(const TQString& arg1,int arg2,TQWidget* arg3) : KAnimWidget(arg1,arg2,arg3) {}; - KAnimWidgetJBridge(const TQString& arg1,int arg2) : KAnimWidget(arg1,arg2) {}; - KAnimWidgetJBridge(const TQString& arg1) : KAnimWidget(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - KAnimWidget::drawContents(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KAnimWidget::leaveEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - KAnimWidget::enterEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KAnimWidget::hideEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KAnimWidget::showEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KAnimWidget::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KAnimWidget::mouseReleaseEvent(arg1); - return; - } - void protected_slotTimerUpdate() { - KAnimWidget::slotTimerUpdate(); - return; - } - void protected_updateIcons() { - KAnimWidget::updateIcons(); - return; - } - ~KAnimWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KAnimWidget::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","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.KAnimWidget","show")) { - TQWidget::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.KAnimWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KAnimWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","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")) { - KAnimWidget::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KAnimWidget::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")) { - KAnimWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KAnimWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","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")) { - KAnimWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KAnimWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAnimWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAnimWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAnimWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_drawContents(JNIEnv* env, jobject obj, jobject p) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_enterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KAnimWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KAnimWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_hideEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAnimWidget_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KAnimWidget*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAnimWidget_icons(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAnimWidget*) QtSupport::getQt(env, obj))->icons(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAnimWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAnimWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAnimWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icons) -{ -static TQString* _qstring_icons = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icons, jint size) -{ -static TQString* _qstring_icons = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) size)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring icons, jint size, jobject parent) -{ -static TQString* _qstring_icons = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) size, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icons, jint size, jobject parent, jstring name) -{ -static TQString* _qstring_icons = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) size, (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_KAnimWidget_setIcons(JNIEnv* env, jobject obj, jstring icons) -{ -static TQString* _qstring_icons = 0; - ((KAnimWidget*) QtSupport::getQt(env, obj))->setIcons((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_setSize(JNIEnv* env, jobject obj, jint size) -{ - ((KAnimWidget*) QtSupport::getQt(env, obj))->setSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_slotTimerUpdate(JNIEnv* env, jobject obj) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotTimerUpdate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_start(JNIEnv* env, jobject obj) -{ - ((KAnimWidget*) QtSupport::getQt(env, obj))->start(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_stop(JNIEnv* env, jobject obj) -{ - ((KAnimWidget*) QtSupport::getQt(env, obj))->stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_updateIcons(JNIEnv* env, jobject obj) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateIcons(); - return; -} - diff --git a/kdejava/koala/kdejava/KAnimWidget.h b/kdejava/koala/kdejava/KAnimWidget.h deleted file mode 100644 index 8411e8e3..00000000 --- a/kdejava/koala/kdejava/KAnimWidget.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAnimWidget__ -#define __org_kde_koala_KAnimWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAnimWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAnimWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAnimWidget_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAnimWidget_icons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_setIcons (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_slotTimerUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_updateIcons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAnimWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAnimWidget__ */ diff --git a/kdejava/koala/kdejava/KAr.cpp b/kdejava/koala/kdejava/KAr.cpp deleted file mode 100644 index e6f48c1b..00000000 --- a/kdejava/koala/kdejava/KAr.cpp +++ /dev/null @@ -1,115 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kar.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAr.h> - -class KArJBridge : public KAr -{ -public: - KArJBridge(const TQString& arg1) : KAr(arg1) {}; - KArJBridge(TQIODevice* arg1) : KAr(arg1) {}; - bool protected_openArchive(int arg1) { - return (bool) KAr::openArchive(arg1); - } - bool protected_closeArchive() { - return (bool) KAr::closeArchive(); - } - ~KArJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_closeArchive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArJBridge*) QtSupport::getQt(env, obj))->protected_closeArchive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAr_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KAr*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAr_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAr*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KAr*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_newKAr__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_newKAr__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArJBridge((TQIODevice*) QtSupport::getQt(env, dev))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_openArchive(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KArJBridge*) QtSupport::getQt(env, obj))->protected_openArchive((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_prepareWriting(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KAr*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_writeDir(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KAr*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KAr.h b/kdejava/koala/kdejava/KAr.h deleted file mode 100644 index 631096d6..00000000 --- a/kdejava/koala/kdejava/KAr.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAr__ -#define __org_kde_koala_KAr__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_newKAr__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_newKAr__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAr_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_prepareWriting (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_doneWriting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_writeDir (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_openArchive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_closeArchive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAr__ */ diff --git a/kdejava/koala/kdejava/KArchive.cpp b/kdejava/koala/kdejava/KArchive.cpp deleted file mode 100644 index afd33340..00000000 --- a/kdejava/koala/kdejava/KArchive.cpp +++ /dev/null @@ -1,163 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <karchive.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KArchive.h> - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_addLocalDirectory(JNIEnv* env, jobject obj, jstring path, jstring destName) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_destName = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->addLocalDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, destName, &_qstring_destName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_addLocalFile(JNIEnv* env, jobject obj, jstring fileName, jstring destName) -{ -static TQString* _qstring_fileName = 0; -static TQString* _qstring_destName = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->addLocalFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const TQString&)*(TQString*) QtSupport::toTQString(env, destName, &_qstring_destName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_closeSucceeded(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->closeSucceeded(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchive_close(JNIEnv* env, jobject obj) -{ - ((KArchive*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchive_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchive*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchive_directory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchive*) QtSupport::getQt(env, obj))->directory(), "org.kde.koala.KArchiveDirectory"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_isOpened(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->isOpened(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchive_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchive*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeData(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeData((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeSymLink(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeSymLink((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - diff --git a/kdejava/koala/kdejava/KArchive.h b/kdejava/koala/kdejava/KArchive.h deleted file mode 100644 index 2a7213d4..00000000 --- a/kdejava/koala/kdejava/KArchive.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchive__ -#define __org_kde_koala_KArchive__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchive_close (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_closeSucceeded (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_isOpened (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchive_mode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchive_device (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchive_directory (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_addLocalFile (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_addLocalDirectory (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII (JNIEnv *env, jobject, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeSymLink (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeData (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_doneWriting (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchive__ */ diff --git a/kdejava/koala/kdejava/KArchiveDirectory.cpp b/kdejava/koala/kdejava/KArchiveDirectory.cpp deleted file mode 100644 index 951f9d0f..00000000 --- a/kdejava/koala/kdejava/KArchiveDirectory.cpp +++ /dev/null @@ -1,99 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <karchive.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KArchiveDirectory.h> - -class KArchiveDirectoryJBridge : public KArchiveDirectory -{ -public: - KArchiveDirectoryJBridge(KArchive* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7) : KArchiveDirectory(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - ~KArchiveDirectoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_addEntry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KArchiveDirectory*) QtSupport::getQt(env, obj))->addEntry((KArchiveEntry*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dest) -{ -static TQString* _qstring_dest = 0; - ((KArchiveDirectory*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dest, jboolean recursive) -{ -static TQString* _qstring_dest = 0; - ((KArchiveDirectory*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (bool) recursive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArchiveDirectory_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveDirectory_entries(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KArchiveDirectory*) QtSupport::getQt(env, obj))->entries(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveDirectory_entry(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchiveDirectory*) QtSupport::getQt(env, obj))->entry((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KArchiveEntry"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KArchiveDirectory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveDirectory_isDirectory(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveDirectory*) QtSupport::getQt(env, obj))->isDirectory(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveDirectory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_newKArchiveDirectory(JNIEnv* env, jobject obj, jobject archive, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArchiveDirectoryJBridge((KArchive*) QtSupport::getQt(env, archive), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KArchiveDirectory.h b/kdejava/koala/kdejava/KArchiveDirectory.h deleted file mode 100644 index 9d07c826..00000000 --- a/kdejava/koala/kdejava/KArchiveDirectory.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchiveDirectory__ -#define __org_kde_koala_KArchiveDirectory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_newKArchiveDirectory (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveDirectory_entries (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveDirectory_entry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_addEntry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveDirectory_isDirectory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveDirectory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchiveDirectory__ */ diff --git a/kdejava/koala/kdejava/KArchiveEntry.cpp b/kdejava/koala/kdejava/KArchiveEntry.cpp deleted file mode 100644 index 7465ca8f..00000000 --- a/kdejava/koala/kdejava/KArchiveEntry.cpp +++ /dev/null @@ -1,131 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <karchive.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KArchiveEntry.h> - -class KArchiveEntryJBridge : public KArchiveEntry -{ -public: - KArchiveEntryJBridge(KArchive* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7) : KArchiveEntry(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KArchive* protected_archive() { - return (KArchive*) KArchiveEntry::archive(); - } - ~KArchiveEntryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveEntry_archive(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchiveEntryJBridge*) QtSupport::getQt(env, obj))->protected_archive(), "org.kde.koala.KArchive"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchiveEntry_date(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchiveEntry*) QtSupport::getQt(env, obj))->date(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveEntry_datetime(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KArchiveEntry*) QtSupport::getQt(env, obj))->datetime(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveEntry_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArchiveEntry_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveEntry_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KArchiveEntry*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveEntry_isDirectory(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveEntry*) QtSupport::getQt(env, obj))->isDirectory(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveEntry_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveEntry_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveEntry*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveEntry_newKArchiveEntry(JNIEnv* env, jobject obj, jobject archive, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArchiveEntryJBridge((KArchive*) QtSupport::getQt(env, archive), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KArchiveEntry_permissions(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KArchiveEntry*) QtSupport::getQt(env, obj))->permissions(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_symlink(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->symlink(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KArchiveEntry.h b/kdejava/koala/kdejava/KArchiveEntry.h deleted file mode 100644 index 784ccf3c..00000000 --- a/kdejava/koala/kdejava/KArchiveEntry.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchiveEntry__ -#define __org_kde_koala_KArchiveEntry__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveEntry_newKArchiveEntry (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveEntry_datetime (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchiveEntry_date (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_name (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KArchiveEntry_permissions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_user (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_group (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_symlink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveEntry_isFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveEntry_isDirectory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveEntry_archive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveEntry_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveEntry_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveEntry_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchiveEntry__ */ diff --git a/kdejava/koala/kdejava/KArchiveFile.cpp b/kdejava/koala/kdejava/KArchiveFile.cpp deleted file mode 100644 index a1c31857..00000000 --- a/kdejava/koala/kdejava/KArchiveFile.cpp +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <karchive.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KArchiveFile.h> - -class KArchiveFileJBridge : public KArchiveFile -{ -public: - KArchiveFileJBridge(KArchive* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7,int arg8,int arg9) : KArchiveFile(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - ~KArchiveFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_copyTo(JNIEnv* env, jobject obj, jstring dest) -{ -static TQString* _qstring_dest = 0; - ((KArchiveFile*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest)); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KArchiveFile_data(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KArchiveFile*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveFile_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchiveFile*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArchiveFile_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KArchiveFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveFile_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveFile*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_newKArchiveFile(JNIEnv* env, jobject obj, jobject archive, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink, jint pos, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArchiveFileJBridge((KArchive*) QtSupport::getQt(env, archive), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink), (int) pos, (int) size)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchiveFile_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchiveFile*) QtSupport::getQt(env, obj))->position(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_setSize(JNIEnv* env, jobject obj, jint s) -{ - ((KArchiveFile*) QtSupport::getQt(env, obj))->setSize((int) s); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchiveFile_size(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchiveFile*) QtSupport::getQt(env, obj))->size(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KArchiveFile.h b/kdejava/koala/kdejava/KArchiveFile.h deleted file mode 100644 index 22b2155f..00000000 --- a/kdejava/koala/kdejava/KArchiveFile.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchiveFile__ -#define __org_kde_koala_KArchiveFile__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_newKArchiveFile (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchiveFile_position (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchiveFile_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KArchiveFile_data (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveFile_device (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveFile_isFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_copyTo (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchiveFile__ */ diff --git a/kdejava/koala/kdejava/KArrowButton.cpp b/kdejava/koala/kdejava/KArrowButton.cpp deleted file mode 100644 index 9eb70d11..00000000 --- a/kdejava/koala/kdejava/KArrowButton.cpp +++ /dev/null @@ -1,496 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <karrowbutton.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KArrowButton.h> - -class KArrowButtonJBridge : public KArrowButton -{ -public: - KArrowButtonJBridge(TQWidget* arg1,TQt::ArrowType arg2,const char* arg3) : KArrowButton(arg1,arg2,arg3) {}; - KArrowButtonJBridge(TQWidget* arg1,TQt::ArrowType arg2) : KArrowButton(arg1,arg2) {}; - KArrowButtonJBridge(TQWidget* arg1) : KArrowButton(arg1) {}; - KArrowButtonJBridge() : KArrowButton() {}; - void protected_drawButton(TQPainter* arg1) { - KArrowButton::drawButton(arg1); - return; - } - ~KArrowButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","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.KArrowButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","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")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void drawButton(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButton",(void*)arg1,"org.kde.qt.TQPainter")) { - KArrowButton::drawButton(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KArrowButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArrowButton_arrowTp(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArrowButton*) QtSupport::getQt(env, obj))->arrowTp(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArrowButton_arrowType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArrowButton*) QtSupport::getQt(env, obj))->arrowType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArrowButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KArrowButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArrowButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KArrowButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KArrowButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KArrowButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArrowButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArrowButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArrowButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint arrow) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::ArrowType) arrow)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint arrow, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::ArrowType) arrow, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_setArrowTp(JNIEnv* env, jobject obj, jint tp) -{ - ((KArrowButton*) QtSupport::getQt(env, obj))->setArrowTp((int) tp); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_setArrowType(JNIEnv* env, jobject obj, jint a) -{ - ((KArrowButton*) QtSupport::getQt(env, obj))->setArrowType((TQt::ArrowType) a); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArrowButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KArrowButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KArrowButton.h b/kdejava/koala/kdejava/KArrowButton.h deleted file mode 100644 index 97e902ad..00000000 --- a/kdejava/koala/kdejava/KArrowButton.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArrowButton__ -#define __org_kde_koala_KArrowButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArrowButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArrowButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArrowButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArrowButton_arrowType (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArrowButton_arrowTp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_setArrowTp (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_setArrowType (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArrowButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArrowButton__ */ diff --git a/kdejava/koala/kdejava/KAsyncIO.cpp b/kdejava/koala/kdejava/KAsyncIO.cpp deleted file mode 100644 index fa76c8b9..00000000 --- a/kdejava/koala/kdejava/KAsyncIO.cpp +++ /dev/null @@ -1,285 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqiodevice.h> -#include <kasyncio.h> -#include <tqglobal.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAsyncIO.h> - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAsyncIO_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAsyncIO*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_close(JNIEnv* env, jobject obj) -{ - ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_enableRead(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KAsyncIO*) QtSupport::getQt(env, obj))->enableRead((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_enableWrite(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KAsyncIO*) QtSupport::getQt(env, obj))->enableWrite((bool) enable); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_flags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->flags(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_flush(JNIEnv* env, jobject obj) -{ - ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isAsynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isAsynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isBuffered(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isBuffered(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isCombinedAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isCombinedAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isDirectAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isDirectAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isInactive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isInactive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isRaw(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isRaw(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isReadWrite(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isReadWrite(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isSequentialAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isSequentialAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isSynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isSynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isTranslated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isTranslated(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAsyncIO_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAsyncIO*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KAsyncIO_readAll(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->readAll(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_readBlock(JNIEnv* env, jobject obj, jobject data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - if (_qstring_data == 0) { _qstring_data = new TQCString(); } - _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (TQ_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_readLine(JNIEnv* env, jobject obj, jstring data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) maxlen); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_resetStatus(JNIEnv* env, jobject obj) -{ - ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->resetStatus(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_reset(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->reset(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) len); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KAsyncIO.h b/kdejava/koala/kdejava/KAsyncIO.h deleted file mode 100644 index cbb7a48f..00000000 --- a/kdejava/koala/kdejava/KAsyncIO.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAsyncIO__ -#define __org_kde_koala_KAsyncIO__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAsyncIO_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAsyncIO_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_enableRead (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_enableWrite (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_flags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_mode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_state (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isDirectAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isSequentialAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isCombinedAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isBuffered (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isRaw (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isSynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isAsynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isTranslated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isReadWrite (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isInactive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isOpen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_resetStatus (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_flush (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_reset (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_readLine (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KAsyncIO_readAll (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_ungetch (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAsyncIO__ */ diff --git a/kdejava/koala/kdejava/KAudioPlayer.cpp b/kdejava/koala/kdejava/KAudioPlayer.cpp deleted file mode 100644 index dc1f16c7..00000000 --- a/kdejava/koala/kdejava/KAudioPlayer.cpp +++ /dev/null @@ -1,142 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kaudioplayer.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAudioPlayer.h> - -class KAudioPlayerJBridge : public KAudioPlayer -{ -public: - KAudioPlayerJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : KAudioPlayer(arg1,arg2,arg3) {}; - KAudioPlayerJBridge(const TQString& arg1,TQObject* arg2) : KAudioPlayer(arg1,arg2) {}; - KAudioPlayerJBridge(const TQString& arg1) : KAudioPlayer(arg1) {}; - ~KAudioPlayerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KAudioPlayer",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAudioPlayer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAudioPlayer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAudioPlayer_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KAudioPlayer*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KAudioPlayer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAudioPlayer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAudioPlayer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAudioPlayer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAudioPlayerJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring filename, jobject parent) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAudioPlayerJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jobject parent, jstring name) -{ -static TQString* _qstring_filename = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAudioPlayerJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_play__(JNIEnv* env, jobject obj) -{ - ((KAudioPlayer*) QtSupport::getQt(env, obj))->play(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_play__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - KAudioPlayerJBridge::play((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - diff --git a/kdejava/koala/kdejava/KAudioPlayer.h b/kdejava/koala/kdejava/KAudioPlayer.h deleted file mode 100644 index d97432d9..00000000 --- a/kdejava/koala/kdejava/KAudioPlayer.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAudioPlayer__ -#define __org_kde_koala_KAudioPlayer__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAudioPlayer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAudioPlayer_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_play__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_play__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAudioPlayer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAudioPlayer__ */ diff --git a/kdejava/koala/kdejava/KAuthIcon.cpp b/kdejava/koala/kdejava/KAuthIcon.cpp deleted file mode 100644 index a1334c48..00000000 --- a/kdejava/koala/kdejava/KAuthIcon.cpp +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kauthicon.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAuthIcon.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAuthIcon_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAuthIcon*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAuthIcon_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAuthIcon*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAuthIcon_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KAuthIcon*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAuthIcon_status(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAuthIcon*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAuthIcon_updateStatus(JNIEnv* env, jobject obj) -{ - ((KAuthIcon*) QtSupport::getQt(env, obj))->updateStatus(); - return; -} - diff --git a/kdejava/koala/kdejava/KAuthIcon.h b/kdejava/koala/kdejava/KAuthIcon.h deleted file mode 100644 index e4c2fdc0..00000000 --- a/kdejava/koala/kdejava/KAuthIcon.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAuthIcon__ -#define __org_kde_koala_KAuthIcon__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAuthIcon_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAuthIcon_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAuthIcon_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAuthIcon_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAuthIcon_updateStatus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAuthIcon__ */ diff --git a/kdejava/koala/kdejava/KBugReport.cpp b/kdejava/koala/kdejava/KBugReport.cpp deleted file mode 100644 index 3ca3aa28..00000000 --- a/kdejava/koala/kdejava/KBugReport.cpp +++ /dev/null @@ -1,606 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kbugreport.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KBugReport.h> - -class KBugReportJBridge : public KBugReport -{ -public: - KBugReportJBridge(TQWidget* arg1,bool arg2,const TDEAboutData* arg3) : KBugReport(arg1,arg2,arg3) {}; - KBugReportJBridge(TQWidget* arg1,bool arg2) : KBugReport(arg1,arg2) {}; - KBugReportJBridge(TQWidget* arg1) : KBugReport(arg1) {}; - KBugReportJBridge() : KBugReport() {}; - TQString protected_text() { - return (TQString) KBugReport::text(); - } - bool protected_sendBugReport() { - return (bool) KBugReport::sendBugReport(); - } - void protected_slotConfigureEmail() { - KBugReport::slotConfigureEmail(); - return; - } - void protected_slotSetFrom() { - KBugReport::slotSetFrom(); - return; - } - void protected_slotOk() { - KBugReport::slotOk(); - return; - } - void protected_slotCancel() { - KBugReport::slotCancel(); - return; - } - void protected_appChanged(int arg1) { - KBugReport::appChanged(arg1); - return; - } - void protected_updateURL() { - KBugReport::updateURL(); - return; - } - ~KBugReportJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotCancel")) { - KBugReport::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","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 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 slotSetFrom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotSetFrom")) { - KBugReport::slotSetFrom(); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void slotConfigureEmail() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotConfigureEmail")) { - KBugReport::slotConfigureEmail(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotOk")) { - KBugReport::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_appChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_appChanged((int) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KBugReport_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KBugReport*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KBugReport_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KBugReport*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KBugReport*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KBugReport_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KBugReport_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KBugReport*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parent, jboolean modal) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2ZLorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject parent, jboolean modal, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) modal, (const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KBugReport_sendBugReport(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_sendBugReport(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotCancel(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotConfigureEmail(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotConfigureEmail(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotOk(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotSetFrom(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotSetFrom(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KBugReport_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_updateURL(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_updateURL(); - return; -} - diff --git a/kdejava/koala/kdejava/KBugReport.h b/kdejava/koala/kdejava/KBugReport.h deleted file mode 100644 index 4247ddef..00000000 --- a/kdejava/koala/kdejava/KBugReport.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KBugReport__ -#define __org_kde_koala_KBugReport__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KBugReport_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KBugReport_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2ZLorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KBugReport_text (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KBugReport_sendBugReport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotConfigureEmail (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotSetFrom (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_appChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_updateURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KBugReport_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KBugReport__ */ diff --git a/kdejava/koala/kdejava/KButtonBox.cpp b/kdejava/koala/kdejava/KButtonBox.cpp deleted file mode 100644 index 9b6d831c..00000000 --- a/kdejava/koala/kdejava/KButtonBox.cpp +++ /dev/null @@ -1,579 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsizepolicy.h> -#include <tqsize.h> -#include <tqstring.h> -#include <kbuttonbox.h> -#include <kguiitem.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KButtonBox.h> - -class KButtonBoxJBridge : public KButtonBox -{ -public: - KButtonBoxJBridge(TQWidget* arg1,TQt::Orientation arg2,int arg3,int arg4) : KButtonBox(arg1,arg2,arg3,arg4) {}; - KButtonBoxJBridge(TQWidget* arg1,TQt::Orientation arg2,int arg3) : KButtonBox(arg1,arg2,arg3) {}; - KButtonBoxJBridge(TQWidget* arg1,TQt::Orientation arg2) : KButtonBox(arg1,arg2) {}; - KButtonBoxJBridge(TQWidget* arg1) : KButtonBox(arg1) {}; - TQSize protected_bestButtonSize() { - return (TQSize) KButtonBox::bestButtonSize(); - } - void protected_placeButtons() { - KButtonBox::placeButtons(); - return; - } - TQSize protected_buttonSizeHint(TQPushButton* arg1) { - return (TQSize) KButtonBox::buttonSizeHint(arg1); - } - ~KButtonBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KButtonBox::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","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.KButtonBox","show")) { - TQWidget::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.KButtonBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","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 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.KButtonBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KButtonBox",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring slot, jboolean noexpand) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean noexpand) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject guiitem) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem)), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject guiitem, jobject receiver, jstring slot) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject guiitem, jobject receiver, jstring slot, jboolean noexpand) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Z(JNIEnv* env, jobject obj, jobject guiitem, jboolean noexpand) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_addStretch__(JNIEnv* env, jobject obj) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->addStretch(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_addStretch__I(JNIEnv* env, jobject obj, jint scale) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->addStretch((int) scale); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_bestButtonSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KButtonBoxJBridge*) QtSupport::getQt(env, obj))->protected_bestButtonSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_buttonSizeHint(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KButtonBoxJBridge*) QtSupport::getQt(env, obj))->protected_buttonSizeHint((TQPushButton*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KButtonBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KButtonBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KButtonBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KButtonBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KButtonBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KButtonBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint _orientation) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::Orientation) _orientation)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint _orientation, jint border) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::Orientation) _orientation, (int) border)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint _orientation, jint border, jint _autoborder) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::Orientation) _orientation, (int) border, (int) _autoborder)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_placeButtons(JNIEnv* env, jobject obj) -{ - ((KButtonBoxJBridge*) QtSupport::getQt(env, obj))->protected_placeButtons(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KButtonBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KButtonBox*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_updateLayout(JNIEnv* env, jobject obj) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->layout(); - return; -} - diff --git a/kdejava/koala/kdejava/KButtonBox.h b/kdejava/koala/kdejava/KButtonBox.h deleted file mode 100644 index 281a16ca..00000000 --- a/kdejava/koala/kdejava/KButtonBox.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KButtonBox__ -#define __org_kde_koala_KButtonBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KButtonBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_addStretch__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_addStretch__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_updateLayout (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_bestButtonSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_placeButtons (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_buttonSizeHint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KButtonBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KButtonBox__ */ diff --git a/kdejava/koala/kdejava/KCMultiDialog.cpp b/kdejava/koala/kdejava/KCMultiDialog.cpp deleted file mode 100644 index c86a635a..00000000 --- a/kdejava/koala/kdejava/KCMultiDialog.cpp +++ /dev/null @@ -1,670 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcmultidialog.h> -#include <tdecmoduleinfo.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCMultiDialog.h> - -class KCMultiDialogJBridge : public KCMultiDialog -{ -public: - KCMultiDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KCMultiDialog(arg1,arg2,arg3) {}; - KCMultiDialogJBridge(TQWidget* arg1,const char* arg2) : KCMultiDialog(arg1,arg2) {}; - KCMultiDialogJBridge(TQWidget* arg1) : KCMultiDialog(arg1) {}; - KCMultiDialogJBridge() : KCMultiDialog() {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : KCMultiDialog(arg1,arg2,arg3,arg4,arg5) {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KCMultiDialog(arg1,arg2,arg3,arg4) {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2,TQWidget* arg3) : KCMultiDialog(arg1,arg2,arg3) {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2) : KCMultiDialog(arg1,arg2) {}; - void protected_slotDefault() { - KCMultiDialog::slotDefault(); - return; - } - void protected_slotUser1() { - KCMultiDialog::slotUser1(); - return; - } - void protected_slotApply() { - KCMultiDialog::slotApply(); - return; - } - void protected_slotOk() { - KCMultiDialog::slotOk(); - return; - } - void protected_slotHelp() { - KCMultiDialog::slotHelp(); - return; - } - ~KCMultiDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotHelp")) { - KCMultiDialog::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotDefault")) { - KCMultiDialog::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotApply")) { - KCMultiDialog::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","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 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.KCMultiDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotUser1")) { - KCMultiDialog::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotOk")) { - KCMultiDialog::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring module) -{ -static TQString* _qstring_module = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring module, jboolean withfallback) -{ -static TQString* _qstring_module = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (bool) withfallback); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2(JNIEnv* env, jobject obj, jobject moduleinfo) -{ - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, moduleinfo)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject moduleinfo, jobjectArray parentmodulenames) -{ -static TQStringList* _qlist_parentmodulenames = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, moduleinfo), (TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, parentmodulenames, &_qlist_parentmodulenames)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject moduleinfo, jobjectArray parentmodulenames, jboolean withfallback) -{ -static TQStringList* _qlist_parentmodulenames = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, moduleinfo), (TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, parentmodulenames, &_qlist_parentmodulenames), (bool) withfallback); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCMultiDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCMultiDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCMultiDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCMultiDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCMultiDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCMultiDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCMultiDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCMultiDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (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_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__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 KCMultiDialogJBridge((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_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_removeAllModules(JNIEnv* env, jobject obj) -{ - ((KCMultiDialog*) QtSupport::getQt(env, obj))->removeAllModules(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_show(JNIEnv* env, jobject obj) -{ - ((KCMultiDialog*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotApply(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotDefault(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotHelp(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotUser1(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - diff --git a/kdejava/koala/kdejava/KCMultiDialog.h b/kdejava/koala/kdejava/KCMultiDialog.h deleted file mode 100644 index c87f186f..00000000 --- a/kdejava/koala/kdejava/KCMultiDialog.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCMultiDialog__ -#define __org_kde_koala_KCMultiDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCMultiDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCMultiDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_removeAllModules (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotApply (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCMultiDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCMultiDialog__ */ diff --git a/kdejava/koala/kdejava/KCPUInfo.cpp b/kdejava/koala/kdejava/KCPUInfo.cpp deleted file mode 100644 index 0647a8d8..00000000 --- a/kdejava/koala/kdejava/KCPUInfo.cpp +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcpuinfo.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCPUInfo.h> - -class KCPUInfoJBridge : public KCPUInfo -{ -public: - KCPUInfoJBridge() : KCPUInfo() {}; - ~KCPUInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCPUInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCPUInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCPUInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCPUInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCPUInfo_haveExtension(JNIEnv* env, jclass cls, jint extension) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KCPUInfoJBridge::haveExtension((unsigned int) extension); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCPUInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCPUInfo_newKCPUInfo(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCPUInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KCPUInfo.h b/kdejava/koala/kdejava/KCPUInfo.h deleted file mode 100644 index a48dfd05..00000000 --- a/kdejava/koala/kdejava/KCPUInfo.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCPUInfo__ -#define __org_kde_koala_KCPUInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCPUInfo_newKCPUInfo (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCPUInfo_haveExtension (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCPUInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCPUInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCPUInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCPUInfo__ */ diff --git a/kdejava/koala/kdejava/KCalendarSystem.cpp b/kdejava/koala/kdejava/KCalendarSystem.cpp deleted file mode 100644 index 36e33599..00000000 --- a/kdejava/koala/kdejava/KCalendarSystem.cpp +++ /dev/null @@ -1,342 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <tqstring.h> -#include <kcalendarsystem.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCalendarSystem.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystem_addDays(JNIEnv* env, jobject obj, jobject date, jint ndays) -{ - TQDate _qdate; -static TQDate* _qdate_date = 0; - _qdate = ((KCalendarSystem*) QtSupport::getQt(env, obj))->addDays((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) ndays); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystem_addMonths(JNIEnv* env, jobject obj, jobject date, jint nmonths) -{ - TQDate _qdate; -static TQDate* _qdate_date = 0; - _qdate = ((KCalendarSystem*) QtSupport::getQt(env, obj))->addMonths((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) nmonths); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystem_addYears(JNIEnv* env, jobject obj, jobject date, jint nyears) -{ - TQDate _qdate; -static TQDate* _qdate_date = 0; - _qdate = ((KCalendarSystem*) QtSupport::getQt(env, obj))->addYears((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) nyears); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_calendarName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->calendarName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_dayOfWeek(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayOfWeek((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_dayOfYear(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayOfYear((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_dayStringToInteger(JNIEnv* env, jobject obj, jstring sNum, jintArray iLength) -{ -static TQString* _qstring_sNum = 0; - int* _int_iLength = QtSupport::toIntPtr(env, iLength); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayStringToInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, sNum, &_qstring_sNum), (int&) *_int_iLength); - env->SetIntArrayRegion(iLength, 0, 1, (jint *) _int_iLength); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_dayString(JNIEnv* env, jobject obj, jobject pDate, jboolean bShort) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayString((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) bShort); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_day(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->day((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_daysInMonth(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->daysInMonth((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_daysInYear(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->daysInYear((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_isLunar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->isLunar(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_isLunisolar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->isLunisolar(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_isSolar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->isSolar(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_maxValidYear(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->maxValidYear(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_minValidYear(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->minValidYear(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__II(JNIEnv* env, jobject obj, jint month, jint year) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((int) month, (int) year); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__IIZ(JNIEnv* env, jobject obj, jint month, jint year, jboolean shortName) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((int) month, (int) year, (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject date, jboolean shortName) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__II(JNIEnv* env, jobject obj, jint month, jint year) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((int) month, (int) year); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__IIZ(JNIEnv* env, jobject obj, jint month, jint year, jboolean shortName) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((int) month, (int) year, (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject date, jboolean shortName) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_monthStringToInteger(JNIEnv* env, jobject obj, jstring sNum, jintArray iLength) -{ -static TQString* _qstring_sNum = 0; - int* _int_iLength = QtSupport::toIntPtr(env, iLength); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthStringToInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, sNum, &_qstring_sNum), (int&) *_int_iLength); - env->SetIntArrayRegion(iLength, 0, 1, (jint *) _int_iLength); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthString(JNIEnv* env, jobject obj, jobject pDate, jboolean bShort) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthString((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) bShort); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_month(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->month((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_monthsInYear(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthsInYear((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_setYMD(JNIEnv* env, jobject obj, jobject date, jint y, jint m, jint d) -{ -static TQDate* _qdate_date = 0; - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->setYMD((TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) y, (int) m, (int) d); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__I(JNIEnv* env, jobject obj, jint weekDay) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((int) weekDay); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__IZ(JNIEnv* env, jobject obj, jint weekDay, jboolean shortName) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((int) weekDay, (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject date, jboolean shortName) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayOfPray(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayOfPray(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekNumber((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2_3I(JNIEnv* env, jobject obj, jobject date, jintArray yearNum) -{ -static TQDate* _qdate_date = 0; - int* _int_yearNum = QtSupport::toIntPtr(env, yearNum); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekNumber((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int*) _int_yearNum); - env->SetIntArrayRegion(yearNum, 0, 1, (jint *) _int_yearNum); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weeksInYear(JNIEnv* env, jobject obj, jint year) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weeksInYear((int) year); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_yearStringToInteger(JNIEnv* env, jobject obj, jstring sNum, jintArray iLength) -{ -static TQString* _qstring_sNum = 0; - int* _int_iLength = QtSupport::toIntPtr(env, iLength); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->yearStringToInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, sNum, &_qstring_sNum), (int&) *_int_iLength); - env->SetIntArrayRegion(iLength, 0, 1, (jint *) _int_iLength); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_yearString(JNIEnv* env, jobject obj, jobject pDate, jboolean bShort) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->yearString((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) bShort); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_year(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->year((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCalendarSystem.h b/kdejava/koala/kdejava/KCalendarSystem.h deleted file mode 100644 index 65d0d57b..00000000 --- a/kdejava/koala/kdejava/KCalendarSystem.h +++ /dev/null @@ -1,58 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCalendarSystem__ -#define __org_kde_koala_KCalendarSystem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_year (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_yearString (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_yearStringToInteger (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_month (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthString (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_monthStringToInteger (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_day (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_dayString (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_dayStringToInteger (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_dayOfWeek (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_dayOfYear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_setYMD (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystem_addYears (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystem_addMonths (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystem_addDays (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_monthsInYear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_daysInYear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_daysInMonth (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weeksInYear (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2_3I (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_minValidYear (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_maxValidYear (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weekDayOfPray (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_calendarName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_isLunar (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_isLunisolar (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_isSolar (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCalendarSystem__ */ diff --git a/kdejava/koala/kdejava/KCalendarSystemFactory.cpp b/kdejava/koala/kdejava/KCalendarSystemFactory.cpp deleted file mode 100644 index 2fdf26c2..00000000 --- a/kdejava/koala/kdejava/KCalendarSystemFactory.cpp +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcalendarsystemfactory.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCalendarSystemFactory.h> - -class KCalendarSystemFactoryJBridge : public KCalendarSystemFactory -{ -public: - KCalendarSystemFactoryJBridge() : KCalendarSystemFactory() {}; - ~KCalendarSystemFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_calendarSystems(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KCalendarSystemFactoryJBridge::calendarSystems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_create__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCalendarSystemFactoryJBridge::create(), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring calType) -{ - (void) cls; -static TQString* _qstring_calType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCalendarSystemFactoryJBridge::create((const TQString&)*(TQString*) QtSupport::toTQString(env, calType, &_qstring_calType)), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2Lorg_kde_koala_TDELocale_2(JNIEnv* env, jclass cls, jstring calType, jobject locale) -{ - (void) cls; -static TQString* _qstring_calType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCalendarSystemFactoryJBridge::create((const TQString&)*(TQString*) QtSupport::toTQString(env, calType, &_qstring_calType), (const TDELocale*) QtSupport::getQt(env, locale)), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCalendarSystemFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCalendarSystemFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCalendarSystemFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCalendarSystemFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystemFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCalendarSystemFactory_newKCalendarSystemFactory(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCalendarSystemFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KCalendarSystemFactory.h b/kdejava/koala/kdejava/KCalendarSystemFactory.h deleted file mode 100644 index 3cb73d68..00000000 --- a/kdejava/koala/kdejava/KCalendarSystemFactory.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCalendarSystemFactory__ -#define __org_kde_koala_KCalendarSystemFactory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCalendarSystemFactory_newKCalendarSystemFactory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2Lorg_kde_koala_TDELocale_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_create__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_calendarSystems (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCalendarSystemFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCalendarSystemFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystemFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCalendarSystemFactory__ */ diff --git a/kdejava/koala/kdejava/KCatalogue.cpp b/kdejava/koala/kdejava/KCatalogue.cpp deleted file mode 100644 index 11c4598f..00000000 --- a/kdejava/koala/kdejava/KCatalogue.cpp +++ /dev/null @@ -1,123 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kcatalogue.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCatalogue.h> - -class KCatalogueJBridge : public KCatalogue -{ -public: - KCatalogueJBridge(const TQString& arg1,const TQString& arg2) : KCatalogue(arg1,arg2) {}; - KCatalogueJBridge(const TQString& arg1) : KCatalogue(arg1) {}; - KCatalogueJBridge() : KCatalogue() {}; - KCatalogueJBridge(const KCatalogue& arg1) : KCatalogue(arg1) {}; - ~KCatalogueJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCatalogue_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCatalogue*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCatalogue_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCatalogue_language(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCatalogue*) QtSupport::getQt(env, obj))->language(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCatalogue_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCatalogue*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring language) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_language = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, language, &_qstring_language))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__Lorg_kde_koala_KCatalogue_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge((const KCatalogue&)*(const KCatalogue*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCatalogue_pluralType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCatalogue*) QtSupport::getQt(env, obj))->pluralType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_setPluralType(JNIEnv* env, jobject obj, jint pluralType) -{ - ((KCatalogue*) QtSupport::getQt(env, obj))->setPluralType((int) pluralType); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCatalogue_translate(JNIEnv* env, jobject obj, jstring msgid) -{ - const char* _qstring; -static TQCString* _qstring_msgid = 0; - _qstring = ((KCatalogue*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, msgid, &_qstring_msgid)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - diff --git a/kdejava/koala/kdejava/KCatalogue.h b/kdejava/koala/kdejava/KCatalogue.h deleted file mode 100644 index 1e4faed8..00000000 --- a/kdejava/koala/kdejava/KCatalogue.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCatalogue__ -#define __org_kde_koala_KCatalogue__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__Lorg_kde_koala_KCatalogue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCatalogue_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCatalogue_language (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCatalogue_pluralType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_setPluralType (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCatalogue_translate (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCatalogue_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCatalogue__ */ diff --git a/kdejava/koala/kdejava/KCharSelect.cpp b/kdejava/koala/kdejava/KCharSelect.cpp deleted file mode 100644 index ef01e4b2..00000000 --- a/kdejava/koala/kdejava/KCharSelect.cpp +++ /dev/null @@ -1,729 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqstring.h> -#include <kcharselect.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCharSelect.h> - -class KCharSelectJBridge : public KCharSelect -{ -public: - KCharSelectJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQChar& arg4,int arg5) : KCharSelect(arg1,arg2,arg3,arg4,arg5) {}; - KCharSelectJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQChar& arg4) : KCharSelect(arg1,arg2,arg3,arg4) {}; - KCharSelectJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : KCharSelect(arg1,arg2,arg3) {}; - KCharSelectJBridge(TQWidget* arg1,const char* arg2) : KCharSelect(arg1,arg2) {}; - void protected_fillFontCombo() { - KCharSelect::fillFontCombo(); - return; - } - void protected_fontSelected(const TQString& arg1) { - KCharSelect::fontSelected(arg1); - return; - } - void protected_tableChanged(int arg1) { - KCharSelect::tableChanged(arg1); - return; - } - void protected_charHighlighted(const TQChar& arg1) { - KCharSelect::charHighlighted(arg1); - return; - } - void protected_charHighlighted() { - KCharSelect::charHighlighted(); - return; - } - void protected_charActivated(const TQChar& arg1) { - KCharSelect::charActivated(arg1); - return; - } - void protected_charActivated() { - KCharSelect::charActivated(); - return; - } - void protected_charFocusItemChanged() { - KCharSelect::charFocusItemChanged(); - return; - } - void protected_charFocusItemChanged(const TQChar& arg1) { - KCharSelect::charFocusItemChanged(arg1); - return; - } - void protected_charTableUp() { - KCharSelect::charTableUp(); - return; - } - void protected_charTableDown() { - KCharSelect::charTableDown(); - return; - } - void protected_slotDoubleClicked() { - KCharSelect::slotDoubleClicked(); - return; - } - void protected_slotUnicodeEntered() { - KCharSelect::slotUnicodeEntered(); - return; - } - void protected_slotUpdateUnicode(const TQChar& arg1) { - KCharSelect::slotUpdateUnicode(arg1); - return; - } - static void protected_cleanupFontDatabase() { - KCharSelect::cleanupFontDatabase(); - return; - } - ~KCharSelectJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","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.KCharSelect","show")) { - TQWidget::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.KCharSelect","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - bool isFontComboEnabled() { - return QtSupport::booleanDelegate(this,"isFontComboEnabled"); - } - 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.KCharSelect","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","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 fillFontCombo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","fillFontCombo")) { - KCharSelect::fillFontCombo(); - } - 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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","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 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.KCharSelect","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - bool isTableSpinBoxEnabled() { - return QtSupport::booleanDelegate(this,"isTableSpinBoxEnabled"); - } - 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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KCharSelect",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charActivated__(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charActivated__C(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charActivated((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charFocusItemChanged__(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charFocusItemChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charFocusItemChanged__C(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charFocusItemChanged((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charHighlighted__(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charHighlighted(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charHighlighted__C(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charHighlighted((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charTableDown(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charTableDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charTableUp(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charTableUp(); - return; -} - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharSelect_chr(JNIEnv* env, jobject obj) -{ - TQChar _qchar; - _qchar = ((KCharSelect*) QtSupport::getQt(env, obj))->chr(); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharSelect_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCharSelect*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_cleanupFontDatabase(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KCharSelectJBridge::protected_cleanupFontDatabase(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCharSelect_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_enableFontCombo(JNIEnv* env, jobject obj, jboolean e) -{ - ((KCharSelect*) QtSupport::getQt(env, obj))->enableFontCombo((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_enableTableSpinBox(JNIEnv* env, jobject obj, jboolean e) -{ - ((KCharSelect*) QtSupport::getQt(env, obj))->enableTableSpinBox((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_fillFontCombo(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_fillFontCombo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCharSelect*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCharSelect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharSelect_fontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCharSelect*) QtSupport::getQt(env, obj))->font(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_fontSelected(JNIEnv* env, jobject obj, jstring _font) -{ -static TQString* _qstring__font = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_fontSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, _font, &_qstring__font)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelect_isFontComboEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCharSelect*) QtSupport::getQt(env, obj))->isFontComboEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelect_isTableSpinBoxEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCharSelect*) QtSupport::getQt(env, obj))->isTableSpinBoxEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelect_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharSelect*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_newKCharSelect__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 KCharSelectJBridge((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_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring font) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_font = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2C(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring font, jchar chr) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_font = 0; -static TQChar* _qchar_chr = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, chr, &_qchar_chr))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2CI(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring font, jchar chr, jint tableNum) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_font = 0; -static TQChar* _qchar_chr = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, chr, &_qchar_chr), (int) tableNum)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_setChar(JNIEnv* env, jobject obj, jchar chr) -{ -static TQChar* _qchar_chr = 0; - ((KCharSelect*) QtSupport::getQt(env, obj))->setChar((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, chr, &_qchar_chr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_setFont(JNIEnv* env, jobject obj, jstring font) -{ -static TQString* _qstring_font = 0; - ((KCharSelect*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_setTableNum(JNIEnv* env, jobject obj, jint tableNum) -{ - ((KCharSelect*) QtSupport::getQt(env, obj))->setTableNum((int) tableNum); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelect_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KCharSelect*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_slotDoubleClicked(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_slotDoubleClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_slotUnicodeEntered(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_slotUnicodeEntered(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_slotUpdateUnicode(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_slotUpdateUnicode((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_tableChanged(JNIEnv* env, jobject obj, jint _value) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_tableChanged((int) _value); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCharSelect_tableNum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCharSelect*) QtSupport::getQt(env, obj))->tableNum(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCharSelect.h b/kdejava/koala/kdejava/KCharSelect.h deleted file mode 100644 index 48567ad7..00000000 --- a/kdejava/koala/kdejava/KCharSelect.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCharSelect__ -#define __org_kde_koala_KCharSelect__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelect_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharSelect_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2CI (JNIEnv *env, jobject, jobject, jstring, jstring, jchar, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2C (JNIEnv *env, jobject, jobject, jstring, jstring, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelect_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_setFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_setChar (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_setTableNum (JNIEnv *env, jobject, jint); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharSelect_chr (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharSelect_fontName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCharSelect_tableNum (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_enableFontCombo (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_enableTableSpinBox (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelect_isFontComboEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelect_isTableSpinBoxEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_fillFontCombo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_fontSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_tableChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charHighlighted__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charHighlighted__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charActivated__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charFocusItemChanged__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charFocusItemChanged__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charTableUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charTableDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_slotDoubleClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_slotUnicodeEntered (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_slotUpdateUnicode (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_cleanupFontDatabase (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCharSelect__ */ diff --git a/kdejava/koala/kdejava/KCharSelectTable.cpp b/kdejava/koala/kdejava/KCharSelectTable.cpp deleted file mode 100644 index 3bbd6ea2..00000000 --- a/kdejava/koala/kdejava/KCharSelectTable.cpp +++ /dev/null @@ -1,676 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqstring.h> -#include <kcharselect.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCharSelectTable.h> - -class KCharSelectTableJBridge : public KCharSelectTable -{ -public: - KCharSelectTableJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQChar& arg4,int arg5) : KCharSelectTable(arg1,arg2,arg3,arg4,arg5) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KCharSelectTable::mousePressEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KCharSelectTable::mouseDoubleClickEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KCharSelectTable::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KCharSelectTable::mouseMoveEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KCharSelectTable::keyPressEvent(arg1); - return; - } - void protected_gotoLeft() { - KCharSelectTable::gotoLeft(); - return; - } - void protected_gotoRight() { - KCharSelectTable::gotoRight(); - return; - } - void protected_gotoUp() { - KCharSelectTable::gotoUp(); - return; - } - void protected_gotoDown() { - KCharSelectTable::gotoDown(); - return; - } - ~KCharSelectTableJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KCharSelectTable::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KCharSelectTable::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KCharSelectTable::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 setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KCharSelectTable::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KCharSelectTable::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KCharSelectTable::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharSelectTable_chr(JNIEnv* env, jobject obj) -{ - TQChar _qchar; - _qchar = ((KCharSelectTable*) QtSupport::getQt(env, obj))->chr(); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharSelectTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCharSelectTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCharSelectTable_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCharSelectTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCharSelectTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoDown(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoLeft(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoLeft(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoRight(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoRight(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoUp(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoUp(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelectTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelectTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharSelectTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_newKCharSelectTable(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring _font, jchar _chr, jint _tableNum) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring__font = 0; -static TQChar* _qchar__chr = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _font, &_qstring__font), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, _chr, &_qchar__chr), (int) _tableNum)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCharSelectTable*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_setChar(JNIEnv* env, jobject obj, jchar _chr) -{ -static TQChar* _qchar__chr = 0; - ((KCharSelectTable*) QtSupport::getQt(env, obj))->setChar((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, _chr, &_qchar__chr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_setFont(JNIEnv* env, jobject obj, jstring _font) -{ -static TQString* _qstring__font = 0; - ((KCharSelectTable*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, _font, &_qstring__font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_setTableNum(JNIEnv* env, jobject obj, jint _tableNum) -{ - ((KCharSelectTable*) QtSupport::getQt(env, obj))->setTableNum((int) _tableNum); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelectTable_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KCharSelectTable*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCharSelectTable.h b/kdejava/koala/kdejava/KCharSelectTable.h deleted file mode 100644 index 3835bc32..00000000 --- a/kdejava/koala/kdejava/KCharSelectTable.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCharSelectTable__ -#define __org_kde_koala_KCharSelectTable__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelectTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharSelectTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_newKCharSelectTable (JNIEnv *env, jobject, jobject, jstring, jstring, jchar, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelectTable_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_setFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_setChar (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_setTableNum (JNIEnv *env, jobject, jint); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharSelectTable_chr (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoLeft (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoRight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelectTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCharSelectTable__ */ diff --git a/kdejava/koala/kdejava/KCharsets.cpp b/kdejava/koala/kdejava/KCharsets.cpp deleted file mode 100644 index 7efa2475..00000000 --- a/kdejava/koala/kdejava/KCharsets.cpp +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqstringlist.h> -#include <kcharsets.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCharsets.h> - -class KCharsetsJBridge : public KCharsets -{ -public: - KCharsetsJBridge() : KCharsets() {}; - ~KCharsetsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_availableEncodingNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KCharsets*) QtSupport::getQt(env, obj))->availableEncodingNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharsets*) QtSupport::getQt(env, obj))->codecForName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring n, jboolean ok) -{ -static TQString* _qstring_n = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharsets*) QtSupport::getQt(env, obj))->codecForName((const TQString&)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n), (bool&) ok), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_descriptiveEncodingNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KCharsets*) QtSupport::getQt(env, obj))->descriptiveEncodingNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharsets_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCharsets_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_encodingForName(JNIEnv* env, jobject obj, jstring descriptiveName) -{ - TQString _qstring; -static TQString* _qstring_descriptiveName = 0; - _qstring = ((KCharsets*) QtSupport::getQt(env, obj))->encodingForName((const TQString&)*(TQString*) QtSupport::toTQString(env, descriptiveName, &_qstring_descriptiveName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharsets_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCharsets*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQChar _qchar; - (void) cls; -static TQString* _qstring_str = 0; - _qchar = KCharsetsJBridge::fromEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2_3I(JNIEnv* env, jclass cls, jstring str, jintArray len) -{ - TQChar _qchar; - (void) cls; -static TQString* _qstring_str = 0; - int* _int_len = QtSupport::toIntPtr(env, len); - _qchar = KCharsetsJBridge::fromEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int&) *_int_len); - env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharsets_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_languageForEncoding(JNIEnv* env, jobject obj, jstring encoding) -{ - TQString _qstring; -static TQString* _qstring_encoding = 0; - _qstring = ((KCharsets*) QtSupport::getQt(env, obj))->languageForEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, encoding, &_qstring_encoding)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharsets_newKCharsets(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharsetsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_resolveEntities(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KCharsetsJBridge::resolveEntities((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_toEntity(JNIEnv* env, jclass cls, jchar ch) -{ - TQString _qstring; - (void) cls; -static TQChar* _qchar_ch = 0; - _qstring = KCharsetsJBridge::toEntity((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, ch, &_qchar_ch)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KCharsets.h b/kdejava/koala/kdejava/KCharsets.h deleted file mode 100644 index fabe6a52..00000000 --- a/kdejava/koala/kdejava/KCharsets.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCharsets__ -#define __org_kde_koala_KCharsets__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_availableEncodingNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_descriptiveEncodingNames (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_languageForEncoding (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_encodingForName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2_3I (JNIEnv *env, jclass, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_toEntity (JNIEnv *env, jclass, jchar); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_resolveEntities (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharsets_newKCharsets (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharsets_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharsets_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharsets_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCharsets__ */ diff --git a/kdejava/koala/kdejava/KCodecs.cpp b/kdejava/koala/kdejava/KCodecs.cpp deleted file mode 100644 index eeeefb01..00000000 --- a/kdejava/koala/kdejava/KCodecs.cpp +++ /dev/null @@ -1,238 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kmdcodec.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCodecs.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Decode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::base64Decode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Decode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::base64Decode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_base64Decode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::base64Decode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::base64Encode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean insertLFs) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::base64Encode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str), (bool) insertLFs); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean insertLFs) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (bool) insertLFs); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean insertLFs) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out), (bool) insertLFs); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableDecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::quotedPrintableDecode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::quotedPrintableDecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::quotedPrintableDecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean useCRLF) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str), (bool) useCRLF); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean useCRLF) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (bool) useCRLF); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean useCRLF) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out), (bool) useCRLF); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uudecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::uudecode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uudecode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::uudecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_uudecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::uudecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uuencode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::uuencode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uuencode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::uuencode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_uuencode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::uuencode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - diff --git a/kdejava/koala/kdejava/KCodecs.h b/kdejava/koala/kdejava/KCodecs.h deleted file mode 100644 index de95d25a..00000000 --- a/kdejava/koala/kdejava/KCodecs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCodecs__ -#define __org_kde_koala_KCodecs__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode___3BZ (JNIEnv *env, jclass, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B_3BZ (JNIEnv *env, jclass, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableDecode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uuencode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uuencode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_uuencode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uudecode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uudecode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_uudecode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode___3BZ (JNIEnv *env, jclass, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_base64Encode___3B_3BZ (JNIEnv *env, jclass, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_base64Encode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Decode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Decode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_base64Decode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCodecs__ */ diff --git a/kdejava/koala/kdejava/KColor.cpp b/kdejava/koala/kdejava/KColor.cpp deleted file mode 100644 index bbe4c5de..00000000 --- a/kdejava/koala/kdejava/KColor.cpp +++ /dev/null @@ -1,117 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcolordialog.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KColor.h> - -class KColorJBridge : public KColor -{ -public: - KColorJBridge() : KColor() {}; - KColorJBridge(const KColor& arg1) : KColor(arg1) {}; - KColorJBridge(const TQColor& arg1) : KColor(arg1) {}; - ~KColorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KColor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_hsv(JNIEnv* env, jobject obj, jintArray _h, jintArray _s, jintArray _v) -{ - int* _int__h = QtSupport::toIntPtr(env, _h); - int* _int__s = QtSupport::toIntPtr(env, _s); - int* _int__v = QtSupport::toIntPtr(env, _v); - ((KColor*) QtSupport::getQt(env, obj))->hsv( (int*) _int__h, (int*) _int__s, (int*) _int__v); - env->SetIntArrayRegion(_h, 0, 1, (jint *) _int__h); - env->SetIntArrayRegion(_s, 0, 1, (jint *) _int__s); - env->SetIntArrayRegion(_v, 0, 1, (jint *) _int__v); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_newKColor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_newKColor__Lorg_kde_koala_KColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorJBridge((const KColor&)*(const KColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_newKColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColor_op_1equals(JNIEnv* env, jobject obj, jobject col) -{ - jboolean xret = (jboolean) ((KColor*) QtSupport::getQt(env, obj))->operator==((const KColor&)*(const KColor*) QtSupport::getQt(env, col)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_rgb(JNIEnv* env, jobject obj, jintArray _r, jintArray _g, jintArray _b) -{ - int* _int__r = QtSupport::toIntPtr(env, _r); - int* _int__g = QtSupport::toIntPtr(env, _g); - int* _int__b = QtSupport::toIntPtr(env, _b); - ((KColor*) QtSupport::getQt(env, obj))->rgb( (int*) _int__r, (int*) _int__g, (int*) _int__b); - env->SetIntArrayRegion(_r, 0, 1, (jint *) _int__r); - env->SetIntArrayRegion(_g, 0, 1, (jint *) _int__g); - env->SetIntArrayRegion(_b, 0, 1, (jint *) _int__b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_setHsv(JNIEnv* env, jobject obj, jint _h, jint _s, jint _v) -{ - ((KColor*) QtSupport::getQt(env, obj))->setHsv((int) _h, (int) _s, (int) _v); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_setRgb(JNIEnv* env, jobject obj, jint _r, jint _g, jint _b) -{ - ((KColor*) QtSupport::getQt(env, obj))->setRgb((int) _r, (int) _g, (int) _b); - return; -} - diff --git a/kdejava/koala/kdejava/KColor.h b/kdejava/koala/kdejava/KColor.h deleted file mode 100644 index 3804ce90..00000000 --- a/kdejava/koala/kdejava/KColor.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColor__ -#define __org_kde_koala_KColor__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_newKColor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_newKColor__Lorg_kde_koala_KColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_newKColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColor_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_setHsv (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_setRgb (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_rgb (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_hsv (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColor__ */ diff --git a/kdejava/koala/kdejava/KColorButton.cpp b/kdejava/koala/kdejava/KColorButton.cpp deleted file mode 100644 index b0681c02..00000000 --- a/kdejava/koala/kdejava/KColorButton.cpp +++ /dev/null @@ -1,586 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kcolorbutton.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KColorButton.h> - -class KColorButtonJBridge : public KColorButton -{ -public: - KColorButtonJBridge(TQWidget* arg1,const char* arg2) : KColorButton(arg1,arg2) {}; - KColorButtonJBridge(TQWidget* arg1) : KColorButton(arg1) {}; - KColorButtonJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : KColorButton(arg1,arg2,arg3) {}; - KColorButtonJBridge(const TQColor& arg1,TQWidget* arg2) : KColorButton(arg1,arg2) {}; - KColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3,const char* arg4) : KColorButton(arg1,arg2,arg3,arg4) {}; - KColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3) : KColorButton(arg1,arg2,arg3) {}; - void protected_drawButtonLabel(TQPainter* arg1) { - KColorButton::drawButtonLabel(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KColorButton::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KColorButton::dropEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KColorButton::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KColorButton::mouseMoveEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KColorButton::keyPressEvent(arg1); - return; - } - void protected_chooseColor() { - KColorButton::chooseColor(); - return; - } - ~KColorButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KColorButton::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","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")) { - KColorButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KColorButton::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","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")) { - KColorButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorButton::mouseMoveEvent(arg1); - } - return; - } - void drawButtonLabel(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButtonLabel",(void*)arg1,"org.kde.qt.TQPainter")) { - KColorButton::drawButtonLabel(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_chooseColor(JNIEnv* env, jobject obj) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_chooseColor(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorButton*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_defaultColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorButton*) QtSupport::getQt(env, obj))->defaultColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject p) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject c, jobject defaultColor, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jobject defaultColor, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor), (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_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject c, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (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_KColorButton_newKColorButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__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 KColorButtonJBridge((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_KColorButton_setColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KColorButton*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_setDefaultColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KColorButton*) QtSupport::getQt(env, obj))->setDefaultColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KColorButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KColorButton.h b/kdejava/koala/kdejava/KColorButton.h deleted file mode 100644 index b15301e5..00000000 --- a/kdejava/koala/kdejava/KColorButton.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorButton__ -#define __org_kde_koala_KColorButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_defaultColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_setDefaultColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_chooseColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorButton__ */ diff --git a/kdejava/koala/kdejava/KColorCells.cpp b/kdejava/koala/kdejava/KColorCells.cpp deleted file mode 100644 index 3991b357..00000000 --- a/kdejava/koala/kdejava/KColorCells.cpp +++ /dev/null @@ -1,679 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpoint.h> -#include <kcolordialog.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KColorCells.h> - -class KColorCellsJBridge : public KColorCells -{ -public: - KColorCellsJBridge(TQWidget* arg1,int arg2,int arg3) : KColorCells(arg1,arg2,arg3) {}; - void protected_paintCell(TQPainter* arg1,int arg2,int arg3) { - KColorCells::paintCell(arg1,arg2,arg3); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KColorCells::resizeEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KColorCells::mouseReleaseEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KColorCells::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KColorCells::mouseMoveEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KColorCells::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KColorCells::dropEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KColorCells::mouseDoubleClickEvent(arg1); - return; - } - int protected_posToCell(const TQPoint& arg1,bool arg2) { - return (int) KColorCells::posToCell(arg1,arg2); - } - int protected_posToCell(const TQPoint& arg1) { - return (int) KColorCells::posToCell(arg1); - } - ~KColorCellsJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KColorCells::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorCells::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KColorCells::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void 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 setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorCells::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KColorCells::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorCells::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorCells::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorCells_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorCells*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCells_color(JNIEnv* env, jobject obj, jint indx) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorCells*) QtSupport::getQt(env, obj))->color((int) indx)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorCells_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorCells*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorCells*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_getSelected(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KColorCells*) QtSupport::getQt(env, obj))->getSelected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorCells_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCells_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorCells*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_newKColorCells(JNIEnv* env, jobject obj, jobject parent, jint rows, jint cols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorCellsJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) rows, (int) cols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_numCells(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KColorCells*) QtSupport::getQt(env, obj))->numCells(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_paintCell(JNIEnv* env, jobject obj, jobject painter, jint row, jint col) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, painter), (int) row, (int) col); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - jint xret = (jint) ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_posToCell((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject pos, jboolean ignoreBorders) -{ - jint xret = (jint) ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_posToCell((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (bool) ignoreBorders); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_setAcceptDrags(JNIEnv* env, jobject obj, jboolean _acceptDrags) -{ - ((KColorCells*) QtSupport::getQt(env, obj))->setAcceptDrags((bool) _acceptDrags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_setColor(JNIEnv* env, jobject obj, jint colNum, jobject col) -{ - ((KColorCells*) QtSupport::getQt(env, obj))->setColor((int) colNum, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_setShading(JNIEnv* env, jobject obj, jboolean _shade) -{ - ((KColorCells*) QtSupport::getQt(env, obj))->setShading((bool) _shade); - return; -} - diff --git a/kdejava/koala/kdejava/KColorCells.h b/kdejava/koala/kdejava/KColorCells.h deleted file mode 100644 index 54cbcbad..00000000 --- a/kdejava/koala/kdejava/KColorCells.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorCells__ -#define __org_kde_koala_KColorCells__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCells_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorCells_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_newKColorCells (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_setColor (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCells_color (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_numCells (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_setShading (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_setAcceptDrags (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_getSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_paintCell (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorCells_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorCells__ */ diff --git a/kdejava/koala/kdejava/KColorCombo.cpp b/kdejava/koala/kdejava/KColorCombo.cpp deleted file mode 100644 index 12c84958..00000000 --- a/kdejava/koala/kdejava/KColorCombo.cpp +++ /dev/null @@ -1,452 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcolorcombo.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KColorCombo.h> - -class KColorComboJBridge : public KColorCombo -{ -public: - KColorComboJBridge(TQWidget* arg1,const char* arg2) : KColorCombo(arg1,arg2) {}; - KColorComboJBridge(TQWidget* arg1) : KColorCombo(arg1) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - KColorCombo::resizeEvent(arg1); - return; - } - ~KColorComboJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KColorCombo::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","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.KColorCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","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")) { - TQComboBox::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQComboBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","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")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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.KColorCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQComboBox::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - TQComboBox::setLineEdit(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 showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCombo_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorCombo*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorCombo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_newKColorCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_newKColorCombo__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 KColorComboJBridge((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_KColorCombo_resizeEvent(JNIEnv* env, jobject obj, jobject re) -{ - ((KColorComboJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, re)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorCombo*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_showEmptyList(JNIEnv* env, jobject obj) -{ - ((KColorCombo*) QtSupport::getQt(env, obj))->showEmptyList(); - return; -} - diff --git a/kdejava/koala/kdejava/KColorCombo.h b/kdejava/koala/kdejava/KColorCombo.h deleted file mode 100644 index bd30d338..00000000 --- a/kdejava/koala/kdejava/KColorCombo.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorCombo__ -#define __org_kde_koala_KColorCombo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_newKColorCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_newKColorCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCombo_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_showEmptyList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorCombo__ */ diff --git a/kdejava/koala/kdejava/KColorDialog.cpp b/kdejava/koala/kdejava/KColorDialog.cpp deleted file mode 100644 index 7811602b..00000000 --- a/kdejava/koala/kdejava/KColorDialog.cpp +++ /dev/null @@ -1,617 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpoint.h> -#include <kcolordialog.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KColorDialog.h> - -class KColorDialogJBridge : public KColorDialog -{ -public: - KColorDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KColorDialog(arg1,arg2,arg3) {}; - KColorDialogJBridge(TQWidget* arg1,const char* arg2) : KColorDialog(arg1,arg2) {}; - KColorDialogJBridge(TQWidget* arg1) : KColorDialog(arg1) {}; - KColorDialogJBridge() : KColorDialog() {}; - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KColorDialog::mouseReleaseEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KColorDialog::keyPressEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KColorDialog::eventFilter(arg1,arg2); - } - ~KColorDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","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")) { - KColorDialog::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - KColorDialog::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","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 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.KColorDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorDialog",object,event)) { - return KColorDialog::eventFilter(object,event); - } else { - return TRUE; - } - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorDialog*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_defaultColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorDialog*) QtSupport::getQt(env, obj))->defaultColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorDialog_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject ev) -{ - jboolean xret = (jboolean) ((KColorDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, ev)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject theColor) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject theColor, jobject defaultColor) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theColor, jobject defaultColor, jobject parent) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theColor, jobject parent) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_grabColor(JNIEnv* env, jclass cls, jobject p) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KColorDialogJBridge::grabColor((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorDialogJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_newKColorDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_newKColorDialog__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 KColorDialogJBridge((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_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorDialog*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_setDefaultColor(JNIEnv* env, jobject obj, jobject defaultCol) -{ - ((KColorDialog*) QtSupport::getQt(env, obj))->setDefaultColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultCol)); - return; -} - diff --git a/kdejava/koala/kdejava/KColorDialog.h b/kdejava/koala/kdejava/KColorDialog.h deleted file mode 100644 index 5700941d..00000000 --- a/kdejava/koala/kdejava/KColorDialog.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorDialog__ -#define __org_kde_koala_KColorDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_setDefaultColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_defaultColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_grabColor (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorDialog__ */ diff --git a/kdejava/koala/kdejava/KColorDrag.cpp b/kdejava/koala/kdejava/KColorDrag.cpp deleted file mode 100644 index f41431fb..00000000 --- a/kdejava/koala/kdejava/KColorDrag.cpp +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcolordrag.h> -#include <tqcolor.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KColorDrag.h> - -class KColorDragJBridge : public KColorDrag -{ -public: - KColorDragJBridge(TQWidget* arg1,const char* arg2) : KColorDrag(arg1,arg2) {}; - KColorDragJBridge(TQWidget* arg1) : KColorDrag(arg1) {}; - KColorDragJBridge() : KColorDrag() {}; - KColorDragJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : KColorDrag(arg1,arg2,arg3) {}; - KColorDragJBridge(const TQColor& arg1,TQWidget* arg2) : KColorDrag(arg1,arg2) {}; - KColorDragJBridge(const TQColor& arg1) : KColorDrag(arg1) {}; - ~KColorDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDrag_canDecode(JNIEnv* env, jclass cls, jobject e) -{ - (void) cls; - jboolean xret = (jboolean) KColorDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDrag_decode(JNIEnv* env, jclass cls, jobject e, jobject col) -{ - (void) cls; - jboolean xret = (jboolean) KColorDragJBridge::decode((TQMimeSource*) QtSupport::mimeSource(env, e), (TQColor&)*(TQColor*) QtSupport::getQt(env, col)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KColorDrag_encodedData(JNIEnv* env, jobject obj, jstring m) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_m = 0; - _qbyteArray = ((KColorDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, m, &_qstring_m)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KColorDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KColorDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((KColorDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject col, jobject dragsource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, dragsource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject col, jobject dragsource, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, dragsource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragsource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragsource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragsource, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragsource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorDrag*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - diff --git a/kdejava/koala/kdejava/KColorDrag.h b/kdejava/koala/kdejava/KColorDrag.h deleted file mode 100644 index 790d9fe1..00000000 --- a/kdejava/koala/kdejava/KColorDrag.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorDrag__ -#define __org_kde_koala_KColorDrag__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KColorDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDrag_canDecode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDrag_decode (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorDrag__ */ diff --git a/kdejava/koala/kdejava/KColorPatch.cpp b/kdejava/koala/kdejava/KColorPatch.cpp deleted file mode 100644 index e09e5ad5..00000000 --- a/kdejava/koala/kdejava/KColorPatch.cpp +++ /dev/null @@ -1,478 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcolordialog.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KColorPatch.h> - -class KColorPatchJBridge : public KColorPatch -{ -public: - KColorPatchJBridge(TQWidget* arg1) : KColorPatch(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - KColorPatch::drawContents(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KColorPatch::mouseMoveEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KColorPatch::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KColorPatch::dropEvent(arg1); - return; - } - ~KColorPatchJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KColorPatch::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KColorPatch::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","show")) { - TQWidget::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.KColorPatch","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KColorPatch::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","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 mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorPatch::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.KColorPatch","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorPatch",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorPatch_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorPatch*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorPatch_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_drawContents(JNIEnv* env, jobject obj, jobject painter) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorPatch*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorPatch*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorPatch_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorPatch_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorPatch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_newKColorPatch(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorPatchJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorPatch*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - diff --git a/kdejava/koala/kdejava/KColorPatch.h b/kdejava/koala/kdejava/KColorPatch.h deleted file mode 100644 index 0a4d85c2..00000000 --- a/kdejava/koala/kdejava/KColorPatch.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorPatch__ -#define __org_kde_koala_KColorPatch__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorPatch_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorPatch_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_newKColorPatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorPatch_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorPatch__ */ diff --git a/kdejava/koala/kdejava/KCombiView.cpp b/kdejava/koala/kdejava/KCombiView.cpp deleted file mode 100644 index a6096bf5..00000000 --- a/kdejava/koala/kdejava/KCombiView.cpp +++ /dev/null @@ -1,945 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdir.h> -#include <kcombiview.h> -#include <tqstring.h> -#include <tdeio/global.h> -#include <tdefileview.h> -#include <tdeparts/browserextension.h> -#include <tdefile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCombiView.h> - -class KCombiViewJBridge : public KCombiView -{ -public: - KCombiViewJBridge(TQWidget* arg1,const char* arg2) : KCombiView(arg1,arg2) {}; - void public_clearView() { - KCombiView::clearView(); - return; - } - void public_listingCompleted() { - KCombiView::listingCompleted(); - return; - } - void public_clearSelection() { - KCombiView::clearSelection(); - return; - } - void public_selectAll() { - KCombiView::selectAll(); - return; - } - void public_invertSelection() { - KCombiView::invertSelection(); - return; - } - void public_clear() { - KCombiView::clear(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KCombiView::eventFilter(arg1,arg2); - } - void protected_setDropOptions_impl(int arg1) { - KCombiView::setDropOptions_impl(arg1); - return; - } - void protected_slotSortingChanged(TQDir::SortSpec arg1) { - KCombiView::slotSortingChanged(arg1); - return; - } - ~KCombiViewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_updateView() { - KFileView::updateView(); - return; - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","clearView")) { - KCombiView::clearView(); - } - 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")) { - TQSplitter::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","selectAll")) { - KCombiView::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","listingCompleted")) { - KCombiView::listingCompleted(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","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.KCombiView","show")) { - TQWidget::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.KCombiView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::insertItem(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","clear")) { - KCombiView::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","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 clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","clearSelection")) { - KCombiView::clearSelection(); - } - return; - } - 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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQSplitter::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","invertSelection")) { - KCombiView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","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 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.KCombiView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KCombiView",object,event)) { - return KCombiView::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KCombiViewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCombiView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_clearView(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_clear(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCombiView_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCombiView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCombiView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_isSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KCombiView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_newKCombiView(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCombiViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KCombiView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_selectAll(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean b) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setRight(JNIEnv* env, jobject obj, jobject view) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setRight((KFileView*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_slotSortingChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSortingChanged((TQDir::SortSpec) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KCombiViewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KCombiViewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_updateView__(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KCombiView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KCombiView.h b/kdejava/koala/kdejava/KCombiView.h deleted file mode 100644 index de813486..00000000 --- a/kdejava/koala/kdejava/KCombiView.h +++ /dev/null @@ -1,80 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCombiView__ -#define __org_kde_koala_KCombiView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_newKCombiView (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setRight (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setDropOptions_1impl (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_slotSortingChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_autoOpenDelay (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCombiView__ */ diff --git a/kdejava/koala/kdejava/KComboBox.cpp b/kdejava/koala/kdejava/KComboBox.cpp deleted file mode 100644 index c81014db..00000000 --- a/kdejava/koala/kdejava/KComboBox.cpp +++ /dev/null @@ -1,892 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeglobalsettings.h> -#include <kcombobox.h> -#include <kcompletion.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> -#include <tdeshortcut.h> -#include <tqpixmap.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KComboBox.h> - -class KComboBoxJBridge : public KComboBox -{ -public: - KComboBoxJBridge(TQWidget* arg1,const char* arg2) : KComboBox(arg1,arg2) {}; - KComboBoxJBridge(TQWidget* arg1) : KComboBox(arg1) {}; - KComboBoxJBridge() : KComboBox() {}; - KComboBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KComboBox(arg1,arg2,arg3) {}; - KComboBoxJBridge(bool arg1,TQWidget* arg2) : KComboBox(arg1,arg2) {}; - KComboBoxJBridge(bool arg1) : KComboBox(arg1) {}; - void protected_setCompletedText(const TQString& arg1,bool arg2) { - KComboBox::setCompletedText(arg1,arg2); - return; - } - void protected_create(WId arg1,bool arg2,bool arg3) { - KComboBox::create(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2) { - KComboBox::create(arg1,arg2); - return; - } - void protected_create(WId arg1) { - KComboBox::create(arg1); - return; - } - void protected_create() { - KComboBox::create(); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KComboBox::wheelEvent(arg1); - return; - } - void protected_makeCompletion(const TQString& arg1) { - KComboBox::makeCompletion(arg1); - return; - } - ~KComboBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setDelegate(TDECompletionBase* arg1) { - TDECompletionBase::setDelegate(arg1); - return; - } - TDECompletionBase* protected_delegate() { - return (TDECompletionBase*) TDECompletionBase::delegate(); - } - 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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","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.KComboBox","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","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")) { - TQComboBox::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQComboBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","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")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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.KComboBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KComboBox",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_autoCompletion(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->autoCompletion(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->changeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->changeURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KComboBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KComboBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_compObj(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionBox__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->completionBox(), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionBox__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->completionBox((bool) create), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KComboBox_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionObject__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_contains(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__(JNIEnv* env, jobject obj) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__J(JNIEnv* env, jobject obj, jlong arg1) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KComboBox_cursorPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KComboBox*) QtSupport::getQt(env, obj))->cursorPosition(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_delegate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_delegate(), "org.kde.koala.TDECompletionBaseInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KComboBox_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_emitSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->emitSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KComboBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_getKeyBinding(JNIEnv* env, jobject obj, jint item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_handleSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->handleSignals(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject pixmap, jobject url) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isContextMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->isContextMenuEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isURLDropsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->isURLDropsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_makeCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__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 KComboBoxJBridge((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_KComboBox_newKComboBox__Z(JNIEnv* env, jobject obj, jboolean rw) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw, (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_KComboBox_rotateText(JNIEnv* env, jobject obj, jint type) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->rotateText((TDECompletionBase::KeyBindingType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setAutoCompletion(JNIEnv* env, jobject obj, jboolean autocomplete) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setAutoCompletion((bool) autocomplete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletedItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject compObj) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject compObj, jboolean hsig) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj), (bool) hsig); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setContextMenuEnabled(JNIEnv* env, jobject obj, jboolean showMenu) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setContextMenuEnabled((bool) showMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__I(JNIEnv* env, jobject obj, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring item, jboolean insert) -{ -static TQString* _qstring_item = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool) insert); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring item, jboolean insert, jint index) -{ -static TQString* _qstring_item = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool) insert, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setDelegate(JNIEnv* env, jobject obj, jobject delegate) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_setDelegate((TDECompletionBase*) QtSupport::getQt(env, delegate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setEditURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setEditURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setLineEdit(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setLineEdit((TQLineEdit*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setTrapReturnKey(JNIEnv* env, jobject obj, jboolean trap) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setTrapReturnKey((bool) trap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setURLDropsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setURLDropsEnabled((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_trapReturnKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->trapReturnKey(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_useGlobalKeyBindings(JNIEnv* env, jobject obj) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->useGlobalKeyBindings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_wheelEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, ev)); - return; -} - diff --git a/kdejava/koala/kdejava/KComboBox.h b/kdejava/koala/kdejava/KComboBox.h deleted file mode 100644 index 3933287d..00000000 --- a/kdejava/koala/kdejava/KComboBox.h +++ /dev/null @@ -1,82 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KComboBox__ -#define __org_kde_koala_KComboBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KComboBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setEditURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KComboBox_cursorPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setAutoCompletion (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_autoCompletion (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setContextMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isContextMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setURLDropsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isURLDropsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setTrapReturnKey (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_trapReturnKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionBox__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setLineEdit (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_rotateText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletedItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__JZ (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionObject__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setHandleSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isCompletionObjectAutoDeleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setAutoDeleteCompletionObject (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setEnableSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_handleSignals (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_emitSignals (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KComboBox_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_setKeyBinding (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_getKeyBinding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_useGlobalKeyBindings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_compObj (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setDelegate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_delegate (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KComboBox__ */ diff --git a/kdejava/koala/kdejava/KCommand.cpp b/kdejava/koala/kdejava/KCommand.cpp deleted file mode 100644 index 38bf1003..00000000 --- a/kdejava/koala/kdejava/KCommand.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kcommand.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCommand.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommand_execute(JNIEnv* env, jobject obj) -{ - ((KCommand*) QtSupport::getQt(env, obj))->execute(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCommand_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCommand*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommand_unexecute(JNIEnv* env, jobject obj) -{ - ((KCommand*) QtSupport::getQt(env, obj))->unexecute(); - return; -} - diff --git a/kdejava/koala/kdejava/KCommand.h b/kdejava/koala/kdejava/KCommand.h deleted file mode 100644 index 1b41cd8e..00000000 --- a/kdejava/koala/kdejava/KCommand.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCommand__ -#define __org_kde_koala_KCommand__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommand_execute (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommand_unexecute (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCommand_name (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCommand__ */ diff --git a/kdejava/koala/kdejava/KCommandHistory.cpp b/kdejava/koala/kdejava/KCommandHistory.cpp deleted file mode 100644 index d356c679..00000000 --- a/kdejava/koala/kdejava/KCommandHistory.cpp +++ /dev/null @@ -1,272 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcommand.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCommandHistory.h> - -class KCommandHistoryJBridge : public KCommandHistory -{ -public: - KCommandHistoryJBridge() : KCommandHistory() {}; - KCommandHistoryJBridge(TDEActionCollection* arg1,bool arg2) : KCommandHistory(arg1,arg2) {}; - KCommandHistoryJBridge(TDEActionCollection* arg1) : KCommandHistory(arg1) {}; - void public_undo() { - KCommandHistory::undo(); - return; - } - void public_redo() { - KCommandHistory::redo(); - return; - } - void public_documentSaved() { - KCommandHistory::documentSaved(); - return; - } - void protected_slotUndoAboutToShow() { - KCommandHistory::slotUndoAboutToShow(); - return; - } - void protected_slotUndoActivated(int arg1) { - KCommandHistory::slotUndoActivated(arg1); - return; - } - void protected_slotRedoAboutToShow() { - KCommandHistory::slotRedoAboutToShow(); - return; - } - void protected_slotRedoActivated(int arg1) { - KCommandHistory::slotRedoActivated(arg1); - return; - } - ~KCommandHistoryJBridge() {QtSupport::qtKeyDeleted(this);} - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCommandHistory","undo")) { - KCommandHistory::undo(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void documentSaved() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCommandHistory","documentSaved")) { - KCommandHistory::documentSaved(); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KCommandHistory",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCommandHistory","redo")) { - KCommandHistory::redo(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2(JNIEnv* env, jobject obj, jobject command) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->addCommand((KCommand*) QtSupport::getQt(env, command)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2Z(JNIEnv* env, jobject obj, jobject command, jboolean execute) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->addCommand((KCommand*) QtSupport::getQt(env, command), (bool) execute); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCommandHistory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCommandHistory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_clear(JNIEnv* env, jobject obj) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCommandHistory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_documentSaved(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->public_documentSaved(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KCommandHistory*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KCommandHistory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCommandHistory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCommandHistory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCommandHistory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject actionCollection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2Z(JNIEnv* env, jobject obj, jobject actionCollection, jboolean withMenus) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection), (bool) withMenus)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCommandHistory_redoLimit(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCommandHistory*) QtSupport::getQt(env, obj))->redoLimit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_redo(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->public_redo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_setRedoLimit(JNIEnv* env, jobject obj, jint limit) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->setRedoLimit((int) limit); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_setUndoLimit(JNIEnv* env, jobject obj, jint limit) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->setUndoLimit((int) limit); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotRedoAboutToShow(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotRedoAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotRedoActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotRedoActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotUndoAboutToShow(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotUndoAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotUndoActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotUndoActivated((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCommandHistory_undoLimit(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCommandHistory*) QtSupport::getQt(env, obj))->undoLimit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_undo(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->public_undo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_updateActions(JNIEnv* env, jobject obj) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->updateActions(); - return; -} - diff --git a/kdejava/koala/kdejava/KCommandHistory.h b/kdejava/koala/kdejava/KCommandHistory.h deleted file mode 100644 index 7c3bcc0e..00000000 --- a/kdejava/koala/kdejava/KCommandHistory.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCommandHistory__ -#define __org_kde_koala_KCommandHistory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCommandHistory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCommandHistory_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCommandHistory_undoLimit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_setUndoLimit (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCommandHistory_redoLimit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_setRedoLimit (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_updateActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_undo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_redo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_documentSaved (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotUndoAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotUndoActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotRedoAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotRedoActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCommandHistory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCommandHistory__ */ diff --git a/kdejava/koala/kdejava/KContextMenuManager.cpp b/kdejava/koala/kdejava/KContextMenuManager.cpp deleted file mode 100644 index 2820fb1f..00000000 --- a/kdejava/koala/kdejava/KContextMenuManager.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcmenumngr.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KContextMenuManager.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KContextMenuManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KContextMenuManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KContextMenuManager_insert(JNIEnv* env, jclass cls, jobject widget, jobject popup) -{ - (void) cls; - KContextMenuManager::insert((TQWidget*) QtSupport::getQt(env, widget), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KContextMenuManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KContextMenuManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KContextMenuManager_showOnButtonPress(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KContextMenuManager::showOnButtonPress(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KContextMenuManager.h b/kdejava/koala/kdejava/KContextMenuManager.h deleted file mode 100644 index 8b4c3916..00000000 --- a/kdejava/koala/kdejava/KContextMenuManager.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KContextMenuManager__ -#define __org_kde_koala_KContextMenuManager__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KContextMenuManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KContextMenuManager_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KContextMenuManager_insert (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KContextMenuManager_showOnButtonPress (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KContextMenuManager__ */ diff --git a/kdejava/koala/kdejava/KCursor.cpp b/kdejava/koala/kdejava/KCursor.cpp deleted file mode 100644 index fb3cb347..00000000 --- a/kdejava/koala/kdejava/KCursor.cpp +++ /dev/null @@ -1,202 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcursor.h> -#include <tqcursor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCursor.h> - -class KCursorJBridge : public KCursor -{ -public: - KCursorJBridge() : KCursor() {}; - ~KCursorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_arrowCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::arrowCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_autoHideEventFilter(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) -{ - (void) cls; - KCursorJBridge::autoHideEventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_blankCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::blankCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_crossCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::crossCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCursor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCursor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_handCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::handCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCursor_hideCursorDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KCursorJBridge::hideCursorDelay(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_ibeamCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::ibeamCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCursor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_newKCursor(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCursorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject w, jboolean enable) -{ - (void) cls; - KCursorJBridge::setAutoHideCursor((TQWidget*) QtSupport::getQt(env, w), (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jclass cls, jobject w, jboolean enable, jboolean customEventFilter) -{ - (void) cls; - KCursorJBridge::setAutoHideCursor((TQWidget*) QtSupport::getQt(env, w), (bool) enable, (bool) customEventFilter); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_setHideCursorDelay(JNIEnv* env, jclass cls, jint ms) -{ - (void) cls; - (void) env; - KCursorJBridge::setHideCursorDelay((int) ms); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeAllCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeAllCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeBDiagCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeBDiagCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeFDiagCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeFDiagCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeHorCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeHorCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeVerCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeVerCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_upArrowCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::upArrowCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_waitCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::waitCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_whatsThisCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::whatsThisCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_workingCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::workingCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCursor.h b/kdejava/koala/kdejava/KCursor.h deleted file mode 100644 index 1c403267..00000000 --- a/kdejava/koala/kdejava/KCursor.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCursor__ -#define __org_kde_koala_KCursor__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_newKCursor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_handCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_workingCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_arrowCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_upArrowCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_crossCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_waitCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_ibeamCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeVerCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeHorCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeBDiagCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeFDiagCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeAllCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_blankCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_whatsThisCursor (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_setHideCursorDelay (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCursor_hideCursorDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_autoHideEventFilter (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCursor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCursor__ */ diff --git a/kdejava/koala/kdejava/KCustomMenuEditor.cpp b/kdejava/koala/kdejava/KCustomMenuEditor.cpp deleted file mode 100644 index b164ec77..00000000 --- a/kdejava/koala/kdejava/KCustomMenuEditor.cpp +++ /dev/null @@ -1,522 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcustommenueditor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KCustomMenuEditor.h> - -class KCustomMenuEditorJBridge : public KCustomMenuEditor -{ -public: - KCustomMenuEditorJBridge(TQWidget* arg1) : KCustomMenuEditor(arg1) {}; - ~KCustomMenuEditorJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","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 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.KCustomMenuEditor","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCustomMenuEditor_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCustomMenuEditor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCustomMenuEditor*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCustomMenuEditor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCustomMenuEditor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->load((TDEConfigBase*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCustomMenuEditor_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCustomMenuEditor*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_newKCustomMenuEditor(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCustomMenuEditorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_refreshButton(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->refreshButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->save((TDEConfigBase*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotMoveDown(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotMoveDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotMoveUp(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotMoveUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotNewItem(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotNewItem(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotRemoveItem(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotRemoveItem(); - return; -} - diff --git a/kdejava/koala/kdejava/KCustomMenuEditor.h b/kdejava/koala/kdejava/KCustomMenuEditor.h deleted file mode 100644 index d3410652..00000000 --- a/kdejava/koala/kdejava/KCustomMenuEditor.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCustomMenuEditor__ -#define __org_kde_koala_KCustomMenuEditor__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCustomMenuEditor_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCustomMenuEditor_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_newKCustomMenuEditor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotNewItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotRemoveItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotMoveUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotMoveDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_refreshButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCustomMenuEditor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCustomMenuEditor__ */ diff --git a/kdejava/koala/kdejava/KDCOPActionProxy.cpp b/kdejava/koala/kdejava/KDCOPActionProxy.cpp deleted file mode 100644 index b8e32247..00000000 --- a/kdejava/koala/kdejava/KDCOPActionProxy.cpp +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdcopactionproxy.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDCOPActionProxy.h> - -class KDCOPActionProxyJBridge : public KDCOPActionProxy -{ -public: - KDCOPActionProxyJBridge(TDEActionCollection* arg1,DCOPObject* arg2) : KDCOPActionProxy(arg1,arg2) {}; - KDCOPActionProxyJBridge(DCOPObject* arg1) : KDCOPActionProxy(arg1) {}; - ~KDCOPActionProxyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDCOPActionProxy_actionObjectId(JNIEnv* env, jobject obj, jstring name) -{ - TQCString _qstring; -static TQCString* _qcstring_name = 0; - _qstring = ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->actionObjectId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, name, &_qcstring_name)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDCOPActionProxy_action(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDCOPActionProxy*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDCOPActionProxy_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDCOPActionProxy*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPActionProxy_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_DCOPObjectInterface_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPActionProxyJBridge((DCOPObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2(JNIEnv* env, jobject obj, jobject actionCollection, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPActionProxyJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection), (DCOPObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPActionProxy_processAction(JNIEnv* env, jobject obj, jstring arg1, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData, jobject action) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->processAction((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData), (TDEAction*) QtSupport::getQt(env, action)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPActionProxy_process(JNIEnv* env, jobject obj, jstring arg1, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDCOPActionProxy.h b/kdejava/koala/kdejava/KDCOPActionProxy.h deleted file mode 100644 index 2cb5eeec..00000000 --- a/kdejava/koala/kdejava/KDCOPActionProxy.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDCOPActionProxy__ -#define __org_kde_koala_KDCOPActionProxy__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_DCOPObjectInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDCOPActionProxy_action (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDCOPActionProxy_actionObjectId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPActionProxy_process (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPActionProxy_processAction (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jobject, jbyteArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPActionProxy_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDCOPActionProxy__ */ diff --git a/kdejava/koala/kdejava/KDCOPPropertyProxy.cpp b/kdejava/koala/kdejava/KDCOPPropertyProxy.cpp deleted file mode 100644 index 13ff8003..00000000 --- a/kdejava/koala/kdejava/KDCOPPropertyProxy.cpp +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdcoppropertyproxy.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDCOPPropertyProxy.h> - -class KDCOPPropertyProxyJBridge : public KDCOPPropertyProxy -{ -public: - KDCOPPropertyProxyJBridge(TQObject* arg1) : KDCOPPropertyProxy(arg1) {}; - ~KDCOPPropertyProxyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDCOPPropertyProxy_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDCOPPropertyProxy*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fun) -{ -static TQCString* _qcstring_fun = 0; - jboolean xret = (jboolean) ((KDCOPPropertyProxy*) QtSupport::getQt(env, obj))->isPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jstring fun, jobject object) -{ - (void) cls; -static TQCString* _qcstring_fun = 0; - jboolean xret = (jboolean) KDCOPPropertyProxyJBridge::isPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (TQObject*) QtSupport::getQt(env, object)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_newKDCOPPropertyProxy(JNIEnv* env, jobject obj, jobject object) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPPropertyProxyJBridge((TQObject*) QtSupport::getQt(env, object))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3B(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KDCOPPropertyProxy*) QtSupport::getQt(env, obj))->processPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3BLorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData, jobject object) -{ - (void) cls; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) KDCOPPropertyProxyJBridge::processPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData), (TQObject*) QtSupport::getQt(env, object)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDCOPPropertyProxy.h b/kdejava/koala/kdejava/KDCOPPropertyProxy.h deleted file mode 100644 index b2a9e268..00000000 --- a/kdejava/koala/kdejava/KDCOPPropertyProxy.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDCOPPropertyProxy__ -#define __org_kde_koala_KDCOPPropertyProxy__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPPropertyProxy_newKDCOPPropertyProxy (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3B (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3BLorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jstring, jbyteArray, jobject, jbyteArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPPropertyProxy_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPPropertyProxy_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDCOPPropertyProxy__ */ diff --git a/kdejava/koala/kdejava/KDCOPServiceStarter.cpp b/kdejava/koala/kdejava/KDCOPServiceStarter.cpp deleted file mode 100644 index 01cd7d48..00000000 --- a/kdejava/koala/kdejava/KDCOPServiceStarter.cpp +++ /dev/null @@ -1,178 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kdcopservicestarter.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDCOPServiceStarter.h> - -class KDCOPServiceStarterJBridge : public KDCOPServiceStarter -{ -public: - KDCOPServiceStarterJBridge() : KDCOPServiceStarter() {}; -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService, jint flags) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int) flags); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPServiceStarter_newKDCOPServiceStarter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPServiceStarterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDCOPServiceStarter_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDCOPServiceStarterJBridge::self(), "org.kde.koala.KDCOPServiceStarter"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService, jint flags) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int) flags); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDCOPServiceStarter.h b/kdejava/koala/kdejava/KDCOPServiceStarter.h deleted file mode 100644 index 4dcddcac..00000000 --- a/kdejava/koala/kdejava/KDCOPServiceStarter.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDCOPServiceStarter__ -#define __org_kde_koala_KDCOPServiceStarter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDCOPServiceStarter_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPServiceStarter_newKDCOPServiceStarter (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDCOPServiceStarter__ */ diff --git a/kdejava/koala/kdejava/KDE.cpp b/kdejava/koala/kdejava/KDE.cpp deleted file mode 100644 index 7d338807..00000000 --- a/kdejava/koala/kdejava/KDE.cpp +++ /dev/null @@ -1,1104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertificatecache.h> -#include <tqregion.h> -#include <ksslpemcallback.h> -#include <tdeio/slaveinterface.h> -#include <tqdatetime.h> -#include <tqrect.h> -#include <ksslcertificate.h> -#include <tdeio/global.h> -#include <tdefilemetainfo.h> -#include <kstandarddirs.h> -#include <dcopref.h> -#include <kdatastream.h> -#include <tqdatastream.h> -#include <tqpixmap.h> -#include <ksslcertdlg.h> -#include <tdefileitem.h> -#include <tdeapplication.h> -#include <tdeconfigdata.h> -#include <tqiconset.h> -#include <tdeversion.h> -#include <kicontheme.h> -#include <tdelocale.h> -#include <kdrawutil.h> -#include <tqstring.h> -#include <kprotocolinfo.h> -#include <ksslutils.h> -#include <tdeglobal.h> -#include <kiconloader.h> -#include <kprinter.h> -#include <kurl.h> -#include <tqpalette.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDE.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::BarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::BarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::BarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::DesktopIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::DesktopIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::DesktopIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_IconSize__I(JNIEnv* env, jclass cls, jint group) -{ - (void) cls; - (void) env; - jint xret = (jint) ::IconSize((TDEIcon::Group) group); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_IconSize__ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jint group, jobject instance) -{ - (void) cls; - jint xret = (jint) ::IconSize((TDEIcon::Group) group, (TDEInstance*) QtSupport::getQt(env, instance)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::MainBarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::MainBarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::MainBarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::SmallIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::SmallIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::SmallIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::UserIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::UserIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_checkAccess(JNIEnv* env, jclass cls, jstring pathname, jint mode) -{ - (void) cls; -static TQString* _qstring_pathname = 0; - jboolean xret = (jboolean) ::checkAccess((const TQString&)*(TQString*) QtSupport::toTQString(env, pathname, &_qstring_pathname), (int) mode); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_text = 0; - _qstring = ::i18n((const char*) QtSupport::toCharString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring comment, jstring text) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_comment = 0; -static TQCString* _qstring_text = 0; - _qstring = ::i18n((const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (const char*) QtSupport::toCharString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jclass cls, jstring singular, jstring plural, jlong n) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_singular = 0; -static TQCString* _qstring_plural = 0; - _qstring = ::i18n((const char*) QtSupport::toCharString(env, singular, &_qstring_singular), (const char*) QtSupport::toCharString(env, plural, &_qstring_plural), (unsigned long) n); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2II(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIII(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor, jcharArray darkColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; -static TQByteArray* _qbytearray_darkColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor), (const uchar*) QtSupport::toUcharArray(env, darkColor, &_qbytearray_darkColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor, jcharArray darkColor, jcharArray blackColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; -static TQByteArray* _qbytearray_darkColor = 0; -static TQByteArray* _qbytearray_blackColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor), (const uchar*) QtSupport::toUcharArray(env, darkColor, &_qbytearray_darkColor), (const uchar*) QtSupport::toUcharArray(env, blackColor, &_qbytearray_blackColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor, jcharArray darkColor, jcharArray blackColor, jcharArray whiteColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; -static TQByteArray* _qbytearray_darkColor = 0; -static TQByteArray* _qbytearray_blackColor = 0; -static TQByteArray* _qbytearray_whiteColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor), (const uchar*) QtSupport::toUcharArray(env, darkColor, &_qbytearray_darkColor), (const uchar*) QtSupport::toUcharArray(env, blackColor, &_qbytearray_blackColor), (const uchar*) QtSupport::toUcharArray(env, whiteColor, &_qbytearray_whiteColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor, jobject darkColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor), (TQBitmap*) QtSupport::getQt(env, darkColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor, jobject darkColor, jobject blackColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor), (TQBitmap*) QtSupport::getQt(env, darkColor), (TQBitmap*) QtSupport::getQt(env, blackColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor, jobject darkColor, jobject blackColor, jobject whiteColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor), (TQBitmap*) QtSupport::getQt(env, darkColor), (TQBitmap*) QtSupport::getQt(env, blackColor), (TQBitmap*) QtSupport::getQt(env, whiteColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (TQRect&)*(TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (TQRect&)*(TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (TQRect&)*(TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIII(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h) -{ - (void) cls; - ::kDrawRoundMask((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIIIZ(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jboolean clear) -{ - (void) cls; - ::kDrawRoundMask((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (bool) clear); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kRoundMaskRegion(JNIEnv* env, jclass cls, jobject r, jint x, jint y, jint w, jint h) -{ - (void) cls; - ::kRoundMaskRegion((TQRegion&)*(TQRegion*) QtSupport::getQt(env, r), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_kasciistricmp(JNIEnv* env, jclass cls, jstring str1, jstring str2) -{ - (void) cls; -static TQCString* _qstring_str1 = 0; -static TQCString* _qstring_str2 = 0; - jint xret = (jint) ::kasciistricmp((const char*) QtSupport::toCharString(env, str1, &_qstring_str1), (const char*) QtSupport::toCharString(env, str2, &_qstring_str2)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring type, jstring filename, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring type, jstring filename, jboolean createDir) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) createDir); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring type, jstring filename, jboolean createDir, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) createDir, (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locate((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring type, jstring filename, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locate((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1equals(JNIEnv* env, jclass cls, jobject x, jobject y) -{ - (void) cls; - jint xret = (jint) ::operator==((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, x), (KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, y)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1incr__I(JNIEnv* env, jclass cls, jint group) -{ - (void) cls; - (void) env; - jint xret = (jint) ::operator++((TDEIcon::Group&) group); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1incr__II(JNIEnv* env, jclass cls, jint group, jint arg2) -{ - (void) cls; - (void) env; - jint xret = (jint) ::operator++((TDEIcon::Group&) group, (int) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_op_1lt(JNIEnv* env, jclass cls, jobject k1, jobject k2) -{ - (void) cls; - jboolean xret = (jboolean) ::operator<((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, k1), (const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, k2)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1not_1equals(JNIEnv* env, jclass cls, jobject x, jobject y) -{ - (void) cls; - jint xret = (jint) ::operator!=((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, x), (KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, y)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jclass cls, jobject s, jint p) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KSSLCertificateCache::KSSLCertificatePolicy&) p), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileItem&)*(KFileItem*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileMetaInfoGroup&)*(KFileMetaInfoGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileMetaInfoItem&)*(KFileMetaInfoItem*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileMetaInfo&)*(KFileMetaInfo*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KSSLCertDlgRet&)*(KSSLCertDlgRet*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KURL&)*(KURL*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Z(JNIEnv* env, jclass cls, jobject str, jboolean b) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, str), (bool&) b), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jclass cls, jobject s, jint p) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KSSLCertificateCache::KSSLCertificatePolicy&) p), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2J(JNIEnv* env, jclass cls, jobject str, jlong ll) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, str), (long long int) ll), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileMetaInfoGroup&)*(const KFileMetaInfoGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileMetaInfoItem&)*(const KFileMetaInfoItem*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KSSLCertDlgRet&)*(const KSSLCertDlgRet*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KSSLCertificate&)*(const KSSLCertificate*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KURL&)*(const KURL*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Z(JNIEnv* env, jclass cls, jobject str, jboolean b) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, str), (bool) b), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_pageNameToPageSize(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jint xret = (jint) ::pageNameToPageSize((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_pageSizeToPageName(JNIEnv* env, jclass cls, jint s) -{ - const char* _qstring; - (void) cls; - _qstring = ::pageSizeToPageName((KPrinter::PageSize) s); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring message) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_message = 0; - _qstring = ::tr2i18n((const char*) QtSupport::toCharString(env, message, &_qstring_message)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring message, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_message = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = ::tr2i18n((const char*) QtSupport::toCharString(env, message, &_qstring_message), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _url1, jstring _url2) -{ - (void) cls; -static TQString* _qstring__url1 = 0; -static TQString* _qstring__url2 = 0; - jboolean xret = (jboolean) ::urlcmp((const TQString&)*(TQString*) QtSupport::toTQString(env, _url1, &_qstring__url1), (const TQString&)*(TQString*) QtSupport::toTQString(env, _url2, &_qstring__url2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring _url1, jstring _url2, jboolean _ignore_trailing, jboolean _ignore_ref) -{ - (void) cls; -static TQString* _qstring__url1 = 0; -static TQString* _qstring__url2 = 0; - jboolean xret = (jboolean) ::urlcmp((const TQString&)*(TQString*) QtSupport::toTQString(env, _url1, &_qstring__url1), (const TQString&)*(TQString*) QtSupport::toTQString(env, _url2, &_qstring__url2), (bool) _ignore_trailing, (bool) _ignore_ref); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_versionMajor(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::versionMajor(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_versionMinor(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::versionMinor(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_versionRelease(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::versionRelease(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_versionString(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = KDE::versionString(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_version(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::version(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDE.h b/kdejava/koala/kdejava/KDE.h deleted file mode 100644 index 88709b7f..00000000 --- a/kdejava/koala/kdejava/KDE.h +++ /dev/null @@ -1,138 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDE__ -#define __org_kde_koala_KDE__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_version (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_versionMajor (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_versionMinor (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_versionRelease (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_versionString (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jclass, jstring, jstring, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_pageNameToPageSize (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_pageSizeToPageName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_kasciistricmp (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1equals (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1not_1equals (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_checkAccess (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2J (JNIEnv *env, jclass, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_IconSize__ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_IconSize__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jstring, jboolean, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1incr__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1incr__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kRoundMaskRegion (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIIIZ (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIII (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2II (JNIEnv *env, jclass, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIII (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_op_1lt (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jclass, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDE__ */ diff --git a/kdejava/koala/kdejava/KDEDesktopMimeType.cpp b/kdejava/koala/kdejava/KDEDesktopMimeType.cpp deleted file mode 100644 index ff459a1c..00000000 --- a/kdejava/koala/kdejava/KDEDesktopMimeType.cpp +++ /dev/null @@ -1,224 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatastream.h> -#include <tqpixmap.h> -#include <kicontheme.h> -#include <kmimetype.h> -#include <tqstring.h> -#include <ksimpleconfig.h> -#include <kurl.h> -#include <tdeconfig.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDEDesktopMimeType.h> - -class KDEDesktopMimeTypeJBridge : public KDEDesktopMimeType -{ -public: - KDEDesktopMimeTypeJBridge(KDesktopFile* arg1) : KDEDesktopMimeType(arg1) {}; - KDEDesktopMimeTypeJBridge(TQDataStream& arg1,int arg2) : KDEDesktopMimeType(arg1,arg2) {}; - TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2,int arg3,TQString* arg4) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3,arg4); - } - TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2,int arg3) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3); - } - TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2); - } - TQPixmap protected_pixmap(TDEIcon::Group arg1) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1); - } - static pid_t protected_runFSDevice(const KURL& arg1,const KSimpleConfig& arg2) { - return (pid_t) KDEDesktopMimeType::runFSDevice(arg1,arg2); - } - static pid_t protected_runApplication(const KURL& arg1,const TQString& arg2) { - return (pid_t) KDEDesktopMimeType::runApplication(arg1,arg2); - } - static pid_t protected_runLink(const KURL& arg1,const KSimpleConfig& arg2) { - return (pid_t) KDEDesktopMimeType::runLink(arg1,arg2); - } - static pid_t protected_runMimeType(const KURL& arg1,const KSimpleConfig& arg2) { - return (pid_t) KDEDesktopMimeType::runMimeType(arg1,arg2); - } - ~KDEDesktopMimeTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_comment__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_comment__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->comment((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDEDesktopMimeType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDEDesktopMimeType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_icon__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->icon((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_icon__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->icon((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDEDesktopMimeType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDEDesktopMimeTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDEDesktopMimeTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path) -{ -static TQString* _qstring_path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path) -{ -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runApplication(JNIEnv* env, jclass cls, jobject _url, jstring _serviceFile) -{ - (void) cls; -static TQString* _qstring__serviceFile = 0; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runApplication((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _serviceFile, &_qstring__serviceFile)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runFSDevice(JNIEnv* env, jclass cls, jobject _url, jobject cfg) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runFSDevice((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const KSimpleConfig&)*(const KSimpleConfig*) QtSupport::getQt(env, cfg)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runLink(JNIEnv* env, jclass cls, jobject _url, jobject cfg) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runLink((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const KSimpleConfig&)*(const KSimpleConfig*) QtSupport::getQt(env, cfg)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runMimeType(JNIEnv* env, jclass cls, jobject _url, jobject cfg) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runMimeType((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const KSimpleConfig&)*(const KSimpleConfig*) QtSupport::getQt(env, cfg)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_run(JNIEnv* env, jclass cls, jobject _url, jboolean _is_local) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::run((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDEDesktopMimeType.h b/kdejava/koala/kdejava/KDEDesktopMimeType.h deleted file mode 100644 index cba71097..00000000 --- a/kdejava/koala/kdejava/KDEDesktopMimeType.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDEDesktopMimeType__ -#define __org_kde_koala_KDEDesktopMimeType__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_icon__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_icon__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_comment__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_comment__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_run (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runFSDevice (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runApplication (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runLink (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runMimeType (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDEDesktopMimeType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDEDesktopMimeType__ */ diff --git a/kdejava/koala/kdejava/KDEJavaSlot.cpp b/kdejava/koala/kdejava/KDEJavaSlot.cpp deleted file mode 100644 index 778d6b85..00000000 --- a/kdejava/koala/kdejava/KDEJavaSlot.cpp +++ /dev/null @@ -1,1869 +0,0 @@ -/*************************************************************************** - KDEJavaSlot.cpp - description - ------------------- - copyright : (C) 2000-2001 by Richard Dale - email : Richard_Dale@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#include "KDEJavaSlot.moc" -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> - -/* - Converts a Java type signature, from a signal or slot, to the corresponding C++ KDE type. - Used to connect a Java slot to a signal emitted by the underlying C++ KDE instance. - Note that all Java slots and signals are of type jobjectArray, and so no conversion is needed for them. -*/ -static const char * const javaToQtTypeSignatureMap[][2] = { - {"(int)", "(int)"}, - {"(Node)", "(const DOM::Node&)"}, - {"(Node,long)", "(const DOM::Node&,long)"}, - {"(KBookmark,TQPopupMenu)", "(const KBookmark&,TQPopupMenu*)"}, - {"(KDataToolInfo,String)", "(const KDataToolInfo&,const TQString&)"}, - {"(KFileItem)", "(const KFileItem*)"}, - {"(KFileItem,TQPixmap)", "(const KFileItem*,const TQPixmap&)"}, - {"(KFileItem,TQPoint)", "(const KFileItem*,const TQPoint&)"}, - {"(KFileItemList)", "(const KFileItemList&)"}, - {"(KFileItem,TQDropEvent,ArrayList)", "(const KFileItem*,TQDropEvent*,const KURL::List&)"}, - {"(TDEShortcut)", "(const TDEShortcut&)"}, - {"(KURL)", "(const KURL&)"}, - {"(KURL,KURL)", "(const KURL&,const KURL&)"}, - {"(KURL,TQPixmap)", "(const KURL&,const TQPixmap&)"}, - {"(KURL,String)", "(const KURL&,const TQString&)"}, - {"(KURL,URLArgs)", "(const KURL&,const KParts::URLArgs&)"}, - {"(ArrayList)", "(const KURL::List&)"}, - {"(TQPoint,ArrayList)", "(const TQPoint&,const KFileItemList&)"}, - {"(TQPoint,KURL,String)", "(const TQPoint&,const KURL&,const TQString&)"}, - {"(TQPoint,KURL,String,int)", "(const TQPoint&,const KURL&,const TQString&,mode_t)"}, - {"(TDEAction)", "(TDEAction*)"}, - {"(TDEAction,boolean)", "(TDEAction*,bool)"}, - {"(int)", "(TDECompletionBase::KeyBindingType)"}, - {"(KDockWidget)", "(KDockWidget*)"}, - {"(KDockWidget,KDockWidget)", "(KDockWidget*,KDockWidget*)"}, - {"(KDockWidget,int)", "(KDockWidget*,KDockWidget::DockPosition)"}, - {"(int)", "(KDualColorButton::DualColor)"}, - {"(KFileItem)", "(KFileItem*)"}, - {"(KFileTreeViewItem)", "(KFileTreeViewItem*)"}, - {"(KFileTreeViewItem,int)", "(KFileTreeViewItem*,int)"}, - {"(KFileTreeView,TQDropEvent,TQListViewItem)", "(KFileTreeView*,TQDropEvent*,TQListViewItem*)"}, - {"(KFileTreeView,TQDropEvent,TQListViewItem,TQListViewItem)", "(KFileTreeView*,TQDropEvent*,TQListViewItem*,TQListViewItem*)"}, - {"(KFileView)", "(KFileView*)"}, - {"(int)", "(TDEGlobalSettings::Completion)"}, - {"(Job)", "(TDEIO::Job*)"}, - {"(Job,KURL)", "(TDEIO::Job*,const KURL&)"}, - {"Job,KURL,KURL)", "(TDEIO::Job*,const KURL&,const KURL&)"}, - {"Job,KURL,KURL,boolean,boolean)", "(TDEIO::Job*,const KURL&,const KURL&,bool,bool)"}, - {"Job,KURL,String,KURL)", "(TDEIO::Job*,const KURL&,const TQString&,const KURL&)"}, - {"Job,byte[])", "(TDEIO::Job*,const TQByteArray&)"}, - {"Job,String)", "(TDEIO::Job*,const TQString&)"}, - {"Job,String,KURL)", "(TDEIO::Job*,const TQString&,const KURL&)"}, - {"Job,long)", "(TDEIO::Job*,TDEIO::filesize_t)"}, - {"Job,ByteArrayOutputStream)", "(TDEIO::Job*,TQByteArray&)"}, - {"Job,long)", "(TDEIO::Job*,unsigned long)"}, - {"(Slave)", "(TDEIO::Slave*)"}, - {"(SkipDlg,int)", "(TDEIO::SkipDlg*,int)"}, - {"(Slave,int,String)", "(TDEIO::Slave*,int,const TQString&)"}, - {"(TDEListView,TQDropEvent,TQListViewItem)", "(TDEListView*,TQDropEvent*,TQListViewItem*)"}, - {"(TDEListView,TQDropEvent,TQListViewItem,TQListViewItem)", "(TDEListView*,TQDropEvent*,TQListViewItem*,TQListViewItem*)"}, - {"(TDEListView,TQListViewItem)", "(TDEListView*,TQListViewItem*)"}, - {"(TDEListView,TQListViewItem,TQPoint)", "(TDEListView*,TQListViewItem*,const TQPoint&)"}, - {"(KMdiChildFrm)", "(KMdiChildFrm*)"}, - {"(KMdiChildFrm,KMdiChildFrm)", "(KMdiChildFrm*,KMdiChildFrm*)"}, - {"(KMdiChildView)", "(KMdiChildView*)"}, - {"(KMdiChildView,boolean)", "(KMdiChildView*,bool)"}, - {"(int)", "(KMdi::MdiMode)"}, - {"(Part)", "(KParts::Part*)"}, - {"(TDEPopupMenu,Calendar)", "(TDEPopupMenu*,const TQDate&)"}, - {"(TDEPopupMenu,int,TQPopupMenu)", "(TDEPopupMenu*,int,TQPopupMenu*)"}, - {"(TDEProcess)", "(TDEProcess*)"}, - {"(TDEProcess,String,int)", "(TDEProcess*,char*,int)"}, - {"(KProcIO)", "(KProcIO*)"}, - {"(KSpell)", "(KSpell*)"}, - {"(int)", "(TDEToolBar::BarPosition)"}, - {"(ArrayList,KURL)", "(KURL::List&,KURL&)"}, - {"(KURLRequester)", "(KURLRequester*)"}, - {"(KXMLGUIClient)", "(KXMLGUIClient*)"}, - {"(KXMLGUIClient,TQPoint,KFileItemList)", "(KXMLGUIClient*,const TQPoint&,const KFileItemList&)"}, - {"(KXMLGUIClient,TQPoint,KURL,String)", "(KXMLGUIClient*,const TQPoint&,const KURL&,const TQString&)"}, - {"(KXMLGUIClient,TQPoint,KURL,String,int)", "(KXMLGUIClient*,const TQPoint&,const KURL&,const TQString&,mode_t)"}, - {"(int,String,String,boolean)", "(pid_t,const TQCString&,const TQString&,bool)"}, - {"(TQDropEvent,ArrayList,KURL)", "(TQDropEvent*,const KURL::List&,const KURL&)"}, - {"(TQDropEvent,KFileItem)", "(TQDropEvent*,KFileItem*)"}, - {"(TQWidget,TQDropEvent,ArrayList)", "(TQWidget*,TQDropEvent*,KURL::List&)"}, - {"(TQWidget,TQDropEvent,ArrayList,KURL)", "(TQWidget*,TQDropEvent*,KURL::List&,KURL&)"} -}; - -KDEJavaSlot::KDEJavaSlot(JNIEnv * env, jobject receiver, jstring slot) - : JavaSlot(env, receiver, slot) -{ -} - -KDEJavaSlot::~KDEJavaSlot() -{ -} - - -const char * -KDEJavaSlot::javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TQMetaObject * smeta) -{ -static char qtSignalString[200]; - - for ( unsigned int index = 0; - index < sizeof(javaToQtTypeSignatureMap)/sizeof(*javaToQtTypeSignatureMap); - index++ ) - { - if (strcmp(javaTypeSignature, javaToQtTypeSignatureMap[index][0]) == 0) { - (void) sprintf(qtSignalString, "%s%s", signalName, javaToQtTypeSignatureMap[index][1]); - - if (smeta == 0 || smeta->findSignal(((const char *) qtSignalString + 1), TRUE) >= 0) { - return qtSignalString; - } - } - } - - return JavaSlot::javaToQtSignalType(signalName, javaTypeSignature, smeta); -} - -const char * -KDEJavaSlot::javaToQtSlotType(const char * javaTypeSignature, const char * signalString) -{ - for ( unsigned int index = 0; - index < sizeof(javaToQtTypeSignatureMap)/sizeof(*javaToQtTypeSignatureMap); - index++ ) - { - if ( strcmp(javaTypeSignature, javaToQtTypeSignatureMap[index][0]) == 0 - && ( signalString == 0 - || TQObject::checkConnectArgs(signalString, (const TQObject *) 0, javaToQtTypeSignatureMap[index][1]) ) ) - { - return javaToQtTypeSignatureMap[index][1]; - } - } - - return JavaSlot::javaToQtSlotType(javaTypeSignature, signalString); -} - -void -KDEJavaSlot::invoke(const DOM::Node& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.DOMNode") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const DOM::Node& arg1,long arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;J)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.DOMNode"), (jlong) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KBookmark& arg1,TQPopupMenu* arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KBookmark"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQPopupMenu") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KDataToolInfo& arg1,const TQString& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KDataToolInfo"), - QtSupport::fromTQString(env, (TQString *) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1,const TQPixmap& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPixmap") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1,const TQPoint& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1,TQDropEvent* arg2,const KURL::List& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItemList& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &arg1) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TDEShortcut& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.TDEShortcut") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1,const KURL& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1,const TQPixmap& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPixmap") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1,const TQString& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString *) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL&arg1, const KParts::URLArgs& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.URLArgs") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL::List& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, KDESupport::arrayWithKURLList(env, (KURL::List *) &arg1)); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TQPoint& arg1,const KFileItemList& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPoint"), - KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString*) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3,mode_t arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString*) &arg3), - (jint) arg4 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEAction* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEAction")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEAction* arg1,bool arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Z)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEAction"), (jboolean) arg2); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDECompletionBase::KeyBindingType arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDockWidget* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KDockWidget")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDockWidget*arg1,KDockWidget*arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KDockWidget"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.koala.KDockWidget") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDockWidget*arg1,KDockWidget::DockPosition arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KDockWidget"), (jint) arg2); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDualColorButton::DualColor arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileItem* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3,TQListViewItem* arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) arg4, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeViewItem* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeViewItem* arg1,int arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeViewItem"), - (jint) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileView* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileView") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEGlobalSettings::Completion arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3,bool arg4,bool arg5) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL"), - (jboolean) arg4, - (jboolean) arg5 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2,const TQString& arg3,const KURL& arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString *) &arg3), - QtSupport::objectForQtKey(env, (void *) &arg4, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const TQByteArray& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;[B)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::fromTQByteArray(env, (TQByteArray*) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const TQString& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::fromTQString(env, (TQString *) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const TQString& arg2,const KURL& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::fromTQString(env, (TQString *) &arg2), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,TDEIO::filesize_t arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;J)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - (jlong) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,TQByteArray& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jclass byteStreamClass; - jmethodID resetMid; - jobject result; - jobject byteStream; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - - byteStream = QtSupport::objectForQtKey(env, (void *) &arg2, "java.io.ByteArrayOutputStream"); - - byteStreamClass = env->GetObjectClass(byteStream); - resetMid = env->GetMethodID(byteStreamClass, "reset", "()V"); - if (resetMid == NULL) { - return ; - } - - env->CallVoidMethod(byteStream, resetMid); - - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - byteStream ); - (void) KDESupport::toTQByteArrayFromStream(env, &arg2, byteStream); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,unsigned long arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;J)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - (jlong) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::SkipDlg* arg1,int arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.SkipDlg"), - (jint) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Slave* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Slave") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Slave* arg1,int arg2,const TQString& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Slave"), - (jint) arg2, - QtSupport::fromTQString(env, (TQString *) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) arg4, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQListViewItem*arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQListViewItem*arg2,const TQPoint&arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQPoint") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildFrm* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildFrm")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildFrm* arg1,KMdiChildFrm* arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildFrm"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.koala.KMdiChildFrm") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildView* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildView")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildView* arg1,bool arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Z)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildView"), (jboolean) arg2); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdi::MdiMode arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KParts::Part* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Part") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEPopupMenu* arg1,const TQDate& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEPopupMenu"), - QtSupport::fromTQDate(env, (TQDate*) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEPopupMenu* arg1,int arg2,TQPopupMenu* arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEPopupMenu"), - (jint) arg2, - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.koala.TQPopupMenu") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEProcess* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEProcess") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEProcess* arg1,char* arg2, int arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEProcess"), - QtSupport::fromCharString(env, arg2), - (jint) arg3 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KProcIO* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KProcIO") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KSpell* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KSpell") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEToolBar::BarPosition arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KURL::List& arg1,KURL& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg1), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KURLRequester* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KURLRequester") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KFileItemList& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint"), - KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.KURL"), - QtSupport::fromTQString(env, (TQString*)&arg4) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4,mode_t arg5) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.KURL"), - QtSupport::fromTQString(env, (TQString*)&arg4), - (jint) arg5 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(pid_t arg1,const TQCString& arg2,const TQString& arg3,bool arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(ILjava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - (jint) arg1, - QtSupport::fromTQCString(env, (TQCString *) &arg2), - QtSupport::fromTQString(env, (TQString *) &arg3), - (jboolean) arg4 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQDropEvent* arg1,const KURL::List& arg2,const KURL& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg2), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQDropEvent* arg1,KFileItem* arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KFileItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3,KURL& arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg3), - QtSupport::objectForQtKey(env, (void *) &arg4, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -KDEJavaSlotFactory::KDEJavaSlotFactory() - : JavaSlotFactory() -{ -} - -JavaSlot * -KDEJavaSlotFactory::createJavaSlot(JNIEnv * env, jobject receiver, jstring slot) -{ - return new KDEJavaSlot(env, receiver, slot); -} - - diff --git a/kdejava/koala/kdejava/KDEJavaSlot.h b/kdejava/koala/kdejava/KDEJavaSlot.h deleted file mode 100644 index d7565c9b..00000000 --- a/kdejava/koala/kdejava/KDEJavaSlot.h +++ /dev/null @@ -1,152 +0,0 @@ -/*************************************************************************** - KDEJavaSlot.h - description - ------------------- - begin : Tue Oct 31 2000 - copyright : (C) 2000-2001 by Richard Dale - email : Richard_Dale@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#ifndef _KDEJAVASLOT_H_ -#define _KDEJAVASLOT_H_ - -#include <jni.h> -#include <tqobject.h> -#include <qtjava/JavaSlot.h> - -#include <dom/dom_node.h> -#include <kxmlguiclient.h> -#include <tdespell.h> -#include <kurlrequester.h> -#include <tdetoolbar.h> -#include <tdeaction.h> -#include <kcompletion.h> -#include <kdockwidget.h> -#include <kdualcolorbtn.h> -#include <tdefileview.h> -#include <tdeglobalsettings.h> -#include <tdelistview.h> -#include <kprocio.h> -#include <kprocess.h> -#include <tdeparts/part.h> -#include <tdeparts/browserextension.h> -#include <tdeio/slave.h> -#include <tdeio/skipdlg.h> -#include <kbookmark.h> -#include <kdatatool.h> -#include <tdefiletreeviewitem.h> -#include <tdemdichildfrm.h> - -class KDEJavaSlotFactory; - -class KDEJavaSlot: public JavaSlot -{ - Q_OBJECT -public: - KDEJavaSlot(JNIEnv * env, jobject receiver, jstring slot); - virtual ~KDEJavaSlot(); - - /** Converts a Java type signature for a signal to the corresponding C++ Qt type signature */ - virtual const char * javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TQMetaObject * smeta); - - /** Converts a Java type signature for a slot to the corresponding C++ Qt type signature */ - virtual const char * javaToQtSlotType(const char * javaTypeSignature, const char * signalString); - -public slots: - void invoke(const DOM::Node& arg1); - void invoke(const DOM::Node& arg1,long arg2); - void invoke(const KBookmark& arg1,TQPopupMenu* arg2); - void invoke(const KDataToolInfo& arg1,const TQString& arg2); - void invoke(const KFileItem* arg1); - void invoke(const KFileItem* arg1,const TQPixmap&); - void invoke(const KFileItem* arg1,const TQPoint&); - void invoke(const KFileItemList& arg1); - void invoke(const KFileItem* arg1,TQDropEvent* arg2,const KURL::List& arg3); - void invoke(const TDEShortcut& arg1); - void invoke(const KURL& arg1); - void invoke(const KURL& arg1,const KURL& arg2); - void invoke(const KURL& arg1,const TQPixmap& arg2); - void invoke(const KURL& arg1,const TQString& arg2); - void invoke(const KURL& arg1, const KParts::URLArgs &arg2); - void invoke(const KURL::List& arg1); - void invoke(const TQPoint& arg1,const KFileItemList& arg2); - void invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3); - void invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3,mode_t arg4); - void invoke(TDEAction* arg1); - void invoke(TDEAction* arg1,bool arg2); - void invoke(TDECompletionBase::KeyBindingType arg1); - void invoke(KDockWidget* arg1); - void invoke(KDockWidget*arg1,KDockWidget*arg2); - void invoke(KDockWidget*arg1,KDockWidget::DockPosition arg2); - void invoke(KDualColorButton::DualColor arg1); - void invoke(KFileItem* arg1); - void invoke(KFileTreeViewItem* arg1); - void invoke(KFileTreeViewItem* arg1,int arg2); - void invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3); - void invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3,TQListViewItem* arg4); - void invoke(KFileView* arg1); - void invoke(TDEGlobalSettings::Completion arg1); - void invoke(TDEIO::Job* arg1); - void invoke(TDEIO::Job* arg1,const KURL& arg2); - void invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3); - void invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3,bool arg4,bool arg5); - void invoke(TDEIO::Job* arg1,const KURL& arg2,const TQString& arg3,const KURL& arg4); - void invoke(TDEIO::Job* arg1,const TQByteArray& arg2); - void invoke(TDEIO::Job* arg1,const TQString& arg2); - void invoke(TDEIO::Job* arg1,const TQString& arg2,const KURL& arg3); - void invoke(TDEIO::Job* arg1,TDEIO::filesize_t arg2); - void invoke(TDEIO::Job* arg1,TQByteArray& arg2); - void invoke(TDEIO::Job* arg1,unsigned long arg2); - void invoke(TDEIO::Slave* arg1); - void invoke(TDEIO::SkipDlg* arg1,int arg2); - void invoke(TDEIO::Slave*,int arg2,const TQString& arg3); - void invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3); - void invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4); - void invoke(TDEListView*arg1,TQListViewItem*arg2); - void invoke(TDEListView*arg1,TQListViewItem*arg2,const TQPoint&arg3); - void invoke(KMdiChildFrm* arg1); - void invoke(KMdiChildFrm* arg1,KMdiChildFrm* arg2); - void invoke(KMdiChildView* arg1); - void invoke(KMdiChildView* arg1,bool arg2); - void invoke(KMdi::MdiMode arg1); - void invoke(KParts::Part* arg1); - void invoke(TDEPopupMenu* arg1,const TQDate& arg2); - void invoke(TDEPopupMenu* arg1,int arg2,TQPopupMenu* arg3); - void invoke(TDEProcess* arg1); - void invoke(TDEProcess* arg1,char* arg2, int arg3); - void invoke(KProcIO* arg1); - void invoke(KSpell* arg1); - void invoke(TDEToolBar::BarPosition arg1); - void invoke(KURL::List& arg1,KURL& arg2); - void invoke(KURLRequester* arg1); - void invoke(KXMLGUIClient* arg1); - void invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KFileItemList& arg3); - void invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4); - void invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4,mode_t arg5); - void invoke(pid_t arg1,const TQCString& arg2,const TQString& arg3,bool arg4); - void invoke(TQDropEvent* arg1,const KURL::List& arg2,const KURL& arg3); - void invoke(TQDropEvent* arg1,KFileItem* arg2); - void invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3); - void invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3,KURL&); -}; - -class KDEJavaSlotFactory : public JavaSlotFactory { -public: - KDEJavaSlotFactory(); - virtual ~KDEJavaSlotFactory() {}; - virtual JavaSlot * createJavaSlot(JNIEnv * env, jobject receiver, jstring slot); -}; - -#endif - - - - diff --git a/kdejava/koala/kdejava/KDESupport.cpp b/kdejava/koala/kdejava/KDESupport.cpp deleted file mode 100644 index ea0f9649..00000000 --- a/kdejava/koala/kdejava/KDESupport.cpp +++ /dev/null @@ -1,531 +0,0 @@ -/*************************************************************************** - tdesupport.cpp - description - ------------------- - copyright : (C) 2001 by Richard Dale - email : Lost_Highway@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#include <stdlib.h> - -#include <kdejava/KDESupport.h> -#include <qtjava/QtSupport.h> - - -DOM::DOMString * -KDESupport::toDOMString(JNIEnv * env, jstring str, DOM::DOMString ** domstring) -{ - const jchar * _jchar_str; - - if (str == 0L) { - return 0; - } - - if (*domstring != 0L) { - delete *domstring; - } - - _jchar_str = env->GetStringChars(str, 0); - - if (QtSupport::bigEndianUnicode()) { - *domstring = new DOM::DOMString((TQChar *) _jchar_str, env->GetStringLength(str)); - } else { -static TQString * temp = 0L; - - if (temp == 0L) { - temp = new TQString(); - } - - // Hack to change the big endian unicode in 'str' to little endian in 'temp'. - temp->setUnicodeCodes((const ushort *) _jchar_str, (long) env->GetStringLength(str)); - *domstring = new DOM::DOMString(*temp); - } - - env->ReleaseStringChars(str, _jchar_str); - return *domstring; -} - -jstring -KDESupport::fromDOMString(JNIEnv * env, DOM::DOMString * domstring) -{ - if (QtSupport::bigEndianUnicode()) { - return env->NewString((const jchar *) domstring->unicode(), (long) domstring->length()); - } else { -static TQString * temp = 0L; - - if (temp == 0L) { - temp = new TQString(); - } - - // Hack to change the big endian unicode in 'qstring' to little endian in 'temp'. - temp->setUnicodeCodes((const ushort *) domstring->unicode(), (long) domstring->length()); - return env->NewString((const jchar *) temp->unicode(), (long) temp->length()); - } -} - -KURL::List * -KDESupport::toKURLList(JNIEnv * env, jobjectArray urlList, KURL::List ** kurlList) -{ - int length; - int index; - jobject url; - - if (urlList == NULL) { - return NULL; - } - - if (*kurlList == NULL) { - *kurlList = new KURL::List(); - } - - length = env->GetArrayLength(urlList); - (*kurlList)->clear(); - - for (index = 0; index < length; index++) { - url = (jobject) env->GetObjectArrayElement(urlList, index); - (*kurlList)->append((KURL &) * (KURL *) QtSupport::getQt(env, url)); - } - - return *kurlList; -} - -KFileItemList * -KDESupport::toKFileItemList(JNIEnv * env, jobjectArray itemList, KFileItemList ** kitemList) -{ - int length; - int index; - jobject fileItem; - - if (itemList == NULL) { - return NULL; - } - - if (*kitemList == NULL) { - *kitemList = new KFileItemList(); - } - - length = env->GetArrayLength(itemList); - (*kitemList)->clear(); - - for (index = 0; index < length; index++) { - fileItem = (jobject) env->GetObjectArrayElement(itemList, index); - (*kitemList)->append((const KFileItem *) QtSupport::getQt(env, fileItem)); - } - - return *kitemList; -} - -TDECmdLineOptions * -KDESupport::toTDECmdLineOptions(JNIEnv * env, jobjectArray optionsArray) -{ - jstring jstr; - const char * str; - int length; - int index; - jobjectArray optionEntry; - TDECmdLineOptions * cmdLineOptions; - - length = env->GetArrayLength(optionsArray); - // Allocate 'length + 1' entries, to include an all NULLs last entry - cmdLineOptions = (TDECmdLineOptions *) calloc(length + 1, sizeof(struct TDECmdLineOptions)); - - for (index = 0; index < length; index++) { - optionEntry = (jobjectArray) env->GetObjectArrayElement(optionsArray, index); - - jstr = (jstring) env->GetObjectArrayElement(optionEntry, 0); - if (jstr == 0) { - cmdLineOptions[index].name = 0; - } else { - str = env->GetStringUTFChars(jstr, NULL); - cmdLineOptions[index].name = strdup(str); - env->ReleaseStringUTFChars(jstr, str); - } - - jstr = (jstring) env->GetObjectArrayElement(optionEntry, 1); - if (jstr == 0) { - cmdLineOptions[index].description = 0; - } else { - str = env->GetStringUTFChars(jstr, NULL); - cmdLineOptions[index].description = strdup(str); - env->ReleaseStringUTFChars(jstr, str); - } - - jstr = (jstring) env->GetObjectArrayElement(optionEntry, 2); - if (jstr == 0) { - cmdLineOptions[index].def = 0; - } else { - str = env->GetStringUTFChars(jstr, NULL); - cmdLineOptions[index].def = strdup(str); - env->ReleaseStringUTFChars(jstr, str); - } - } - - // An entry with three null values terminates the array - cmdLineOptions[length].name = 0; - cmdLineOptions[length].description = 0; - cmdLineOptions[length].def = 0; - - return cmdLineOptions; -} - -TQByteArray * -KDESupport::toTQByteArrayFromStream(JNIEnv * env, TQByteArray * qbyteArray, jobject byteStream) -{ - jclass cls; - jmethodID toByteArrayMid; - jbyteArray byteArray; - - if (byteStream == 0) { - return 0; - } - - cls = env->GetObjectClass(byteStream); - toByteArrayMid = env->GetMethodID(cls, "toByteArray", "()[B"); - if (toByteArrayMid == NULL) { - return NULL; - } - - byteArray = (jbyteArray) env->CallObjectMethod(byteStream, toByteArrayMid); - return QtSupport::toTQByteArray(env, byteArray, &qbyteArray); -} - -jobject -KDESupport::arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, qcstringList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - QCStringList::Iterator it; - - for (it = qcstringList->begin(); it != qcstringList->end(); ++it) { - TQCString currentTQCString = (TQCString) *it; - - if (! env->CallBooleanMethod( objectArray, - addMid, - env->NewStringUTF(currentTQCString.data()) ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithOfferList(JNIEnv * env, TDETrader::OfferList * offerList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, offerList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - TDETrader::OfferList::Iterator it; - - for (it = offerList->begin(); it != offerList->end(); ++it) { - KService::Ptr ptr = *it; - // Increment the reference count to prevent C++ garbage collection. - // The contents of the offerList should be deref'd when it's finalized, - // so ArrayList should really be sub-classed, and finalize() overriden. - ptr->_TDEShared_ref(); - KService * currentOffer = ptr; - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, currentOffer, "org.kde.koala.KService") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithTDEMainWindowList(JNIEnv * env, TQPtrList<TDEMainWindow>* memberList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, memberList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < memberList->count(); index++) { - TDEMainWindow * currentWindow = (TDEMainWindow *) (memberList->at(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, currentWindow, "org.kde.koala.TDEMainWindow") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithKFileItemList(JNIEnv * env, KFileItemList* itemList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, itemList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < itemList->count(); index++) { - KFileItem * currentItem = (KFileItem *) (itemList->at(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, currentItem, "org.kde.koala.KFileItem") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithKURLList(JNIEnv * env, KURL::List * kurlList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, kurlList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - KURL::List::Iterator it; - - for (it = kurlList->begin(); it != kurlList->end(); ++it) { - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, (void *) &it, "org.kde.koala.KURL") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithNodeList(JNIEnv * env, DOM::NodeList * nodeList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, nodeList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < nodeList->length(); index++) { - DOM::Node currentItem = (DOM::Node) (nodeList->item(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, new DOM::Node(currentItem), "org.kde.koala.DOMNode") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithStyleSheetList(JNIEnv * env, DOM::StyleSheetList * styleSheetList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, styleSheetList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < styleSheetList->length(); index++) { - DOM::StyleSheet currentItem = (DOM::StyleSheet) (styleSheetList->item(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, new DOM::StyleSheet(currentItem), "org.kde.koala.DOMNode") ) ) - { - return NULL; - } - } - - return (jobject) objectArray;} - - -jobject -KDESupport::arrayWithMediaList(JNIEnv * env, DOM::MediaList * mediaList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, mediaList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < mediaList->length(); index++) { - DOM::DOMString currentItem = (DOM::DOMString) (mediaList->item(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - env->NewString((const jchar *) currentItem.unicode(), (long) currentItem.length()) ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -QCStringList * -KDESupport::toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList ** qstringList) -{ - int length; - int index; - jstring jstr; - static TQCString * _qstring_temp = 0; - - if (*qstringList == 0) { - *qstringList = new QCStringList(); - } - - (*qstringList)->clear(); - - if (stringList == 0) { - return *qstringList; - } - - length = env->GetArrayLength(stringList); - for (index = 0; index < length; index++) { - jstr = (jstring) env->GetObjectArrayElement(stringList, index); - (*qstringList)->append((TQCString &) * (TQCString *) QtSupport::toTQCString(env, jstr, &_qstring_temp)); - env->DeleteLocalRef(jstr); - } - - return *qstringList; -} diff --git a/kdejava/koala/kdejava/KDESupport.h b/kdejava/koala/kdejava/KDESupport.h deleted file mode 100644 index d4883779..00000000 --- a/kdejava/koala/kdejava/KDESupport.h +++ /dev/null @@ -1,74 +0,0 @@ -/*************************************************************************** - tdesupport.h - description - ------------------- - begin : Mon Feb 5 2001 - copyright : (C) 2001 by Richard Dale - email : Lost_Highway@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#ifndef TDESUPPORT_H -#define TDESUPPORT_H - -#include <jni.h> - -#include <tqptrlist.h> -#include <ktrader.h> -#include <tdemainwindow.h> -#include <tdefile.h> -#include <tdefileview.h> -#include <kurl.h> -#include <tdecmdlineargs.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/css_stylesheet.h> - -/** A class with various static utility methods to help run the C++ side - of the KDE Java library. - - @author Richard Dale */ - -class KDESupport { -public: - KDESupport() {}; - ~KDESupport() {}; - - /** Convert from Java String to DOM::DOMString */ - static DOM::DOMString * toDOMString(JNIEnv * env, jstring str, DOM::DOMString ** domstring); - static jstring fromDOMString(JNIEnv * env, DOM::DOMString * domstring); - - /** Convert from a Java ArrayList to a KURL::List */ - static KURL::List * toKURLList(JNIEnv * env, jobjectArray urlList, KURL::List ** kurlList); - /** Convert from a Java ArrayList to a KFileItemList */ - static KFileItemList * toKFileItemList(JNIEnv * env, jobjectArray itemList, KFileItemList ** kitemList); - - /** Converts java options entries to the C++ TDECmdLineOption equivalent */ - static TDECmdLineOptions * toTDECmdLineOptions(JNIEnv * env, jobjectArray optionsArray); - - /** Converts a java.io.ByteArrayOutputStream to a TQByteArray */ - static TQByteArray * toTQByteArrayFromStream(JNIEnv * env, TQByteArray * byteArray, jobject byteStream); - - /** Returns a Java ArrayList for the various types of KDE List */ - static jobject arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList); - static jobject arrayWithOfferList(JNIEnv * env, TDETrader::OfferList * offerList); - static jobject arrayWithTDEMainWindowList(JNIEnv * env, TQPtrList<TDEMainWindow>* memberList); - static jobject arrayWithKFileItemList(JNIEnv * env, KFileItemList * itemList); - static jobject arrayWithKURLList(JNIEnv * env, KURL::List * kurlList); - static jobject arrayWithNodeList(JNIEnv * env, DOM::NodeList * nodeList); - static jobject arrayWithStyleSheetList(JNIEnv * env, DOM::StyleSheetList * styleSheetList); - static jobject arrayWithMediaList(JNIEnv * env, DOM::MediaList * mediaList); - - /** Convert from ArrayList to QCStringList */ - static QCStringList * toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList ** qstringList); - -}; - -#endif diff --git a/kdejava/koala/kdejava/KDataTool.cpp b/kdejava/koala/kdejava/KDataTool.cpp deleted file mode 100644 index a8377bfb..00000000 --- a/kdejava/koala/kdejava/KDataTool.cpp +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdatatool.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDataTool.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataTool_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDataTool*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataTool_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataTool_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataTool_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KDataTool*) QtSupport::getQt(env, obj))->setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - diff --git a/kdejava/koala/kdejava/KDataTool.h b/kdejava/koala/kdejava/KDataTool.h deleted file mode 100644 index f69dd570..00000000 --- a/kdejava/koala/kdejava/KDataTool.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDataTool__ -#define __org_kde_koala_KDataTool__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataTool_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataTool_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataTool_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataTool_instance (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDataTool__ */ diff --git a/kdejava/koala/kdejava/KDataToolAction.cpp b/kdejava/koala/kdejava/KDataToolAction.cpp deleted file mode 100644 index 8128b5bd..00000000 --- a/kdejava/koala/kdejava/KDataToolAction.cpp +++ /dev/null @@ -1,185 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdatatool.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDataToolAction.h> - -class KDataToolActionJBridge : public KDataToolAction -{ -public: - KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3,TQObject* arg4,const char* arg5) : KDataToolAction(arg1,arg2,arg3,arg4,arg5) {}; - KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3,TQObject* arg4) : KDataToolAction(arg1,arg2,arg3,arg4) {}; - KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3) : KDataToolAction(arg1,arg2,arg3) {}; - void protected_slotActivated() { - KDataToolAction::slotActivated(); - return; - } - ~KDataToolActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotActivated")) { - KDataToolAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDataToolAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataToolAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDataToolAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDataToolAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDataToolAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDataToolAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_command = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_command = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_command = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((KDataToolActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/KDataToolAction.h b/kdejava/koala/kdejava/KDataToolAction.h deleted file mode 100644 index 1fce3381..00000000 --- a/kdejava/koala/kdejava/KDataToolAction.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDataToolAction__ -#define __org_kde_koala_KDataToolAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataToolAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDataToolAction__ */ diff --git a/kdejava/koala/kdejava/KDataToolInfo.cpp b/kdejava/koala/kdejava/KDataToolInfo.cpp deleted file mode 100644 index 1768a261..00000000 --- a/kdejava/koala/kdejava/KDataToolInfo.cpp +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <kdatatool.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDataToolInfo.h> - -class KDataToolInfoJBridge : public KDataToolInfo -{ -public: - KDataToolInfoJBridge() : KDataToolInfo() {}; - KDataToolInfoJBridge(const KDataToolInfo& arg1) : KDataToolInfo(arg1) {}; - ~KDataToolInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_commands(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDataToolInfo*) QtSupport::getQt(env, obj))->commands(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_createTool__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->createTool(), "org.kde.koala.KDataTool"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->createTool((TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KDataTool"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->createTool((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KDataTool"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataToolInfo_dataType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDataToolInfo*) QtSupport::getQt(env, obj))->dataType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDataToolInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDataToolInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataToolInfo_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDataToolInfo*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolInfo_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDataToolInfo*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolInfo_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDataToolInfo*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_mimeTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDataToolInfo*) QtSupport::getQt(env, obj))->mimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__Lorg_kde_koala_KDataToolInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolInfoJBridge((const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_userCommands(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDataToolInfo*) QtSupport::getQt(env, obj))->userCommands(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KDataToolInfo.h b/kdejava/koala/kdejava/KDataToolInfo.h deleted file mode 100644 index 875969ae..00000000 --- a/kdejava/koala/kdejava/KDataToolInfo.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDataToolInfo__ -#define __org_kde_koala_KDataToolInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__Lorg_kde_koala_KDataToolInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataToolInfo_dataType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_mimeTypes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolInfo_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataToolInfo_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_userCommands (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_commands (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_createTool__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_instance (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolInfo_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDataToolInfo__ */ diff --git a/kdejava/koala/kdejava/KDatePicker.cpp b/kdejava/koala/kdejava/KDatePicker.cpp deleted file mode 100644 index 06596793..00000000 --- a/kdejava/koala/kdejava/KDatePicker.cpp +++ /dev/null @@ -1,698 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqdatetime.h> -#include <kdatepicker.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDatePicker.h> - -class KDatePickerJBridge : public KDatePicker -{ -public: - KDatePickerJBridge(TQWidget* arg1,TQDate arg2,const char* arg3) : KDatePicker(arg1,arg2,arg3) {}; - KDatePickerJBridge(TQWidget* arg1,TQDate arg2) : KDatePicker(arg1,arg2) {}; - KDatePickerJBridge(TQWidget* arg1) : KDatePicker(arg1) {}; - KDatePickerJBridge() : KDatePicker() {}; - KDatePickerJBridge(TQWidget* arg1,TQDate arg2,const char* arg3,TQt::WFlags arg4) : KDatePicker(arg1,arg2,arg3,arg4) {}; - KDatePickerJBridge(TQWidget* arg1,const char* arg2) : KDatePicker(arg1,arg2) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KDatePicker::eventFilter(arg1,arg2); - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KDatePicker::resizeEvent(arg1); - return; - } - void protected_dateChangedSlot(TQDate arg1) { - KDatePicker::dateChangedSlot(arg1); - return; - } - void protected_tableClickedSlot() { - KDatePicker::tableClickedSlot(); - return; - } - void protected_monthForwardClicked() { - KDatePicker::monthForwardClicked(); - return; - } - void protected_monthBackwardClicked() { - KDatePicker::monthBackwardClicked(); - return; - } - void protected_yearForwardClicked() { - KDatePicker::yearForwardClicked(); - return; - } - void protected_yearBackwardClicked() { - KDatePicker::yearBackwardClicked(); - return; - } - void protected_selectMonthClicked() { - KDatePicker::selectMonthClicked(); - return; - } - void protected_selectYearClicked() { - KDatePicker::selectYearClicked(); - return; - } - void protected_lineEnterPressed() { - KDatePicker::lineEnterPressed(); - return; - } - void protected_todayButtonClicked() { - KDatePicker::todayButtonClicked(); - return; - } - void protected_weekSelected(int arg1) { - KDatePicker::weekSelected(arg1); - return; - } - ~KDatePickerJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - KDatePicker::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","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.KDatePicker","show")) { - TQWidget::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.KDatePicker","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","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 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.KDatePicker","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDatePicker",object,event)) { - return KDatePicker::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDatePicker_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDatePicker*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_dateChangedSlot(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_dateChangedSlot((TQDate)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_dateTable(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDatePicker*) QtSupport::getQt(env, obj))->dateTable(), "org.kde.koala.KDateTable"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_date(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((KDatePicker*) QtSupport::getQt(env, obj))->date(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDatePicker_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDatePicker*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDatePicker*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDatePicker_fontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDatePicker*) QtSupport::getQt(env, obj))->fontSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_hasCloseButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDatePicker*) QtSupport::getQt(env, obj))->hasCloseButton(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_lineEnterPressed(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_lineEnterPressed(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDatePicker*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_monthBackwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_monthBackwardClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_monthForwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_monthForwardClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__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 KDatePickerJBridge((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_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject parent, jobject arg2) -{ -static TQDate* _qdate_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject arg2, jstring name) -{ -static TQDate* _qdate_arg2 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject arg2, jstring name, jint f) -{ -static TQDate* _qdate_arg2 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2), (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_KDatePicker_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_selectMonthClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_selectMonthClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_selectYearClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_selectYearClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_setCloseButton(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDatePicker*) QtSupport::getQt(env, obj))->setCloseButton((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_setDate(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - jboolean xret = (jboolean) ((KDatePicker*) QtSupport::getQt(env, obj))->setDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KDatePicker*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_setFontSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDatePicker*) QtSupport::getQt(env, obj))->setFontSize((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDatePicker*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_tableClickedSlot(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_tableClickedSlot(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_todayButtonClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_todayButtonClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_weekSelected(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_weekSelected((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_yearBackwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_yearBackwardClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_yearForwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_yearForwardClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/KDatePicker.h b/kdejava/koala/kdejava/KDatePicker.h deleted file mode 100644 index 6c0a1c74..00000000 --- a/kdejava/koala/kdejava/KDatePicker.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDatePicker__ -#define __org_kde_koala_KDatePicker__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDatePicker_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_setDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_date (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_dateTable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDatePicker_fontSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_setCloseButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_hasCloseButton (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_dateChangedSlot (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_tableClickedSlot (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_monthForwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_monthBackwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_yearForwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_yearBackwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_selectMonthClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_selectYearClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_lineEnterPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_todayButtonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_weekSelected (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDatePicker__ */ diff --git a/kdejava/koala/kdejava/KDateTable.cpp b/kdejava/koala/kdejava/KDateTable.cpp deleted file mode 100644 index 82aad130..00000000 --- a/kdejava/koala/kdejava/KDateTable.cpp +++ /dev/null @@ -1,779 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqdatetime.h> -#include <kdatetbl.h> -#include <tqcolor.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDateTable.h> - -class KDateTableJBridge : public KDateTable -{ -public: - KDateTableJBridge(TQWidget* arg1,TQDate arg2,const char* arg3,TQt::WFlags arg4) : KDateTable(arg1,arg2,arg3,arg4) {}; - KDateTableJBridge(TQWidget* arg1,TQDate arg2,const char* arg3) : KDateTable(arg1,arg2,arg3) {}; - KDateTableJBridge(TQWidget* arg1,TQDate arg2) : KDateTable(arg1,arg2) {}; - KDateTableJBridge(TQWidget* arg1) : KDateTable(arg1) {}; - KDateTableJBridge() : KDateTable() {}; - KDateTableJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KDateTable(arg1,arg2,arg3) {}; - KDateTableJBridge(TQWidget* arg1,const char* arg2) : KDateTable(arg1,arg2) {}; - int protected_posFromDate(const TQDate& arg1) { - return (int) KDateTable::posFromDate(arg1); - } - TQDate protected_dateFromPos(int arg1) { - return (TQDate) KDateTable::dateFromPos(arg1); - } - void protected_paintCell(TQPainter* arg1,int arg2,int arg3) { - KDateTable::paintCell(arg1,arg2,arg3); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - KDateTable::viewportResizeEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - KDateTable::contentsMousePressEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KDateTable::wheelEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KDateTable::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KDateTable::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - KDateTable::focusOutEvent(arg1); - return; - } - ~KDateTableJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KDateTable::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDateTable::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDateTable::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 setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDateTable::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KDateTable::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")) { - KDateTable::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDateTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDateTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_dateFromPos(JNIEnv* env, jobject obj, jint pos) -{ - TQDate _qdate; - _qdate = ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_dateFromPos((int) pos); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateTable_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDateTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDateTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_getDate(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((KDateTable*) QtSupport::getQt(env, obj))->getDate(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDateTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__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 KDateTableJBridge((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_KDateTable_newKDateTable__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 KDateTableJBridge((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_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject parent, jobject date) -{ -static TQDate* _qdate_date = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject date, jstring name) -{ -static TQDate* _qdate_date = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject date, jstring name, jint f) -{ -static TQDate* _qdate_date = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (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_KDateTable_paintCell(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jint arg3) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, arg1), (int) arg2, (int) arg3); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTable_popupMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDateTable*) QtSupport::getQt(env, obj))->popupMenuEnabled(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDateTable_posFromDate(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_posFromDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject date, jobject fgColor) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->setCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject date, jobject fgColor, jint bgMode) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->setCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (KDateTable::BackgroundMode) bgMode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject date, jobject fgColor, jint bgMode, jobject bgColor) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->setCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (KDateTable::BackgroundMode) bgMode, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTable_setDate(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - jboolean xret = (jboolean) ((KDateTable*) QtSupport::getQt(env, obj))->setDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setFontSize(JNIEnv* env, jobject obj, jint size) -{ - ((KDateTable*) QtSupport::getQt(env, obj))->setFontSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setPopupMenuEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDateTable*) QtSupport::getQt(env, obj))->setPopupMenuEnabled((bool) enable); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDateTable*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_unsetCustomDatePainting(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->unsetCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KDateTable.h b/kdejava/koala/kdejava/KDateTable.h deleted file mode 100644 index be069d6b..00000000 --- a/kdejava/koala/kdejava/KDateTable.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateTable__ -#define __org_kde_koala_KDateTable__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDateTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTable_setDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_getDate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setPopupMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTable_popupMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_unsetCustomDatePainting (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDateTable_posFromDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_dateFromPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_paintCell (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateTable__ */ diff --git a/kdejava/koala/kdejava/KDateTimeWidget.cpp b/kdejava/koala/kdejava/KDateTimeWidget.cpp deleted file mode 100644 index 7caa0875..00000000 --- a/kdejava/koala/kdejava/KDateTimeWidget.cpp +++ /dev/null @@ -1,485 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdatetimewidget.h> -#include <tqdatetime.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDateTimeWidget.h> - -class KDateTimeWidgetJBridge : public KDateTimeWidget -{ -public: - KDateTimeWidgetJBridge(TQWidget* arg1,const char* arg2) : KDateTimeWidget(arg1,arg2) {}; - KDateTimeWidgetJBridge(TQWidget* arg1) : KDateTimeWidget(arg1) {}; - KDateTimeWidgetJBridge() : KDateTimeWidget() {}; - KDateTimeWidgetJBridge(const TQDateTime& arg1,TQWidget* arg2,const char* arg3) : KDateTimeWidget(arg1,arg2,arg3) {}; - KDateTimeWidgetJBridge(const TQDateTime& arg1,TQWidget* arg2) : KDateTimeWidget(arg1,arg2) {}; - KDateTimeWidgetJBridge(const TQDateTime& arg1) : KDateTimeWidget(arg1) {}; - ~KDateTimeWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","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.KDateTimeWidget","show")) { - TQWidget::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.KDateTimeWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","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 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.KDateTimeWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDateTimeWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDateTimeWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDateTimeWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTimeWidget_dateTime(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KDateTimeWidget*) QtSupport::getQt(env, obj))->dateTime(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateTimeWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDateTimeWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDateTimeWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTimeWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTimeWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDateTimeWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject datetime) -{ -static TQDateTime* _qdate_datetime = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject datetime, jobject parent) -{ -static TQDateTime* _qdate_datetime = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject datetime, jobject parent, jstring name) -{ -static TQDateTime* _qdate_datetime = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime), (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_KDateTimeWidget_newKDateTimeWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__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 KDateTimeWidgetJBridge((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_KDateTimeWidget_setDateTime(JNIEnv* env, jobject obj, jobject datetime) -{ -static TQDateTime* _qdate_datetime = 0; - ((KDateTimeWidget*) QtSupport::getQt(env, obj))->setDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime)); - return; -} - diff --git a/kdejava/koala/kdejava/KDateTimeWidget.h b/kdejava/koala/kdejava/KDateTimeWidget.h deleted file mode 100644 index d31861fb..00000000 --- a/kdejava/koala/kdejava/KDateTimeWidget.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateTimeWidget__ -#define __org_kde_koala_KDateTimeWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTimeWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDateTimeWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTimeWidget_dateTime (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_setDateTime (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTimeWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateTimeWidget__ */ diff --git a/kdejava/koala/kdejava/KDateValidator.cpp b/kdejava/koala/kdejava/KDateValidator.cpp deleted file mode 100644 index dcd35fd8..00000000 --- a/kdejava/koala/kdejava/KDateValidator.cpp +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <tqvalidator.h> -#include <kdatetbl.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDateValidator.h> - -class KDateValidatorJBridge : public KDateValidator -{ -public: - KDateValidatorJBridge(TQWidget* arg1,const char* arg2) : KDateValidator(arg1,arg2) {}; - KDateValidatorJBridge(TQWidget* arg1) : KDateValidator(arg1) {}; - KDateValidatorJBridge() : KDateValidator() {}; - ~KDateValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDateValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDateValidator_date(JNIEnv* env, jobject obj, jstring arg1, jobject arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQDate* _qdate_arg2 = 0; - jint xret = (jint) ((KDateValidator*) QtSupport::getQt(env, obj))->date((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDateValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDateValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_fixup(JNIEnv* env, jobject obj, jobject input) -{ -static TQString* _qstring_input = 0; - ((KDateValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_newKDateValidator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateValidatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_newKDateValidator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_newKDateValidator__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 KDateValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDateValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((KDateValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDateValidator.h b/kdejava/koala/kdejava/KDateValidator.h deleted file mode 100644 index 6027254d..00000000 --- a/kdejava/koala/kdejava/KDateValidator.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateValidator__ -#define __org_kde_koala_KDateValidator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_newKDateValidator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_newKDateValidator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_newKDateValidator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDateValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDateValidator_date (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateValidator__ */ diff --git a/kdejava/koala/kdejava/KDateWidget.cpp b/kdejava/koala/kdejava/KDateWidget.cpp deleted file mode 100644 index 448d7266..00000000 --- a/kdejava/koala/kdejava/KDateWidget.cpp +++ /dev/null @@ -1,519 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdatewidget.h> -#include <tqdatetime.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDateWidget.h> - -class KDateWidgetJBridge : public KDateWidget -{ -public: - KDateWidgetJBridge(TQWidget* arg1,const char* arg2) : KDateWidget(arg1,arg2) {}; - KDateWidgetJBridge(TQWidget* arg1) : KDateWidget(arg1) {}; - KDateWidgetJBridge() : KDateWidget() {}; - KDateWidgetJBridge(TQDate arg1,TQWidget* arg2,const char* arg3) : KDateWidget(arg1,arg2,arg3) {}; - KDateWidgetJBridge(TQDate arg1,TQWidget* arg2) : KDateWidget(arg1,arg2) {}; - KDateWidgetJBridge(TQDate arg1) : KDateWidget(arg1) {}; - void protected_init() { - KDateWidget::init(); - return; - } - void protected_init(const TQDate& arg1) { - KDateWidget::init(arg1); - return; - } - void protected_slotDateChanged() { - KDateWidget::slotDateChanged(); - return; - } - ~KDateWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","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.KDateWidget","show")) { - TQWidget::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.KDateWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","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 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.KDateWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDateWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDateWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDateWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateWidget_date(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((KDateWidget*) QtSupport::getQt(env, obj))->date(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDateWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDateWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_init__(JNIEnv* env, jobject obj) -{ - ((KDateWidgetJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_init__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - ((KDateWidgetJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDateWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject date, jobject parent) -{ -static TQDate* _qdate_date = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject date, jobject parent, jstring name) -{ -static TQDate* _qdate_date = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (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_KDateWidget_newKDateWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__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 KDateWidgetJBridge((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_KDateWidget_setDate(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - ((KDateWidget*) QtSupport::getQt(env, obj))->setDate((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_slotDateChanged(JNIEnv* env, jobject obj) -{ - ((KDateWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDateChanged(); - return; -} - diff --git a/kdejava/koala/kdejava/KDateWidget.h b/kdejava/koala/kdejava/KDateWidget.h deleted file mode 100644 index 6b326d67..00000000 --- a/kdejava/koala/kdejava/KDateWidget.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateWidget__ -#define __org_kde_koala_KDateWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDateWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateWidget_date (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_setDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_init__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_init__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_slotDateChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateWidget__ */ diff --git a/kdejava/koala/kdejava/KDesktopFile.cpp b/kdejava/koala/kdejava/KDesktopFile.cpp deleted file mode 100644 index 6befe4c6..00000000 --- a/kdejava/koala/kdejava/KDesktopFile.cpp +++ /dev/null @@ -1,336 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kdesktopfile.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDesktopFile.h> - -class KDesktopFileJBridge : public KDesktopFile -{ -public: - KDesktopFileJBridge(const TQString& arg1,bool arg2,const char* arg3) : KDesktopFile(arg1,arg2,arg3) {}; - KDesktopFileJBridge(const TQString& arg1,bool arg2) : KDesktopFile(arg1,arg2) {}; - KDesktopFileJBridge(const TQString& arg1) : KDesktopFile(arg1) {}; - ~KDesktopFileJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reparseConfiguration() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDesktopFile","reparseConfiguration")) { - TDEConfig::reparseConfiguration(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDesktopFile","sync")) { - TDEConfigBase::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDesktopFile","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDesktopFile",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_copyTo(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDesktopFile*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)), "org.kde.koala.KDesktopFile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDesktopFile_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDesktopFile*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDesktopFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasActionGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasActionGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasApplicationType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasApplicationType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasDeviceType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasDeviceType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasLinkType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasLinkType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasMimeTypeType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasMimeTypeType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_isAuthorizedDesktopFile(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KDesktopFileJBridge::isAuthorizedDesktopFile((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_isDesktopFile(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KDesktopFileJBridge::isDesktopFile((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_locateLocal(JNIEnv* env, jclass cls, jstring path) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_path = 0; - _qstring = KDesktopFileJBridge::locateLocal((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDesktopFile*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDesktopFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean readOnly) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDesktopFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) readOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jboolean readOnly, jstring resType) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDesktopFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) readOnly, (const char*) QtSupport::toCharString(env, resType, &_qstring_resType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_readActions(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDesktopFile*) QtSupport::getQt(env, obj))->readActions(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readComment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readComment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readDevice(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readDevice(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readDocPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readDocPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readGenericName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readGenericName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readIcon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_resource(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->resource(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_setActionGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDesktopFile*) QtSupport::getQt(env, obj))->setActionGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_sortOrder(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDesktopFile*) QtSupport::getQt(env, obj))->sortOrder(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_tryExec(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->tryExec(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDesktopFile.h b/kdejava/koala/kdejava/KDesktopFile.h deleted file mode 100644 index 6a9b00b8..00000000 --- a/kdejava/koala/kdejava/KDesktopFile.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDesktopFile__ -#define __org_kde_koala_KDesktopFile__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readIcon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readComment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readGenericName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readDevice (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_readActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_setActionGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasActionGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasLinkType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasApplicationType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasMimeTypeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasDeviceType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_tryExec (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_resource (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readDocPath (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_sortOrder (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_copyTo (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_isDesktopFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_isAuthorizedDesktopFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_locateLocal (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDesktopFile__ */ diff --git a/kdejava/koala/kdejava/KDialog.cpp b/kdejava/koala/kdejava/KDialog.cpp deleted file mode 100644 index baaf6a61..00000000 --- a/kdejava/koala/kdejava/KDialog.cpp +++ /dev/null @@ -1,549 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdialog.h> -#include <tqrect.h> -#include <tqstring.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDialog.h> - -class KDialogJBridge : public KDialog -{ -public: - KDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : KDialog(arg1,arg2,arg3,arg4) {}; - KDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KDialog(arg1,arg2,arg3) {}; - KDialogJBridge(TQWidget* arg1,const char* arg2) : KDialog(arg1,arg2) {}; - KDialogJBridge(TQWidget* arg1) : KDialog(arg1) {}; - KDialogJBridge() : KDialog() {}; - void public_polish() { - KDialog::polish(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KDialog::keyPressEvent(arg1); - return; - } - ~KDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","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")) { - KDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","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 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.KDialog","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject widget, jobject area) -{ - (void) cls; - jboolean xret = (jboolean) KDialogJBridge::avoidArea((TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jclass cls, jobject widget, jobject area, jint screen) -{ - (void) cls; - jboolean xret = (jboolean) KDialogJBridge::avoidArea((TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area), (int) screen); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject widget) -{ - (void) cls; - KDialogJBridge::centerOnScreen((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jclass cls, jobject widget, jint screen) -{ - (void) cls; - KDialogJBridge::centerOnScreen((TQWidget*) QtSupport::getQt(env, widget), (int) screen); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialog_marginHint(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDialogJBridge::marginHint(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__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 KDialogJBridge((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_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_polish(JNIEnv* env, jobject obj) -{ - ((KDialogJBridge*) QtSupport::getQt(env, obj))->public_polish(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QLayoutItemInterface_2II(JNIEnv* env, jclass cls, jobject lay, jint margin, jint spacing) -{ - (void) cls; - KDialogJBridge::resizeLayout((TQLayoutItem*) QtSupport::getQt(env, lay), (int) margin, (int) spacing); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jclass cls, jobject widget, jint margin, jint spacing) -{ - (void) cls; - KDialogJBridge::resizeLayout((TQWidget*) QtSupport::getQt(env, widget), (int) margin, (int) spacing); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_setCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KDialog*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_setPlainCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KDialog*) QtSupport::getQt(env, obj))->setPlainCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialog_spacingHint(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDialogJBridge::spacingHint(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDialog.h b/kdejava/koala/kdejava/KDialog.h deleted file mode 100644 index 2aa669a7..00000000 --- a/kdejava/koala/kdejava/KDialog.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDialog__ -#define __org_kde_koala_KDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_polish (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_setPlainCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialog_marginHint (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialog_spacingHint (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QLayoutItemInterface_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDialog__ */ diff --git a/kdejava/koala/kdejava/KDialogBase.cpp b/kdejava/koala/kdejava/KDialogBase.cpp deleted file mode 100644 index 9a96f981..00000000 --- a/kdejava/koala/kdejava/KDialogBase.cpp +++ /dev/null @@ -1,1920 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kdialogbase.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdeconfig.h> -#include <kguiitem.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDialogBase.h> - -class KDialogBaseJBridge : public KDialogBase -{ -public: - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7,const KGuiItem& arg8,const KGuiItem& arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7,const KGuiItem& arg8,const KGuiItem& arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7,const KGuiItem& arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KDialogBase(arg1,arg2,arg3) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2) : KDialogBase(arg1,arg2) {}; - KDialogBaseJBridge(TQWidget* arg1) : KDialogBase(arg1) {}; - KDialogBaseJBridge() : KDialogBase() {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10,const KGuiItem& arg11) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9,const KGuiItem& arg10,const KGuiItem& arg11,const KGuiItem& arg12) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9,const KGuiItem& arg10,const KGuiItem& arg11) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3) : KDialogBase(arg1,arg2,arg3) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2) : KDialogBase(arg1,arg2) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10,const KGuiItem& arg11) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3) : KDialogBase(arg1,arg2,arg3) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2) : KDialogBase(arg1,arg2) {}; - KDialogBaseJBridge(const TQString& arg1) : KDialogBase(arg1) {}; - void public_adjustSize() { - KDialogBase::adjustSize(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KDialogBase::keyPressEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KDialogBase::hideEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - KDialogBase::closeEvent(arg1); - return; - } - void protected_slotHelp() { - KDialogBase::slotHelp(); - return; - } - void protected_slotDefault() { - KDialogBase::slotDefault(); - return; - } - void protected_slotDetails() { - KDialogBase::slotDetails(); - return; - } - void protected_slotUser3() { - KDialogBase::slotUser3(); - return; - } - void protected_slotUser2() { - KDialogBase::slotUser2(); - return; - } - void protected_slotUser1() { - KDialogBase::slotUser1(); - return; - } - void protected_slotOk() { - KDialogBase::slotOk(); - return; - } - void protected_slotApply() { - KDialogBase::slotApply(); - return; - } - void protected_slotTry() { - KDialogBase::slotTry(); - return; - } - void protected_slotYes() { - KDialogBase::slotYes(); - return; - } - void protected_slotNo() { - KDialogBase::slotNo(); - return; - } - void protected_slotCancel() { - KDialogBase::slotCancel(); - return; - } - void protected_slotClose() { - KDialogBase::slotClose(); - return; - } - void protected_updateGeometry() { - KDialogBase::updateGeometry(); - return; - } - void protected_slotDelayedDestruct() { - KDialogBase::slotDelayedDestruct(); - return; - } - ~KDialogBaseJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","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 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.KDialogBase","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_actionButton(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->actionButton((KDialogBase::ButtonCode) id), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialogBase_activePageIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDialogBase*) QtSupport::getQt(env, obj))->activePageIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject recv, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_slot = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->addButtonBelowList((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject guiitem, jobject recv, jstring slot) -{ -static TQCString* _qstring_slot = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->addButtonBelowList((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_addWidgetBelowList(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->addWidgetBelowList((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_adjustSize(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->public_adjustSize(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_backgroundTile(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDialogBaseJBridge::backgroundTile(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_calculateSize(JNIEnv* env, jobject obj, jint w, jint h) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->calculateSize((int) w, (int) h)), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_cancel(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->cancel(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialogBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDialogBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_closeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_configDialogSize__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->configDialogSize((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_configDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->configDialogSize((TDEConfig&)*(TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_delayedDestruct(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->delayedDestruct(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_disableResize(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->disableResize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDialogBase_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonApply(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonApply((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonCancel(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonCancel((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonOK(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonOK((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonSeparator(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonSeparator((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButton(JNIEnv* env, jobject obj, jint id, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButton((KDialogBase::ButtonCode) id, (bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableLinkedHelp(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableLinkedHelp((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDialogBase*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDialogBase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogBase_haveBackgroundTile(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KDialogBaseJBridge::haveBackgroundTile(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_helpClickedSlot(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->helpClickedSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialogBase_helpLinkText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDialogBase*) QtSupport::getQt(env, obj))->helpLinkText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->incInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject s, jboolean noResize) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->incInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (bool) noResize); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogBase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_mainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeGridMainWidget(JNIEnv* env, jobject obj, jint n, jint dir) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeGridMainWidget((int) n, (TQt::Orientation) dir), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeHBoxMainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeHBoxMainWidget(), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeMainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeMainWidget(), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeVBoxMainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeVBoxMainWidget(), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__II(JNIEnv* env, jobject obj, jint dialogFace, jint f) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (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_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2, jobject user3) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2II(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (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_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject user1) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject user1, jobject user2) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject user1, jobject user2, jobject user3) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring caption, jint buttonMask) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (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_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject yes) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, yes))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject yes, jobject no) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, yes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, no))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject yes, jobject no, jobject cancel) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, yes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, no), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, cancel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__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 KDialogBaseJBridge((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_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2, jobject user3) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialogBase_pageIndex(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KDialogBase*) QtSupport::getQt(env, obj))->pageIndex((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_plainPage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->plainPage(), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring groupName, jboolean global) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) global); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((TDEConfig&)*(TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring groupName, jboolean global) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((TDEConfig&)*(TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) global); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setBackgroundTile(JNIEnv* env, jclass cls, jobject pix) -{ - (void) cls; - KDialogBaseJBridge::setBackgroundTile((const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonApply__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonApply__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonApply((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonBoxOrientation(JNIEnv* env, jobject obj, jint orientation) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonBoxOrientation((int) orientation); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonCancel__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonCancel__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonCancel((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonGuiItem(JNIEnv* env, jobject obj, jint id, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonGuiItem((KDialogBase::ButtonCode) id, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonOK__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonOK(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonOK__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonOK((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonText(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonText((KDialogBase::ButtonCode) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonTip(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonTip((KDialogBase::ButtonCode) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonWhatsThis(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonWhatsThis((KDialogBase::ButtonCode) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setDetailsWidget(JNIEnv* env, jobject obj, jobject detailsWidget) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setDetailsWidget((TQWidget*) QtSupport::getQt(env, detailsWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setDetails(JNIEnv* env, jobject obj, jboolean showDetails) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setDetails((bool) showDetails); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setEscapeButton(JNIEnv* env, jobject obj, jint id) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setEscapeButton((KDialogBase::ButtonCode) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setFolderIcon(JNIEnv* env, jobject obj, jobjectArray path, jobject pixmap) -{ -static TQStringList* _qlist_path = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setFolderIcon((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, path, &_qlist_path), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setHelpLinkText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setHelpLinkText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor) -{ -static TQString* _qstring_anchor = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname) -{ -static TQString* _qstring_anchor = 0; -static TQString* _qstring_appname = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setIconListAllVisible(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setIconListAllVisible((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject s, jboolean noResize) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (bool) noResize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setMainWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setRootIsDecorated(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setShowIconsInTreeList(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setShowIconsInTreeList((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setTreeListAutoResize(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setTreeListAutoResize((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButtonApply(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButtonApply((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButtonCancel(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButtonCancel((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButtonOK(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButtonOK((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButton(JNIEnv* env, jobject obj, jint id, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButton((KDialogBase::ButtonCode) id, (bool) state); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogBase_showPage(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KDialogBase*) QtSupport::getQt(env, obj))->showPage((int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showTile(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showTile((bool) state); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotApply(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotCancel(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotClose(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotClose(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotDefault(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotDelayedDestruct(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotDelayedDestruct(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotDetails(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotDetails(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotHelp(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotNo(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotNo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotOk(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotTry(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotTry(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotUser1(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotUser2(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotUser2(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotUser3(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotUser3(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotYes(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotYes(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_unfoldTreeList__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->unfoldTreeList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_unfoldTreeList__Z(JNIEnv* env, jobject obj, jboolean persist) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->unfoldTreeList((bool) persist); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_updateBackground(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->updateBackground(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_updateGeometry(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_updateGeometry(); - return; -} - diff --git a/kdejava/koala/kdejava/KDialogBase.h b/kdejava/koala/kdejava/KDialogBase.h deleted file mode 100644 index 16293ee9..00000000 --- a/kdejava/koala/kdejava/KDialogBase.h +++ /dev/null @@ -1,178 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDialogBase__ -#define __org_kde_koala_KDialogBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialogBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2II (JNIEnv *env, jobject, jint, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonBoxOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setEscapeButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_adjustSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_plainPage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setFolderIcon (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeMainWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeVBoxMainWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeHBoxMainWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeGridMainWidget (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonSeparator (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButton (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButtonOK (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButtonApply (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButtonCancel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogBase_showPage (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialogBase_activePageIndex (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialogBase_pageIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setMainWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_mainWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_disableResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_configDialogSize__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_configDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonOK__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonOK__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonApply__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonApply__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonCancel__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonCancel__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonText (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonTip (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonWhatsThis (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonGuiItem (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setTreeListAutoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setShowIconsInTreeList (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setRootIsDecorated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_unfoldTreeList__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_unfoldTreeList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_addWidgetBelowList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setIconListAllVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showTile (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_calculateSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialogBase_helpLinkText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_actionButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButton (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonOK (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonApply (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonCancel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableLinkedHelp (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_delayedDestruct (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setHelpLinkText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_helpClickedSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setDetails (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setDetailsWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_updateBackground (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_cancel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogBase_haveBackgroundTile (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_backgroundTile (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setBackgroundTile (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotDetails (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotUser3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotUser2 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotApply (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotTry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotYes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotNo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_updateGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotDelayedDestruct (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogBase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDialogBase__ */ diff --git a/kdejava/koala/kdejava/KDialogQueue.cpp b/kdejava/koala/kdejava/KDialogQueue.cpp deleted file mode 100644 index 6903cb2f..00000000 --- a/kdejava/koala/kdejava/KDialogQueue.cpp +++ /dev/null @@ -1,118 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdialog.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDialogQueue.h> - -class KDialogQueueJBridge : public KDialogQueue -{ -public: - KDialogQueueJBridge() : KDialogQueue() {}; - static KDialogQueue* protected_self() { - return (KDialogQueue*) KDialogQueue::self(); - } - ~KDialogQueueJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDialogQueue",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialogQueue_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDialogQueue*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDialogQueue_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDialogQueue*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDialogQueue*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogQueue_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogQueue_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogQueue*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_newKDialogQueue(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogQueueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_queueDialog(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - KDialogQueueJBridge::queueDialog((TQDialog*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogQueue_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDialogQueueJBridge::protected_self(), "org.kde.koala.KDialogQueue"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDialogQueue.h b/kdejava/koala/kdejava/KDialogQueue.h deleted file mode 100644 index 43e491fc..00000000 --- a/kdejava/koala/kdejava/KDialogQueue.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDialogQueue__ -#define __org_kde_koala_KDialogQueue__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogQueue_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialogQueue_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_queueDialog (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_newKDialogQueue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogQueue_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogQueue_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDialogQueue__ */ diff --git a/kdejava/koala/kdejava/KDirLister.cpp b/kdejava/koala/kdejava/KDirLister.cpp deleted file mode 100644 index b7b8f6f0..00000000 --- a/kdejava/koala/kdejava/KDirLister.cpp +++ /dev/null @@ -1,487 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tdeparts/browserextension.h> -#include <kdirlister.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDirLister.h> - -class KDirListerJBridge : public KDirLister -{ -public: - KDirListerJBridge(bool arg1) : KDirLister(arg1) {}; - KDirListerJBridge() : KDirLister() {}; - void public_stop() { - KDirLister::stop(); - return; - } - void public_emitChanges() { - KDirLister::emitChanges(); - return; - } - void public_clearMimeFilter() { - KDirLister::clearMimeFilter(); - return; - } - bool protected_matchesFilter(const KFileItem* arg1) { - return (bool) KDirLister::matchesFilter(arg1); - } - bool protected_matchesMimeFilter(const KFileItem* arg1) { - return (bool) KDirLister::matchesMimeFilter(arg1); - } - bool protected_doMimeFilter(const TQString& arg1,const TQStringList& arg2) { - return (bool) KDirLister::doMimeFilter(arg1,arg2); - } - bool protected_doMimeExcludeFilter(const TQString& arg1,const TQStringList& arg2) { - return (bool) KDirLister::doMimeExcludeFilter(arg1,arg2); - } - bool protected_validURL(const KURL& arg1) { - return (bool) KDirLister::validURL(arg1); - } - void protected_handleError(TDEIO::Job* arg1) { - KDirLister::handleError(arg1); - return; - } - ~KDirListerJBridge() {QtSupport::qtKeyDeleted(this);} - void clearMimeFilter() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirLister","clearMimeFilter")) { - KDirLister::clearMimeFilter(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void emitChanges() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirLister","emitChanges")) { - KDirLister::emitChanges(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void updateDirectory(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"updateDirectory",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::updateDirectory(arg1); - } - return; - } - void handleError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)arg1,"org.kde.koala.Job")) { - KDirLister::handleError(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirLister",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"stop",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::stop(arg1); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_autoErrorHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->autoErrorHandlingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_autoUpdate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->autoUpdate(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirLister_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirLister*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_clearMimeFilter(JNIEnv* env, jobject obj) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->public_clearMimeFilter(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_dirOnlyMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->dirOnlyMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_directories(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->directories(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirLister_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_doMimeExcludeFilter(JNIEnv* env, jobject obj, jstring mimeExclude, jobjectArray filters) -{ -static TQString* _qstring_mimeExclude = 0; -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_doMimeExcludeFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeExclude, &_qstring_mimeExclude), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_doMimeFilter(JNIEnv* env, jobject obj, jstring mime, jobjectArray filters) -{ -static TQString* _qstring_mime = 0; -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_doMimeFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, mime, &_qstring_mime), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_emitChanges(JNIEnv* env, jobject obj) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->public_emitChanges(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDirLister*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDirLister*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_findByName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->findByName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_findByURL(JNIEnv* env, jobject obj, jobject _url) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->findByURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_find(JNIEnv* env, jobject obj, jobject _url) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->find((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_handleError(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_handleError((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_isFinished(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->isFinished(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject dir) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->itemsForDir((const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject dir, jint which) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->itemsForDir((const KURL&)*(const KURL*) QtSupport::getQt(env, dir), (KDirLister::WhichItems) which); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_items__(JNIEnv* env, jobject obj) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_items__I(JNIEnv* env, jobject obj, jint which) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->items((KDirLister::WhichItems) which); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_mainWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->mainWindow(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->matchesFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesFilter__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_matchesFilter((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesMimeFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mime) -{ -static TQString* _qstring_mime = 0; - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->matchesMimeFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, mime, &_qstring_mime)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesMimeFilter__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_matchesMimeFilter((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_mimeFilters(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->mimeFilters(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirLister_nameFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirLister*) QtSupport::getQt(env, obj))->nameFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_newKDirLister__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirListerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_newKDirLister__Z(JNIEnv* env, jobject obj, jboolean _delayedMimeTypes) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirListerJBridge((bool) _delayedMimeTypes)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _url) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _keep) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _keep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jobject obj, jobject _url, jboolean _keep, jboolean _reload) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _keep, (bool) _reload); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_rootItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->rootItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setAutoErrorHandlingEnabled(JNIEnv* env, jobject obj, jboolean enable, jobject parent) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setAutoErrorHandlingEnabled((bool) enable, (TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setAutoUpdate(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setDirOnlyMode(JNIEnv* env, jobject obj, jboolean dirsOnly) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setDirOnlyMode((bool) dirsOnly); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setMainWindow(JNIEnv* env, jobject obj, jobject window) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setMainWindow((TQWidget*) QtSupport::getQt(env, window)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setMimeExcludeFilter(JNIEnv* env, jobject obj, jobjectArray mimeList) -{ -static TQStringList* _qlist_mimeList = 0; - ((KDirLister*) QtSupport::getQt(env, obj))->setMimeExcludeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimeList, &_qlist_mimeList)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setMimeFilter(JNIEnv* env, jobject obj, jobjectArray mimeList) -{ -static TQStringList* _qlist_mimeList = 0; - ((KDirLister*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimeList, &_qlist_mimeList)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setNameFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KDirLister*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setShowingDotFiles(JNIEnv* env, jobject obj, jboolean _showDotFiles) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setShowingDotFiles((bool) _showDotFiles); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_showingDotFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->showingDotFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_stop__(JNIEnv* env, jobject obj) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_stop__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _url) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->stop((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_updateDirectory(JNIEnv* env, jobject obj, jobject _dir) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->updateDirectory((const KURL&)*(const KURL*) QtSupport::getQt(env, _dir)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((KDirLister*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_validURL(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_validURL((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDirLister.h b/kdejava/koala/kdejava/KDirLister.h deleted file mode 100644 index 040a5543..00000000 --- a/kdejava/koala/kdejava/KDirLister.h +++ /dev/null @@ -1,67 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirLister__ -#define __org_kde_koala_KDirLister__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirLister_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_newKDirLister__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_newKDirLister__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_stop__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_stop__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_autoUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_autoErrorHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setAutoErrorHandlingEnabled (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_showingDotFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setShowingDotFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_dirOnlyMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setDirOnlyMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_directories (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_emitChanges (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_updateDirectory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_isFinished (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_rootItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_findByURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_find (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_findByName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setNameFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirLister_nameFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setMimeFilter (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setMimeExcludeFilter (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_clearMimeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_mimeFilters (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesFilter__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesMimeFilter__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setMainWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_mainWindow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_items__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_items__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesFilter__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesMimeFilter__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_doMimeFilter (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_doMimeExcludeFilter (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_validURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_handleError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirLister__ */ diff --git a/kdejava/koala/kdejava/KDirNotify.cpp b/kdejava/koala/kdejava/KDirNotify.cpp deleted file mode 100644 index 2caaedf1..00000000 --- a/kdejava/koala/kdejava/KDirNotify.cpp +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdirnotify.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDirNotify.h> - diff --git a/kdejava/koala/kdejava/KDirNotify.h b/kdejava/koala/kdejava/KDirNotify.h deleted file mode 100644 index a1d840a9..00000000 --- a/kdejava/koala/kdejava/KDirNotify.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirNotify__ -#define __org_kde_koala_KDirNotify__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirNotify__ */ diff --git a/kdejava/koala/kdejava/KDirOperator.cpp b/kdejava/koala/kdejava/KDirOperator.cpp deleted file mode 100644 index da2f5dce..00000000 --- a/kdejava/koala/kdejava/KDirOperator.cpp +++ /dev/null @@ -1,1239 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdediroperator.h> -#include <tqdir.h> -#include <tdeparts/browserextension.h> -#include <tdeaction.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tqstringlist.h> -#include <kurl.h> -#include <tdefile.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDirOperator.h> - -class KDirOperatorJBridge : public KDirOperator -{ -public: - KDirOperatorJBridge(const KURL& arg1,TQWidget* arg2,const char* arg3) : KDirOperator(arg1,arg2,arg3) {}; - KDirOperatorJBridge(const KURL& arg1,TQWidget* arg2) : KDirOperator(arg1,arg2) {}; - KDirOperatorJBridge(const KURL& arg1) : KDirOperator(arg1) {}; - KDirOperatorJBridge() : KDirOperator() {}; - KFileView* protected_createView(TQWidget* arg1,KFile::FileView arg2) { - return (KFileView*) KDirOperator::createView(arg1,arg2); - } - void protected_setDirLister(KDirLister* arg1) { - KDirOperator::setDirLister(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KDirOperator::resizeEvent(arg1); - return; - } - void protected_setupActions() { - KDirOperator::setupActions(); - return; - } - void protected_updateSortActions() { - KDirOperator::updateSortActions(); - return; - } - void protected_updateViewActions() { - KDirOperator::updateViewActions(); - return; - } - void protected_setupMenu() { - KDirOperator::setupMenu(); - return; - } - void protected_prepareCompletionObjects() { - KDirOperator::prepareCompletionObjects(); - return; - } - bool protected_checkPreviewSupport() { - return (bool) KDirOperator::checkPreviewSupport(); - } - void protected_resetCursor() { - KDirOperator::resetCursor(); - return; - } - void protected_pathChanged() { - KDirOperator::pathChanged(); - return; - } - void protected_insertNewFiles(const KFileItemList& arg1) { - KDirOperator::insertNewFiles(arg1); - return; - } - void protected_itemDeleted(KFileItem* arg1) { - KDirOperator::itemDeleted(arg1); - return; - } - void protected_selectDir(const KFileItem* arg1) { - KDirOperator::selectDir(arg1); - return; - } - void protected_selectFile(const KFileItem* arg1) { - KDirOperator::selectFile(arg1); - return; - } - void protected_highlightFile(const KFileItem* arg1) { - KDirOperator::highlightFile(arg1); - return; - } - void protected_activatedMenu(const KFileItem* arg1,const TQPoint& arg2) { - KDirOperator::activatedMenu(arg1,arg2); - return; - } - void protected_sortByName() { - KDirOperator::sortByName(); - return; - } - void protected_sortBySize() { - KDirOperator::sortBySize(); - return; - } - void protected_sortByDate() { - KDirOperator::sortByDate(); - return; - } - void protected_sortReversed() { - KDirOperator::sortReversed(); - return; - } - void protected_toggleDirsFirst() { - KDirOperator::toggleDirsFirst(); - return; - } - void protected_toggleIgnoreCase() { - KDirOperator::toggleIgnoreCase(); - return; - } - void protected_slotCompletionMatch(const TQString& arg1) { - KDirOperator::slotCompletionMatch(arg1); - return; - } - ~KDirOperatorJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDirOperator::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","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.KDirOperator","show")) { - TQWidget::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.KDirOperator","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","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 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.KDirOperator","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirOperator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_activatedMenu(JNIEnv* env, jobject obj, jobject arg1, jobject pos) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_activatedMenu((const KFileItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_back(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->back(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_cdUp(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->cdUp(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_checkPreviewSupport(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_checkPreviewSupport(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_clearFilter(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->clearFilter(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_clearHistory(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->clearHistory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_closeLoading(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_close(JNIEnv* env, jobject obj, jboolean alsoDelete) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->close((bool) alsoDelete); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_completionObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_createView(JNIEnv* env, jobject obj, jobject parent, jint view) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_createView((TQWidget*) QtSupport::getQt(env, parent), (KFile::FileView) view), "org.kde.koala.KFileViewInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray items, jobject parent) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask, jboolean showProgress) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask, (bool) showProgress), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean ask) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (bool) ask), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2ZZ(JNIEnv* env, jobject obj, jobjectArray items, jboolean ask, jboolean showProgress) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (bool) ask, (bool) showProgress), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_deleteSelected(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->deleteSelected(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_dirCompletionObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->dirCompletionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_dirHighlighting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->dirHighlighting(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_dirLister(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->dirLister(), "org.kde.koala.KDirLister"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_dirOnlyMode__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->dirOnlyMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_dirOnlyMode__I(JNIEnv* env, jclass cls, jint mode) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KDirOperatorJBridge::dirOnlyMode((uint) mode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirOperator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDirOperator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDirOperator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_forward(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->forward(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_highlightFile(JNIEnv* env, jobject obj, jobject i) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_highlightFile((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_home(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->home(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_insertNewFiles(JNIEnv* env, jobject obj, jobjectArray newone) -{ -static KFileItemList* _qlist_newone = 0; - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_insertNewFiles((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, newone, &_qlist_newone)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_isRoot(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->isRoot(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_isSelected(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_itemDeleted(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_itemDeleted((KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_makeCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_makeDirCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->makeDirCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_mimeFilter(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDirOperator*) QtSupport::getQt(env, obj))->mimeFilter(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_mkdir__(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->mkdir(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring directory) -{ -static TQString* _qstring_directory = 0; - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring directory, jboolean enterDirectory) -{ -static TQString* _qstring_directory = 0; - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (bool) enterDirectory); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_nameFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->nameFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject urlName) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, urlName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject urlName, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, urlName), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject urlName, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, urlName), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_pathChanged(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_pathChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_prepareCompletionObjects(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_prepareCompletionObjects(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_progressBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->progressBar(), "org.kde.koala.KProgress"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_rereadDir(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->rereadDir(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_resetCursor(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_resetCursor(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_selectDir(JNIEnv* env, jobject obj, jobject item) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_selectDir((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_selectFile(JNIEnv* env, jobject obj, jobject item) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_selectFile((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KDirOperator*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setAcceptDrops(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setCurrentItem(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setDirLister(JNIEnv* env, jobject obj, jobject lister) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_setDirLister((KDirLister*) QtSupport::getQt(env, lister)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setEnableDirHighlighting(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setEnableDirHighlighting((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setMimeFilter(JNIEnv* env, jobject obj, jobjectArray mimetypes) -{ -static TQStringList* _qlist_mimetypes = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimetypes, &_qlist_mimetypes)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setMode((KFile::Mode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setNameFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setPreviewWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setPreviewWidget((const TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setShowHiddenFiles(JNIEnv* env, jobject obj, jboolean s) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setShowHiddenFiles((bool) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setSorting(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setURL(JNIEnv* env, jobject obj, jobject url, jboolean clearforward) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) clearforward); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setViewConfig(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setViewConfig((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setView__I(JNIEnv* env, jobject obj, jint view) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setView((KFile::FileView) view); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setView__Lorg_kde_koala_KFileViewInterface_2(JNIEnv* env, jobject obj, jobject view) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setView((KFileView*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setupActions(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_setupActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setupMenu__(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_setupMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setupMenu__I(JNIEnv* env, jobject obj, jint whichActions) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setupMenu((int) whichActions); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_showHiddenFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->showHiddenFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_slotCompletionMatch(JNIEnv* env, jobject obj, jstring match) -{ -static TQString* _qstring_match = 0; - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_slotCompletionMatch((const TQString&)*(TQString*) QtSupport::toTQString(env, match, &_qstring_match)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortByDate(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortByDate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortByName(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortByName(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortBySize(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortBySize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortReversed(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortReversed(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_toggleDirsFirst(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_toggleDirsFirst(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_toggleIgnoreCase(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_toggleIgnoreCase(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_trashSelected(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->trashSelected((TDEAction::ActivationReason) arg1, (TQt::ButtonState) arg2); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray items, jobject parent) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->trash((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->trash((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask, jboolean showProgress) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->trash((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask, (bool) showProgress), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateDir(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->updateDir(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateSelectionDependentActions(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->updateSelectionDependentActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateSortActions(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_updateSortActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateViewActions(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_updateViewActions(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KDirOperator*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_viewConfigGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->viewConfigGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_viewConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->viewConfig(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_viewWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->viewWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.KFileViewInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KDirOperator.h b/kdejava/koala/kdejava/KDirOperator.h deleted file mode 100644 index 02205c92..00000000 --- a/kdejava/koala/kdejava/KDirOperator.h +++ /dev/null @@ -1,122 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirOperator__ -#define __org_kde_koala_KDirOperator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setShowHiddenFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_showHiddenFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_closeLoading (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_close (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setNameFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_nameFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setMimeFilter (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_mimeFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_clearFilter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setURL (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setCurrentItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setView__Lorg_kde_koala_KFileViewInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_view (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_viewWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setView__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_isRoot (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_dirLister (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_progressBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setPreviewWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_completionObject (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_dirCompletionObject (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setViewConfig (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_viewConfig (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_viewConfigGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_clearHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setEnableDirHighlighting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_dirHighlighting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_dirOnlyMode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setupMenu__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_back (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_forward (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_home (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_cdUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_rereadDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_mkdir__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_deleteSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateSelectionDependentActions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_makeDirCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_trashSelected (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_dirOnlyMode__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_createView (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setDirLister (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setupActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateSortActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateViewActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setupMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_prepareCompletionObjects (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_checkPreviewSupport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_resetCursor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_pathChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_insertNewFiles (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_itemDeleted (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_selectDir (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_selectFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_highlightFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_activatedMenu (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortByName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortBySize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortByDate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_toggleDirsFirst (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_toggleIgnoreCase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_slotCompletionMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirOperator__ */ diff --git a/kdejava/koala/kdejava/KDirSelectDialog.cpp b/kdejava/koala/kdejava/KDirSelectDialog.cpp deleted file mode 100644 index 3430d8b0..00000000 --- a/kdejava/koala/kdejava/KDirSelectDialog.cpp +++ /dev/null @@ -1,640 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kurl.h> -#include <kdirselectdialog.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDirSelectDialog.h> - -class KDirSelectDialogJBridge : public KDirSelectDialog -{ -public: - KDirSelectDialogJBridge(const TQString& arg1,bool arg2,TQWidget* arg3,const char* arg4,bool arg5) : KDirSelectDialog(arg1,arg2,arg3,arg4,arg5) {}; - KDirSelectDialogJBridge(const TQString& arg1,bool arg2,TQWidget* arg3,const char* arg4) : KDirSelectDialog(arg1,arg2,arg3,arg4) {}; - KDirSelectDialogJBridge(const TQString& arg1,bool arg2,TQWidget* arg3) : KDirSelectDialog(arg1,arg2,arg3) {}; - KDirSelectDialogJBridge(const TQString& arg1,bool arg2) : KDirSelectDialog(arg1,arg2) {}; - KDirSelectDialogJBridge(const TQString& arg1) : KDirSelectDialog(arg1) {}; - KDirSelectDialogJBridge() : KDirSelectDialog() {}; - void protected_accept() { - KDirSelectDialog::accept(); - return; - } - void protected_slotUser1() { - KDirSelectDialog::slotUser1(); - return; - } - ~KDirSelectDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","accept")) { - KDirSelectDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","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 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.KDirSelectDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotUser1")) { - KDirSelectDialog::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_accept(JNIEnv* env, jobject obj) -{ - ((KDirSelectDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirSelectDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirSelectDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirSelectDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDirSelectDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDirSelectDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirSelectDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirSelectDialog_localOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirSelectDialog*) QtSupport::getQt(env, obj))->localOnly(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirSelectDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring startDir) -{ -static TQString* _qstring_startDir = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly) -{ -static TQString* _qstring_startDir = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly, jobject parent) -{ -static TQString* _qstring_startDir = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly, jobject parent, jstring name) -{ -static TQString* _qstring_startDir = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (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_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_startDir = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring startDir, jboolean localOnly) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly)), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jboolean localOnly, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jboolean localOnly, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_setCurrentURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KDirSelectDialog*) QtSupport::getQt(env, obj))->setCurrentURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_slotUser1(JNIEnv* env, jobject obj) -{ - ((KDirSelectDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirSelectDialog_startDir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirSelectDialog*) QtSupport::getQt(env, obj))->startDir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KDirSelectDialog*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirSelectDialog*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.KFileTreeView"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDirSelectDialog.h b/kdejava/koala/kdejava/KDirSelectDialog.h deleted file mode 100644 index b01897a2..00000000 --- a/kdejava/koala/kdejava/KDirSelectDialog.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirSelectDialog__ -#define __org_kde_koala_KDirSelectDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirSelectDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_view (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirSelectDialog_localOnly (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirSelectDialog_startDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_setCurrentURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jboolean, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirSelectDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirSelectDialog__ */ diff --git a/kdejava/koala/kdejava/KDirSize.cpp b/kdejava/koala/kdejava/KDirSize.cpp deleted file mode 100644 index 5f347338..00000000 --- a/kdejava/koala/kdejava/KDirSize.cpp +++ /dev/null @@ -1,186 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tdeparts/browserextension.h> -#include <kdirsize.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDirSize.h> - -class KDirSizeJBridge : public KDirSize -{ -public: - KDirSizeJBridge(const KURL& arg1) : KDirSize(arg1) {}; - KDirSizeJBridge(const KFileItemList& arg1) : KDirSize(arg1) {}; - void protected_setSync() { - KDirSize::setSync(); - return; - } - void protected_startNextJob(const KURL& arg1) { - KDirSize::startNextJob(arg1); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - KDirSize::slotResult(arg1); - return; - } - void protected_processList() { - KDirSize::processList(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - KDirSize::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirSize",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirSize_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirSize*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSize_dirSizeJob__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray lstItems) -{ - (void) cls; -static KFileItemList* _qlist_lstItems = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDirSizeJBridge::dirSizeJob((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, lstItems, &_qlist_lstItems)), "org.kde.koala.KDirSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSize_dirSizeJob__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject directory) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDirSizeJBridge::dirSizeJob((const KURL&)*(const KURL*) QtSupport::getQt(env, directory)), "org.kde.koala.KDirSize"); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_dirSize(JNIEnv* env, jclass cls, jobject directory) -{ - (void) cls; - jlong xret = (jlong) KDirSizeJBridge::dirSize((const KURL&)*(const KURL*) QtSupport::getQt(env, directory)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSize_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirSize*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_newKDirSize__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray lstItems) -{ -static KFileItemList* _qlist_lstItems = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSizeJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, lstItems, &_qlist_lstItems))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_newKDirSize__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject directory) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSizeJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, directory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_processList(JNIEnv* env, jobject obj) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_processList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_setSync(JNIEnv* env, jobject obj) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_setSync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_startNextJob(JNIEnv* env, jobject obj, jobject url) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_startNextJob((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_totalFiles(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KDirSize*) QtSupport::getQt(env, obj))->totalFiles(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_totalSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KDirSize*) QtSupport::getQt(env, obj))->totalSize(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_totalSubdirs(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KDirSize*) QtSupport::getQt(env, obj))->totalSubdirs(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDirSize.h b/kdejava/koala/kdejava/KDirSize.h deleted file mode 100644 index 2e112612..00000000 --- a/kdejava/koala/kdejava/KDirSize.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirSize__ -#define __org_kde_koala_KDirSize__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSize_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirSize_className (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_totalSize (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_totalFiles (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_totalSubdirs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSize_dirSizeJob__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSize_dirSizeJob__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_dirSize (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_newKDirSize__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_newKDirSize__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_setSync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_startNextJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_processList (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirSize__ */ diff --git a/kdejava/koala/kdejava/KDirWatch.cpp b/kdejava/koala/kdejava/KDirWatch.cpp deleted file mode 100644 index 248af90c..00000000 --- a/kdejava/koala/kdejava/KDirWatch.cpp +++ /dev/null @@ -1,297 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <tqstring.h> -#include <kdirwatch.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDirWatch.h> - -class KDirWatchJBridge : public KDirWatch -{ -public: - KDirWatchJBridge(TQObject* arg1,const char* arg2) : KDirWatch(arg1,arg2) {}; - KDirWatchJBridge(TQObject* arg1) : KDirWatch(arg1) {}; - KDirWatchJBridge() : KDirWatch() {}; - ~KDirWatchJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirWatch",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring path, jboolean watchFiles) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) watchFiles); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring path, jboolean watchFiles, jboolean recursive) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) watchFiles, (bool) recursive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirWatch_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirWatch*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_contains(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirWatch_ctime(JNIEnv* env, jobject obj, jstring path) -{ - TQDateTime _qdate; -static TQString* _qstring_path = 0; - _qdate = ((KDirWatch*) QtSupport::getQt(env, obj))->ctime((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirWatch_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_exists(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KDirWatchJBridge::exists(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDirWatch*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDirWatch*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirWatch_internalMethod(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirWatch*) QtSupport::getQt(env, obj))->internalMethod(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_isStopped(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->isStopped(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirWatch_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirWatch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_newKDirWatch__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirWatchJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirWatchJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirWatchJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_removeDir(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->removeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_removeFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->removeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_restartDirScan(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->restartDirScan((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirWatch_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDirWatchJBridge::self(), "org.kde.koala.KDirWatch"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_setCreated(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->setCreated((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_setDeleted(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->setDeleted((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_setDirty(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->setDirty((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_startScan__(JNIEnv* env, jobject obj) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->startScan(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_startScan__Z(JNIEnv* env, jobject obj, jboolean notify) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->startScan((bool) notify); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_startScan__ZZ(JNIEnv* env, jobject obj, jboolean notify, jboolean skippedToo) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->startScan((bool) notify, (bool) skippedToo); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_statistics(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KDirWatchJBridge::statistics(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_stopDirScan(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->stopDirScan((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_stopScan(JNIEnv* env, jobject obj) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->stopScan(); - return; -} - diff --git a/kdejava/koala/kdejava/KDirWatch.h b/kdejava/koala/kdejava/KDirWatch.h deleted file mode 100644 index 43f8779b..00000000 --- a/kdejava/koala/kdejava/KDirWatch.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirWatch__ -#define __org_kde_koala_KDirWatch__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirWatch_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirWatch_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_newKDirWatch__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirWatch_ctime (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_removeDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_removeFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_stopDirScan (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_restartDirScan (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_startScan__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_startScan__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_startScan__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_stopScan (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_isStopped (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_setCreated (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_setDirty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_setDeleted (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirWatch_internalMethod (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_statistics (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirWatch_self (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_exists (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirWatch__ */ diff --git a/kdejava/koala/kdejava/KDiskFreeSp.cpp b/kdejava/koala/kdejava/KDiskFreeSp.cpp deleted file mode 100644 index 56627032..00000000 --- a/kdejava/koala/kdejava/KDiskFreeSp.cpp +++ /dev/null @@ -1,125 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdiskfreesp.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDiskFreeSp.h> - -class KDiskFreeSpJBridge : public KDiskFreeSp -{ -public: - KDiskFreeSpJBridge(TQObject* arg1,const char* arg2) : KDiskFreeSp(arg1,arg2) {}; - KDiskFreeSpJBridge(TQObject* arg1) : KDiskFreeSp(arg1) {}; - KDiskFreeSpJBridge() : KDiskFreeSp() {}; - ~KDiskFreeSpJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDiskFreeSp",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDiskFreeSp_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDiskFreeSp*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDiskFreeSp*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDiskFreeSp_findUsageInfo(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDiskFreeSpJBridge::findUsageInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)), "org.kde.koala.KDiskFreeSp"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDiskFreeSp_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDiskFreeSpJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDiskFreeSpJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDiskFreeSpJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDiskFreeSp_readDF(JNIEnv* env, jobject obj, jstring mountPoint) -{ -static TQString* _qstring_mountPoint = 0; - jint xret = (jint) ((KDiskFreeSp*) QtSupport::getQt(env, obj))->readDF((const TQString&)*(TQString*) QtSupport::toTQString(env, mountPoint, &_qstring_mountPoint)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDiskFreeSp.h b/kdejava/koala/kdejava/KDiskFreeSp.h deleted file mode 100644 index 4751ac15..00000000 --- a/kdejava/koala/kdejava/KDiskFreeSp.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDiskFreeSp__ -#define __org_kde_koala_KDiskFreeSp__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDiskFreeSp_readDF (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDiskFreeSp_findUsageInfo (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDiskFreeSp_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDiskFreeSp__ */ diff --git a/kdejava/koala/kdejava/KDockArea.cpp b/kdejava/koala/kdejava/KDockArea.cpp deleted file mode 100644 index c33a1fe3..00000000 --- a/kdejava/koala/kdejava/KDockArea.cpp +++ /dev/null @@ -1,601 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <kdockwidget.h> -#include <tqstring.h> -#include <tqdom.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockArea.h> - -class KDockAreaJBridge : public KDockArea -{ -public: - KDockAreaJBridge(TQWidget* arg1,const char* arg2) : KDockArea(arg1,arg2) {}; - KDockAreaJBridge(TQWidget* arg1) : KDockArea(arg1) {}; - KDockAreaJBridge() : KDockArea() {}; - void protected_slotDockWidgetUndocked() { - KDockArea::slotDockWidgetUndocked(); - return; - } - ~KDockAreaJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDockArea::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","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.KDockArea","show")) { - TQWidget::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.KDockArea","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","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 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.KDockArea","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockArea",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_activateDock(JNIEnv* env, jobject obj) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->activateDock(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockArea_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockArea*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockArea_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_dockHideShowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->dockHideShowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockArea*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockArea*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_getMainDockWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->getMainDockWidget(), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockArea_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_makeDockInvisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->makeDockInvisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_makeDockVisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->makeDockVisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_makeWidgetDockVisible(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->makeWidgetDockVisible((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_manager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->manager(), "org.kde.koala.KDockManager"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_newKDockArea__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockAreaJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_newKDockArea__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockAreaJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_newKDockArea__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 KDockAreaJBridge((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_KDockArea_readDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_setMainDockWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->setMainDockWidget((KDockWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_slotDockWidgetUndocked(JNIEnv* env, jobject obj) -{ - ((KDockAreaJBridge*) QtSupport::getQt(env, obj))->protected_slotDockWidgetUndocked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockArea.h b/kdejava/koala/kdejava/KDockArea.h deleted file mode 100644 index a77ad75b..00000000 --- a/kdejava/koala/kdejava/KDockArea.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockArea__ -#define __org_kde_koala_KDockArea__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockArea_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_newKDockArea__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_newKDockArea__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_newKDockArea__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_manager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_setMainDockWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_getMainDockWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_activateDock (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_dockHideShowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_makeDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_makeDockInvisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_makeWidgetDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_slotDockWidgetUndocked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockArea_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockArea__ */ diff --git a/kdejava/koala/kdejava/KDockMainWindow.cpp b/kdejava/koala/kdejava/KDockMainWindow.cpp deleted file mode 100644 index bd7f3160..00000000 --- a/kdejava/koala/kdejava/KDockMainWindow.cpp +++ /dev/null @@ -1,682 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <kdockwidget.h> -#include <tqstring.h> -#include <tqdom.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockMainWindow.h> - -class KDockMainWindowJBridge : public KDockMainWindow -{ -public: - KDockMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KDockMainWindow(arg1,arg2,arg3) {}; - KDockMainWindowJBridge(TQWidget* arg1,const char* arg2) : KDockMainWindow(arg1,arg2) {}; - KDockMainWindowJBridge(TQWidget* arg1) : KDockMainWindow(arg1) {}; - KDockMainWindowJBridge() : KDockMainWindow() {}; - void protected_slotDockWidgetUndocked() { - KDockMainWindow::slotDockWidgetUndocked(); - return; - } - ~KDockMainWindowJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - 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.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","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.KDockMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_activateDock(JNIEnv* env, jobject obj) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->activateDock(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockMainWindow_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_dockHideShowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->dockHideShowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockMainWindow*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_getMainDockWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->getMainDockWidget(), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockMainWindow_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_makeDockInvisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->makeDockInvisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_makeDockVisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->makeDockVisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_makeWidgetDockVisible(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->makeWidgetDockVisible((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_manager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->manager(), "org.kde.koala.KDockManager"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__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 KDockMainWindowJBridge((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_KDockMainWindow_newKDockMainWindow__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 KDockMainWindowJBridge((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_KDockMainWindow_readDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_setMainDockWidget(JNIEnv* env, jobject obj, jobject dockwidget) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->setMainDockWidget((KDockWidget*) QtSupport::getQt(env, dockwidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_setView(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->setView((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_slotDockWidgetUndocked(JNIEnv* env, jobject obj) -{ - ((KDockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_slotDockWidgetUndocked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockMainWindow.h b/kdejava/koala/kdejava/KDockMainWindow.h deleted file mode 100644 index 36ada2ff..00000000 --- a/kdejava/koala/kdejava/KDockMainWindow.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockMainWindow__ -#define __org_kde_koala_KDockMainWindow__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_manager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_setMainDockWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_getMainDockWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_activateDock (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_dockHideShowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_makeDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_makeDockInvisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_makeWidgetDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_setView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_slotDockWidgetUndocked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockMainWindow_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockMainWindow__ */ diff --git a/kdejava/koala/kdejava/KDockManager.cpp b/kdejava/koala/kdejava/KDockManager.cpp deleted file mode 100644 index 4ec206c0..00000000 --- a/kdejava/koala/kdejava/KDockManager.cpp +++ /dev/null @@ -1,340 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdockwidget.h> -#include <tqstring.h> -#include <tqdom.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockManager.h> - -class KDockManagerJBridge : public KDockManager -{ -public: - KDockManagerJBridge(TQWidget* arg1,const char* arg2) : KDockManager(arg1,arg2) {}; - KDockManagerJBridge(TQWidget* arg1) : KDockManager(arg1) {}; - ~KDockManagerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockManager",object,event)) { - return KDockManager::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_activate(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->activate(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockManager_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_dockHideShowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->dockHideShowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_dumpDockWidgets(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->dumpDockWidgets(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_eventFilter(JNIEnv* env, jobject obj, jobject object, jobject event) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, object), (TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDockManager*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDockManager*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_findWidgetParentDock(JNIEnv* env, jobject obj, jobject w) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->findWidgetParentDock((TQWidget*) QtSupport::getQt(env, w)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_finishReadDockConfig(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->finishReadDockConfig(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_getDockWidgetFromName(JNIEnv* env, jobject obj, jstring dockName) -{ -static TQString* _qstring_dockName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->getDockWidgetFromName((const TQString&)*(TQString*) QtSupport::toTQString(env, dockName, &_qstring_dockName)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_makeWidgetDockVisible(JNIEnv* env, jobject obj, jobject w) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->makeWidgetDockVisible((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject mainWindow) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockManagerJBridge((TQWidget*) QtSupport::getQt(env, mainWindow))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject mainWindow, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockManagerJBridge((TQWidget*) QtSupport::getQt(env, mainWindow), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_removeFromAutoCreateList(JNIEnv* env, jobject obj, jobject pDockWidget) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->removeFromAutoCreateList((KDockWidget*) QtSupport::getQt(env, pDockWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setMainDockWidget2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setMainDockWidget2((KDockWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setReadDockConfigMode(JNIEnv* env, jobject obj, jint mode) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setReadDockConfigMode((int) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialBottomDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialBottomDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialLeftDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialLeftDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialRightDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialRightDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialTopDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialTopDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterHighResolution__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterHighResolution(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterHighResolution__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterHighResolution((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterKeepSize__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterKeepSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterKeepSize__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterKeepSize((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterOpaqueResize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterOpaqueResize((bool) b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_splitterHighResolution(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->splitterHighResolution(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_splitterKeepSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->splitterKeepSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_splitterOpaqueResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->splitterOpaqueResize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockManager.h b/kdejava/koala/kdejava/KDockManager.h deleted file mode 100644 index 44d149b8..00000000 --- a/kdejava/koala/kdejava/KDockManager.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockManager__ -#define __org_kde_koala_KDockManager__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockManager_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_dumpDockWidgets (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setMainDockWidget2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_activate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_findWidgetParentDock (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_makeWidgetDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_dockHideShowMenu (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_getDockWidgetFromName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_splitterOpaqueResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterKeepSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterKeepSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_splitterKeepSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterHighResolution__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterHighResolution__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_splitterHighResolution (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialLeftDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialTopDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialRightDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialBottomDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_removeFromAutoCreateList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_finishReadDockConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setReadDockConfigMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockManager__ */ diff --git a/kdejava/koala/kdejava/KDockTabGroup.cpp b/kdejava/koala/kdejava/KDockTabGroup.cpp deleted file mode 100644 index d32e5dce..00000000 --- a/kdejava/koala/kdejava/KDockTabGroup.cpp +++ /dev/null @@ -1,431 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdockwidget.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockTabGroup.h> - -class KDockTabGroupJBridge : public KDockTabGroup -{ -public: - KDockTabGroupJBridge(TQWidget* arg1,const char* arg2) : KDockTabGroup(arg1,arg2) {}; - KDockTabGroupJBridge(TQWidget* arg1) : KDockTabGroup(arg1) {}; - KDockTabGroupJBridge() : KDockTabGroup() {}; - ~KDockTabGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::removePage(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")) { - TQTabWidget::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","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.KDockTabGroup","show")) { - TQWidget::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.KDockTabGroup","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.KDockTabGroup","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","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")) { - TQTabWidget::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::showPage(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","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 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.KDockTabGroup","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockTabGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockTabGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockTabGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockTabGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockTabGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockTabGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockTabGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockTabGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockTabGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockTabGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__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 KDockTabGroupJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockTabGroup_transientTo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockTabGroup*) QtSupport::getQt(env, obj))->transientTo(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDockTabGroup.h b/kdejava/koala/kdejava/KDockTabGroup.h deleted file mode 100644 index e2f6c3d0..00000000 --- a/kdejava/koala/kdejava/KDockTabGroup.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockTabGroup__ -#define __org_kde_koala_KDockTabGroup__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockTabGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockTabGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockTabGroup_transientTo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockTabGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockTabGroup__ */ diff --git a/kdejava/koala/kdejava/KDockWidget.cpp b/kdejava/koala/kdejava/KDockWidget.cpp deleted file mode 100644 index a5268ce0..00000000 --- a/kdejava/koala/kdejava/KDockWidget.cpp +++ /dev/null @@ -1,885 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <kdockwidget.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <netwm_def.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockWidget.h> - -class KDockWidgetJBridge : public KDockWidget -{ -public: - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4,const TQString& arg5,const TQString& arg6,TQt::WFlags arg7) : KDockWidget(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4,const TQString& arg5,const TQString& arg6) : KDockWidget(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4,const TQString& arg5) : KDockWidget(arg1,arg2,arg3,arg4,arg5) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4) : KDockWidget(arg1,arg2,arg3,arg4) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3) : KDockWidget(arg1,arg2,arg3) {}; - void public_show() { - KDockWidget::show(); - return; - } - void protected_updateHeader() { - KDockWidget::updateHeader(); - return; - } - void protected_setLatestKDockContainer(TQWidget* arg1) { - KDockWidget::setLatestKDockContainer(arg1); - return; - } - TQWidget* protected_latestKDockContainer() { - return (TQWidget*) KDockWidget::latestKDockContainer(); - } - void protected_setFormerBrotherDockWidget(KDockWidget* arg1) { - KDockWidget::setFormerBrotherDockWidget(arg1); - return; - } - void protected_loseFormerBrotherDockWidget() { - KDockWidget::loseFormerBrotherDockWidget(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KDockWidget::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KDockWidget::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KDockWidget::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KDockWidget::mouseMoveEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KDockWidget::leaveEvent(arg1); - return; - } - ~KDockWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","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.KDockWidget","show")) { - KDockWidget::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.KDockWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KDockWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - KDockWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KDockWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","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")) { - KDockWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDockWidget::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.KDockWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_changeHideShowState(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->changeHideShowState(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_currentDockPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->currentDockPosition(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_dockBack(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->dockBack(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_dockManager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->dockManager(), "org.kde.koala.KDockManager"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_dockSite(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->dockSite(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_enableDocking(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->enableDocking(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_findNearestDockWidget(JNIEnv* env, jobject obj, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->findNearestDockWidget((KDockWidget::DockPosition) pos), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_forcedFixedHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->forcedFixedHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_forcedFixedWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->forcedFixedWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_getHeader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->getHeader(), "org.kde.koala.KDockWidgetAbstractHeader"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_getWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->getWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_isDockBackPossible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->isDockBackPossible(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_latestKDockContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_latestKDockContainer(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_loseFormerBrotherDockWidget(JNIEnv* env, jobject obj) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loseFormerBrotherDockWidget(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_makeDockVisible(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->makeDockVisible(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2I(JNIEnv* env, jobject obj, jobject target, jint dockPos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2II(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos, (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos, jobject pos, jboolean check) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos, (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos), (bool) check), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2ZI(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos, jobject pos, jboolean check, jint tabIndex) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos, (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos), (bool) check, (int) tabIndex), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_mayBeHide(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->mayBeHide(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_mayBeShow(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->mayBeShow(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent, jstring strCaption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel, jint f) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_parentDockContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->parentDockContainer(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_parentDockTabGroup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->parentDockTabGroup(), "org.kde.koala.KDockTabGroup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KDockWidget*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_restoreFromForcedFixedSize(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->restoreFromForcedFixedSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setDockSite(JNIEnv* env, jobject obj, jint pos) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setDockSite((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setDockWindowTransient(JNIEnv* env, jobject obj, jobject parent, jboolean transientEnabled) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setDockWindowTransient((TQWidget*) QtSupport::getQt(env, parent), (bool) transientEnabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setDockWindowType(JNIEnv* env, jobject obj, jint windowType) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setDockWindowType((NET::WindowType) windowType); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setEnableDocking(JNIEnv* env, jobject obj, jint pos) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setEnableDocking((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setForcedFixedHeight(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setForcedFixedHeight((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setForcedFixedWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setForcedFixedWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setFormerBrotherDockWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setFormerBrotherDockWidget((KDockWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setHeader(JNIEnv* env, jobject obj, jobject ah) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setHeader((KDockWidgetAbstractHeader*) QtSupport::getQt(env, ah)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setLatestKDockContainer(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setLatestKDockContainer((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setPixmap__(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setPixmap(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setTabPageLabel(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KDockWidget*) QtSupport::getQt(env, obj))->setTabPageLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setToolTipString(JNIEnv* env, jobject obj, jstring ttStr) -{ -static TQString* _qstring_ttStr = 0; - ((KDockWidget*) QtSupport::getQt(env, obj))->setToolTipString((const TQString&)*(TQString*) QtSupport::toTQString(env, ttStr, &_qstring_ttStr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_show(JNIEnv* env, jobject obj) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidget_tabPageLabel(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDockWidget*) QtSupport::getQt(env, obj))->tabPageLabel(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_toDesktop(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->toDesktop(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidget_toolTipString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDockWidget*) QtSupport::getQt(env, obj))->toolTipString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_transientTo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->transientTo(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_undock(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->undock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_updateHeader(JNIEnv* env, jobject obj) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateHeader(); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidget.h b/kdejava/koala/kdejava/KDockWidget.h deleted file mode 100644 index b11e21b3..00000000 --- a/kdejava/koala/kdejava/KDockWidget.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidget__ -#define __org_kde_koala_KDockWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2ZI (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setEnableDocking (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_enableDocking (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setDockSite (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_dockSite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_getWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setHeader (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_getHeader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_makeDockVisible (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_mayBeHide (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_mayBeShow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_dockManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setToolTipString (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidget_toolTipString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_isDockBackPossible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setTabPageLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidget_tabPageLabel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_show (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_parentDockTabGroup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_parentDockContainer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setDockWindowType (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setDockWindowTransient (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_transientTo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_findNearestDockWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_currentDockPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setForcedFixedWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setForcedFixedHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_restoreFromForcedFixedSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_forcedFixedWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_forcedFixedHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_dockBack (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_changeHideShowState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_undock (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_toDesktop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_updateHeader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setLatestKDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_latestKDockContainer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setFormerBrotherDockWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_loseFormerBrotherDockWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidget__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.cpp b/kdejava/koala/kdejava/KDockWidgetAbstractHeader.cpp deleted file mode 100644 index f74a15db..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.cpp +++ /dev/null @@ -1,471 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdockwidget.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockWidgetAbstractHeader.h> - -class KDockWidgetAbstractHeaderJBridge : public KDockWidgetAbstractHeader -{ -public: - KDockWidgetAbstractHeaderJBridge(KDockWidget* arg1,const char* arg2) : KDockWidgetAbstractHeader(arg1,arg2) {}; - KDockWidgetAbstractHeaderJBridge(KDockWidget* arg1) : KDockWidgetAbstractHeader(arg1) {}; - ~KDockWidgetAbstractHeaderJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","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.KDockWidgetAbstractHeader","show")) { - TQWidget::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.KDockWidgetAbstractHeader","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","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; - } - void loadConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"loadConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetAbstractHeader::loadConfig(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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void saveConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetAbstractHeader::saveConfig(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","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 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.KDockWidgetAbstractHeader","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetAbstractHeader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetAbstractHeader*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetAbstractHeader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_loadConfig(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->loadConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetAbstractHeaderJBridge((KDockWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_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 KDockWidgetAbstractHeaderJBridge((KDockWidget*) 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_KDockWidgetAbstractHeader_saveConfig(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->saveConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_setTopLevel(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->setTopLevel((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.h b/kdejava/koala/kdejava/KDockWidgetAbstractHeader.h deleted file mode 100644 index 6eb5a790..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetAbstractHeader__ -#define __org_kde_koala_KDockWidgetAbstractHeader__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_setTopLevel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_saveConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_loadConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetAbstractHeader__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.cpp b/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.cpp deleted file mode 100644 index 2c815caf..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.cpp +++ /dev/null @@ -1,445 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdockwidget.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockWidgetAbstractHeaderDrag.h> - -class KDockWidgetAbstractHeaderDragJBridge : public KDockWidgetAbstractHeaderDrag -{ -public: - KDockWidgetAbstractHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2,const char* arg3) : KDockWidgetAbstractHeaderDrag(arg1,arg2,arg3) {}; - KDockWidgetAbstractHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2) : KDockWidgetAbstractHeaderDrag(arg1,arg2) {}; - ~KDockWidgetAbstractHeaderDragJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","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.KDockWidgetAbstractHeaderDrag","show")) { - TQWidget::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.KDockWidgetAbstractHeaderDrag","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","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 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.KDockWidgetAbstractHeaderDrag","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetAbstractHeaderDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dockWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetAbstractHeaderDrag*) QtSupport::getQt(env, obj))->dockWidget(), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetAbstractHeaderDrag*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetAbstractHeaderDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetAbstractHeaderDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetAbstractHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject dock, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetAbstractHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.h b/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.h deleted file mode 100644 index 3403fbc3..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetAbstractHeaderDrag__ -#define __org_kde_koala_KDockWidgetAbstractHeaderDrag__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dockWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetAbstractHeaderDrag__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetHeader.cpp b/kdejava/koala/kdejava/KDockWidgetHeader.cpp deleted file mode 100644 index 140e732e..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeader.cpp +++ /dev/null @@ -1,531 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdockwidget.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockWidgetHeader.h> - -class KDockWidgetHeaderJBridge : public KDockWidgetHeader -{ -public: - KDockWidgetHeaderJBridge(KDockWidget* arg1,const char* arg2) : KDockWidgetHeader(arg1,arg2) {}; - KDockWidgetHeaderJBridge(KDockWidget* arg1) : KDockWidgetHeader(arg1) {}; - void protected_slotStayClicked() { - KDockWidgetHeader::slotStayClicked(); - return; - } - ~KDockWidgetHeaderJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","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.KDockWidgetHeader","show")) { - TQWidget::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.KDockWidgetHeader","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","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; - } - void loadConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"loadConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetHeader::loadConfig(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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void saveConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetHeader::saveConfig(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","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 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.KDockWidgetHeader","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetHeader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetHeader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetHeader_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetHeader_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetHeader_dragPanel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetHeader*) QtSupport::getQt(env, obj))->dragPanel(), "org.kde.koala.KDockWidgetHeaderDrag"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetHeader*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetHeader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__(JNIEnv* env, jobject obj) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->forceCloseButtonHidden(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__Z(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->forceCloseButtonHidden((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetHeader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_loadConfig(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->loadConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetHeader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetHeader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetHeaderJBridge((KDockWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_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 KDockWidgetHeaderJBridge((KDockWidget*) 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_KDockWidgetHeader_saveConfig(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->saveConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_setDragPanel(JNIEnv* env, jobject obj, jobject nd) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->setDragPanel((KDockWidgetHeaderDrag*) QtSupport::getQt(env, nd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_setTopLevel(JNIEnv* env, jobject obj, jboolean t) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->setTopLevel((bool) t); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_showUndockButton(JNIEnv* env, jobject obj, jboolean show) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->showUndockButton((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_slotStayClicked(JNIEnv* env, jobject obj) -{ - ((KDockWidgetHeaderJBridge*) QtSupport::getQt(env, obj))->protected_slotStayClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetHeader.h b/kdejava/koala/kdejava/KDockWidgetHeader.h deleted file mode 100644 index 5941185c..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeader.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetHeader__ -#define __org_kde_koala_KDockWidgetHeader__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetHeader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetHeader_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_setTopLevel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_setDragPanel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetHeader_dragPanel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetHeader_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_showUndockButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_saveConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_loadConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_slotStayClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetHeader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetHeader__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp b/kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp deleted file mode 100644 index aac8f3b1..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp +++ /dev/null @@ -1,449 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdockwidget.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDockWidgetHeaderDrag.h> - -class KDockWidgetHeaderDragJBridge : public KDockWidgetHeaderDrag -{ -public: - KDockWidgetHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2,const char* arg3) : KDockWidgetHeaderDrag(arg1,arg2,arg3) {}; - KDockWidgetHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2) : KDockWidgetHeaderDrag(arg1,arg2) {}; - void protected_paintEvent(TQPaintEvent* arg1) { - KDockWidgetHeaderDrag::paintEvent(arg1); - return; - } - ~KDockWidgetHeaderDragJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","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.KDockWidgetHeaderDrag","show")) { - TQWidget::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.KDockWidgetHeaderDrag","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KDockWidgetHeaderDrag::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","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 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.KDockWidgetHeaderDrag","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetHeaderDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetHeaderDrag_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetHeaderDrag*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetHeaderDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetHeaderDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject dock, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetHeaderDragJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.h b/kdejava/koala/kdejava/KDockWidgetHeaderDrag.h deleted file mode 100644 index a9bd31a9..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetHeaderDrag__ -#define __org_kde_koala_KDockWidgetHeaderDrag__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetHeaderDrag__ */ diff --git a/kdejava/koala/kdejava/KDoubleNumInput.cpp b/kdejava/koala/kdejava/KDoubleNumInput.cpp deleted file mode 100644 index 531e9536..00000000 --- a/kdejava/koala/kdejava/KDoubleNumInput.cpp +++ /dev/null @@ -1,773 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <knuminput.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDoubleNumInput.h> - -class KDoubleNumInputJBridge : public KDoubleNumInput -{ -public: - KDoubleNumInputJBridge(TQWidget* arg1,const char* arg2) : KDoubleNumInput(arg1,arg2) {}; - KDoubleNumInputJBridge(TQWidget* arg1) : KDoubleNumInput(arg1) {}; - KDoubleNumInputJBridge() : KDoubleNumInput() {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4,int arg5,TQWidget* arg6,const char* arg7) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4,int arg5,TQWidget* arg6) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4,int arg5) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4) : KDoubleNumInput(arg1,arg2,arg3,arg4) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3) : KDoubleNumInput(arg1,arg2,arg3) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5,int arg6,TQWidget* arg7,const char* arg8) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5,int arg6,TQWidget* arg7) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5,int arg6) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4) : KDoubleNumInput(arg1,arg2,arg3,arg4) {}; - void protected_doLayout() { - KDoubleNumInput::doLayout(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KDoubleNumInput::resizeEvent(arg1); - return; - } - void protected_resetEditBox() { - KDoubleNumInput::resetEditBox(); - return; - } - ~KDoubleNumInputJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDoubleNumInput::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","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.KDoubleNumInput","show")) { - TQWidget::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.KDoubleNumInput","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void resetEditBox() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","resetEditBox")) { - KDoubleNumInput::resetEditBox(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","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 doLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","doLayout")) { - KDoubleNumInput::doLayout(); - } - return; - } - 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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","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 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.KDoubleNumInput","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDoubleNumInput",object,event)) { - return KDoubleNumInput::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDoubleNumInput_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_doLayout(JNIEnv* env, jobject obj) -{ - ((KDoubleNumInputJBridge*) QtSupport::getQt(env, obj))->protected_doLayout(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleNumInput_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDoubleNumInput*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDoubleNumInput*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleNumInput_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_maxValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDoubleNumInput_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDoubleNumInput*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_minValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDoubleNumInput_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDoubleNumInput*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDD(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDD(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDI(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step, (int) precision)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step, (int) precision, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step, (int) precision, (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_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDD(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDD(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDI(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step, (int) precision)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step, (int) precision, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step, (int) precision, (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_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__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 KDoubleNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDoubleNumInput_precision(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->precision(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_referencePoint(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->referencePoint(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_relativeValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->relativeValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_resetEditBox(JNIEnv* env, jobject obj) -{ - ((KDoubleNumInputJBridge*) QtSupport::getQt(env, obj))->protected_resetEditBox(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDoubleNumInputJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a) -{ -static TQString* _qstring_label = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setMaxValue(JNIEnv* env, jobject obj, jdouble max) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setMaxValue((double) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setMinValue(JNIEnv* env, jobject obj, jdouble min) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setMinValue((double) min); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setPrecision(JNIEnv* env, jobject obj, jint precision) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setPrecision((int) precision); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setPrefix(JNIEnv* env, jobject obj, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRange__DD(JNIEnv* env, jobject obj, jdouble min, jdouble max) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRange((double) min, (double) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRange__DDD(JNIEnv* env, jobject obj, jdouble min, jdouble max, jdouble step) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRange((double) min, (double) max, (double) step); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRange__DDDZ(JNIEnv* env, jobject obj, jdouble min, jdouble max, jdouble step, jboolean slider) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRange((double) min, (double) max, (double) step, (bool) slider); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setReferencePoint(JNIEnv* env, jobject obj, jdouble ref) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setReferencePoint((double) ref); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRelativeValue(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRelativeValue((double) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setSpecialValueText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setSpecialValueText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setSuffix(JNIEnv* env, jobject obj, jstring suffix) -{ -static TQString* _qstring_suffix = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setSuffix((const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setValue(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setValue((double) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_specialValueText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->specialValueText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_suffix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->suffix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_value(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDoubleNumInput.h b/kdejava/koala/kdejava/KDoubleNumInput.h deleted file mode 100644 index 4117773b..00000000 --- a/kdejava/koala/kdejava/KDoubleNumInput.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDoubleNumInput__ -#define __org_kde_koala_KDoubleNumInput__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDoubleNumInput_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDI (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDI (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDD (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDD (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_value (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_suffix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_prefix (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDoubleNumInput_precision (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_specialValueText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRange__DDDZ (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRange__DDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRange__DD (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setMinValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setMaxValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setPrecision (JNIEnv *env, jobject, jint); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_referencePoint (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_relativeValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setSpecialValueText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDoubleNumInput_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleNumInput_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRelativeValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setReferencePoint (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setSuffix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_doLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_resetEditBox (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleNumInput_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDoubleNumInput__ */ diff --git a/kdejava/koala/kdejava/KDoubleValidator.cpp b/kdejava/koala/kdejava/KDoubleValidator.cpp deleted file mode 100644 index 004c2d6d..00000000 --- a/kdejava/koala/kdejava/KDoubleValidator.cpp +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqvalidator.h> -#include <tqstring.h> -#include <knumvalidator.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDoubleValidator.h> - -class KDoubleValidatorJBridge : public KDoubleValidator -{ -public: - KDoubleValidatorJBridge(TQObject* arg1,const char* arg2) : KDoubleValidator(arg1,arg2) {}; - KDoubleValidatorJBridge(TQObject* arg1) : KDoubleValidator(arg1) {}; - KDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4,const char* arg5) : KDoubleValidator(arg1,arg2,arg3,arg4,arg5) {}; - KDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4) : KDoubleValidator(arg1,arg2,arg3,arg4) {}; - ~KDoubleValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDoubleValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleValidator_acceptLocalizedNumbers(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDoubleValidator*) QtSupport::getQt(env, obj))->acceptLocalizedNumbers(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDoubleValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDoubleValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDoubleValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDoubleValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDoubleValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDoubleValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_setAcceptLocalizedNumbers(JNIEnv* env, jobject obj, jboolean accept) -{ - ((KDoubleValidator*) QtSupport::getQt(env, obj))->setAcceptLocalizedNumbers((bool) accept); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDoubleValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) -{ -static TQString* _qstring_input = 0; - int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((KDoubleValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input), (int&) *_int_pos); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - env->SetIntArrayRegion(pos, 0, 1, (jint *) _int_pos); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDoubleValidator.h b/kdejava/koala/kdejava/KDoubleValidator.h deleted file mode 100644 index ebf37960..00000000 --- a/kdejava/koala/kdejava/KDoubleValidator.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDoubleValidator__ -#define __org_kde_koala_KDoubleValidator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDoubleValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDoubleValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleValidator_acceptLocalizedNumbers (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_setAcceptLocalizedNumbers (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDoubleValidator__ */ diff --git a/kdejava/koala/kdejava/KDualColorButton.cpp b/kdejava/koala/kdejava/KDualColorButton.cpp deleted file mode 100644 index c5bfa514..00000000 --- a/kdejava/koala/kdejava/KDualColorButton.cpp +++ /dev/null @@ -1,632 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kdualcolorbutton.h> -#include <tqrect.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KDualColorButton.h> - -class KDualColorButtonJBridge : public KDualColorButton -{ -public: - KDualColorButtonJBridge(TQWidget* arg1,const char* arg2,TQWidget* arg3) : KDualColorButton(arg1,arg2,arg3) {}; - KDualColorButtonJBridge(TQWidget* arg1,const char* arg2) : KDualColorButton(arg1,arg2) {}; - KDualColorButtonJBridge(TQWidget* arg1) : KDualColorButton(arg1) {}; - KDualColorButtonJBridge() : KDualColorButton() {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3,const char* arg4,TQWidget* arg5) : KDualColorButton(arg1,arg2,arg3,arg4,arg5) {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3,const char* arg4) : KDualColorButton(arg1,arg2,arg3,arg4) {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3) : KDualColorButton(arg1,arg2,arg3) {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2) : KDualColorButton(arg1,arg2) {}; - void protected_metrics(TQRect& arg1,TQRect& arg2) { - KDualColorButton::metrics(arg1,arg2); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KDualColorButton::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KDualColorButton::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KDualColorButton::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KDualColorButton::mouseReleaseEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KDualColorButton::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KDualColorButton::dropEvent(arg1); - return; - } - ~KDualColorButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KDualColorButton::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","show")) { - TQWidget::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.KDualColorButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KDualColorButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - KDualColorButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KDualColorButton::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","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")) { - KDualColorButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDualColorButton::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.KDualColorButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDualColorButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_background(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KDualColorButton*) QtSupport::getQt(env, obj))->background()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDualColorButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDualColorButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_currentColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KDualColorButton*) QtSupport::getQt(env, obj))->currentColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDualColorButton_current(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDualColorButton*) QtSupport::getQt(env, obj))->current(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDualColorButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_dragEnterEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_dropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDualColorButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDualColorButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_foreground(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KDualColorButton*) QtSupport::getQt(env, obj))->foreground()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDualColorButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDualColorButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_metrics(JNIEnv* env, jobject obj, jobject fgRect, jobject bgRect) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_metrics((TQRect&)*(TQRect*) QtSupport::getQt(env, fgRect), (TQRect&)*(TQRect*) QtSupport::getQt(env, bgRect)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_mousePressEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor), (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_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor, jobject parent, jstring name, jobject dialogParent) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQWidget*) QtSupport::getQt(env, dialogParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__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 KDualColorButtonJBridge((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_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject dialogParent) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQWidget*) QtSupport::getQt(env, dialogParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_paintEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setBackground(JNIEnv* env, jobject obj, jobject c) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setBackground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setCurrentColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setCurrentColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setCurrent(JNIEnv* env, jobject obj, jint s) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setCurrent((KDualColorButton::DualColor) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setForeground(JNIEnv* env, jobject obj, jobject c) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setForeground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDualColorButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDualColorButton.h b/kdejava/koala/kdejava/KDualColorButton.h deleted file mode 100644 index 3d48c088..00000000 --- a/kdejava/koala/kdejava/KDualColorButton.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDualColorButton__ -#define __org_kde_koala_KDualColorButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDualColorButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_foreground (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_background (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDualColorButton_current (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_currentColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setForeground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setBackground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setCurrent (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setCurrentColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_metrics (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDualColorButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDualColorButton__ */ diff --git a/kdejava/koala/kdejava/KEMailSettings.cpp b/kdejava/koala/kdejava/KEMailSettings.cpp deleted file mode 100644 index 53d7a6db..00000000 --- a/kdejava/koala/kdejava/KEMailSettings.cpp +++ /dev/null @@ -1,105 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeemailsettings.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEMailSettings.h> - -class KEMailSettingsJBridge : public KEMailSettings -{ -public: - KEMailSettingsJBridge() : KEMailSettings() {}; - ~KEMailSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEMailSettings_currentProfileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEMailSettings*) QtSupport::getQt(env, obj))->currentProfileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEMailSettings_defaultProfileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEMailSettings*) QtSupport::getQt(env, obj))->defaultProfileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEMailSettings_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KEMailSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEMailSettings_getSetting(JNIEnv* env, jobject obj, jint s) -{ - TQString _qstring; - _qstring = ((KEMailSettings*) QtSupport::getQt(env, obj))->getSetting((KEMailSettings::Setting) s); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEMailSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_newKEMailSettings(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEMailSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEMailSettings_profiles(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KEMailSettings*) QtSupport::getQt(env, obj))->profiles(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_setDefault(JNIEnv* env, jobject obj, jstring def) -{ -static TQString* _qstring_def = 0; - ((KEMailSettings*) QtSupport::getQt(env, obj))->setDefault((const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_setProfile(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((KEMailSettings*) QtSupport::getQt(env, obj))->setProfile((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_setSetting(JNIEnv* env, jobject obj, jint s, jstring v) -{ -static TQString* _qstring_v = 0; - ((KEMailSettings*) QtSupport::getQt(env, obj))->setSetting((KEMailSettings::Setting) s, (const TQString&)*(TQString*) QtSupport::toTQString(env, v, &_qstring_v)); - return; -} - diff --git a/kdejava/koala/kdejava/KEMailSettings.h b/kdejava/koala/kdejava/KEMailSettings.h deleted file mode 100644 index d8960543..00000000 --- a/kdejava/koala/kdejava/KEMailSettings.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEMailSettings__ -#define __org_kde_koala_KEMailSettings__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_newKEMailSettings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEMailSettings_profiles (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEMailSettings_currentProfileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_setProfile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEMailSettings_defaultProfileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_setDefault (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEMailSettings_getSetting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_setSetting (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEMailSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEMailSettings__ */ diff --git a/kdejava/koala/kdejava/KEdFind.cpp b/kdejava/koala/kdejava/KEdFind.cpp deleted file mode 100644 index 174fe83e..00000000 --- a/kdejava/koala/kdejava/KEdFind.cpp +++ /dev/null @@ -1,582 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <keditcl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEdFind.h> - -class KEdFindJBridge : public KEdFind -{ -public: - KEdFindJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEdFind(arg1,arg2,arg3) {}; - KEdFindJBridge(TQWidget* arg1,const char* arg2) : KEdFind(arg1,arg2) {}; - KEdFindJBridge(TQWidget* arg1) : KEdFind(arg1) {}; - KEdFindJBridge() : KEdFind() {}; - void protected_slotCancel() { - KEdFind::slotCancel(); - return; - } - void protected_slotUser1() { - KEdFind::slotUser1(); - return; - } - void protected_textSearchChanged(const TQString& arg1) { - KEdFind::textSearchChanged(arg1); - return; - } - ~KEdFindJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotClose")) { - KDialogBase::slotClose(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","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 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.KEdFind","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdFind_case_1sensitive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdFind*) QtSupport::getQt(env, obj))->case_sensitive(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdFind_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdFind*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdFind_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdFind*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdFind*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdFind_getText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdFind*) QtSupport::getQt(env, obj))->getText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdFind_get_1direction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdFind*) QtSupport::getQt(env, obj))->get_direction(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdFind_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdFind_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdFind*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_newKEdFind__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdFindJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdFindJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_newKEdFind__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 KEdFindJBridge((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_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdFindJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdFind_searchCombo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdFind*) QtSupport::getQt(env, obj))->searchCombo(), "org.kde.koala.KHistoryCombo"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_setCaseSensitive(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdFind*) QtSupport::getQt(env, obj))->setCaseSensitive((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_setDirection(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdFind*) QtSupport::getQt(env, obj))->setDirection((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_setText(JNIEnv* env, jobject obj, jstring string) -{ -static TQString* _qstring_string = 0; - ((KEdFind*) QtSupport::getQt(env, obj))->setText((TQString)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_slotCancel(JNIEnv* env, jobject obj) -{ - ((KEdFindJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_slotUser1(JNIEnv* env, jobject obj) -{ - ((KEdFindJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_textSearchChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KEdFindJBridge*) QtSupport::getQt(env, obj))->protected_textSearchChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KEdFind.h b/kdejava/koala/kdejava/KEdFind.h deleted file mode 100644 index 52ba69ab..00000000 --- a/kdejava/koala/kdejava/KEdFind.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdFind__ -#define __org_kde_koala_KEdFind__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdFind_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdFind_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdFind_getText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_setCaseSensitive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdFind_case_1sensitive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_setDirection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdFind_get_1direction (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdFind_searchCombo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_textSearchChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdFind_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdFind__ */ diff --git a/kdejava/koala/kdejava/KEdGotoLine.cpp b/kdejava/koala/kdejava/KEdGotoLine.cpp deleted file mode 100644 index 4f7d1285..00000000 --- a/kdejava/koala/kdejava/KEdGotoLine.cpp +++ /dev/null @@ -1,522 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <keditcl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEdGotoLine.h> - -class KEdGotoLineJBridge : public KEdGotoLine -{ -public: - KEdGotoLineJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEdGotoLine(arg1,arg2,arg3) {}; - KEdGotoLineJBridge(TQWidget* arg1,const char* arg2) : KEdGotoLine(arg1,arg2) {}; - KEdGotoLineJBridge(TQWidget* arg1) : KEdGotoLine(arg1) {}; - KEdGotoLineJBridge() : KEdGotoLine() {}; - ~KEdGotoLineJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","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 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.KEdGotoLine","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdGotoLine_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdGotoLine*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdGotoLine_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdGotoLine*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdGotoLine*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdGotoLine_getLineNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEdGotoLine*) QtSupport::getQt(env, obj))->getLineNumber(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdGotoLine_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdGotoLine_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdGotoLine*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdGotoLineJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdGotoLineJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__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 KEdGotoLineJBridge((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_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdGotoLineJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_selected(JNIEnv* env, jobject obj, jint arg1) -{ - ((KEdGotoLine*) QtSupport::getQt(env, obj))->selected((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KEdGotoLine.h b/kdejava/koala/kdejava/KEdGotoLine.h deleted file mode 100644 index 09b6ca2f..00000000 --- a/kdejava/koala/kdejava/KEdGotoLine.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdGotoLine__ -#define __org_kde_koala_KEdGotoLine__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdGotoLine_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdGotoLine_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdGotoLine_getLineNumber (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_selected (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdGotoLine_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdGotoLine__ */ diff --git a/kdejava/koala/kdejava/KEdReplace.cpp b/kdejava/koala/kdejava/KEdReplace.cpp deleted file mode 100644 index ab0e5148..00000000 --- a/kdejava/koala/kdejava/KEdReplace.cpp +++ /dev/null @@ -1,598 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <keditcl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEdReplace.h> - -class KEdReplaceJBridge : public KEdReplace -{ -public: - KEdReplaceJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEdReplace(arg1,arg2,arg3) {}; - KEdReplaceJBridge(TQWidget* arg1,const char* arg2) : KEdReplace(arg1,arg2) {}; - KEdReplaceJBridge(TQWidget* arg1) : KEdReplace(arg1) {}; - KEdReplaceJBridge() : KEdReplace() {}; - void protected_slotCancel() { - KEdReplace::slotCancel(); - return; - } - void protected_slotClose() { - KEdReplace::slotClose(); - return; - } - void protected_slotUser1() { - KEdReplace::slotUser1(); - return; - } - void protected_slotUser2() { - KEdReplace::slotUser2(); - return; - } - void protected_slotUser3() { - KEdReplace::slotUser3(); - return; - } - void protected_textSearchChanged(const TQString& arg1) { - KEdReplace::textSearchChanged(arg1); - return; - } - ~KEdReplaceJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotDefault")) { - KDialogBase::slotDefault(); - } - 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotApply")) { - KDialogBase::slotApply(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","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 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.KEdReplace","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdReplace_case_1sensitive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdReplace*) QtSupport::getQt(env, obj))->case_sensitive(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdReplace_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdReplace*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdReplace_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdReplace*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdReplace*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdReplace_getReplaceText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdReplace*) QtSupport::getQt(env, obj))->getReplaceText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdReplace_getText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdReplace*) QtSupport::getQt(env, obj))->getText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdReplace_get_1direction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdReplace*) QtSupport::getQt(env, obj))->get_direction(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdReplace_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdReplace_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdReplace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_newKEdReplace__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdReplaceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdReplaceJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_newKEdReplace__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 KEdReplaceJBridge((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_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdReplaceJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdReplace_replaceCombo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdReplace*) QtSupport::getQt(env, obj))->replaceCombo(), "org.kde.koala.KHistoryCombo"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdReplace_searchCombo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdReplace*) QtSupport::getQt(env, obj))->searchCombo(), "org.kde.koala.KHistoryCombo"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KEdReplace*) QtSupport::getQt(env, obj))->setText((TQString)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotCancel(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotClose(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotClose(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotUser1(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotUser2(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotUser2(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotUser3(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotUser3(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_textSearchChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_textSearchChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KEdReplace.h b/kdejava/koala/kdejava/KEdReplace.h deleted file mode 100644 index a8d44e80..00000000 --- a/kdejava/koala/kdejava/KEdReplace.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdReplace__ -#define __org_kde_koala_KEdReplace__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdReplace_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdReplace_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdReplace_getText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdReplace_getReplaceText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdReplace_searchCombo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdReplace_replaceCombo (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdReplace_case_1sensitive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdReplace_get_1direction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotUser2 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotUser3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_textSearchChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdReplace_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdReplace__ */ diff --git a/kdejava/koala/kdejava/KEdit.cpp b/kdejava/koala/kdejava/KEdit.cpp deleted file mode 100644 index 04b98fb4..00000000 --- a/kdejava/koala/kdejava/KEdit.cpp +++ /dev/null @@ -1,1041 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqcursor.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqpoint.h> -#include <keditcl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEdit.h> - -class KEditJBridge : public KEdit -{ -public: - KEditJBridge(TQWidget* arg1,const char* arg2) : KEdit(arg1,arg2) {}; - KEditJBridge(TQWidget* arg1) : KEdit(arg1) {}; - KEditJBridge() : KEdit() {}; - void protected_computePosition() { - KEdit::computePosition(); - return; - } - int protected_doSearch(TQString arg1,bool arg2,bool arg3,bool arg4,int arg5,int arg6) { - return (int) KEdit::doSearch(arg1,arg2,arg3,arg4,arg5,arg6); - } - int protected_doReplace(TQString arg1,bool arg2,bool arg3,bool arg4,int arg5,int arg6,bool arg7) { - return (int) KEdit::doReplace(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - } - void protected_posToRowCol(unsigned int arg1,unsigned int& arg2,unsigned int& arg3) { - KEdit::posToRowCol(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2,bool arg3) { - KEdit::create(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2) { - KEdit::create(arg1,arg2); - return; - } - void protected_create(WId arg1) { - KEdit::create(arg1); - return; - } - void protected_create() { - KEdit::create(); - return; - } - void protected_ensureCursorVisible() { - KEdit::ensureCursorVisible(); - return; - } - void protected_setCursor(const TQCursor& arg1) { - KEdit::setCursor(arg1); - return; - } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - KEdit::viewportPaintEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KEdit::keyPressEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - KEdit::dragMoveEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KEdit::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KEdit::dropEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KEdit::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KEdit::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KEdit::contentsDropEvent(arg1); - return; - } - ~KEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KEdit::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KEdit::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void killLine() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","killLine")) { - TQMultiLineEdit::killLine(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KEdit::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - KEdit::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KEdit::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void backspace() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","backspace")) { - TQMultiLineEdit::backspace(); - } - return; - } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); - } - return; - } - void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","ensureCursorVisible")) { - KEdit::ensureCursorVisible(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void newLine() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","newLine")) { - TQMultiLineEdit::newLine(); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_cleanWhiteSpace(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->cleanWhiteSpace(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_computePosition(JNIEnv* env, jobject obj) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_computePosition(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_corrected(JNIEnv* env, jobject obj, jstring originalword, jstring newword, jint pos) -{ -static TQString* _qstring_originalword = 0; -static TQString* _qstring_newword = 0; - ((KEdit*) QtSupport::getQt(env, obj))->corrected((const TQString&)*(TQString*) QtSupport::toTQString(env, originalword, &_qstring_originalword), (const TQString&)*(TQString*) QtSupport::toTQString(env, newword, &_qstring_newword), (unsigned int) pos); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdit_createPopupMenu(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdit*) QtSupport::getQt(env, obj))->createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__(JNIEnv* env, jobject obj) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__J(JNIEnv* env, jobject obj, jlong arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_currentColumn(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEdit*) QtSupport::getQt(env, obj))->currentColumn(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_currentLine(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEdit*) QtSupport::getQt(env, obj))->currentLine(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_doGotoLine(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->doGotoLine(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_doReplace(JNIEnv* env, jobject obj, jstring s_pattern, jboolean case_sensitive, jboolean regex, jboolean forward, jint line, jint col, jboolean replace) -{ -static TQString* _qstring_s_pattern = 0; - jint xret = (jint) ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_doReplace((TQString)*(TQString*) QtSupport::toTQString(env, s_pattern, &_qstring_s_pattern), (bool) case_sensitive, (bool) regex, (bool) forward, (int) line, (int) col, (bool) replace); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_doSearch(JNIEnv* env, jobject obj, jstring s_pattern, jboolean case_sensitive, jboolean regex, jboolean forward, jint line, jint col) -{ -static TQString* _qstring_s_pattern = 0; - jint xret = (jint) ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_doSearch((TQString)*(TQString*) QtSupport::toTQString(env, s_pattern, &_qstring_s_pattern), (bool) case_sensitive, (bool) regex, (bool) forward, (int) line, (int) col); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_ensureCursorVisible(JNIEnv* env, jobject obj) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_ensureCursorVisible(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_insertText(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEdit*) QtSupport::getQt(env, obj))->insertText((TQTextStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_installRBPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEdit*) QtSupport::getQt(env, obj))->installRBPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_misspelling(JNIEnv* env, jobject obj, jstring word, jobjectArray arg2, jint pos) -{ -static TQString* _qstring_word = 0; -static TQStringList* _qlist_arg2 = 0; - ((KEdit*) QtSupport::getQt(env, obj))->misspelling((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2), (unsigned int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_newKEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_newKEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject _parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditJBridge((TQWidget*) QtSupport::getQt(env, _parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_newKEdit__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 KEditJBridge((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_KEdit_posToRowCol(JNIEnv* env, jobject obj, jint pos, jint line, jint col) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_posToRowCol((unsigned int) pos, (unsigned int&) line, (unsigned int&) col); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdit_repeatSearch(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdit*) QtSupport::getQt(env, obj))->repeatSearch(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_replace(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->replace(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEdit*) QtSupport::getQt(env, obj))->saveText((TQTextStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean softWrap) -{ - ((KEdit*) QtSupport::getQt(env, obj))->saveText((TQTextStream*) QtSupport::getQt(env, arg1), (bool) softWrap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_search(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->search(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_selectFont(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->selectFont(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdit_selectWordUnderCursor(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdit*) QtSupport::getQt(env, obj))->selectWordUnderCursor(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_setAutoUpdate(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdit*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_setCursor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_setCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_setOverwriteEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdit*) QtSupport::getQt(env, obj))->setOverwriteEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_spellcheck_1start(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->spellcheck_start(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_spellcheck_1stop(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->spellcheck_stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KEdit.h b/kdejava/koala/kdejava/KEdit.h deleted file mode 100644 index c468eae8..00000000 --- a/kdejava/koala/kdejava/KEdit.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdit__ -#define __org_kde_koala_KEdit__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_newKEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_newKEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_newKEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_insertText (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_selectFont (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_search (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdit_repeatSearch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_replace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_doGotoLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_cleanWhiteSpace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_installRBPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_currentLine (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_currentColumn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_spellcheck_1start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_spellcheck_1stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_setOverwriteEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdit_selectWordUnderCursor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdit_createPopupMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_corrected (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_misspelling (JNIEnv *env, jobject, jstring, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_computePosition (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_doSearch (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_doReplace (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_posToRowCol (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__JZ (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_ensureCursorVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_setCursor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_viewportPaintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdit__ */ diff --git a/kdejava/koala/kdejava/KEditListBox.cpp b/kdejava/koala/kdejava/KEditListBox.cpp deleted file mode 100644 index 27556c4e..00000000 --- a/kdejava/koala/kdejava/KEditListBox.cpp +++ /dev/null @@ -1,764 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstrlist.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <keditlistbox.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEditListBox.h> - -class KEditListBoxJBridge : public KEditListBox -{ -public: - KEditListBoxJBridge(TQWidget* arg1,const char* arg2,bool arg3,int arg4) : KEditListBox(arg1,arg2,arg3,arg4) {}; - KEditListBoxJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEditListBox(arg1,arg2,arg3) {}; - KEditListBoxJBridge(TQWidget* arg1,const char* arg2) : KEditListBox(arg1,arg2) {}; - KEditListBoxJBridge(TQWidget* arg1) : KEditListBox(arg1) {}; - KEditListBoxJBridge() : KEditListBox() {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,bool arg4,int arg5) : KEditListBox(arg1,arg2,arg3,arg4,arg5) {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,bool arg4) : KEditListBox(arg1,arg2,arg3,arg4) {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KEditListBox(arg1,arg2,arg3) {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2) : KEditListBox(arg1,arg2) {}; - KEditListBoxJBridge(const TQString& arg1) : KEditListBox(arg1) {}; - void protected_moveItemUp() { - KEditListBox::moveItemUp(); - return; - } - void protected_moveItemDown() { - KEditListBox::moveItemDown(); - return; - } - void protected_addItem() { - KEditListBox::addItem(); - return; - } - void protected_removeItem() { - KEditListBox::removeItem(); - return; - } - void protected_enableMoveButtons(int arg1) { - KEditListBox::enableMoveButtons(arg1); - return; - } - void protected_typedSomething(const TQString& arg1) { - KEditListBox::typedSomething(arg1); - return; - } - ~KEditListBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQGroupBox::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","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.KEditListBox","show")) { - TQWidget::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.KEditListBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQGroupBox::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")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","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 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 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.KEditListBox","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")) { - TQGroupBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KEditListBox",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_addButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->addButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_addItem(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_addItem(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEditListBox_buttons(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEditListBox*) QtSupport::getQt(env, obj))->buttons(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditListBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEditListBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_clear(JNIEnv* env, jobject obj) -{ - ((KEditListBox*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEditListBox_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEditListBox*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEditListBox_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEditListBox*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditListBox_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEditListBox*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEditListBox_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_downButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->downButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_enableMoveButtons(JNIEnv* env, jobject obj, jint index) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_enableMoveButtons((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEditListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEditListBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStrList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint index) -{ -static TQStrList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, list, &_qlist_list), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray list, jint numStrings, jint index) -{ - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStrList((const char**) QtSupport::toStringArray(env, list), (int) numStrings, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint index) -{ -static TQStringList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditListBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KEditListBox*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_lineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->lineEdit(), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_listBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_moveItemDown(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_moveItemDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_moveItemUp(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_moveItemUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (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_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name, jboolean checkAtEntering) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name, jboolean checkAtEntering, jint buttons) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering, (int) buttons)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__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 KEditListBoxJBridge((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_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean checkAtEntering) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean checkAtEntering, jint buttons) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering, (int) buttons)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_removeButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->removeButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_removeItem(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_removeItem(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_setButtons(JNIEnv* env, jobject obj, jint buttons) -{ - ((KEditListBox*) QtSupport::getQt(env, obj))->setButtons((uint) buttons); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_setItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditListBox_text(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KEditListBox*) QtSupport::getQt(env, obj))->text((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_typedSomething(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_typedSomething((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_upButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->upButton(), "org.kde.qt.TQPushButton"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KEditListBox.h b/kdejava/koala/kdejava/KEditListBox.h deleted file mode 100644 index 03624497..00000000 --- a/kdejava/koala/kdejava/KEditListBox.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEditListBox__ -#define __org_kde_koala_KEditListBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_listBox (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_lineEdit (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_addButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_removeButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_upButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_downButton (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEditListBox_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_clear (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditListBox_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEditListBox_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditListBox_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEditListBox_buttons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_setButtons (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_moveItemUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_moveItemDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_addItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_removeItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_enableMoveButtons (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_typedSomething (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEditListBox__ */ diff --git a/kdejava/koala/kdejava/KEditToolbar.cpp b/kdejava/koala/kdejava/KEditToolbar.cpp deleted file mode 100644 index 746ab734..00000000 --- a/kdejava/koala/kdejava/KEditToolbar.cpp +++ /dev/null @@ -1,706 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kedittoolbar.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEditToolbar.h> - -class KEditToolbarJBridge : public KEditToolbar -{ -public: - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4,const char* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2) : KEditToolbar(arg1,arg2) {}; - KEditToolbarJBridge(TDEActionCollection* arg1) : KEditToolbar(arg1) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5,const char* arg6) : KEditToolbar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2) : KEditToolbar(arg1,arg2) {}; - KEditToolbarJBridge(KXMLGUIFactory* arg1,TQWidget* arg2,const char* arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(KXMLGUIFactory* arg1,TQWidget* arg2) : KEditToolbar(arg1,arg2) {}; - KEditToolbarJBridge(KXMLGUIFactory* arg1) : KEditToolbar(arg1) {}; - KEditToolbarJBridge(const TQString& arg1,KXMLGUIFactory* arg2,TQWidget* arg3,const char* arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(const TQString& arg1,KXMLGUIFactory* arg2,TQWidget* arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(const TQString& arg1,KXMLGUIFactory* arg2) : KEditToolbar(arg1,arg2) {}; - void protected_slotOk() { - KEditToolbar::slotOk(); - return; - } - void protected_slotApply() { - KEditToolbar::slotApply(); - return; - } - void protected_acceptOK(bool arg1) { - KEditToolbar::acceptOK(arg1); - return; - } - void protected_slotDefault() { - KEditToolbar::slotDefault(); - return; - } - ~KEditToolbarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotApply")) { - KEditToolbar::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","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 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.KEditToolbar","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotOk")) { - KEditToolbar::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_acceptOK(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_acceptOK((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEditToolbar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEditToolbar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEditToolbar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEditToolbar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditToolbar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory, jobject parent, jstring name) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory), (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_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject collection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) -{ -static TQString* _qstring_xmlfile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jobject factory) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject factory, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject factory, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory), (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_KEditToolbar_setDefaultToolbar(JNIEnv* env, jclass cls, jstring toolbarName) -{ - (void) cls; -static TQCString* _qstring_toolbarName = 0; - KEditToolbarJBridge::setDefaultToolbar((const char*) QtSupport::toCharString(env, toolbarName, &_qstring_toolbarName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_slotApply(JNIEnv* env, jobject obj) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_slotApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_slotDefault(JNIEnv* env, jobject obj) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_slotDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_slotOk(JNIEnv* env, jobject obj) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - diff --git a/kdejava/koala/kdejava/KEditToolbar.h b/kdejava/koala/kdejava/KEditToolbar.h deleted file mode 100644 index 5abf85be..00000000 --- a/kdejava/koala/kdejava/KEditToolbar.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEditToolbar__ -#define __org_kde_koala_KEditToolbar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_setDefaultToolbar (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_slotApply (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_acceptOK (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_slotDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditToolbar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEditToolbar__ */ diff --git a/kdejava/koala/kdejava/KEditToolbarWidget.cpp b/kdejava/koala/kdejava/KEditToolbarWidget.cpp deleted file mode 100644 index bd5dbe62..00000000 --- a/kdejava/koala/kdejava/KEditToolbarWidget.cpp +++ /dev/null @@ -1,1071 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kxmlguiclient.h> -#include <kedittoolbar.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqdom.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEditToolbarWidget.h> - -class KEditToolbarWidgetJBridge : public KEditToolbarWidget -{ -public: - KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; - KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2) : KEditToolbarWidget(arg1,arg2) {}; - KEditToolbarWidgetJBridge(TDEActionCollection* arg1) : KEditToolbarWidget(arg1) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbarWidget(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2) : KEditToolbarWidget(arg1,arg2) {}; - KEditToolbarWidgetJBridge(KXMLGUIFactory* arg1,TQWidget* arg2) : KEditToolbarWidget(arg1,arg2) {}; - KEditToolbarWidgetJBridge(KXMLGUIFactory* arg1) : KEditToolbarWidget(arg1) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KXMLGUIFactory* arg2,TQWidget* arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KXMLGUIFactory* arg2) : KEditToolbarWidget(arg1,arg2) {}; - void protected_setupLayout() { - KEditToolbarWidget::setupLayout(); - return; - } - void protected_initNonKPart(TDEActionCollection* arg1,const TQString& arg2,bool arg3) { - KEditToolbarWidget::initNonKPart(arg1,arg2,arg3); - return; - } - void protected_initKPart(KXMLGUIFactory* arg1) { - KEditToolbarWidget::initKPart(arg1); - return; - } - void protected_loadToolbarCombo(const TQString& arg1) { - KEditToolbarWidget::loadToolbarCombo(arg1); - return; - } - void protected_loadToolbarCombo() { - KEditToolbarWidget::loadToolbarCombo(); - return; - } - void protected_loadActionList(TQDomElement& arg1) { - KEditToolbarWidget::loadActionList(arg1); - return; - } - void protected_updateLocal(TQDomElement& arg1) { - KEditToolbarWidget::updateLocal(arg1); - return; - } - void protected_slotToolbarSelected(const TQString& arg1) { - KEditToolbarWidget::slotToolbarSelected(arg1); - return; - } - void protected_slotInactiveSelected(TQListViewItem* arg1) { - KEditToolbarWidget::slotInactiveSelected(arg1); - return; - } - void protected_slotActiveSelected(TQListViewItem* arg1) { - KEditToolbarWidget::slotActiveSelected(arg1); - return; - } - void protected_slotDropped(TDEListView* arg1,TQDropEvent* arg2,TQListViewItem* arg3) { - KEditToolbarWidget::slotDropped(arg1,arg2,arg3); - return; - } - void protected_slotInsertButton() { - KEditToolbarWidget::slotInsertButton(); - return; - } - void protected_slotRemoveButton() { - KEditToolbarWidget::slotRemoveButton(); - return; - } - void protected_slotUpButton() { - KEditToolbarWidget::slotUpButton(); - return; - } - void protected_slotDownButton() { - KEditToolbarWidget::slotDownButton(); - return; - } - void protected_slotChangeIcon() { - KEditToolbarWidget::slotChangeIcon(); - return; - } - ~KEditToolbarWidgetJBridge() {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")) { - TQWidget::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","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.KEditToolbarWidget","show")) { - TQWidget::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.KEditToolbarWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.KEditToolbarWidget","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - 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.KEditToolbarWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","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 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.KEditToolbarWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KEditToolbarWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - 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.KEditToolbarWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbarWidget*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KEditToolbarWidget*) 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_KEditToolbarWidget_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KEditToolbarWidget*) 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_KEditToolbarWidget_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEditToolbarWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_conserveMemory(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEditToolbarWidget_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEditToolbarWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEditToolbarWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = KEditToolbarWidgetJBridge::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 void JNICALL -Java_org_kde_koala_KEditToolbarWidget_initKPart(JNIEnv* env, jobject obj, jobject factory) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initKPart((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_initNonKPart(JNIEnv* env, jobject obj, jobject collection, jstring file, jboolean global) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initNonKPart((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditToolbarWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_loadActionList(JNIEnv* env, jobject obj, jobject elem) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loadActionList((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, elem)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loadToolbarCombo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar) -{ -static TQString* _qstring_defaultToolbar = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loadToolbarCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbarWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject collection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jobject factory) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject factory, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_rebuildKXMLGUIClients(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidget*) QtSupport::getQt(env, obj))->rebuildKXMLGUIClients(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditToolbarWidget_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEditToolbarWidget*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) 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_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) 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_KEditToolbarWidget_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setupLayout(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setupLayout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotActiveSelected(JNIEnv* env, jobject obj, jobject item) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotActiveSelected((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotChangeIcon(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotChangeIcon(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotDownButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDownButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotDropped(JNIEnv* env, jobject obj, jobject list, jobject e, jobject after) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDropped((TDEListView*) QtSupport::getQt(env, list), (TQDropEvent*) QtSupport::getQt(env, e), (TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotInactiveSelected(JNIEnv* env, jobject obj, jobject item) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotInactiveSelected((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotInsertButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotInsertButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotRemoveButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotRemoveButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotToolbarSelected(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotToolbarSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotUpButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotUpButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_updateLocal(JNIEnv* env, jobject obj, jobject elem) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateLocal((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, elem)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KEditToolbarWidget.h b/kdejava/koala/kdejava/KEditToolbarWidget.h deleted file mode 100644 index 1ca3daf0..00000000 --- a/kdejava/koala/kdejava/KEditToolbarWidget.h +++ /dev/null @@ -1,89 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEditToolbarWidget__ -#define __org_kde_koala_KEditToolbarWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditToolbarWidget_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_rebuildKXMLGUIClients (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setupLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_initNonKPart (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_initKPart (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_loadActionList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_updateLocal (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotToolbarSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotInactiveSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotActiveSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotDropped (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotInsertButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotRemoveButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotUpButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotDownButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotChangeIcon (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditToolbarWidget_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEditToolbarWidget__ */ diff --git a/kdejava/koala/kdejava/KEntry.cpp b/kdejava/koala/kdejava/KEntry.cpp deleted file mode 100644 index 4b613e5c..00000000 --- a/kdejava/koala/kdejava/KEntry.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeconfigdata.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEntry.h> - -class KEntryJBridge : public KEntry -{ -public: - KEntryJBridge() : KEntry() {}; - ~KEntryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntry_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEntry_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntry_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KEntry*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEntry_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntry_newKEntry(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KEntry.h b/kdejava/koala/kdejava/KEntry.h deleted file mode 100644 index 27c16a12..00000000 --- a/kdejava/koala/kdejava/KEntry.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEntry__ -#define __org_kde_koala_KEntry__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntry_newKEntry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntry_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntry_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEntry_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEntry__ */ diff --git a/kdejava/koala/kdejava/KEntryKey.cpp b/kdejava/koala/kdejava/KEntryKey.cpp deleted file mode 100644 index 94c493d9..00000000 --- a/kdejava/koala/kdejava/KEntryKey.cpp +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeconfigdata.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KEntryKey.h> - -class KEntryKeyJBridge : public KEntryKey -{ -public: - KEntryKeyJBridge(const TQCString& arg1,const TQCString& arg2) : KEntryKey(arg1,arg2) {}; - KEntryKeyJBridge(const TQCString& arg1) : KEntryKey(arg1) {}; - KEntryKeyJBridge() : KEntryKey() {}; - ~KEntryKeyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEntryKey_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KEntryKey*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEntryKey_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_newKEntryKey__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryKeyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _group) -{ -static TQCString* _qcstring__group = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryKeyJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _group, &_qcstring__group))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _group, jstring _key) -{ -static TQCString* _qcstring__group = 0; -static TQCString* _qcstring__key = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryKeyJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _group, &_qcstring__group), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _key, &_qcstring__key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KEntryKey.h b/kdejava/koala/kdejava/KEntryKey.h deleted file mode 100644 index 7137fb2d..00000000 --- a/kdejava/koala/kdejava/KEntryKey.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEntryKey__ -#define __org_kde_koala_KEntryKey__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_newKEntryKey__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEntryKey_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEntryKey__ */ diff --git a/kdejava/koala/kdejava/KExecMimeType.cpp b/kdejava/koala/kdejava/KExecMimeType.cpp deleted file mode 100644 index 1d264359..00000000 --- a/kdejava/koala/kdejava/KExecMimeType.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatastream.h> -#include <kmimetype.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KExecMimeType.h> - -class KExecMimeTypeJBridge : public KExecMimeType -{ -public: - KExecMimeTypeJBridge(KDesktopFile* arg1) : KExecMimeType(arg1) {}; - KExecMimeTypeJBridge(TQDataStream& arg1,int arg2) : KExecMimeType(arg1,arg2) {}; - ~KExecMimeTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KExecMimeType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KExecMimeType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KExecMimeType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KExecMimeTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KExecMimeTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KExecMimeType.h b/kdejava/koala/kdejava/KExecMimeType.h deleted file mode 100644 index 0348d94f..00000000 --- a/kdejava/koala/kdejava/KExecMimeType.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KExecMimeType__ -#define __org_kde_koala_KExecMimeType__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KExecMimeType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KExecMimeType__ */ diff --git a/kdejava/koala/kdejava/KFile.cpp b/kdejava/koala/kdejava/KFile.cpp deleted file mode 100644 index 9ec7fb63..00000000 --- a/kdejava/koala/kdejava/KFile.cpp +++ /dev/null @@ -1,147 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdir.h> -#include <tdefile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFile.h> - -class KFileJBridge : public KFile -{ -public: - KFileJBridge() : KFile() {}; - ~KFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFile_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isDefaultView(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isDefaultView((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isDetailView(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isDetailView((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isPreviewContents(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isPreviewContents((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isPreviewInfo(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isPreviewInfo((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSeparateDirs(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSeparateDirs((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSimpleView(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSimpleView((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortByDate(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortByDate((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortByName(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortByName((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortBySize(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortBySize((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortCaseInsensitive(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortCaseInsensitive((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortDirsFirst(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortDirsFirst((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFile_newKFile(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFile.h b/kdejava/koala/kdejava/KFile.h deleted file mode 100644 index 6eaf3188..00000000 --- a/kdejava/koala/kdejava/KFile.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFile__ -#define __org_kde_koala_KFile__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFile_newKFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortByName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortBySize (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortByDate (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortDirsFirst (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortCaseInsensitive (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isDefaultView (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSimpleView (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isDetailView (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSeparateDirs (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isPreviewContents (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isPreviewInfo (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFile__ */ diff --git a/kdejava/koala/kdejava/KFileDetailView.cpp b/kdejava/koala/kdejava/KFileDetailView.cpp deleted file mode 100644 index 26d8bab6..00000000 --- a/kdejava/koala/kdejava/KFileDetailView.cpp +++ /dev/null @@ -1,1156 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdir.h> -#include <tdeio/global.h> -#include <tdefileview.h> -#include <tdeparts/browserextension.h> -#include <tqstring.h> -#include <tdefiledetailview.h> -#include <kurl.h> -#include <tdefile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileDetailView.h> - -class KFileDetailViewJBridge : public KFileDetailView -{ -public: - KFileDetailViewJBridge(TQWidget* arg1,const char* arg2) : KFileDetailView(arg1,arg2) {}; - void public_clearView() { - KFileDetailView::clearView(); - return; - } - void public_listingCompleted() { - KFileDetailView::listingCompleted(); - return; - } - void public_clearSelection() { - KFileDetailView::clearSelection(); - return; - } - void public_selectAll() { - KFileDetailView::selectAll(); - return; - } - void public_invertSelection() { - KFileDetailView::invertSelection(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KFileDetailView::keyPressEvent(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) KFileDetailView::dragObject(); - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KFileDetailView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KFileDetailView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - KFileDetailView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KFileDetailView::contentsDropEvent(arg1); - return; - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) KFileDetailView::acceptDrag(arg1); - } - void protected_slotSelectionChanged() { - KFileDetailView::slotSelectionChanged(); - return; - } - ~KFileDetailViewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_clear() { - KFileView::clear(); - return; - } - void public_updateView() { - KFileView::updateView(); - return; - } - void protected_setDropOptions_impl(int arg1) { - KFileView::setDropOptions_impl(arg1); - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","clearView")) { - KFileDetailView::clearView(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileDetailView::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseReleaseEvent(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","selectAll")) { - KFileDetailView::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","listingCompleted")) { - KFileDetailView::listingCompleted(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEListView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - KFileDetailView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","sort")) { - TQListView::sort(); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","clear")) { - KFileView::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileDetailView::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KFileDetailView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQListView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TDEListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KFileDetailView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","clearSelection")) { - KFileDetailView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KFileDetailView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","startDrag")) { - TDEListView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void fileManagerKeyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::fileManagerKeyPressEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KFileDetailView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","invertSelection")) { - KFileDetailView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEListView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileDetailView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_acceptDrag(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileDetailViewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileDetailView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_clearView(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_clear(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_determineIcon(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->determineIcon((KFileListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileDetailView_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileDetailView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileDetailView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_isSelected(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileDetailView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_mimeTypeDeterminationFinished(JNIEnv* env, jobject obj) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->mimeTypeDeterminationFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_newKFileDetailView(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileDetailViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDetailView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_scrollWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->scrollWidget(), "org.kde.qt.TQScrollView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_selectAll(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setSorting(JNIEnv* env, jobject obj, jint arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_slotSelectionChanged(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSelectionChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDetailViewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFileDetailViewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_updateView__(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDetailView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileDetailView.h b/kdejava/koala/kdejava/KFileDetailView.h deleted file mode 100644 index 3b7da559..00000000 --- a/kdejava/koala/kdejava/KFileDetailView.h +++ /dev/null @@ -1,88 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileDetailView__ -#define __org_kde_koala_KFileDetailView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_newKFileDetailView (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_mimeTypeDeterminationFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_determineIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_scrollWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_slotSelectionChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_autoOpenDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setDropOptions_1impl (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileDetailView__ */ diff --git a/kdejava/koala/kdejava/KFileDialog.cpp b/kdejava/koala/kdejava/KFileDialog.cpp deleted file mode 100644 index 48ee5465..00000000 --- a/kdejava/koala/kdejava/KFileDialog.cpp +++ /dev/null @@ -1,1571 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefiledialog.h> -#include <kmimetype.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> -#include <tdefile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileDialog.h> - -class KFileDialogJBridge : public KFileDialog -{ -public: - KFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : KFileDialog(arg1,arg2,arg3,arg4,arg5) {}; - KFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5,TQWidget* arg6) : KFileDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void public_show() { - KFileDialog::show(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KFileDialog::keyPressEvent(arg1); - return; - } - void protected_init(const TQString& arg1,const TQString& arg2,TQWidget* arg3) { - KFileDialog::init(arg1,arg2,arg3); - return; - } - void protected_initGUI() { - KFileDialog::initGUI(); - return; - } - void protected_multiSelectionChanged() { - KFileDialog::multiSelectionChanged(); - return; - } - void protected_readConfig(TDEConfig* arg1,const TQString& arg2) { - KFileDialog::readConfig(arg1,arg2); - return; - } - void protected_readConfig(TDEConfig* arg1) { - KFileDialog::readConfig(arg1); - return; - } - void protected_writeConfig(TDEConfig* arg1,const TQString& arg2) { - KFileDialog::writeConfig(arg1,arg2); - return; - } - void protected_writeConfig(TDEConfig* arg1) { - KFileDialog::writeConfig(arg1); - return; - } - void protected_readRecentFiles(TDEConfig* arg1) { - KFileDialog::readRecentFiles(arg1); - return; - } - void protected_saveRecentFiles(TDEConfig* arg1) { - KFileDialog::saveRecentFiles(arg1); - return; - } - KURL::List protected_tokenize(const TQString& arg1) { - return (KURL::List) KFileDialog::tokenize(arg1); - } - KURL protected_getCompleteURL(const TQString& arg1) { - return (KURL) KFileDialog::getCompleteURL(arg1); - } - TQString protected_currentFilterExtension() { - return (TQString) KFileDialog::currentFilterExtension(); - } - void protected_updateAutoSelectExtension() { - KFileDialog::updateAutoSelectExtension(); - return; - } - KURL::List& protected_parseSelectedURLs() { - return (KURL::List&) KFileDialog::parseSelectedURLs(); - } - void protected_urlEntered(const KURL& arg1) { - KFileDialog::urlEntered(arg1); - return; - } - void protected_enterURL(const KURL& arg1) { - KFileDialog::enterURL(arg1); - return; - } - void protected_enterURL(const TQString& arg1) { - KFileDialog::enterURL(arg1); - return; - } - void protected_locationActivated(const TQString& arg1) { - KFileDialog::locationActivated(arg1); - return; - } - void protected_slotFilterChanged() { - KFileDialog::slotFilterChanged(); - return; - } - void protected_fileHighlighted(const KFileItem* arg1) { - KFileDialog::fileHighlighted(arg1); - return; - } - void protected_fileSelected(const KFileItem* arg1) { - KFileDialog::fileSelected(arg1); - return; - } - void protected_slotStatResult(TDEIO::Job* arg1) { - KFileDialog::slotStatResult(arg1); - return; - } - void protected_slotLoadingFinished() { - KFileDialog::slotLoadingFinished(); - return; - } - void protected_fileCompletion(const TQString& arg1) { - KFileDialog::fileCompletion(arg1); - return; - } - void protected_toggleSpeedbar(bool arg1) { - KFileDialog::toggleSpeedbar(arg1); - return; - } - void protected_toggleBookmarks(bool arg1) { - KFileDialog::toggleBookmarks(arg1); - return; - } - void protected_slotOk() { - KFileDialog::slotOk(); - return; - } - void protected_accept() { - KFileDialog::accept(); - return; - } - void protected_slotCancel() { - KFileDialog::slotCancel(); - return; - } - void protected_slotAutoSelectExtClicked() { - KFileDialog::slotAutoSelectExtClicked(); - return; - } - void protected_addToRecentDocuments() { - KFileDialog::addToRecentDocuments(); - return; - } - void protected_initSpeedbar() { - KFileDialog::initSpeedbar(); - return; - } - ~KFileDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void saveRecentFiles(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveRecentFiles",(void*)arg1,"org.kde.koala.TDEConfig")) { - KFileDialog::saveRecentFiles(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","accept")) { - KFileDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","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.KFileDialog","show")) { - KFileDialog::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.KFileDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","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 initGUI() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","initGUI")) { - KFileDialog::initGUI(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KFileDialog::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotCancel")) { - KFileDialog::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void readRecentFiles(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readRecentFiles",(void*)arg1,"org.kde.koala.TDEConfig")) { - KFileDialog::readRecentFiles(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","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 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.KFileDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotOk")) { - KFileDialog::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_accept(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_addToRecentDocuments(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToRecentDocuments(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_baseURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialog*) QtSupport::getQt(env, obj))->baseURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_cancelButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->cancelButton(), "org.kde.koala.KPushButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_clearFilter(JNIEnv* env, jobject obj) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->clearFilter(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_currentFilterExtension(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_currentFilterExtension(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_currentFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->currentFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_currentMimeFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->currentMimeFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_enterURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_enterURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_enterURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_enterURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_fileCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_fileHighlighted(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileHighlighted((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_fileSelected(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileSelected((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getCompleteURL(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_getCompleteURL((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDialogJBridge::getExistingDirectory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNameWId(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jlong parent_id, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getOpenFileNameWId((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDialogJBridge::getOpenFileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KFileDialogJBridge::getOpenFileNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__(JNIEnv* env, jclass cls) -{ - KURL::List _qlist; - (void) cls; - _qlist = KFileDialogJBridge::getOpenURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileNameWId(JNIEnv* env, jclass cls, jstring dir, jstring filter, jlong parent_id, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getSaveFileNameWId((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDialogJBridge::getSaveFileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getStartURL(JNIEnv* env, jclass cls, jstring startDir, jobject recentDirClass) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_recentDirClass = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getStartURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, recentDirClass, &_qstring_recentDirClass))), "org.kde.koala.KURL", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_recentDirClass, recentDirClass); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_initGUI(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_initGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_initSpeedbar(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_initSpeedbar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_init(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject widget) -{ -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDialog_keepsLocation(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileDialog*) QtSupport::getQt(env, obj))->keepsLocation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_locationActivated(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_locationActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDialog_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_multiSelectionChanged(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_multiSelectionChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject parent, jstring name, jboolean modal, jobject widget) -{ -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_okButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->okButton(), "org.kde.koala.KPushButton"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDialog_operationMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->operationMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_parseSelectedURLs(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_parseSelectedURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDialog_pathComboIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->pathComboIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_readRecentFiles(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readRecentFiles((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_saveRecentFiles(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_saveRecentFiles((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_selectedFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->selectedFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_selectedFiles(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileDialog*) QtSupport::getQt(env, obj))->selectedFiles(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_selectedURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialog*) QtSupport::getQt(env, obj))->selectedURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_selectedURLs(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((KFileDialog*) QtSupport::getQt(env, obj))->selectedURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setKeepLocation(JNIEnv* env, jobject obj, jboolean keep) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setKeepLocation((bool) keep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setLocationLabel(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setLocationLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray types) -{ -static TQStringList* _qlist_types = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray types, jstring defaultType) -{ -static TQStringList* _qlist_types = 0; -static TQString* _qstring_defaultType = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types), (const TQString&)*(TQString*) QtSupport::toTQString(env, defaultType, &_qstring_defaultType)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setMode((KFile::Mode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setOperationMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setOperationMode((KFileDialog::OperationMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setPreviewWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setPreviewWidget((const KPreviewWidgetBase*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setSelection(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setSelection((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setStartDir(JNIEnv* env, jclass cls, jobject directory) -{ - (void) cls; - KFileDialogJBridge::setStartDir((const KURL&)*(const KURL*) QtSupport::getQt(env, directory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean clearforward) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) clearforward); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_show(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotAutoSelectExtClicked(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelectExtClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotCancel(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotFilterChanged(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotFilterChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotLoadingFinished(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotLoadingFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotStatResult(JNIEnv* env, jobject obj, jobject job) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_speedBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->speedBar(), "org.kde.koala.KURLBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_toggleBookmarks(JNIEnv* env, jobject obj, jboolean show) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_toggleBookmarks((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_toggleSpeedbar(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_toggleSpeedbar((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_tokenize(JNIEnv* env, jobject obj, jstring line) -{ - KURL::List _qlist; -static TQString* _qstring_line = 0; - _qlist = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_tokenize((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_toolBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_updateAutoSelectExtension(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_updateAutoSelectExtension(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_urlEntered(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_urlEntered((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileDialog.h b/kdejava/koala/kdejava/KFileDialog.h deleted file mode 100644 index 4717ff30..00000000 --- a/kdejava/koala/kdejava/KFileDialog.h +++ /dev/null @@ -1,133 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileDialog__ -#define __org_kde_koala_KFileDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_selectedURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_selectedURLs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_baseURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_selectedFile (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_selectedFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setSelection (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setOperationMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDialog_operationMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setKeepLocation (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDialog_keepsLocation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_currentFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_currentMimeFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_clearFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setPreviewWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDialog_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setLocationLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_toolBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_okButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_cancelButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_speedBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDialog_pathComboIndex (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNameWId (JNIEnv *env, jclass, jstring, jstring, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileNameWId (JNIEnv *env, jclass, jstring, jstring, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getStartURL (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setStartDir (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_init (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_initGUI (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_multiSelectionChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_readRecentFiles (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_saveRecentFiles (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_tokenize (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getCompleteURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_currentFilterExtension (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_updateAutoSelectExtension (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_parseSelectedURLs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_urlEntered (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_enterURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_enterURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_locationActivated (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotFilterChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_fileHighlighted (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_fileSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotStatResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotLoadingFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_fileCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_toggleSpeedbar (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_toggleBookmarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotAutoSelectExtClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_addToRecentDocuments (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_initSpeedbar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileDialog__ */ diff --git a/kdejava/koala/kdejava/KFileFilter.cpp b/kdejava/koala/kdejava/KFileFilter.cpp deleted file mode 100644 index 6398f9ee..00000000 --- a/kdejava/koala/kdejava/KFileFilter.cpp +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefilefilter.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileFilter.h> - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilter_passesFilter(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KFileFilter*) QtSupport::getQt(env, obj))->passesFilter((const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileFilter.h b/kdejava/koala/kdejava/KFileFilter.h deleted file mode 100644 index ea666600..00000000 --- a/kdejava/koala/kdejava/KFileFilter.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileFilter__ -#define __org_kde_koala_KFileFilter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilter_passesFilter (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileFilter__ */ diff --git a/kdejava/koala/kdejava/KFileFilterCombo.cpp b/kdejava/koala/kdejava/KFileFilterCombo.cpp deleted file mode 100644 index 53fa3278..00000000 --- a/kdejava/koala/kdejava/KFileFilterCombo.cpp +++ /dev/null @@ -1,505 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdefilefiltercombo.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileFilterCombo.h> - -class KFileFilterComboJBridge : public KFileFilterCombo -{ -public: - KFileFilterComboJBridge(TQWidget* arg1,const char* arg2) : KFileFilterCombo(arg1,arg2) {}; - KFileFilterComboJBridge(TQWidget* arg1) : KFileFilterCombo(arg1) {}; - KFileFilterComboJBridge() : KFileFilterCombo() {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KFileFilterCombo::eventFilter(arg1,arg2); - } - ~KFileFilterComboJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","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.KFileFilterCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","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")) { - TQComboBox::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQComboBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","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")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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.KFileFilterCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileFilterCombo",object,event)) { - return KFileFilterCombo::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileFilterCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileFilterCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileFilterCombo_currentFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileFilterCombo*) QtSupport::getQt(env, obj))->currentFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileFilterCombo_defaultFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileFilterCombo*) QtSupport::getQt(env, obj))->defaultFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileFilterCombo_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilterCombo_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KFileFilterComboJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileFilterCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileFilterCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilterCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileFilterCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileFilterCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileFilterComboJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileFilterComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__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 KFileFilterComboJBridge((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_KFileFilterCombo_setCurrentFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setCurrentFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_setDefaultFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setDefaultFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_setMimeFilter(JNIEnv* env, jobject obj, jobjectArray types, jstring defaultType) -{ -static TQStringList* _qlist_types = 0; -static TQString* _qstring_defaultType = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types), (const TQString&)*(TQString*) QtSupport::toTQString(env, defaultType, &_qstring_defaultType)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilterCombo_showsAllTypes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileFilterCombo*) QtSupport::getQt(env, obj))->showsAllTypes(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileFilterCombo.h b/kdejava/koala/kdejava/KFileFilterCombo.h deleted file mode 100644 index d201be1e..00000000 --- a/kdejava/koala/kdejava/KFileFilterCombo.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileFilterCombo__ -#define __org_kde_koala_KFileFilterCombo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileFilterCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileFilterCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileFilterCombo_currentFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setCurrentFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setMimeFilter (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilterCombo_showsAllTypes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setDefaultFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileFilterCombo_defaultFilter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilterCombo_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilterCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileFilterCombo__ */ diff --git a/kdejava/koala/kdejava/KFileIconView.cpp b/kdejava/koala/kdejava/KFileIconView.cpp deleted file mode 100644 index 2149fe1d..00000000 --- a/kdejava/koala/kdejava/KFileIconView.cpp +++ /dev/null @@ -1,1301 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdir.h> -#include <tdeio/global.h> -#include <tdefileview.h> -#include <tdeparts/browserextension.h> -#include <tdefileiconview.h> -#include <tqstring.h> -#include <kurl.h> -#include <tdefile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileIconView.h> - -class KFileIconViewJBridge : public KFileIconView -{ -public: - KFileIconViewJBridge(TQWidget* arg1,const char* arg2) : KFileIconView(arg1,arg2) {}; - void public_clearView() { - KFileIconView::clearView(); - return; - } - void public_listingCompleted() { - KFileIconView::listingCompleted(); - return; - } - void public_clearSelection() { - KFileIconView::clearSelection(); - return; - } - void public_selectAll() { - KFileIconView::selectAll(); - return; - } - void public_invertSelection() { - KFileIconView::invertSelection(); - return; - } - void public_arrangeItemsInGrid() { - KFileIconView::arrangeItemsInGrid(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KFileIconView::keyPressEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KFileIconView::hideEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KFileIconView::showEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KFileIconView::eventFilter(arg1,arg2); - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) KFileIconView::dragObject(); - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KFileIconView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KFileIconView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - KFileIconView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KFileIconView::contentsDropEvent(arg1); - return; - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) KFileIconView::acceptDrag(arg1); - } - ~KFileIconViewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_clear() { - KFileView::clear(); - return; - } - void public_updateView() { - KFileView::updateView(); - return; - } - void protected_setDropOptions_impl(int arg1) { - KFileView::setDropOptions_impl(arg1); - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","clearView")) { - KFileIconView::clearView(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileIconView::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","selectAll")) { - KFileIconView::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","listingCompleted")) { - KFileIconView::listingCompleted(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - KFileIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","clear")) { - KFileView::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileIconView::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KFileIconView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KFileIconView::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","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")) { - KFileIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KFileIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","clearSelection")) { - KFileIconView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KFileIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEIconView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KFileIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","invertSelection")) { - KFileIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQIconView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileIconView",object,event)) { - return KFileIconView::eventFilter(object,event); - } else { - return TRUE; - } - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQIconView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_acceptDrag(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_arrangeItemsInGrid(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__Z(JNIEnv* env, jobject obj, jboolean updated) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((bool) updated); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileIconViewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileIconView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_clearView(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_clear(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_determineIcon(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->determineIcon((KFileIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileIconView_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileIconView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileIconView*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_isSelected(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileIconView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_mimeTypeDeterminationFinished(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->mimeTypeDeterminationFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_newKFileIconView(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileIconView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_scrollWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->scrollWidget(), "org.kde.qt.TQScrollView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_selectAll(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean b) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__Z(JNIEnv* env, jobject obj, jboolean ignoreSize) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize((bool) ignoreSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setPreviewSize(JNIEnv* env, jobject obj, jint size) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setPreviewSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_showPreviews(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->showPreviews(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFileIconViewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFileIconViewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_updateView__(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileIconView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_zoomIn(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->zoomIn(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_zoomOut(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->zoomOut(); - return; -} - diff --git a/kdejava/koala/kdejava/KFileIconView.h b/kdejava/koala/kdejava/KFileIconView.h deleted file mode 100644 index f61867a2..00000000 --- a/kdejava/koala/kdejava/KFileIconView.h +++ /dev/null @@ -1,101 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileIconView__ -#define __org_kde_koala_KFileIconView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_newKFileIconView (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setPreviewSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_mimeTypeDeterminationFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_determineIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_scrollWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_showPreviews (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_zoomIn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_zoomOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_autoOpenDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setDropOptions_1impl (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileIconView__ */ diff --git a/kdejava/koala/kdejava/KFileIconViewItem.cpp b/kdejava/koala/kdejava/KFileIconViewItem.cpp deleted file mode 100644 index fd76934c..00000000 --- a/kdejava/koala/kdejava/KFileIconViewItem.cpp +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <tdefileiconview.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileIconViewItem.h> - -class KFileIconViewItemJBridge : public KFileIconViewItem -{ -public: - KFileIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3,KFileItem* arg4) : KFileIconViewItem(arg1,arg2,arg3,arg4) {}; - KFileIconViewItemJBridge(TQIconView* arg1,KFileItem* arg2) : KFileIconViewItem(arg1,arg2) {}; - ~KFileIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileIconViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconViewItem_fileInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconViewItem*) QtSupport::getQt(env, obj))->fileInfo(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(KFileIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { - delete (KFileIconViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject pixmap, jobject fi) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jobject fi) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFileIconViewItem.h b/kdejava/koala/kdejava/KFileIconViewItem.h deleted file mode 100644 index dbcc0041..00000000 --- a/kdejava/koala/kdejava/KFileIconViewItem.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileIconViewItem__ -#define __org_kde_koala_KFileIconViewItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconViewItem_fileInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileIconViewItem__ */ diff --git a/kdejava/koala/kdejava/KFileItem.cpp b/kdejava/koala/kdejava/KFileItem.cpp deleted file mode 100644 index f95b67b6..00000000 --- a/kdejava/koala/kdejava/KFileItem.cpp +++ /dev/null @@ -1,509 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tdefilemetainfo.h> -#include <tqpixmap.h> -#include <tdefileitem.h> -#include <kmimetype.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileItem.h> - -class KFileItemJBridge : public KFileItem -{ -public: - KFileItemJBridge(mode_t arg1,mode_t arg2,const KURL& arg3,bool arg4) : KFileItem(arg1,arg2,arg3,arg4) {}; - KFileItemJBridge(mode_t arg1,mode_t arg2,const KURL& arg3) : KFileItem(arg1,arg2,arg3) {}; - KFileItemJBridge(const KURL& arg1,const TQString& arg2,mode_t arg3) : KFileItem(arg1,arg2,arg3) {}; - KFileItemJBridge(const KFileItem& arg1) : KFileItem(arg1) {}; - void protected_init(bool arg1) { - KFileItem::init(arg1); - return; - } - void protected_readUDSEntry(bool arg1) { - KFileItem::readUDSEntry(arg1); - return; - } - TQString protected_parsePermissions(mode_t arg1) { - return (TQString) KFileItem::parsePermissions(arg1); - } - ~KFileItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_acceptsDrops(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->acceptsDrops(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_assign(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->assign((const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_cmp(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->cmp((const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_getStatusBarInfo(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->getStatusBarInfo(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_getToolTipText__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->getToolTipText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_getToolTipText__I(JNIEnv* env, jobject obj, jint maxcount) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->getToolTipText((int) maxcount); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_hasExtendedACL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->hasExtendedACL(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_init(JNIEnv* env, jobject obj, jboolean _determineMimeTypeOnDemand) -{ - ((KFileItemJBridge*) QtSupport::getQt(env, obj))->protected_init((bool) _determineMimeTypeOnDemand); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isDir(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isDir(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isHidden(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isHidden(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isLink(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isLocalFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isLocalFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isMarked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isMarked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isMimeTypeKnown(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isMimeTypeKnown(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_linkDest(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->linkDest(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_localPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->localPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_mark(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->mark(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_metaInfo__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KFileMetaInfo *) &((KFileItem*) QtSupport::getQt(env, obj))->metaInfo(), "org.kde.koala.KFileMetaInfo"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_metaInfo__Z(JNIEnv* env, jobject obj, jboolean autoget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KFileMetaInfo *) &((KFileItem*) QtSupport::getQt(env, obj))->metaInfo((bool) autoget), "org.kde.koala.KFileMetaInfo"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_metaInfo__ZI(JNIEnv* env, jobject obj, jboolean autoget, jint what) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KFileMetaInfo *) &((KFileItem*) QtSupport::getQt(env, obj))->metaInfo((bool) autoget, (int) what), "org.kde.koala.KFileMetaInfo"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_mimeComment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->mimeComment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_mimetype(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->mimetype(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_mode(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_mostLocalURL(JNIEnv* env, jobject obj, jboolean local) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileItem*) QtSupport::getQt(env, obj))->mostLocalURL((bool&) local)), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_name__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_name__Z(JNIEnv* env, jobject obj, jboolean lowerCase) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->name((bool) lowerCase); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jlong _mode, jlong _permissions, jobject _url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((mode_t) _mode, (mode_t) _permissions, (const KURL&)*(const KURL*) QtSupport::getQt(env, _url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jlong _mode, jlong _permissions, jobject _url, jboolean _determineMimeTypeOnDemand) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((mode_t) _mode, (mode_t) _permissions, (const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _determineMimeTypeOnDemand)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject item) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, item))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jobject url, jstring mimeType, jlong mode) -{ -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (mode_t) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileItem_overlays(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileItem*) QtSupport::getQt(env, obj))->overlays(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_parsePermissions(JNIEnv* env, jobject obj, jlong perm) -{ - TQString _qstring; - _qstring = ((KFileItemJBridge*) QtSupport::getQt(env, obj))->protected_parsePermissions((mode_t) perm); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_permissionsString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->permissionsString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_permissions(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->permissions(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_pixmap__I(JNIEnv* env, jobject obj, jint _size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileItem*) QtSupport::getQt(env, obj))->pixmap((int) _size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_pixmap__II(JNIEnv* env, jobject obj, jint _size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileItem*) QtSupport::getQt(env, obj))->pixmap((int) _size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_readUDSEntry(JNIEnv* env, jobject obj, jboolean _urlIsDirectory) -{ - ((KFileItemJBridge*) QtSupport::getQt(env, obj))->protected_readUDSEntry((bool) _urlIsDirectory); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_refreshMimeType(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->refreshMimeType(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_refresh(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->refresh(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_run(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->run(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setFileMode(JNIEnv* env, jobject obj, jlong m) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->setFileMode((mode_t) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setMetaInfo(JNIEnv* env, jobject obj, jobject info) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->setMetaInfo((const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, info)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setMimeType(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((KFileItem*) QtSupport::getQt(env, obj))->setMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileItem*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_size__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_size__Z(JNIEnv* env, jobject obj, jboolean hasSize) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->size((bool&) hasSize); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_timeString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->timeString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_timeString__I(JNIEnv* env, jobject obj, jint which) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->timeString((unsigned int) which); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileItem_time__I(JNIEnv* env, jobject obj, jint which) -{ - jint xret = (jint) ((KFileItem*) QtSupport::getQt(env, obj))->time((unsigned int) which); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileItem_time__IZ(JNIEnv* env, jobject obj, jint which, jboolean hasTime) -{ - jint xret = (jint) ((KFileItem*) QtSupport::getQt(env, obj))->time((unsigned int) which, (bool&) hasTime); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_unmark(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->unmark(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((KFileItem*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KFileItem.h b/kdejava/koala/kdejava/KFileItem.h deleted file mode 100644 index 6d63bc8f..00000000 --- a/kdejava/koala/kdejava/KFileItem.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileItem__ -#define __org_kde_koala_KFileItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jlong, jlong, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jlong, jlong, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2J (JNIEnv *env, jobject, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_refresh (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_refreshMimeType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_permissions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_permissionsString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_hasExtendedACL (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_mode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_user (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_group (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isLink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isDir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isHidden (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_linkDest (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_localPath (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_size__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_size__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileItem_time__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileItem_time__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_timeString__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_timeString__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isLocalFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_text (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_name__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_name__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_mimetype (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isMimeTypeKnown (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_mimeComment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileItem_overlays (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_getStatusBarInfo (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_getToolTipText__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_getToolTipText__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_acceptsDrops (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_run (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isMarked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_mark (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_unmark (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_cmp (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setMetaInfo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setFileMode (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_metaInfo__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_metaInfo__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_metaInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_mostLocalURL (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_init (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_readUDSEntry (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_parsePermissions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileItem__ */ diff --git a/kdejava/koala/kdejava/KFileListViewItem.cpp b/kdejava/koala/kdejava/KFileListViewItem.cpp deleted file mode 100644 index 43747d56..00000000 --- a/kdejava/koala/kdejava/KFileListViewItem.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tdefiledetailview.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileListViewItem.h> - -class KFileListViewItemJBridge : public KFileListViewItem -{ -public: - KFileListViewItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3,KFileItem* arg4) : KFileListViewItem(arg1,arg2,arg3,arg4) {}; - KFileListViewItemJBridge(TQListView* arg1,KFileItem* arg2) : KFileListViewItem(arg1,arg2) {}; - KFileListViewItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3,KFileItem* arg4,TQListViewItem* arg5) : KFileListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - ~KFileListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileListViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileListViewItem_fileInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileListViewItem*) QtSupport::getQt(env, obj))->fileInfo(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(KFileListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(KFileListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (KFileListViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_init(JNIEnv* env, jobject obj) -{ - ((KFileListViewItem*) QtSupport::getQt(env, obj))->init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileListViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileListViewItem_key(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - TQString _qstring; - _qstring = ((KFileListViewItem*) QtSupport::getQt(env, obj))->key((int) arg1, (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon, jobject fi) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon, jobject fi, jobject after) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (KFileItem*) QtSupport::getQt(env, fi), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jobject fi) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileListViewItem_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KFileListViewItem*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_setKey(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - ((KFileListViewItem*) QtSupport::getQt(env, obj))->setKey((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileListViewItem.h b/kdejava/koala/kdejava/KFileListViewItem.h deleted file mode 100644 index fb711b2c..00000000 --- a/kdejava/koala/kdejava/KFileListViewItem.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileListViewItem__ -#define __org_kde_koala_KFileListViewItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileListViewItem_fileInfo (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileListViewItem_key (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_setKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileListViewItem_rect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileListViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileListViewItem__ */ diff --git a/kdejava/koala/kdejava/KFileMetaInfo.cpp b/kdejava/koala/kdejava/KFileMetaInfo.cpp deleted file mode 100644 index 37d51373..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfo.cpp +++ /dev/null @@ -1,358 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefilemetainfo.h> -#include <tqstring.h> -#include <tqvariant.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileMetaInfo.h> - -class KFileMetaInfoJBridge : public KFileMetaInfo -{ -public: - KFileMetaInfoJBridge(const TQString& arg1,const TQString& arg2,uint arg3) : KFileMetaInfo(arg1,arg2,arg3) {}; - KFileMetaInfoJBridge(const TQString& arg1,const TQString& arg2) : KFileMetaInfo(arg1,arg2) {}; - KFileMetaInfoJBridge(const TQString& arg1) : KFileMetaInfo(arg1) {}; - KFileMetaInfoJBridge(const KURL& arg1,const TQString& arg2,uint arg3) : KFileMetaInfo(arg1,arg2,arg3) {}; - KFileMetaInfoJBridge(const KURL& arg1,const TQString& arg2) : KFileMetaInfo(arg1,arg2) {}; - KFileMetaInfoJBridge(const KURL& arg1) : KFileMetaInfo(arg1) {}; - KFileMetaInfoJBridge() : KFileMetaInfo() {}; - KFileMetaInfoJBridge(const KFileMetaInfo& arg1) : KFileMetaInfo(arg1) {}; - KFileMetaInfoGroup protected_appendGroup(const TQString& arg1) { - return (KFileMetaInfoGroup) KFileMetaInfo::appendGroup(arg1); - } - void protected_ref() { - KFileMetaInfo::ref(); - return; - } - void protected_deref() { - KFileMetaInfo::deref(); - return; - } - ~KFileMetaInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_addGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->addGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_appendGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoGroup(((KFileMetaInfoJBridge*) QtSupport::getQt(env, obj))->protected_appendGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.koala.KFileMetaInfoGroup", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_applyChanges(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->applyChanges(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_containsGroup(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->containsGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_contains(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_deref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoJBridge*) QtSupport::getQt(env, obj))->protected_deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileMetaInfo_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_editableGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->editableGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileMetaInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_group(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoGroup(((KFileMetaInfo*) QtSupport::getQt(env, obj))->group((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoGroup", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_groups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->groups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_item(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfo_mimeType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->mimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path, jstring mimeType) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring path, jstring mimeType, jint what) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (uint) what)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jobject obj, jobject original) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, original))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring mimeType) -{ -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject url, jstring mimeType, jint what) -{ -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (uint) what)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_op_1at(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoGroup(((KFileMetaInfo*) QtSupport::getQt(env, obj))->operator[]((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoGroup", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfo_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_preferredGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->preferredGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_preferredKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->preferredKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_ref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoJBridge*) QtSupport::getQt(env, obj))->protected_ref(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_removeGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->removeGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_removedGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->removedGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->saveItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key, jstring preferredGroup) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_preferredGroup = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->saveItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferredGroup, &_qstring_preferredGroup))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring key, jstring preferredGroup, jboolean createGroup) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_preferredGroup = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->saveItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferredGroup, &_qstring_preferredGroup), (bool) createGroup)), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_supportedGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->supportedGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_supportedKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->supportedKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileMetaInfo*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_value(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KFileMetaInfo*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileMetaInfo.h b/kdejava/koala/kdejava/KFileMetaInfo.h deleted file mode 100644 index 2181e32c..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfo.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileMetaInfo__ -#define __org_kde_koala_KFileMetaInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_groups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_supportedGroups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_preferredGroups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_preferredKeys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_supportedKeys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_editableGroups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_item (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_group (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_op_1at (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_addGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_removeGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_removedGroups (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_applyChanges (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_containsGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_value (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfo_mimeType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfo_path (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_appendGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileMetaInfo__ */ diff --git a/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp b/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp deleted file mode 100644 index ec132d28..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp +++ /dev/null @@ -1,243 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefilemetainfo.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqvariant.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileMetaInfoGroup.h> - -class KFileMetaInfoGroupJBridge : public KFileMetaInfoGroup -{ -public: - KFileMetaInfoGroupJBridge(const KFileMetaInfoGroup& arg1) : KFileMetaInfoGroup(arg1) {}; - KFileMetaInfoGroupJBridge() : KFileMetaInfoGroup() {}; - void protected_setAdded() { - KFileMetaInfoGroup::setAdded(); - return; - } - KFileMetaInfoItem protected_appendItem(const TQString& arg1,const TQVariant& arg2) { - return (KFileMetaInfoItem) KFileMetaInfoGroup::appendItem(arg1,arg2); - } - void protected_ref() { - KFileMetaInfoGroup::ref(); - return; - } - void protected_deref() { - KFileMetaInfoGroup::deref(); - return; - } - ~KFileMetaInfoGroupJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_addItem(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_appendItem(JNIEnv* env, jobject obj, jstring key, jobject value) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_appendItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_attributes(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->attributes(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_contains(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_deref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileMetaInfoGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileMetaInfoGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_item__I(JNIEnv* env, jobject obj, jint hint) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((uint) hint)), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_item__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_keys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->keys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__Lorg_kde_koala_KFileMetaInfoGroup_2(JNIEnv* env, jobject obj, jobject original) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoGroupJBridge((const KFileMetaInfoGroup&)*(const KFileMetaInfoGroup*) QtSupport::getQt(env, original))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_op_1at(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->operator[]((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_preferredKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->preferredKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_ref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_ref(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_removeItem(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_removedItems(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removedItems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_setAdded(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_setAdded(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_supportedKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->supportedKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_supportsVariableKeys(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->supportsVariableKeys(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_translatedName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->translatedName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_value(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileMetaInfoGroup.h b/kdejava/koala/kdejava/KFileMetaInfoGroup.h deleted file mode 100644 index 1b0c4747..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoGroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileMetaInfoGroup__ -#define __org_kde_koala_KFileMetaInfoGroup__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__Lorg_kde_koala_KFileMetaInfoGroup_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_op_1at (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_item__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_item__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_value (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_supportedKeys (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_supportsVariableKeys (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_keys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_preferredKeys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_addItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_removeItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_removedItems (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoGroup_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoGroup_translatedName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoGroup_attributes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_setAdded (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_appendItem (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileMetaInfoGroup__ */ diff --git a/kdejava/koala/kdejava/KFileMetaInfoItem.cpp b/kdejava/koala/kdejava/KFileMetaInfoItem.cpp deleted file mode 100644 index 160c3eb2..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoItem.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefilemetainfo.h> -#include <tqstring.h> -#include <tqvariant.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileMetaInfoItem.h> - -class KFileMetaInfoItemJBridge : public KFileMetaInfoItem -{ -public: - KFileMetaInfoItemJBridge(const KFileMetaInfoItem& arg1) : KFileMetaInfoItem(arg1) {}; - KFileMetaInfoItemJBridge() : KFileMetaInfoItem() {}; - void protected_setAdded() { - KFileMetaInfoItem::setAdded(); - return; - } - void protected_setRemoved() { - KFileMetaInfoItem::setRemoved(); - return; - } - void protected_ref() { - KFileMetaInfoItem::ref(); - return; - } - void protected_deref() { - KFileMetaInfoItem::deref(); - return; - } - ~KFileMetaInfoItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoItem_attributes(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->attributes(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_deref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileMetaInfoItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileMetaInfoItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoItem_hint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->hint(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isRemoved(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isRemoved(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_key(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->key(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__Lorg_kde_koala_KFileMetaInfoItem_2(JNIEnv* env, jobject obj, jobject item) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoItemJBridge((const KFileMetaInfoItem&)*(const KFileMetaInfoItem*) QtSupport::getQt(env, item))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_ref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_setAdded(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_setAdded(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_setRemoved(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_setRemoved(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_setValue(JNIEnv* env, jobject obj, jobject value) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->setValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_string__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->string(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_string__Z(JNIEnv* env, jobject obj, jboolean mangle) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->string((bool) mangle); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_suffix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->suffix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_translatedKey(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->translatedKey(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoItem_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoItem_value(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQVariant *) &((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->value(), "org.kde.qt.TQVariant"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileMetaInfoItem.h b/kdejava/koala/kdejava/KFileMetaInfoItem.h deleted file mode 100644 index 5748a242..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoItem.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileMetaInfoItem__ -#define __org_kde_koala_KFileMetaInfoItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__Lorg_kde_koala_KFileMetaInfoItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_key (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_translatedKey (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoItem_value (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_string__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_string__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_setValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoItem_type (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isRemoved (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_prefix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_suffix (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoItem_hint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoItem_attributes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_setAdded (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_setRemoved (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileMetaInfoItem__ */ diff --git a/kdejava/koala/kdejava/KFilePlugin.cpp b/kdejava/koala/kdejava/KFilePlugin.cpp deleted file mode 100644 index 378aaee4..00000000 --- a/kdejava/koala/kdejava/KFilePlugin.cpp +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefilemetainfo.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFilePlugin.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePlugin_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFilePlugin*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePlugin_createValidator(JNIEnv* env, jobject obj, jstring mimeType, jstring group, jstring key, jobject parent, jstring name) -{ -static TQString* _qstring_mimeType = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_key = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePlugin*) QtSupport::getQt(env, obj))->createValidator((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQValidator"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePlugin_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePlugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((KFilePlugin*) QtSupport::getQt(env, obj))->readInfo((KFileMetaInfo&)*(KFileMetaInfo*) QtSupport::getQt(env, info)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2I(JNIEnv* env, jobject obj, jobject info, jint what) -{ - jboolean xret = (jboolean) ((KFilePlugin*) QtSupport::getQt(env, obj))->readInfo((KFileMetaInfo&)*(KFileMetaInfo*) QtSupport::getQt(env, info), (uint) what); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePlugin_writeInfo(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((KFilePlugin*) QtSupport::getQt(env, obj))->writeInfo((const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, info)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFilePlugin.h b/kdejava/koala/kdejava/KFilePlugin.h deleted file mode 100644 index f47d79b9..00000000 --- a/kdejava/koala/kdejava/KFilePlugin.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilePlugin__ -#define __org_kde_koala_KFilePlugin__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePlugin_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePlugin_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePlugin_writeInfo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePlugin_createValidator (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilePlugin__ */ diff --git a/kdejava/koala/kdejava/KFilePreview.cpp b/kdejava/koala/kdejava/KFilePreview.cpp deleted file mode 100644 index 93b1bb45..00000000 --- a/kdejava/koala/kdejava/KFilePreview.cpp +++ /dev/null @@ -1,961 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdir.h> -#include <tdeio/global.h> -#include <tdefileview.h> -#include <tdeparts/browserextension.h> -#include <tdefilepreview.h> -#include <tqstring.h> -#include <kurl.h> -#include <tdefile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFilePreview.h> - -class KFilePreviewJBridge : public KFilePreview -{ -public: - KFilePreviewJBridge(TQWidget* arg1,const char* arg2) : KFilePreview(arg1,arg2) {}; - KFilePreviewJBridge(KFileView* arg1,TQWidget* arg2,const char* arg3) : KFilePreview(arg1,arg2,arg3) {}; - void public_clearView() { - KFilePreview::clearView(); - return; - } - void public_listingCompleted() { - KFilePreview::listingCompleted(); - return; - } - void public_clearSelection() { - KFilePreview::clearSelection(); - return; - } - void public_selectAll() { - KFilePreview::selectAll(); - return; - } - void public_invertSelection() { - KFilePreview::invertSelection(); - return; - } - void public_clear() { - KFilePreview::clear(); - return; - } - void protected_slotHighlighted(const KFileItem* arg1) { - KFilePreview::slotHighlighted(arg1); - return; - } - ~KFilePreviewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_updateView() { - KFileView::updateView(); - return; - } - void protected_setDropOptions_impl(int arg1) { - KFileView::setDropOptions_impl(arg1); - return; - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","clearView")) { - KFilePreview::clearView(); - } - 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")) { - TQSplitter::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","selectAll")) { - KFilePreview::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","listingCompleted")) { - KFilePreview::listingCompleted(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","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.KFilePreview","show")) { - TQWidget::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.KFilePreview","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::insertItem(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","clear")) { - KFilePreview::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void slotHighlighted(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"slotHighlighted",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::slotHighlighted(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.KFilePreview","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","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 clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","clearSelection")) { - KFilePreview::clearSelection(); - } - return; - } - 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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQSplitter::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","invertSelection")) { - KFilePreview::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","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 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.KFilePreview","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFilePreview",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFilePreviewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFilePreview*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_clearView(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_clear(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFilePreview_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_fileView(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->fileView(), "org.kde.koala.KFileViewInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFilePreview*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFilePreview*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_insertItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_isSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KFilePreview*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_newKFilePreview__Lorg_kde_koala_KFileViewInterface_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFilePreviewJBridge((KFileView*) QtSupport::getQt(env, view), (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_KFilePreview_newKFilePreview__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 KFilePreviewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFilePreview*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_selectAll(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setFileView(JNIEnv* env, jobject obj, jobject view) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setFileView((KFileView*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setPreviewWidget(JNIEnv* env, jobject obj, jobject w, jobject u) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setPreviewWidget((const TQWidget*) QtSupport::getQt(env, w), (const KURL&)*(const KURL*) QtSupport::getQt(env, u)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_slotHighlighted(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->protected_slotHighlighted((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFilePreviewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFilePreviewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_updateView__(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFilePreview*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFilePreview.h b/kdejava/koala/kdejava/KFilePreview.h deleted file mode 100644 index 78664bbd..00000000 --- a/kdejava/koala/kdejava/KFilePreview.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilePreview__ -#define __org_kde_koala_KFilePreview__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_newKFilePreview__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_newKFilePreview__Lorg_kde_koala_KFileViewInterface_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setFileView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_fileView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setPreviewWidget (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_slotHighlighted (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_autoOpenDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setDropOptions_1impl (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilePreview__ */ diff --git a/kdejava/koala/kdejava/KFileShare.cpp b/kdejava/koala/kdejava/KFileShare.cpp deleted file mode 100644 index 03740be9..00000000 --- a/kdejava/koala/kdejava/KFileShare.cpp +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefileshare.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileShare.h> - -class KFileShareJBridge : public KFileShare -{ -public: - KFileShareJBridge() : KFileShare() {}; - ~KFileShareJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileShare_authorization(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileShareJBridge::authorization(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileShare_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileShare_fileShareGroup(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileShareJBridge::fileShareGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileShare*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileShare_findExe(JNIEnv* env, jclass cls, jstring exeName) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_exeName = 0; - _qstring = KFileShareJBridge::findExe((const char*) QtSupport::toCharString(env, exeName, &_qstring_exeName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_isDirectoryShared(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KFileShareJBridge::isDirectoryShared((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_isRestricted(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::isRestricted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_newKFileShare(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileShareJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_nfsEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::nfsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_readConfig(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KFileShareJBridge::readConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_readShareList(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KFileShareJBridge::readShareList(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_sambaEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::sambaEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_setShared(JNIEnv* env, jclass cls, jstring path, jboolean shared) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KFileShareJBridge::setShared((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) shared); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileShare_shareMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileShareJBridge::shareMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_sharingEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::sharingEnabled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileShare.h b/kdejava/koala/kdejava/KFileShare.h deleted file mode 100644 index 63261bb8..00000000 --- a/kdejava/koala/kdejava/KFileShare.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileShare__ -#define __org_kde_koala_KFileShare__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_newKFileShare (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_readConfig (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_readShareList (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_isDirectoryShared (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileShare_authorization (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileShare_findExe (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_setShared (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_sharingEnabled (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_isRestricted (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileShare_fileShareGroup (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileShare_shareMode (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_sambaEnabled (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_nfsEnabled (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileShare__ */ diff --git a/kdejava/koala/kdejava/KFileTreeBranch.cpp b/kdejava/koala/kdejava/KFileTreeBranch.cpp deleted file mode 100644 index 7fb78266..00000000 --- a/kdejava/koala/kdejava/KFileTreeBranch.cpp +++ /dev/null @@ -1,306 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefiletreebranch.h> -#include <tdefiletreeviewitem.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileTreeBranch.h> - -class KFileTreeBranchJBridge : public KFileTreeBranch -{ -public: - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4,bool arg5,KFileTreeViewItem* arg6) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4,bool arg5) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5) {}; - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4) : KFileTreeBranch(arg1,arg2,arg3,arg4) {}; - void public_setShowExtensions() { - KFileTreeBranch::setShowExtensions(); - return; - } - KFileTreeViewItem* protected_createTreeViewItem(KFileTreeViewItem* arg1,KFileItem* arg2) { - return (KFileTreeViewItem*) KFileTreeBranch::createTreeViewItem(arg1,arg2); - } - ~KFileTreeBranchJBridge() {QtSupport::qtKeyDeleted(this);} - void clearMimeFilter() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeBranch","clearMimeFilter")) { - KDirLister::clearMimeFilter(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setRoot(KFileTreeViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setRoot",(void*)arg1,"org.kde.koala.KFileTreeViewItem")) { - KFileTreeBranch::setRoot(arg1); - } - return; - } - void emitChanges() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeBranch","emitChanges")) { - KDirLister::emitChanges(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void updateDirectory(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"updateDirectory",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::updateDirectory(arg1); - } - return; - } - void handleError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)arg1,"org.kde.koala.Job")) { - KDirLister::handleError(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileTreeBranch",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"stop",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::stop(arg1); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_childRecurse(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeBranch*) QtSupport::getQt(env, obj))->childRecurse(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeBranch_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileTreeBranch*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_createTreeViewItem(JNIEnv* env, jobject obj, jobject parent, jobject fileItem) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranchJBridge*) QtSupport::getQt(env, obj))->protected_createTreeViewItem((KFileTreeViewItem*) QtSupport::getQt(env, parent), (KFileItem*) QtSupport::getQt(env, fileItem)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeBranch_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFileTreeBranch*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFileTreeBranch*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_findTVIByURL(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->findTVIByURL((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeBranch_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileTreeBranch*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix, jboolean showHidden) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2ZLorg_kde_koala_KFileTreeViewItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix, jboolean showHidden, jobject branchRoot) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden, (KFileTreeViewItem*) QtSupport::getQt(env, branchRoot))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_openPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->openPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_populate(JNIEnv* env, jobject obj, jobject url, jobject currItem) -{ - jboolean xret = (jboolean) ((KFileTreeBranch*) QtSupport::getQt(env, obj))->populate((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (KFileTreeViewItem*) QtSupport::getQt(env, currItem)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_rootUrl(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileTreeBranch*) QtSupport::getQt(env, obj))->rootUrl()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_root(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->root(), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setChildRecurse__(JNIEnv* env, jobject obj) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setChildRecurse(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setChildRecurse__Z(JNIEnv* env, jobject obj, jboolean t) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setChildRecurse((bool) t); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setName(JNIEnv* env, jobject obj, jstring n) -{ -static TQString* _qstring_n = 0; - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setName((const TQString)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setOpenPixmap(JNIEnv* env, jobject obj, jobject pix) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpenPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setOpen__(JNIEnv* env, jobject obj) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpen(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setOpen__Z(JNIEnv* env, jobject obj, jboolean setopen) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpen((bool) setopen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setRoot(JNIEnv* env, jobject obj, jobject r) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setRoot((KFileTreeViewItem*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setShowExtensions__(JNIEnv* env, jobject obj) -{ - ((KFileTreeBranchJBridge*) QtSupport::getQt(env, obj))->public_setShowExtensions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setShowExtensions__Z(JNIEnv* env, jobject obj, jboolean visible) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setShowExtensions((bool) visible); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_showExtensions(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeBranch*) QtSupport::getQt(env, obj))->showExtensions(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileTreeBranch.h b/kdejava/koala/kdejava/KFileTreeBranch.h deleted file mode 100644 index 99b5f140..00000000 --- a/kdejava/koala/kdejava/KFileTreeBranch.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeBranch__ -#define __org_kde_koala_KFileTreeBranch__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeBranch_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2ZLorg_kde_koala_KFileTreeViewItem_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_rootUrl (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setRoot (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_root (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeBranch_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_openPixmap (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_showExtensions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setOpen__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setOpen__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setChildRecurse__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setChildRecurse__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_childRecurse (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_findTVIByURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_populate (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setShowExtensions__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setShowExtensions__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setOpenPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_createTreeViewItem (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeBranch__ */ diff --git a/kdejava/koala/kdejava/KFileTreeView.cpp b/kdejava/koala/kdejava/KFileTreeView.cpp deleted file mode 100644 index e03e69fa..00000000 --- a/kdejava/koala/kdejava/KFileTreeView.cpp +++ /dev/null @@ -1,886 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefiletreebranch.h> -#include <tdefiletreeview.h> -#include <tdefiletreeviewitem.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileTreeView.h> - -class KFileTreeViewJBridge : public KFileTreeView -{ -public: - KFileTreeViewJBridge(TQWidget* arg1,const char* arg2) : KFileTreeView(arg1,arg2) {}; - KFileTreeViewJBridge(TQWidget* arg1) : KFileTreeView(arg1) {}; - void public_setShowFolderOpenPixmap() { - KFileTreeView::setShowFolderOpenPixmap(); - return; - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) KFileTreeView::acceptDrag(arg1); - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) KFileTreeView::dragObject(); - } - void protected_startAnimation(KFileTreeViewItem* arg1,const char* arg2,uint arg3) { - KFileTreeView::startAnimation(arg1,arg2,arg3); - return; - } - void protected_startAnimation(KFileTreeViewItem* arg1,const char* arg2) { - KFileTreeView::startAnimation(arg1,arg2); - return; - } - void protected_startAnimation(KFileTreeViewItem* arg1) { - KFileTreeView::startAnimation(arg1); - return; - } - void protected_stopAnimation(KFileTreeViewItem* arg1) { - KFileTreeView::stopAnimation(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KFileTreeView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KFileTreeView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - KFileTreeView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KFileTreeView::contentsDropEvent(arg1); - return; - } - void protected_slotSetNextUrlToSelect(const KURL& arg1) { - KFileTreeView::slotSetNextUrlToSelect(arg1); - return; - } - TQPixmap protected_itemIcon(KFileTreeViewItem* arg1,int arg2) { - return (TQPixmap) KFileTreeView::itemIcon(arg1,arg2); - } - TQPixmap protected_itemIcon(KFileTreeViewItem* arg1) { - return (TQPixmap) KFileTreeView::itemIcon(arg1); - } - ~KFileTreeViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void stopAnimation(KFileTreeViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"stopAnimation",(void*)arg1,"org.kde.koala.KFileTreeViewItem")) { - KFileTreeView::stopAnimation(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEListView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - KFileTreeView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::insertItem(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","sort")) { - TQListView::sort(); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","clear")) { - TQListView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KFileTreeView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQListView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TDEListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","clearSelection")) { - TQListView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KFileTreeView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","startDrag")) { - TDEListView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void fileManagerKeyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::fileManagerKeyPressEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KFileTreeView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","invertSelection")) { - TQListView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEListView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void slotSetNextUrlToSelect(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotSetNextUrlToSelect",(void*)&arg1,"org.kde.koala.KURL")) { - KFileTreeView::slotSetNextUrlToSelect(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_acceptDrag(JNIEnv* env, jobject obj, jobject event) -{ - jboolean xret = (jboolean) ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KFileTreeBranch_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((KFileTreeBranch*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject path, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject path, jstring name, jobject pix) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject path, jstring name, jobject pix, jboolean showHidden) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject path, jstring name, jboolean showHidden) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) showHidden), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_branch(JNIEnv* env, jobject obj, jstring searchName) -{ -static TQString* _qstring_searchName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->branch((const TQString&)*(TQString*) QtSupport::toTQString(env, searchName, &_qstring_searchName)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileTreeView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_currentKFileTreeViewItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->currentKFileTreeViewItem(), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_currentURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileTreeView*) QtSupport::getQt(env, obj))->currentURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeView_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileTreeView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileTreeView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_findItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring branchName, jstring relUrl) -{ -static TQString* _qstring_branchName = 0; -static TQString* _qstring_relUrl = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, branchName, &_qstring_branchName), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_findItem__Lorg_kde_koala_KFileTreeBranch_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject brnch, jstring relUrl) -{ -static TQString* _qstring_relUrl = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->findItem((KFileTreeBranch*) QtSupport::getQt(env, brnch), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_itemIcon((KFileTreeViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2I(JNIEnv* env, jobject obj, jobject arg1, jint gap) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_itemIcon((KFileTreeViewItem*) QtSupport::getQt(env, arg1), (int) gap)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_newKFileTreeView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_newKFileTreeView__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 KFileTreeViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_removeBranch(JNIEnv* env, jobject obj, jobject branch) -{ - jboolean xret = (jboolean) ((KFileTreeView*) QtSupport::getQt(env, obj))->removeBranch((KFileTreeBranch*) QtSupport::getQt(env, branch)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_setDirOnlyMode(JNIEnv* env, jobject obj, jobject branch, jboolean arg2) -{ - ((KFileTreeView*) QtSupport::getQt(env, obj))->setDirOnlyMode((KFileTreeBranch*) QtSupport::getQt(env, branch), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__(JNIEnv* env, jobject obj) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->public_setShowFolderOpenPixmap(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__Z(JNIEnv* env, jobject obj, jboolean showIt) -{ - ((KFileTreeView*) QtSupport::getQt(env, obj))->setShowFolderOpenPixmap((bool) showIt); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_showFolderOpenPixmap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeView*) QtSupport::getQt(env, obj))->showFolderOpenPixmap(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_slotSetNextUrlToSelect(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSetNextUrlToSelect((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_startAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jstring iconBaseName) -{ -static TQCString* _qstring_iconBaseName = 0; - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_startAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item), (const char*) QtSupport::toCharString(env, iconBaseName, &_qstring_iconBaseName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject item, jstring iconBaseName, jint iconCount) -{ -static TQCString* _qstring_iconBaseName = 0; - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_startAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item), (const char*) QtSupport::toCharString(env, iconBaseName, &_qstring_iconBaseName), (uint) iconCount); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_stopAnimation(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_stopAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileTreeView.h b/kdejava/koala/kdejava/KFileTreeView.h deleted file mode 100644 index 9947022c..00000000 --- a/kdejava/koala/kdejava/KFileTreeView.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeView__ -#define __org_kde_koala_KFileTreeView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_newKFileTreeView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_newKFileTreeView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_currentKFileTreeViewItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_currentURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z (JNIEnv *env, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KFileTreeBranch_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_removeBranch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_branch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_setDirOnlyMode (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_findItem__Lorg_kde_koala_KFileTreeBranch_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_findItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_showFolderOpenPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_stopAnimation (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_slotSetNextUrlToSelect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeView__ */ diff --git a/kdejava/koala/kdejava/KFileTreeViewItem.cpp b/kdejava/koala/kdejava/KFileTreeViewItem.cpp deleted file mode 100644 index f68ddf34..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewItem.cpp +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefiletreeviewitem.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileTreeViewItem.h> - -class KFileTreeViewItemJBridge : public KFileTreeViewItem -{ -public: - KFileTreeViewItemJBridge(KFileTreeViewItem* arg1,KFileItem* arg2,KFileTreeBranch* arg3) : KFileTreeViewItem(arg1,arg2,arg3) {}; - KFileTreeViewItemJBridge(KFileTreeView* arg1,KFileItem* arg2,KFileTreeBranch* arg3) : KFileTreeViewItem(arg1,arg2,arg3) {}; - ~KFileTreeViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewItem_alreadyListed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->alreadyListed(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeViewItem_branch(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeViewItem*) QtSupport::getQt(env, obj))->branch(), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeViewItem_fileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeViewItem*) QtSupport::getQt(env, obj))->fileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(KFileTreeViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(KFileTreeViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (KFileTreeViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewItem_isDir(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->isDir(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeViewItem_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewItemJBridge((KFileTreeViewItem*) QtSupport::getQt(env, arg1), (KFileItem*) QtSupport::getQt(env, arg2), (KFileTreeBranch*) QtSupport::getQt(env, arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewItemJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (KFileItem*) QtSupport::getQt(env, arg2), (KFileTreeBranch*) QtSupport::getQt(env, arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeViewItem_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_setListed(JNIEnv* env, jobject obj, jboolean wasListed) -{ - ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->setListed((bool) wasListed); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeViewItem_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileTreeViewItem*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileTreeViewItem.h b/kdejava/koala/kdejava/KFileTreeViewItem.h deleted file mode 100644 index c8707efb..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewItem.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeViewItem__ -#define __org_kde_koala_KFileTreeViewItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeViewItem_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeViewItem_branch (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeViewItem_fileItem (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeViewItem_path (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeViewItem_url (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewItem_isDir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewItem_alreadyListed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_setListed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeViewItem__ */ diff --git a/kdejava/koala/kdejava/KFileTreeViewToolTip.cpp b/kdejava/koala/kdejava/KFileTreeViewToolTip.cpp deleted file mode 100644 index 3e119137..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewToolTip.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefiletreeview.h> -#include <tqpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileTreeViewToolTip.h> - -class KFileTreeViewToolTipJBridge : public KFileTreeViewToolTip -{ -public: - KFileTreeViewToolTipJBridge(TQListView* arg1) : KFileTreeViewToolTip(arg1) {}; - void protected_maybeTip(const TQPoint& arg1) { - KFileTreeViewToolTip::maybeTip(arg1); - return; - } - ~KFileTreeViewToolTipJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeViewToolTip_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFileTreeViewToolTip*)QtSupport::getQt(env, obj))->parentWidget() == 0) { - delete (KFileTreeViewToolTip*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_maybeTip(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileTreeViewToolTipJBridge*) QtSupport::getQt(env, obj))->protected_maybeTip((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_newKFileTreeViewToolTip(JNIEnv* env, jobject obj, jobject view) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewToolTipJBridge((TQListView*) QtSupport::getQt(env, view))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFileTreeViewToolTip.h b/kdejava/koala/kdejava/KFileTreeViewToolTip.h deleted file mode 100644 index bdae0d63..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewToolTip.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeViewToolTip__ -#define __org_kde_koala_KFileTreeViewToolTip__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_newKFileTreeViewToolTip (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_maybeTip (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewToolTip_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeViewToolTip__ */ diff --git a/kdejava/koala/kdejava/KFileView.cpp b/kdejava/koala/kdejava/KFileView.cpp deleted file mode 100644 index 30a3d02b..00000000 --- a/kdejava/koala/kdejava/KFileView.cpp +++ /dev/null @@ -1,384 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdir.h> -#include <tdeio/global.h> -#include <tdefileview.h> -#include <tdeparts/browserextension.h> -#include <tqstring.h> -#include <tdefile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileView.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileView::autoOpenDelay(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_clearView(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_clear(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_ensureItemVisible(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_isSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_selectAll(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean enable) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFileView::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFileView::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_updateView__(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_updateView__Z(JNIEnv* env, jobject obj, jboolean f) -{ - ((KFileView*) QtSupport::getQt(env, obj))->updateView((bool) f); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileView.h b/kdejava/koala/kdejava/KFileView.h deleted file mode 100644 index 22e81205..00000000 --- a/kdejava/koala/kdejava/KFileView.h +++ /dev/null @@ -1,69 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileView__ -#define __org_kde_koala_KFileView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_items (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_autoOpenDelay (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileView__ */ diff --git a/kdejava/koala/kdejava/KFileViewSignaler.cpp b/kdejava/koala/kdejava/KFileViewSignaler.cpp deleted file mode 100644 index bbb0146a..00000000 --- a/kdejava/koala/kdejava/KFileViewSignaler.cpp +++ /dev/null @@ -1,138 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdir.h> -#include <tdefileview.h> -#include <tqpoint.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFileViewSignaler.h> - -class KFileViewSignalerJBridge : public KFileViewSignaler -{ -public: - KFileViewSignalerJBridge() : KFileViewSignaler() {}; - ~KFileViewSignalerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileViewSignaler",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_activateMenu(JNIEnv* env, jobject obj, jobject i, jobject pos) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->activateMenu((const KFileItem*) QtSupport::getQt(env, i), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_activate(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->activate((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_changeSorting(JNIEnv* env, jobject obj, jint sorting) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->changeSorting((TQDir::SortSpec) sorting); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileViewSignaler_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileViewSignaler*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileViewSignaler_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_dropURLs(JNIEnv* env, jobject obj, jobject i, jobject e, jobjectArray urls) -{ -static KURL::List* _qlist_urls = 0; - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->dropURLs((const KFileItem*) QtSupport::getQt(env, i), (TQDropEvent*) QtSupport::getQt(env, e), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFileViewSignaler*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFileViewSignaler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_highlightFile(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->highlightFile((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileViewSignaler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileViewSignaler_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileViewSignaler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_newKFileViewSignaler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileViewSignalerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFileViewSignaler.h b/kdejava/koala/kdejava/KFileViewSignaler.h deleted file mode 100644 index 315490aa..00000000 --- a/kdejava/koala/kdejava/KFileViewSignaler.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileViewSignaler__ -#define __org_kde_koala_KFileViewSignaler__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileViewSignaler_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileViewSignaler_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_activate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_highlightFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_activateMenu (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_changeSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_dropURLs (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_newKFileViewSignaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileViewSignaler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileViewSignaler__ */ diff --git a/kdejava/koala/kdejava/KFilterBase.cpp b/kdejava/koala/kdejava/KFilterBase.cpp deleted file mode 100644 index a6da2c8d..00000000 --- a/kdejava/koala/kdejava/KFilterBase.cpp +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kfilterbase.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFilterBase.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilterBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFilterBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_compress(JNIEnv* env, jobject obj, jboolean finish) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->compress((bool) finish); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilterBase*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_findFilterByFileName(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterBase::findFilterByFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)), "org.kde.koala.KFilterBase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_findFilterByMimeType(JNIEnv* env, jclass cls, jstring mimeType) -{ - (void) cls; -static TQString* _qstring_mimeType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterBase::findFilterByMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)), "org.kde.koala.KFilterBase"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_inBufferAvailable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->inBufferAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_inBufferEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->inBufferEmpty(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_init(JNIEnv* env, jobject obj, jint mode) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->init((int) mode); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilterBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_outBufferAvailable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->outBufferAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_outBufferFull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->outBufferFull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_readHeader(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->readHeader(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_reset(JNIEnv* env, jobject obj) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, dev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2Z(JNIEnv* env, jobject obj, jobject dev, jboolean autodelete) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, dev), (bool) autodelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setInBuffer(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - ((KFilterBase*) QtSupport::getQt(env, obj))->setInBuffer((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setOutBuffer(JNIEnv* env, jobject obj, jstring data, jint maxlen) -{ -static TQCString* _qstring_data = 0; - ((KFilterBase*) QtSupport::getQt(env, obj))->setOutBuffer((char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) maxlen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_terminate(JNIEnv* env, jobject obj) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->terminate(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_uncompress(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->uncompress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_writeHeader(JNIEnv* env, jobject obj, jstring filename) -{ -static TQCString* _qcstring_filename = 0; - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->writeHeader((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, filename, &_qcstring_filename)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFilterBase.h b/kdejava/koala/kdejava/KFilterBase.h deleted file mode 100644 index 4e286094..00000000 --- a/kdejava/koala/kdejava/KFilterBase.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilterBase__ -#define __org_kde_koala_KFilterBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilterBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_device (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_init (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_terminate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_reset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_readHeader (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_writeHeader (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setOutBuffer (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setInBuffer (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_inBufferEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_inBufferAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_outBufferFull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_outBufferAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_uncompress (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_compress (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_findFilterByFileName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_findFilterByMimeType (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilterBase__ */ diff --git a/kdejava/koala/kdejava/KFilterDev.cpp b/kdejava/koala/kdejava/KFilterDev.cpp deleted file mode 100644 index 21c9ac03..00000000 --- a/kdejava/koala/kdejava/KFilterDev.cpp +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kfilterdev.h> -#include <tqglobal.h> -#include <tqiodevice.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFilterDev.h> - -class KFilterDevJBridge : public KFilterDev -{ -public: - KFilterDevJBridge(KFilterBase* arg1,bool arg2) : KFilterDev(arg1,arg2) {}; - KFilterDevJBridge(KFilterBase* arg1) : KFilterDev(arg1) {}; - void public_close() { - KFilterDev::close(); - return; - } - void public_flush() { - KFilterDev::flush(); - return; - } - ~KFilterDevJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterDev*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((KFilterDev*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_close(JNIEnv* env, jobject obj) -{ - ((KFilterDevJBridge*) QtSupport::getQt(env, obj))->public_close(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::deviceForFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName, jstring mimetype) -{ - (void) cls; -static TQString* _qstring_fileName = 0; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::deviceForFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring fileName, jstring mimetype, jboolean forceFilter) -{ - (void) cls; -static TQString* _qstring_fileName = 0; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::deviceForFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (bool) forceFilter), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject inDevice, jstring mimetype) -{ - (void) cls; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::device((TQIODevice*) QtSupport::getQt(env, inDevice), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject inDevice, jstring mimetype, jboolean autoDeleteInDevice) -{ - (void) cls; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::device((TQIODevice*) QtSupport::getQt(env, inDevice), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (bool) autoDeleteInDevice), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFilterDev_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFilterDev*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_flush(JNIEnv* env, jobject obj) -{ - ((KFilterDevJBridge*) QtSupport::getQt(env, obj))->public_flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterDev_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterDev*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2(JNIEnv* env, jobject obj, jobject filter) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFilterDevJBridge((KFilterBase*) QtSupport::getQt(env, filter))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2Z(JNIEnv* env, jobject obj, jobject filter, jboolean autoDeleteFilterBase) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFilterDevJBridge((KFilterBase*) QtSupport::getQt(env, filter), (bool) autoDeleteFilterBase)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KFilterDev*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterDev_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((KFilterDev*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_readBlock(JNIEnv* env, jobject obj, jobject data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - if (_qstring_data == 0) { _qstring_data = new TQCString(); } - _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (TQ_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_setOrigFileName(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQCString* _qcstring_fileName = 0; - ((KFilterDev*) QtSupport::getQt(env, obj))->setOrigFileName((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fileName, &_qcstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_setSkipHeaders(JNIEnv* env, jobject obj) -{ - ((KFilterDev*) QtSupport::getQt(env, obj))->setSkipHeaders(); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterDev_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((KFilterDev*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_writeBlock(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) len); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFilterDev.h b/kdejava/koala/kdejava/KFilterDev.h deleted file mode 100644 index d1fde0d9..00000000 --- a/kdejava/koala/kdejava/KFilterDev.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilterDev__ -#define __org_kde_koala_KFilterDev__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_flush (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_setOrigFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_setSkipHeaders (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_writeBlock (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterDev_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterDev_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterDev_ungetch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilterDev__ */ diff --git a/kdejava/koala/kdejava/KFind.cpp b/kdejava/koala/kdejava/KFind.cpp deleted file mode 100644 index 6f033558..00000000 --- a/kdejava/koala/kdejava/KFind.cpp +++ /dev/null @@ -1,341 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqregexp.h> -#include <kfind.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFind.h> - -class KFindJBridge : public KFind -{ -public: - KFindJBridge(const TQString& arg1,long arg2,TQWidget* arg3) : KFind(arg1,arg2,arg3) {}; - void public_resetCounts() { - KFind::resetCounts(); - return; - } - void public_displayFinalDialog() { - KFind::displayFinalDialog(); - return; - } - TQWidget* protected_parentWidget() { - return (TQWidget*) KFind::parentWidget(); - } - TQWidget* protected_dialogsParent() { - return (TQWidget*) KFind::dialogsParent(); - } - void protected_slotFindNext() { - KFind::slotFindNext(); - return; - } - void protected_slotDialogClosed() { - KFind::slotDialogClosed(); - return; - } - ~KFindJBridge() {QtSupport::qtKeyDeleted(this);} - void displayFinalDialog() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFind","displayFinalDialog")) { - KFind::displayFinalDialog(); - } - return; - } - void resetCounts() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFind","resetCounts")) { - KFind::resetCounts(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFind",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFind_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFind*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_closeFindNextDialog(JNIEnv* env, jobject obj) -{ - ((KFind*) QtSupport::getQt(env, obj))->closeFindNextDialog(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_dialogsParent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindJBridge*) QtSupport::getQt(env, obj))->protected_dialogsParent(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_displayFinalDialog(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->public_displayFinalDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFind_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFind*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFind*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_findNextDialog__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFind*) QtSupport::getQt(env, obj))->findNextDialog(), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_findNextDialog__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFind*) QtSupport::getQt(env, obj))->findNextDialog((bool) create), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_find__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFind*) QtSupport::getQt(env, obj))->find(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_find__Ljava_lang_String_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jstring text, jstring pattern, jint index, jlong options, jintArray matchedlength) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_pattern = 0; - int* _int_matchedlength = QtSupport::toIntPtr(env, matchedlength); - jint xret = (jint) KFindJBridge::find((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (int) index, (long) options, (int*) _int_matchedlength); - env->SetIntArrayRegion(matchedlength, 0, 1, (jint *) _int_matchedlength); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_find__Ljava_lang_String_2Lorg_kde_qt_QRegExp_2IJ_3I(JNIEnv* env, jclass cls, jstring text, jobject pattern, jint index, jlong options, jintArray matchedlength) -{ - (void) cls; -static TQString* _qstring_text = 0; - int* _int_matchedlength = QtSupport::toIntPtr(env, matchedlength); - jint xret = (jint) KFindJBridge::find((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, pattern), (int) index, (long) options, (int*) _int_matchedlength); - env->SetIntArrayRegion(matchedlength, 0, 1, (jint *) _int_matchedlength); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_index(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFind*) QtSupport::getQt(env, obj))->index(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFind*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_needData(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->needData(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_newKFind(JNIEnv* env, jobject obj, jstring pattern, jlong options, jobject parent) -{ -static TQString* _qstring_pattern = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (long) options, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_numMatches(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFind*) QtSupport::getQt(env, obj))->numMatches(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFind_options(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFind*) QtSupport::getQt(env, obj))->options(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_parentWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindJBridge*) QtSupport::getQt(env, obj))->protected_parentWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFind_pattern(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFind*) QtSupport::getQt(env, obj))->pattern(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_resetCounts(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->public_resetCounts(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring data) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jstring data, jint startPos) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data), (int) startPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring data) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring data, jint startPos) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data), (int) startPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setOptions(JNIEnv* env, jobject obj, jlong options) -{ - ((KFind*) QtSupport::getQt(env, obj))->setOptions((long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setPattern(JNIEnv* env, jobject obj, jstring pattern) -{ -static TQString* _qstring_pattern = 0; - ((KFind*) QtSupport::getQt(env, obj))->setPattern((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_shouldRestart__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->shouldRestart(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_shouldRestart__Z(JNIEnv* env, jobject obj, jboolean forceAsking) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_shouldRestart__ZZ(JNIEnv* env, jobject obj, jboolean forceAsking, jboolean showNumMatches) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking, (bool) showNumMatches); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_slotDialogClosed(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->protected_slotDialogClosed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_slotFindNext(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->protected_slotFindNext(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_validateMatch(JNIEnv* env, jobject obj, jstring text, jint index, jint matchedlength) -{ -static TQString* _qstring_text = 0; - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->validateMatch((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (int) matchedlength); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFind.h b/kdejava/koala/kdejava/KFind.h deleted file mode 100644 index 1a5aff1a..00000000 --- a/kdejava/koala/kdejava/KFind.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFind__ -#define __org_kde_koala_KFind__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFind_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_newKFind (JNIEnv *env, jobject, jstring, jlong, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_needData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_find__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFind_options (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setOptions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFind_pattern (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setPattern (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_numMatches (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_resetCounts (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_validateMatch (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_shouldRestart__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_shouldRestart__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_shouldRestart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_displayFinalDialog (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_findNextDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_findNextDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_closeFindNextDialog (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_index (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_find__Ljava_lang_String_2Ljava_lang_String_2IJ_3I (JNIEnv *env, jclass, jstring, jstring, jint, jlong, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_find__Ljava_lang_String_2Lorg_kde_qt_QRegExp_2IJ_3I (JNIEnv *env, jclass, jstring, jobject, jint, jlong, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_parentWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_dialogsParent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_slotFindNext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_slotDialogClosed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFind__ */ diff --git a/kdejava/koala/kdejava/KFindDialog.cpp b/kdejava/koala/kdejava/KFindDialog.cpp deleted file mode 100644 index 5a308373..00000000 --- a/kdejava/koala/kdejava/KFindDialog.cpp +++ /dev/null @@ -1,764 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqstringlist.h> -#include <kfinddialog.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFindDialog.h> - -class KFindDialogJBridge : public KFindDialog -{ -public: - KFindDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4,bool arg5) : KFindDialog(arg1,arg2,arg3,arg4,arg5) {}; - KFindDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4) : KFindDialog(arg1,arg2,arg3,arg4) {}; - KFindDialogJBridge(TQWidget* arg1,const char* arg2,long arg3) : KFindDialog(arg1,arg2,arg3) {}; - KFindDialogJBridge(TQWidget* arg1,const char* arg2) : KFindDialog(arg1,arg2) {}; - KFindDialogJBridge(TQWidget* arg1) : KFindDialog(arg1) {}; - KFindDialogJBridge() : KFindDialog() {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3,long arg4,const TQStringList& arg5,bool arg6) : KFindDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3,long arg4,const TQStringList& arg5) : KFindDialog(arg1,arg2,arg3,arg4,arg5) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3,long arg4) : KFindDialog(arg1,arg2,arg3,arg4) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KFindDialog(arg1,arg2,arg3) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2) : KFindDialog(arg1,arg2) {}; - KFindDialogJBridge(bool arg1) : KFindDialog(arg1) {}; - void protected_showEvent(TQShowEvent* arg1) { - KFindDialog::showEvent(arg1); - return; - } - void protected_slotOk() { - KFindDialog::slotOk(); - return; - } - void protected_slotSelectedTextToggled(bool arg1) { - KFindDialog::slotSelectedTextToggled(arg1); - return; - } - void protected_showPatterns() { - KFindDialog::showPatterns(); - return; - } - void protected_showPlaceholders() { - KFindDialog::showPlaceholders(); - return; - } - void protected_textSearchChanged(const TQString& arg1) { - KFindDialog::textSearchChanged(arg1); - return; - } - ~KFindDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","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")) { - KFindDialog::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","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 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.KFindDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFindDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFindDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFindDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFindDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFindDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFindDialog_findExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindDialog*) QtSupport::getQt(env, obj))->findExtension(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFindDialog_findHistory(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFindDialog*) QtSupport::getQt(env, obj))->findHistory(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFindDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFindDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__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 KFindDialogJBridge((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_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings, jboolean hasSelection) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (bool) hasSelection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Z(JNIEnv* env, jobject obj, jboolean modal) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean modal, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (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_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name, jlong options) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name, jlong options, jobjectArray findStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name, jlong options, jobjectArray findStrings, jboolean hasSelection) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (bool) hasSelection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFindDialog_options(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFindDialog*) QtSupport::getQt(env, obj))->options(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFindDialog_pattern(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFindDialog*) QtSupport::getQt(env, obj))->pattern(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setFindHistory(JNIEnv* env, jobject obj, jobjectArray history) -{ -static TQStringList* _qlist_history = 0; - ((KFindDialog*) QtSupport::getQt(env, obj))->setFindHistory((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, history, &_qlist_history)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setHasCursor(JNIEnv* env, jobject obj, jboolean hasCursor) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setHasCursor((bool) hasCursor); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setHasSelection(JNIEnv* env, jobject obj, jboolean hasSelection) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setHasSelection((bool) hasSelection); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setOptions(JNIEnv* env, jobject obj, jlong options) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setOptions((long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setPattern(JNIEnv* env, jobject obj, jstring pattern) -{ -static TQString* _qstring_pattern = 0; - ((KFindDialog*) QtSupport::getQt(env, obj))->setPattern((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsBackwardsFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsBackwardsFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsCaseSensitiveFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsCaseSensitiveFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsRegularExpressionFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsRegularExpressionFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsWholeWordsFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsWholeWordsFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_showPatterns(JNIEnv* env, jobject obj) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_showPatterns(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_showPlaceholders(JNIEnv* env, jobject obj) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_showPlaceholders(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_slotSelectedTextToggled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotSelectedTextToggled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_textSearchChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_textSearchChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KFindDialog.h b/kdejava/koala/kdejava/KFindDialog.h deleted file mode 100644 index 902b4a5a..00000000 --- a/kdejava/koala/kdejava/KFindDialog.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFindDialog__ -#define __org_kde_koala_KFindDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFindDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFindDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J (JNIEnv *env, jobject, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jboolean, jobject, jstring, jlong, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jlong, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J (JNIEnv *env, jobject, jboolean, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setFindHistory (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFindDialog_findHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setHasSelection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setHasCursor (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsBackwardsFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsCaseSensitiveFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsWholeWordsFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsRegularExpressionFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setOptions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFindDialog_options (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFindDialog_pattern (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setPattern (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFindDialog_findExtension (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_slotSelectedTextToggled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_showPatterns (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_showPlaceholders (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_textSearchChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFindDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFindDialog__ */ diff --git a/kdejava/koala/kdejava/KFloatValidator.cpp b/kdejava/koala/kdejava/KFloatValidator.cpp deleted file mode 100644 index 17460c02..00000000 --- a/kdejava/koala/kdejava/KFloatValidator.cpp +++ /dev/null @@ -1,199 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqvalidator.h> -#include <tqstring.h> -#include <knumvalidator.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFloatValidator.h> - -class KFloatValidatorJBridge : public KFloatValidator -{ -public: - KFloatValidatorJBridge(TQWidget* arg1,const char* arg2) : KFloatValidator(arg1,arg2) {}; - KFloatValidatorJBridge(TQWidget* arg1) : KFloatValidator(arg1) {}; - KFloatValidatorJBridge(double arg1,double arg2,TQWidget* arg3,const char* arg4) : KFloatValidator(arg1,arg2,arg3,arg4) {}; - KFloatValidatorJBridge(double arg1,double arg2,TQWidget* arg3) : KFloatValidator(arg1,arg2,arg3) {}; - KFloatValidatorJBridge(double arg1,double arg2,bool arg3,TQWidget* arg4,const char* arg5) : KFloatValidator(arg1,arg2,arg3,arg4,arg5) {}; - KFloatValidatorJBridge(double arg1,double arg2,bool arg3,TQWidget* arg4) : KFloatValidator(arg1,arg2,arg3,arg4) {}; - ~KFloatValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFloatValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFloatValidator_acceptLocalizedNumbers(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFloatValidator*) QtSupport::getQt(env, obj))->acceptLocalizedNumbers(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KFloatValidator_bottom(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KFloatValidator*) QtSupport::getQt(env, obj))->bottom(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFloatValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFloatValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFloatValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_fixup(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KFloatValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFloatValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (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_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jboolean localeAware, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (bool) localeAware, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jboolean localeAware, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (bool) localeAware, (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_KFloatValidator_newKFloatValidator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__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 KFloatValidatorJBridge((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_KFloatValidator_setAcceptLocalizedNumbers(JNIEnv* env, jobject obj, jboolean b) -{ - ((KFloatValidator*) QtSupport::getQt(env, obj))->setAcceptLocalizedNumbers((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_setRange(JNIEnv* env, jobject obj, jdouble bottom, jdouble top) -{ - ((KFloatValidator*) QtSupport::getQt(env, obj))->setRange((double) bottom, (double) top); - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KFloatValidator_top(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KFloatValidator*) QtSupport::getQt(env, obj))->top(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFloatValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((KFloatValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFloatValidator.h b/kdejava/koala/kdejava/KFloatValidator.h deleted file mode 100644 index 202e9275..00000000 --- a/kdejava/koala/kdejava/KFloatValidator.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFloatValidator__ -#define __org_kde_koala_KFloatValidator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jdouble, jdouble, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jdouble, jdouble, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFloatValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_setRange (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KFloatValidator_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KFloatValidator_top (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_setAcceptLocalizedNumbers (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFloatValidator_acceptLocalizedNumbers (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFloatValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFloatValidator__ */ diff --git a/kdejava/koala/kdejava/KFolderType.cpp b/kdejava/koala/kdejava/KFolderType.cpp deleted file mode 100644 index 4c2fa89f..00000000 --- a/kdejava/koala/kdejava/KFolderType.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatastream.h> -#include <kmimetype.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFolderType.h> - -class KFolderTypeJBridge : public KFolderType -{ -public: - KFolderTypeJBridge(KDesktopFile* arg1) : KFolderType(arg1) {}; - KFolderTypeJBridge(TQDataStream& arg1,int arg2) : KFolderType(arg1,arg2) {}; - ~KFolderTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_comment__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_comment__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->comment((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFolderType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFolderType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_icon__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->icon((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_icon__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->icon((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFolderType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFolderTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFolderTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFolderType.h b/kdejava/koala/kdejava/KFolderType.h deleted file mode 100644 index 58da39f6..00000000 --- a/kdejava/koala/kdejava/KFolderType.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFolderType__ -#define __org_kde_koala_KFolderType__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_icon__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_icon__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_comment__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_comment__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFolderType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFolderType__ */ diff --git a/kdejava/koala/kdejava/KGradientSelector.cpp b/kdejava/koala/kdejava/KGradientSelector.cpp deleted file mode 100644 index e07f02e8..00000000 --- a/kdejava/koala/kdejava/KGradientSelector.cpp +++ /dev/null @@ -1,590 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tdeselect.h> -#include <tqstring.h> -#include <tqcolor.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KGradientSelector.h> - -class KGradientSelectorJBridge : public KGradientSelector -{ -public: - KGradientSelectorJBridge(TQWidget* arg1,const char* arg2) : KGradientSelector(arg1,arg2) {}; - KGradientSelectorJBridge(TQWidget* arg1) : KGradientSelector(arg1) {}; - KGradientSelectorJBridge() : KGradientSelector() {}; - KGradientSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : KGradientSelector(arg1,arg2,arg3) {}; - KGradientSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : KGradientSelector(arg1,arg2) {}; - KGradientSelectorJBridge(TQt::Orientation arg1) : KGradientSelector(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - KGradientSelector::drawContents(arg1); - return; - } - TQSize protected_minimumSize() { - return (TQSize) KGradientSelector::minimumSize(); - } - ~KGradientSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KGradientSelector::drawContents(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")) { - TQWidget::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; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","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.KGradientSelector","show")) { - TQWidget::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.KGradientSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","valueChange")) { - TDESelector::valueChange(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDESelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","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")) { - TDESelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","rangeChange")) { - TQRangeControl::rangeChange(); - } - 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.KGradientSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDESelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KGradientSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGradientSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KGradientSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KGradientSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KGradientSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KGradientSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KGradientSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGradientSelector_firstColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KGradientSelector*) QtSupport::getQt(env, obj))->firstColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGradientSelector_firstText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGradientSelector*) QtSupport::getQt(env, obj))->firstText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGradientSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGradientSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KGradientSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGradientSelector_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KGradientSelectorJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__I(JNIEnv* env, jobject obj, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__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 KGradientSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGradientSelector_secondColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KGradientSelector*) QtSupport::getQt(env, obj))->secondColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGradientSelector_secondText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGradientSelector*) QtSupport::getQt(env, obj))->secondText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setColors(JNIEnv* env, jobject obj, jobject col1, jobject col2) -{ - ((KGradientSelector*) QtSupport::getQt(env, obj))->setColors((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setFirstColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KGradientSelector*) QtSupport::getQt(env, obj))->setFirstColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setFirstText(JNIEnv* env, jobject obj, jstring t) -{ -static TQString* _qstring_t = 0; - ((KGradientSelector*) QtSupport::getQt(env, obj))->setFirstText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setSecondColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KGradientSelector*) QtSupport::getQt(env, obj))->setSecondColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setSecondText(JNIEnv* env, jobject obj, jstring t) -{ -static TQString* _qstring_t = 0; - ((KGradientSelector*) QtSupport::getQt(env, obj))->setSecondText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setText(JNIEnv* env, jobject obj, jstring t1, jstring t2) -{ -static TQString* _qstring_t1 = 0; -static TQString* _qstring_t2 = 0; - ((KGradientSelector*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, t1, &_qstring_t1), (const TQString&)*(TQString*) QtSupport::toTQString(env, t2, &_qstring_t2)); - return; -} - diff --git a/kdejava/koala/kdejava/KGradientSelector.h b/kdejava/koala/kdejava/KGradientSelector.h deleted file mode 100644 index d0bc1db3..00000000 --- a/kdejava/koala/kdejava/KGradientSelector.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KGradientSelector__ -#define __org_kde_koala_KGradientSelector__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGradientSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setColors (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setText (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setFirstColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setSecondColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setFirstText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setSecondText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_firstColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_secondColor (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGradientSelector_firstText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGradientSelector_secondText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGradientSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KGradientSelector__ */ diff --git a/kdejava/koala/kdejava/KGuiItem.cpp b/kdejava/koala/kdejava/KGuiItem.cpp deleted file mode 100644 index d33f9293..00000000 --- a/kdejava/koala/kdejava/KGuiItem.cpp +++ /dev/null @@ -1,289 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqiconset.h> -#include <kicontheme.h> -#include <tqstring.h> -#include <kguiitem.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KGuiItem.h> - -class KGuiItemJBridge : public KGuiItem -{ -public: - KGuiItemJBridge() : KGuiItem() {}; - KGuiItemJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) : KGuiItem(arg1,arg2,arg3,arg4) {}; - KGuiItemJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3) : KGuiItem(arg1,arg2,arg3) {}; - KGuiItemJBridge(const TQString& arg1,const TQString& arg2) : KGuiItem(arg1,arg2) {}; - KGuiItemJBridge(const TQString& arg1) : KGuiItem(arg1) {}; - KGuiItemJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,const TQString& arg4) : KGuiItem(arg1,arg2,arg3,arg4) {}; - KGuiItemJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3) : KGuiItem(arg1,arg2,arg3) {}; - KGuiItemJBridge(const TQString& arg1,const TQIconSet& arg2) : KGuiItem(arg1,arg2) {}; - KGuiItemJBridge(const KGuiItem& arg1) : KGuiItem(arg1) {}; - ~KGuiItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KGuiItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KGuiItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_hasIconSet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KGuiItem*) QtSupport::getQt(env, obj))->hasIconSet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_hasIcon(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KGuiItem*) QtSupport::getQt(env, obj))->hasIcon(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__I(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__II(JNIEnv* env, jobject obj, jint arg1, jint size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jint arg1, jint size, jobject instance) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1, (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KGuiItem*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring iconName) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_iconName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring iconName, jstring toolTip) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_iconName = 0; -static TQString* _qstring_toolTip = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring iconName, jstring toolTip, jstring whatsThis) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_iconName = 0; -static TQString* _qstring_toolTip = 0; -static TQString* _qstring_whatsThis = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject iconSet) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject iconSet, jstring toolTip) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_toolTip = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject iconSet, jstring toolTip, jstring whatsThis) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_toolTip = 0; -static TQString* _qstring_whatsThis = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_plainText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->plainText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KGuiItem*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setIconName(JNIEnv* env, jobject obj, jstring iconName) -{ -static TQString* _qstring_iconName = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setIconName((const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setIconSet(JNIEnv* env, jobject obj, jobject iconset) -{ - ((KGuiItem*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setToolTip(JNIEnv* env, jobject obj, jstring tooltip) -{ -static TQString* _qstring_tooltip = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tooltip, &_qstring_tooltip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setWhatsThis(JNIEnv* env, jobject obj, jstring whatsThis) -{ -static TQString* _qstring_whatsThis = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_whatsThis(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->whatsThis(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KGuiItem.h b/kdejava/koala/kdejava/KGuiItem.h deleted file mode 100644 index 94efd8d0..00000000 --- a/kdejava/koala/kdejava/KGuiItem.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KGuiItem__ -#define __org_kde_koala_KGuiItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_text (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_plainText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_hasIcon (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_hasIconSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setIconName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KGuiItem__ */ diff --git a/kdejava/koala/kdejava/KHSSelector.cpp b/kdejava/koala/kdejava/KHSSelector.cpp deleted file mode 100644 index 20f08e24..00000000 --- a/kdejava/koala/kdejava/KHSSelector.cpp +++ /dev/null @@ -1,476 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcolordialog.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KHSSelector.h> - -class KHSSelectorJBridge : public KHSSelector -{ -public: - KHSSelectorJBridge(TQWidget* arg1,const char* arg2) : KHSSelector(arg1,arg2) {}; - KHSSelectorJBridge(TQWidget* arg1) : KHSSelector(arg1) {}; - KHSSelectorJBridge() : KHSSelector() {}; - void protected_drawPalette(TQPixmap* arg1) { - KHSSelector::drawPalette(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KHSSelector::resizeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - KHSSelector::drawContents(arg1); - return; - } - ~KHSSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KHSSelector::drawContents(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")) { - KHSSelector::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","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.KHSSelector","show")) { - TQWidget::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.KHSSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KXYSelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void drawPalette(TQPixmap* arg1) { - if (!QtSupport::eventDelegate(this,"drawPalette",(void*)arg1,"org.kde.qt.TQPixmap")) { - KHSSelector::drawPalette(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","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")) { - KXYSelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KXYSelector::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.KHSSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KXYSelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHSSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KHSSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KHSSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KHSSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_drawContents(JNIEnv* env, jobject obj, jobject painter) -{ - ((KHSSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_drawPalette(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KHSSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawPalette((TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KHSSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KHSSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHSSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHSSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHSSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_newKHSSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHSSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_newKHSSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHSSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_newKHSSelector__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 KHSSelectorJBridge((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_KHSSelector_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KHSSelectorJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KHSSelector.h b/kdejava/koala/kdejava/KHSSelector.h deleted file mode 100644 index 12707c20..00000000 --- a/kdejava/koala/kdejava/KHSSelector.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KHSSelector__ -#define __org_kde_koala_KHSSelector__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHSSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KHSSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_newKHSSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_newKHSSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_newKHSSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_drawPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHSSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KHSSelector__ */ diff --git a/kdejava/koala/kdejava/KHelpMenu.cpp b/kdejava/koala/kdejava/KHelpMenu.cpp deleted file mode 100644 index 3d35415e..00000000 --- a/kdejava/koala/kdejava/KHelpMenu.cpp +++ /dev/null @@ -1,210 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <khelpmenu.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KHelpMenu.h> - -class KHelpMenuJBridge : public KHelpMenu -{ -public: - KHelpMenuJBridge(TQWidget* arg1,const TQString& arg2,bool arg3) : KHelpMenu(arg1,arg2,arg3) {}; - KHelpMenuJBridge(TQWidget* arg1,const TQString& arg2) : KHelpMenu(arg1,arg2) {}; - KHelpMenuJBridge(TQWidget* arg1) : KHelpMenu(arg1) {}; - KHelpMenuJBridge() : KHelpMenu() {}; - KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2,bool arg3,TDEActionCollection* arg4) : KHelpMenu(arg1,arg2,arg3,arg4) {}; - KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2,bool arg3) : KHelpMenu(arg1,arg2,arg3) {}; - KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2) : KHelpMenu(arg1,arg2) {}; - ~KHelpMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHelpMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_aboutApplication(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->aboutApplication(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_aboutKDE(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->aboutKDE(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_appHelpActivated(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->appHelpActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KHelpMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KHelpMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_contextHelpActivated(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->contextHelpActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KHelpMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KHelpMenu*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KHelpMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHelpMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHelpMenu_menu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHelpMenu*) QtSupport::getQt(env, obj))->menu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHelpMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHelpMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring aboutAppText) -{ -static TQString* _qstring_aboutAppText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring aboutAppText, jboolean showWhatsThis) -{ -static TQString* _qstring_aboutAppText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText), (bool) showWhatsThis)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject parent, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2Z(JNIEnv* env, jobject obj, jobject parent, jobject aboutData, jboolean showWhatsThis) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData), (bool) showWhatsThis)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject parent, jobject aboutData, jboolean showWhatsThis, jobject actions) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData), (bool) showWhatsThis, (TDEActionCollection*) QtSupport::getQt(env, actions))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_reportBug(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->reportBug(); - return; -} - diff --git a/kdejava/koala/kdejava/KHelpMenu.h b/kdejava/koala/kdejava/KHelpMenu.h deleted file mode 100644 index 26ffa31e..00000000 --- a/kdejava/koala/kdejava/KHelpMenu.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KHelpMenu__ -#define __org_kde_koala_KHelpMenu__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHelpMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KHelpMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHelpMenu_menu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_appHelpActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_contextHelpActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_aboutApplication (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_aboutKDE (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_reportBug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHelpMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KHelpMenu__ */ diff --git a/kdejava/koala/kdejava/KHistoryCombo.cpp b/kdejava/koala/kdejava/KHistoryCombo.cpp deleted file mode 100644 index 1f5425e7..00000000 --- a/kdejava/koala/kdejava/KHistoryCombo.cpp +++ /dev/null @@ -1,585 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcombobox.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KHistoryCombo.h> - -class KHistoryComboJBridge : public KHistoryCombo -{ -public: - KHistoryComboJBridge(TQWidget* arg1,const char* arg2) : KHistoryCombo(arg1,arg2) {}; - KHistoryComboJBridge(TQWidget* arg1) : KHistoryCombo(arg1) {}; - KHistoryComboJBridge() : KHistoryCombo() {}; - KHistoryComboJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KHistoryCombo(arg1,arg2,arg3) {}; - KHistoryComboJBridge(bool arg1,TQWidget* arg2) : KHistoryCombo(arg1,arg2) {}; - KHistoryComboJBridge(bool arg1) : KHistoryCombo(arg1) {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KHistoryCombo::keyPressEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KHistoryCombo::wheelEvent(arg1); - return; - } - void protected_insertItems(const TQStringList& arg1) { - KHistoryCombo::insertItems(arg1); - return; - } - bool protected_useCompletion() { - return (bool) KHistoryCombo::useCompletion(); - } - ~KHistoryComboJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","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.KHistoryCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","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")) { - KHistoryCombo::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQComboBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","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")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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.KHistoryCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KHistoryCombo::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHistoryCombo",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_addToHistory(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KHistoryCombo*) QtSupport::getQt(env, obj))->addToHistory((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KHistoryCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KHistoryCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_clearHistory(JNIEnv* env, jobject obj) -{ - ((KHistoryCombo*) QtSupport::getQt(env, obj))->clearHistory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KHistoryCombo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KHistoryCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KHistoryCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHistoryCombo_historyItems(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KHistoryCombo*) QtSupport::getQt(env, obj))->historyItems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_insertItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHistoryCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHistoryCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHistoryCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__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 KHistoryComboJBridge((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_KHistoryCombo_newKHistoryCombo__Z(JNIEnv* env, jobject obj, jboolean useCompletion) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((bool) useCompletion)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean useCompletion, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((bool) useCompletion, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean useCompletion, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((bool) useCompletion, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHistoryCombo_pixmapProvider(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHistoryCombo*) QtSupport::getQt(env, obj))->pixmapProvider(), "org.kde.koala.KPixmapProvider"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHistoryCombo_removeFromHistory(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jboolean xret = (jboolean) ((KHistoryCombo*) QtSupport::getQt(env, obj))->removeFromHistory((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_reset(JNIEnv* env, jobject obj) -{ - ((KHistoryCombo*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KHistoryCombo*) QtSupport::getQt(env, obj))->setHistoryItems((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean setCompletionList) -{ -static TQStringList* _qlist_items = 0; - ((KHistoryCombo*) QtSupport::getQt(env, obj))->setHistoryItems((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (bool) setCompletionList); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_setPixmapProvider(JNIEnv* env, jobject obj, jobject prov) -{ - ((KHistoryCombo*) QtSupport::getQt(env, obj))->setPixmapProvider((KPixmapProvider*) QtSupport::getQt(env, prov)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHistoryCombo_useCompletion(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_useCompletion(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_wheelEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, ev)); - return; -} - diff --git a/kdejava/koala/kdejava/KHistoryCombo.h b/kdejava/koala/kdejava/KHistoryCombo.h deleted file mode 100644 index 208406ad..00000000 --- a/kdejava/koala/kdejava/KHistoryCombo.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KHistoryCombo__ -#define __org_kde_koala_KHistoryCombo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHistoryCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KHistoryCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHistoryCombo_historyItems (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHistoryCombo_removeFromHistory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_setPixmapProvider (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHistoryCombo_pixmapProvider (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_addToHistory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_clearHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_insertItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHistoryCombo_useCompletion (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHistoryCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KHistoryCombo__ */ diff --git a/kdejava/koala/kdejava/KIDNA.cpp b/kdejava/koala/kdejava/KIDNA.cpp deleted file mode 100644 index c540dec7..00000000 --- a/kdejava/koala/kdejava/KIDNA.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kidna.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KIDNA.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIDNA_toAsciiCString(JNIEnv* env, jclass cls, jstring idna) -{ - TQCString _qstring; - (void) cls; -static TQString* _qstring_idna = 0; - _qstring = KIDNA::toAsciiCString((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIDNA_toAscii(JNIEnv* env, jclass cls, jstring idna) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_idna = 0; - _qstring = KIDNA::toAscii((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIDNA_toUnicode(JNIEnv* env, jclass cls, jstring idna) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_idna = 0; - _qstring = KIDNA::toUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KIDNA.h b/kdejava/koala/kdejava/KIDNA.h deleted file mode 100644 index d24fabe9..00000000 --- a/kdejava/koala/kdejava/KIDNA.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIDNA__ -#define __org_kde_koala_KIDNA__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIDNA_toAsciiCString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIDNA_toAscii (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIDNA_toUnicode (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIDNA__ */ diff --git a/kdejava/koala/kdejava/KIPC.cpp b/kdejava/koala/kdejava/KIPC.cpp deleted file mode 100644 index 66900fd7..00000000 --- a/kdejava/koala/kdejava/KIPC.cpp +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kipc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KIPC.h> - -class KIPCJBridge : public KIPC -{ -public: - KIPCJBridge() : KIPC() {}; - ~KIPCJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIPC_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KIPC*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIPC_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_newKIPC(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIPCJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessageAll__I(JNIEnv* env, jclass cls, jint msg) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessageAll((KIPC::Message) msg); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessageAll__II(JNIEnv* env, jclass cls, jint msg, jint data) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessageAll((KIPC::Message) msg, (int) data); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessage__IJ(JNIEnv* env, jclass cls, jint msg, jlong w) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessage((KIPC::Message) msg, (WId) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessage__IJI(JNIEnv* env, jclass cls, jint msg, jlong w, jint data) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessage((KIPC::Message) msg, (WId) w, (int) data); - return; -} - diff --git a/kdejava/koala/kdejava/KIPC.h b/kdejava/koala/kdejava/KIPC.h deleted file mode 100644 index c193fe20..00000000 --- a/kdejava/koala/kdejava/KIPC.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIPC__ -#define __org_kde_koala_KIPC__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_newKIPC (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessage__IJI (JNIEnv *env, jclass, jint, jlong, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessage__IJ (JNIEnv *env, jclass, jint, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessageAll__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessageAll__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIPC_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIPC__ */ diff --git a/kdejava/koala/kdejava/KImageEffect.cpp b/kdejava/koala/kdejava/KImageEffect.cpp deleted file mode 100644 index ac4c08ea..00000000 --- a/kdejava/koala/kdejava/KImageEffect.cpp +++ /dev/null @@ -1,712 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqrect.h> -#include <kimageeffect.h> -#include <tqimage.h> -#include <tqpoint.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KImageEffect.h> - -class KImageEffectJBridge : public KImageEffect -{ -public: - KImageEffectJBridge() : KImageEffect() {}; - ~KImageEffectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::addNoise((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::addNoise((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (KImageEffect::NoiseType) type)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__IILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jint x, jint y, jobject upper, jobject lower) -{ - (void) cls; - jboolean xret = (jboolean) KImageEffectJBridge::blendOnLower((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2IF(JNIEnv* env, jclass cls, jobject upper, jobject lower, jint disposition, jfloat opacity) -{ - (void) cls; - KImageEffectJBridge::blendOnLower((TQImage&)*(TQImage*) QtSupport::getQt(env, upper), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (KImageEffect::Disposition) disposition, (float) opacity); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect) -{ - (void) cls; - KImageEffectJBridge::blendOnLower((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, upperOffset), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, lowerRect)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2F(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect, jfloat opacity) -{ - (void) cls; - KImageEffectJBridge::blendOnLower((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, upperOffset), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, lowerRect), (float) opacity); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QColor_2Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject clr, jobject dst, jfloat opacity) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr), (TQImage&)*(TQImage*) QtSupport::getQt(env, dst), (float) opacity), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2IZ(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff, (bool) anti_dir), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject src, jobject dst, jfloat opacity) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, dst), (float) opacity), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2III(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf, jint yf) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf, (int) yf), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject upper, jobject lower, jobject output) -{ - (void) cls; - jboolean xret = (jboolean) KImageEffectJBridge::blend((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower), (TQImage&)*(TQImage*) QtSupport::getQt(env, output)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jobject blendImage, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (TQImage&)*(TQImage*) QtSupport::getQt(env, blendImage), (KImageEffect::RGBComponent) channel), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_blend___3I_3ILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jintArray x, jintArray y, jobject upper, jobject lower, jobject output) -{ - (void) cls; - int* _int_x = QtSupport::toIntPtr(env, x); - int* _int_y = QtSupport::toIntPtr(env, y); - jboolean xret = (jboolean) KImageEffectJBridge::blend( (int&) *_int_x, (int&) *_int_y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower), (TQImage&)*(TQImage*) QtSupport::getQt(env, output)); - env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); - env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_bumpmap(JNIEnv* env, jclass cls, jobject img, jobject map, jdouble azimuth, jdouble elevation, jint depth, jint xofs, jint yofs, jint waterlevel, jint ambient, jboolean compensate, jboolean invert, jint type, jboolean tiled) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::bumpmap((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (TQImage&)*(TQImage*) QtSupport::getQt(env, map), (double) azimuth, (double) elevation, (int) depth, (int) xofs, (int) yofs, (int) waterlevel, (int) ambient, (bool) compensate, (bool) invert, (KImageEffect::BumpmapType) type, (bool) tiled)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_channelIntensity(JNIEnv* env, jclass cls, jobject image, jfloat percent, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::channelIntensity((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) percent, (KImageEffect::RGBComponent) channel), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_computeDestinationRect(JNIEnv* env, jclass cls, jobject lowerSize, jint disposition, jobject upper) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(KImageEffectJBridge::computeDestinationRect((const TQSize&)*(const TQSize*) QtSupport::getQt(env, lowerSize), (KImageEffect::Disposition) disposition, (TQImage&)*(TQImage*) QtSupport::getQt(env, upper))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::contrastHSV((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject img, jboolean sharpen) -{ - (void) cls; - KImageEffectJBridge::contrastHSV((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (bool) sharpen); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_contrast(JNIEnv* env, jclass cls, jobject image, jint c) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::contrast((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (int) c), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::desaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject image, jfloat desat) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::desaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) desat), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_despeckle(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::despeckle((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KImageEffect_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_dither(JNIEnv* env, jclass cls, jobject image, jobject palette, jint size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::dither((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor*) QtSupport::getQt(env, palette), (int) size), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_edge(JNIEnv* env, jclass cls, jobject src, jdouble radius) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::edge((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::emboss((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::emboss((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_equalize(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::equalize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_fade(JNIEnv* env, jclass cls, jobject image, jfloat val, jobject color) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::fade((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) val, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KImageEffect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::flatten((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::flatten((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (int) ncols), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::gradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::gradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) ncols)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image, jint lite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image, jint lite, jint spacing) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite, (unsigned int) spacing), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble factor, jint background) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor, (unsigned int) background)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_intensity(JNIEnv* env, jclass cls, jobject image, jfloat percent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::intensity((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) percent), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_modulate(JNIEnv* env, jclass cls, jobject image, jobject modImage, jboolean reverse, jint type, jint factor, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::modulate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (TQImage&)*(TQImage*) QtSupport::getQt(env, modImage), (bool) reverse, (KImageEffect::ModulationType) type, (int) factor, (KImageEffect::RGBComponent) channel), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_newKImageEffect(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KImageEffectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_normalize(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::normalize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_oilPaintConvolve(JNIEnv* env, jclass cls, jobject src, jdouble radius) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaintConvolve((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaint((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint radius) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaint((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (int) radius)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_rotate(JNIEnv* env, jclass cls, jobject src, jint r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::rotate((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (KImageEffect::RotateDirection) r)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sample(JNIEnv* env, jclass cls, jobject src, jint w, jint h) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sample((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (int) w, (int) h)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_selectedImage(JNIEnv* env, jclass cls, jobject img, jobject col) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::selectedImage((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject src, jboolean color_shading) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZDD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth, jdouble elevation) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth, (double) elevation)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::solarize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject img, jdouble factor) -{ - (void) cls; - KImageEffectJBridge::solarize((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (double) factor); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::spread((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint amount) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::spread((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (unsigned int) amount)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble degrees) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) degrees)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble degrees, jint background) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) degrees, (unsigned int) background)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::threshold((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject img, jint value) -{ - (void) cls; - KImageEffectJBridge::threshold((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (unsigned int) value); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject image, jboolean fast) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (bool) fast), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble amplitude) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DDI(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency, jint background) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency, (unsigned int) background)), "org.kde.qt.TQImage", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KImageEffect.h b/kdejava/koala/kdejava/KImageEffect.h deleted file mode 100644 index 5d2a97a5..00000000 --- a/kdejava/koala/kdejava/KImageEffect.h +++ /dev/null @@ -1,104 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KImageEffect__ -#define __org_kde_koala_KImageEffect__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_newKImageEffect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QColor_2Lorg_kde_qt_QImage_2F (JNIEnv *env, jclass, jobject, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2F (JNIEnv *env, jclass, jobject, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2IZ (JNIEnv *env, jclass, jobject, jfloat, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jfloat, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2III (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2II (JNIEnv *env, jclass, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_blend___3I_3ILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jintArray, jintArray, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__IILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jint, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2F (JNIEnv *env, jclass, jobject, jobject, jobject, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_computeDestinationRect (JNIEnv *env, jclass, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2IF (JNIEnv *env, jclass, jobject, jobject, jint, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_channelIntensity (JNIEnv *env, jclass, jobject, jfloat, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_fade (JNIEnv *env, jclass, jobject, jfloat, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_intensity (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_modulate (JNIEnv *env, jclass, jobject, jobject, jboolean, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2F (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_contrast (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_dither (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_selectedImage (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_normalize (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_equalize (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_despeckle (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_rotate (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sample (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_edge (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2DI (JNIEnv *env, jclass, jobject, jdouble, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_oilPaintConvolve (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZDD (JNIEnv *env, jclass, jobject, jboolean, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZD (JNIEnv *env, jclass, jobject, jboolean, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2DI (JNIEnv *env, jclass, jobject, jdouble, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DDI (JNIEnv *env, jclass, jobject, jdouble, jdouble, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_bumpmap (JNIEnv *env, jclass, jobject, jobject, jdouble, jdouble, jint, jint, jint, jint, jint, jboolean, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KImageEffect__ */ diff --git a/kdejava/koala/kdejava/KImageIO.cpp b/kdejava/koala/kdejava/KImageIO.cpp deleted file mode 100644 index 35d7f943..00000000 --- a/kdejava/koala/kdejava/KImageIO.cpp +++ /dev/null @@ -1,188 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kimageio.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KImageIO.h> - -class KImageIOJBridge : public KImageIO -{ -public: - KImageIOJBridge() : KImageIO() {}; - ~KImageIOJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_canRead(JNIEnv* env, jclass cls, jstring type) -{ - (void) cls; -static TQString* _qstring_type = 0; - jboolean xret = (jboolean) KImageIOJBridge::canRead((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_canWrite(JNIEnv* env, jclass cls, jstring type) -{ - (void) cls; -static TQString* _qstring_type = 0; - jboolean xret = (jboolean) KImageIOJBridge::canWrite((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KImageIO_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KImageIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _mimeType) -{ - (void) cls; -static TQString* _qstring__mimeType = 0; - jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TQString&)*(TQString*) QtSupport::toTQString(env, _mimeType, &_qstring__mimeType)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring _mimeType, jint _mode) -{ - (void) cls; -static TQString* _qstring__mimeType = 0; - jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TQString&)*(TQString*) QtSupport::toTQString(env, _mimeType, &_qstring__mimeType), (KImageIO::Mode) _mode); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_mimeType(JNIEnv* env, jclass cls, jstring _filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring__filename = 0; - _qstring = KImageIOJBridge::mimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _filename, &_qstring__filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_mimeTypes__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::mimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_mimeTypes__I(JNIEnv* env, jclass cls, jint mode) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::mimeTypes((KImageIO::Mode) mode); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_newKImageIO(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KImageIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_pattern__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KImageIOJBridge::pattern(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_pattern__I(JNIEnv* env, jclass cls, jint mode) -{ - TQString _qstring; - (void) cls; - _qstring = KImageIOJBridge::pattern((KImageIO::Mode) mode); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_registerFormats(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KImageIOJBridge::registerFormats(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_suffix(JNIEnv* env, jclass cls, jstring type) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_type = 0; - _qstring = KImageIOJBridge::suffix((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_typeForMime(JNIEnv* env, jclass cls, jstring mimeType) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_mimeType = 0; - _qstring = KImageIOJBridge::typeForMime((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_type(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KImageIOJBridge::type((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_types__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::types(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_types__I(JNIEnv* env, jclass cls, jint mode) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::types((KImageIO::Mode) mode); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KImageIO.h b/kdejava/koala/kdejava/KImageIO.h deleted file mode 100644 index ef96d30a..00000000 --- a/kdejava/koala/kdejava/KImageIO.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KImageIO__ -#define __org_kde_koala_KImageIO__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_newKImageIO (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_registerFormats (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_canWrite (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_canRead (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_types__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_types__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_pattern__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_pattern__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_suffix (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_typeForMime (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_type (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_mimeTypes__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_mimeTypes__ (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_mimeType (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KImageIO__ */ diff --git a/kdejava/koala/kdejava/KInputDialog.cpp b/kdejava/koala/kdejava/KInputDialog.cpp deleted file mode 100644 index e0c264b7..00000000 --- a/kdejava/koala/kdejava/KInputDialog.cpp +++ /dev/null @@ -1,475 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kinputdialog.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KInputDialog.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KInputDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple, jbooleanArray ok) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple, jbooleanArray ok, jobject parent) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple, jbooleanArray ok, jobject parent, jstring name) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator, jstring mask) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; -static TQString* _qstring_mask = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator), (const TQString&)*(TQString*) QtSupport::toTQString(env, mask, &_qstring_mask)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KInputDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator, jstring mask) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; -static TQString* _qstring_mask = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator), (const TQString&)*(TQString*) QtSupport::toTQString(env, mask, &_qstring_mask)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator, jstring mask, jstring whatsThis) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; -static TQString* _qstring_mask = 0; -static TQString* _qstring_whatsThis = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator), (const TQString&)*(TQString*) QtSupport::toTQString(env, mask, &_qstring_mask), (const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KInputDialog.h b/kdejava/koala/kdejava/KInputDialog.h deleted file mode 100644 index 46ce41c3..00000000 --- a/kdejava/koala/kdejava/KInputDialog.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KInputDialog__ -#define __org_kde_koala_KInputDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3Z (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean, jbooleanArray, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean, jbooleanArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3Z (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KInputDialog__ */ diff --git a/kdejava/koala/kdejava/KIntNumInput.cpp b/kdejava/koala/kdejava/KIntNumInput.cpp deleted file mode 100644 index 5cb180d6..00000000 --- a/kdejava/koala/kdejava/KIntNumInput.cpp +++ /dev/null @@ -1,727 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <knuminput.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KIntNumInput.h> - -class KIntNumInputJBridge : public KIntNumInput -{ -public: - KIntNumInputJBridge(TQWidget* arg1,const char* arg2) : KIntNumInput(arg1,arg2) {}; - KIntNumInputJBridge(TQWidget* arg1) : KIntNumInput(arg1) {}; - KIntNumInputJBridge() : KIntNumInput() {}; - KIntNumInputJBridge(int arg1,TQWidget* arg2,int arg3,const char* arg4) : KIntNumInput(arg1,arg2,arg3,arg4) {}; - KIntNumInputJBridge(int arg1,TQWidget* arg2,int arg3) : KIntNumInput(arg1,arg2,arg3) {}; - KIntNumInputJBridge(int arg1,TQWidget* arg2) : KIntNumInput(arg1,arg2) {}; - KIntNumInputJBridge(int arg1) : KIntNumInput(arg1) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2,TQWidget* arg3,int arg4,const char* arg5) : KIntNumInput(arg1,arg2,arg3,arg4,arg5) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2,TQWidget* arg3,int arg4) : KIntNumInput(arg1,arg2,arg3,arg4) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2,TQWidget* arg3) : KIntNumInput(arg1,arg2,arg3) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2) : KIntNumInput(arg1,arg2) {}; - void protected_doLayout() { - KIntNumInput::doLayout(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KIntNumInput::resizeEvent(arg1); - return; - } - ~KIntNumInputJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KIntNumInput::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","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.KIntNumInput","show")) { - TQWidget::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.KIntNumInput","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","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 doLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","doLayout")) { - KIntNumInput::doLayout(); - } - return; - } - 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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","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 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.KIntNumInput","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KIntNumInput",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIntNumInput_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_doLayout(JNIEnv* env, jobject obj) -{ - ((KIntNumInputJBridge*) QtSupport::getQt(env, obj))->protected_doLayout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIntNumInput*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KIntNumInput*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIntNumInput_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KIntNumInput_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KIntNumInput*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KIntNumInput_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KIntNumInput*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__I(JNIEnv* env, jobject obj, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint value, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint value, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jint value, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2I(JNIEnv* env, jobject obj, jobject below, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject below, jint value, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject below, jint value, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject below, jint value, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__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 KIntNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_referencePoint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->referencePoint(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KIntNumInput_relativeValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KIntNumInput*) QtSupport::getQt(env, obj))->relativeValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KIntNumInputJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setEditFocus__(JNIEnv* env, jobject obj) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setEditFocus(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setEditFocus__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setEditFocus((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a) -{ -static TQString* _qstring_label = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setMaxValue(JNIEnv* env, jobject obj, jint max) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setMaxValue((int) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setMinValue(JNIEnv* env, jobject obj, jint min) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setMinValue((int) min); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setPrefix(JNIEnv* env, jobject obj, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRange__II(JNIEnv* env, jobject obj, jint min, jint max) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRange__III(JNIEnv* env, jobject obj, jint min, jint max, jint step) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max, (int) step); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRange__IIIZ(JNIEnv* env, jobject obj, jint min, jint max, jint step, jboolean slider) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max, (int) step, (bool) slider); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setReferencePoint(JNIEnv* env, jobject obj, jint arg1) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setReferencePoint((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRelativeValue(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRelativeValue((double) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setSpecialValueText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setSpecialValueText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setSuffix(JNIEnv* env, jobject obj, jstring suffix) -{ -static TQString* _qstring_suffix = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setSuffix((const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_specialValueText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->specialValueText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_suffix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->suffix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIntNumInput.h b/kdejava/koala/kdejava/KIntNumInput.h deleted file mode 100644 index 6fe8946d..00000000 --- a/kdejava/koala/kdejava/KIntNumInput.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIntNumInput__ -#define __org_kde_koala_KIntNumInput__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIntNumInput_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_value (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KIntNumInput_relativeValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_referencePoint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_suffix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_prefix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_specialValueText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRange__IIIZ (JNIEnv *env, jobject, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRange__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRange__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setSpecialValueText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIntNumInput_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRelativeValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setReferencePoint (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setSuffix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setEditFocus__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setEditFocus__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_doLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIntNumInput_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIntNumInput__ */ diff --git a/kdejava/koala/kdejava/KIntSpinBox.cpp b/kdejava/koala/kdejava/KIntSpinBox.cpp deleted file mode 100644 index 9edf00c0..00000000 --- a/kdejava/koala/kdejava/KIntSpinBox.cpp +++ /dev/null @@ -1,562 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <knuminput.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KIntSpinBox.h> - -class KIntSpinBoxJBridge : public KIntSpinBox -{ -public: - KIntSpinBoxJBridge(TQWidget* arg1,const char* arg2) : KIntSpinBox(arg1,arg2) {}; - KIntSpinBoxJBridge(TQWidget* arg1) : KIntSpinBox(arg1) {}; - KIntSpinBoxJBridge() : KIntSpinBox() {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQWidget* arg6,const char* arg7) : KIntSpinBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQWidget* arg6) : KIntSpinBox(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : KIntSpinBox(arg1,arg2,arg3,arg4,arg5) {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4) : KIntSpinBox(arg1,arg2,arg3,arg4) {}; - TQString protected_mapValueToText(int arg1) { - return (TQString) KIntSpinBox::mapValueToText(arg1); - } - int protected_mapTextToValue(bool* arg1) { - return (int) KIntSpinBox::mapTextToValue(arg1); - } - ~KIntSpinBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQSpinBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSpinBox::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; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","selectAll")) { - TQSpinBox::selectAll(); - } - return; - } - void interpretText() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","interpretText")) { - TQSpinBox::interpretText(); - } - return; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","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.KIntSpinBox","show")) { - TQWidget::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.KIntSpinBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","valueChange")) { - TQSpinBox::valueChange(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void updateDisplay() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","updateDisplay")) { - TQSpinBox::updateDisplay(); - } - 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 stepDown() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","stepDown")) { - TQSpinBox::stepDown(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQSpinBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","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 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 rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","rangeChange")) { - TQSpinBox::rangeChange(); - } - 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.KIntSpinBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQSpinBox::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - 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 stepUp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","stepUp")) { - TQSpinBox::stepUp(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntSpinBox_base(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntSpinBox*) QtSupport::getQt(env, obj))->base(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntSpinBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KIntSpinBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIntSpinBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIntSpinBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KIntSpinBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIntSpinBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntSpinBox_mapTextToValue(JNIEnv* env, jobject obj, jbooleanArray arg1) -{ - bool* _bool_arg1 = QtSupport::toBooleanPtr(env, arg1); - jint xret = (jint) ((KIntSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapTextToValue( (bool*) _bool_arg1); - env->SetBooleanArrayRegion(arg1, 0, 1, (jboolean*) _bool_arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntSpinBox_mapValueToText(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((KIntSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapValueToText((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KIntSpinBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KIntSpinBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIII(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIII(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value, (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value, jint base, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value, (int) base, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value, jint base, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value, (int) base, (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_KIntSpinBox_newKIntSpinBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__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 KIntSpinBoxJBridge((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_KIntSpinBox_setBase(JNIEnv* env, jobject obj, jint base) -{ - ((KIntSpinBox*) QtSupport::getQt(env, obj))->setBase((int) base); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_setEditFocus(JNIEnv* env, jobject obj, jboolean mark) -{ - ((KIntSpinBox*) QtSupport::getQt(env, obj))->setEditFocus((bool) mark); - return; -} - diff --git a/kdejava/koala/kdejava/KIntSpinBox.h b/kdejava/koala/kdejava/KIntSpinBox.h deleted file mode 100644 index eb8c2743..00000000 --- a/kdejava/koala/kdejava/KIntSpinBox.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIntSpinBox__ -#define __org_kde_koala_KIntSpinBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIntSpinBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntSpinBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_setBase (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntSpinBox_base (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_setEditFocus (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntSpinBox_mapValueToText (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntSpinBox_mapTextToValue (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIntSpinBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIntSpinBox__ */ diff --git a/kdejava/koala/kdejava/KIntValidator.cpp b/kdejava/koala/kdejava/KIntValidator.cpp deleted file mode 100644 index 528ebb29..00000000 --- a/kdejava/koala/kdejava/KIntValidator.cpp +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqvalidator.h> -#include <tqstring.h> -#include <knumvalidator.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KIntValidator.h> - -class KIntValidatorJBridge : public KIntValidator -{ -public: - KIntValidatorJBridge(TQWidget* arg1,int arg2,const char* arg3) : KIntValidator(arg1,arg2,arg3) {}; - KIntValidatorJBridge(TQWidget* arg1,int arg2) : KIntValidator(arg1,arg2) {}; - KIntValidatorJBridge(TQWidget* arg1) : KIntValidator(arg1) {}; - KIntValidatorJBridge(int arg1,int arg2,TQWidget* arg3,int arg4,const char* arg5) : KIntValidator(arg1,arg2,arg3,arg4,arg5) {}; - KIntValidatorJBridge(int arg1,int arg2,TQWidget* arg3,int arg4) : KIntValidator(arg1,arg2,arg3,arg4) {}; - KIntValidatorJBridge(int arg1,int arg2,TQWidget* arg3) : KIntValidator(arg1,arg2,arg3) {}; - ~KIntValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KIntValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_base(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->base(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_bottom(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->bottom(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIntValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KIntValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KIntValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_fixup(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KIntValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIntValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((int) bottom, (int) top, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((int) bottom, (int) top, (TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((int) bottom, (int) top, (TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_setBase(JNIEnv* env, jobject obj, jint base) -{ - ((KIntValidator*) QtSupport::getQt(env, obj))->setBase((int) base); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_setRange(JNIEnv* env, jobject obj, jint bottom, jint top) -{ - ((KIntValidator*) QtSupport::getQt(env, obj))->setRange((int) bottom, (int) top); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_top(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->top(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIntValidator.h b/kdejava/koala/kdejava/KIntValidator.h deleted file mode 100644 index 82a07bde..00000000 --- a/kdejava/koala/kdejava/KIntValidator.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIntValidator__ -#define __org_kde_koala_KIntValidator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_setBase (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_top (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_base (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIntValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIntValidator__ */ diff --git a/kdejava/koala/kdejava/KJanusWidget.cpp b/kdejava/koala/kdejava/KJanusWidget.cpp deleted file mode 100644 index ac288c96..00000000 --- a/kdejava/koala/kdejava/KJanusWidget.cpp +++ /dev/null @@ -1,896 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqpixmap.h> -#include <kjanuswidget.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kguiitem.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KJanusWidget.h> - -class KJanusWidgetJBridge : public KJanusWidget -{ -public: - KJanusWidgetJBridge(TQWidget* arg1,const char* arg2,int arg3) : KJanusWidget(arg1,arg2,arg3) {}; - KJanusWidgetJBridge(TQWidget* arg1,const char* arg2) : KJanusWidget(arg1,arg2) {}; - KJanusWidgetJBridge(TQWidget* arg1) : KJanusWidget(arg1) {}; - KJanusWidgetJBridge() : KJanusWidget() {}; - void public_setFocus() { - KJanusWidget::setFocus(); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KJanusWidget::showEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KJanusWidget::eventFilter(arg1,arg2); - } - bool protected_showPage(TQWidget* arg1) { - return (bool) KJanusWidget::showPage(arg1); - } - void protected_addPageWidget(TQFrame* arg1,const TQStringList& arg2,const TQString& arg3,const TQPixmap& arg4) { - KJanusWidget::addPageWidget(arg1,arg2,arg3,arg4); - return; - } - void protected_InsertTreeListItem(const TQStringList& arg1,const TQPixmap& arg2,TQFrame* arg3) { - KJanusWidget::InsertTreeListItem(arg1,arg2,arg3); - return; - } - TQWidget* protected_FindParent() { - return (TQWidget*) KJanusWidget::FindParent(); - } - ~KJanusWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","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.KJanusWidget","show")) { - TQWidget::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.KJanusWidget","setFocus")) { - KJanusWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","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")) { - KJanusWidget::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool isValid() { - return QtSupport::booleanDelegate(this,"isValid"); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","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 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.KJanusWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KJanusWidget",object,event)) { - return KJanusWidget::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_FindParent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_FindParent(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_InsertTreeListItem(JNIEnv* env, jobject obj, jobjectArray items, jobject pixmap, jobject page) -{ -static TQStringList* _qlist_items = 0; - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_InsertTreeListItem((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQFrame*) QtSupport::getQt(env, page)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KJanusWidget_activePageIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KJanusWidget*) QtSupport::getQt(env, obj))->activePageIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject recv, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_slot = 0; - ((KJanusWidget*) QtSupport::getQt(env, obj))->addButtonBelowList((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject guiitem, jobject recv, jstring slot) -{ -static TQCString* _qstring_slot = 0; - ((KJanusWidget*) QtSupport::getQt(env, obj))->addButtonBelowList((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addPageWidget(JNIEnv* env, jobject obj, jobject page, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_addPageWidget((TQFrame*) QtSupport::getQt(env, page), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item, jstring header) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring item, jstring header, jobject pixmap) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item, jstring header) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring item, jstring header, jobject pixmap) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addWidgetBelowList(JNIEnv* env, jobject obj, jobject widget) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->addWidgetBelowList((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KJanusWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KJanusWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KJanusWidget_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KJanusWidget_face(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KJanusWidget*) QtSupport::getQt(env, obj))->face(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KJanusWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KJanusWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KJanusWidget*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KJanusWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_newKJanusWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KJanusWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KJanusWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_newKJanusWidget__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 KJanusWidgetJBridge((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_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint face) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KJanusWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) face)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KJanusWidget_pageIndex(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KJanusWidget*) QtSupport::getQt(env, obj))->pageIndex((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KJanusWidget_pageTitle(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KJanusWidget*) QtSupport::getQt(env, obj))->pageTitle((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_pageWidget(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->pageWidget((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_plainPage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->plainPage(), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_removePage(JNIEnv* env, jobject obj, jobject page) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, page)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setFocus(JNIEnv* env, jobject obj) -{ - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->public_setFocus(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setFolderIcon(JNIEnv* env, jobject obj, jobjectArray path, jobject pixmap) -{ -static TQStringList* _qlist_path = 0; - ((KJanusWidget*) QtSupport::getQt(env, obj))->setFolderIcon((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, path, &_qlist_path), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setIconListAllVisible(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setIconListAllVisible((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setRootIsDecorated(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setShowIconsInTreeList(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setShowIconsInTreeList((bool) state); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_setSwallowedWidget(JNIEnv* env, jobject obj, jobject widget) -{ - jboolean xret = (jboolean) ((KJanusWidget*) QtSupport::getQt(env, obj))->setSwallowedWidget((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setTreeListAutoResize(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setTreeListAutoResize((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_showPage__I(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KJanusWidget*) QtSupport::getQt(env, obj))->showPage((int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_showPage__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) -{ - jboolean xret = (jboolean) ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showPage((TQWidget*) QtSupport::getQt(env, w)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KJanusWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_unfoldTreeList__(JNIEnv* env, jobject obj) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->unfoldTreeList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_unfoldTreeList__Z(JNIEnv* env, jobject obj, jboolean persist) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->unfoldTreeList((bool) persist); - return; -} - diff --git a/kdejava/koala/kdejava/KJanusWidget.h b/kdejava/koala/kdejava/KJanusWidget.h deleted file mode 100644 index abfccf39..00000000 --- a/kdejava/koala/kdejava/KJanusWidget.h +++ /dev/null @@ -1,80 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KJanusWidget__ -#define __org_kde_koala_KJanusWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KJanusWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_showPage__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KJanusWidget_activePageIndex (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KJanusWidget_face (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_plainPage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_removePage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KJanusWidget_pageIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_setSwallowedWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setTreeListAutoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setShowIconsInTreeList (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setRootIsDecorated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_unfoldTreeList__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_unfoldTreeList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addWidgetBelowList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setIconListAllVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setFolderIcon (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KJanusWidget_pageTitle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_pageWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setFocus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_showPage__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addPageWidget (JNIEnv *env, jobject, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_InsertTreeListItem (JNIEnv *env, jobject, jobjectArray, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_FindParent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KJanusWidget__ */ diff --git a/kdejava/koala/kdejava/KKey.cpp b/kdejava/koala/kdejava/KKey.cpp deleted file mode 100644 index 19e507ec..00000000 --- a/kdejava/koala/kdejava/KKey.cpp +++ /dev/null @@ -1,262 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqkeysequence.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KKey.h> - -class KKeyJBridge : public KKey -{ -public: - KKeyJBridge() : KKey() {}; - KKeyJBridge(int arg1) : KKey(arg1) {}; - KKeyJBridge(const TQKeySequence& arg1) : KKey(arg1) {}; - KKeyJBridge(const TQKeyEvent* arg1) : KKey(arg1) {}; - KKeyJBridge(const KKey& arg1) : KKey(arg1) {}; - KKeyJBridge(const TQString& arg1) : KKey(arg1) {}; - KKeyJBridge(uint arg1,uint arg2) : KKey(arg1,arg2) {}; - ~KKeyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_clear(JNIEnv* env, jobject obj) -{ - ((KKey*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_compare(JNIEnv* env, jobject obj, jobject key) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->compare((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKey_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KKey*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__I(JNIEnv* env, jobject obj, jint keyQt) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((int) keyQt); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__II(JNIEnv* env, jobject obj, jint key, jint mod) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((uint) key, (uint) mod); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeyEvent_2(JNIEnv* env, jobject obj, jobject keyEvent) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const TQKeyEvent*) QtSupport::getQt(env, keyEvent)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKey_modFlagLabel(JNIEnv* env, jclass cls, jint f) -{ - TQString _qstring; - (void) cls; - _qstring = KKeyJBridge::modFlagLabel((KKey::ModFlag) f); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_modFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->modFlags(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__I(JNIEnv* env, jobject obj, jint keyQt) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((int) keyQt)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__II(JNIEnv* env, jobject obj, jint key, jint mod) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((uint) key, (uint) mod)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeyEvent_2(JNIEnv* env, jobject obj, jobject keyEvent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const TQKeyEvent*) QtSupport::getQt(env, keyEvent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKey_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKey *) &KKeyJBridge::null(), "org.kde.koala.KKey"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_op_1equals(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->operator==((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_op_1lt(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->operator<((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_op_1not_1equals(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->operator!=((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_simplify(JNIEnv* env, jobject obj) -{ - ((KKey*) QtSupport::getQt(env, obj))->simplify(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_sym(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->sym(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKey_toStringInternal(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKey*) QtSupport::getQt(env, obj))->toStringInternal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKey_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKey*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KKey.h b/kdejava/koala/kdejava/KKey.h deleted file mode 100644 index 2154252e..00000000 --- a/kdejava/koala/kdejava/KKey.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKey__ -#define __org_kde_koala_KKey__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeyEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeyEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_sym (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_modFlags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKey_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKey_toStringInternal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_simplify (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKey_nil (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKey_modFlagLabel (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKey__ */ diff --git a/kdejava/koala/kdejava/KKeyButton.cpp b/kdejava/koala/kdejava/KKeyButton.cpp deleted file mode 100644 index dfd8471d..00000000 --- a/kdejava/koala/kdejava/KKeyButton.cpp +++ /dev/null @@ -1,473 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kkeybutton.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KKeyButton.h> - -class KKeyButtonJBridge : public KKeyButton -{ -public: - KKeyButtonJBridge(TQWidget* arg1,const char* arg2) : KKeyButton(arg1,arg2) {}; - KKeyButtonJBridge(TQWidget* arg1) : KKeyButton(arg1) {}; - KKeyButtonJBridge() : KKeyButton() {}; - void protected_drawButton(TQPainter* arg1) { - KKeyButton::drawButton(arg1); - return; - } - ~KKeyButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","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.KKeyButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","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")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KKeyButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_captureShortcut(JNIEnv* env, jobject obj) -{ - ((KKeyButton*) QtSupport::getQt(env, obj))->captureShortcut(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeyButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KKeyButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_drawButton(JNIEnv* env, jobject obj, jobject _painter) -{ - ((KKeyButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, _painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KKeyButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KKeyButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KKeyButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_newKKeyButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_newKKeyButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_newKKeyButton__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 KKeyButtonJBridge((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_KKeyButton_setShortcut(JNIEnv* env, jobject obj, jobject cut, jboolean bQtShortcut) -{ - ((KKeyButton*) QtSupport::getQt(env, obj))->setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) bQtShortcut); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KKeyButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyButton_shortcut(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((KKeyButton*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.TDEShortcut"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KKeyButton.h b/kdejava/koala/kdejava/KKeyButton.h deleted file mode 100644 index 7315309c..00000000 --- a/kdejava/koala/kdejava/KKeyButton.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyButton__ -#define __org_kde_koala_KKeyButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeyButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_newKKeyButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_newKKeyButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_newKKeyButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_setShortcut (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyButton_shortcut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_captureShortcut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyButton__ */ diff --git a/kdejava/koala/kdejava/KKeyChooser.cpp b/kdejava/koala/kdejava/KKeyChooser.cpp deleted file mode 100644 index 8d72afb4..00000000 --- a/kdejava/koala/kdejava/KKeyChooser.cpp +++ /dev/null @@ -1,753 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kkeydialog.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KKeyChooser.h> - -class KKeyChooserJBridge : public KKeyChooser -{ -public: - KKeyChooserJBridge(TQWidget* arg1) : KKeyChooser(arg1) {}; - KKeyChooserJBridge(TDEActionCollection* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; - KKeyChooserJBridge(TDEActionCollection* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(TDEAccel* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; - KKeyChooserJBridge(TDEAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(TDEGlobalAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(TDEShortcutList* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - bool protected_insert(TDEAccel* arg1) { - return (bool) KKeyChooser::insert(arg1); - } - bool protected_insert(TDEGlobalAccel* arg1) { - return (bool) KKeyChooser::insert(arg1); - } - bool protected_insert(TDEShortcutList* arg1) { - return (bool) KKeyChooser::insert(arg1); - } - void protected_buildListView(uint arg1,const TQString& arg2) { - KKeyChooser::buildListView(arg1,arg2); - return; - } - void protected_buildListView(uint arg1) { - KKeyChooser::buildListView(arg1); - return; - } - void protected_readGlobalKeys() { - KKeyChooser::readGlobalKeys(); - return; - } - void protected_updateButtons() { - KKeyChooser::updateButtons(); - return; - } - void protected_fontChange(const TQFont& arg1) { - KKeyChooser::fontChange(arg1); - return; - } - void protected_setShortcut(const TDEShortcut& arg1) { - KKeyChooser::setShortcut(arg1); - return; - } - bool protected_isKeyPresent(const TDEShortcut& arg1,bool arg2) { - return (bool) KKeyChooser::isKeyPresent(arg1,arg2); - } - bool protected_isKeyPresent(const TDEShortcut& arg1) { - return (bool) KKeyChooser::isKeyPresent(arg1); - } - void protected__warning(const KKeySequence& arg1,TQString arg2,TQString arg3) { - KKeyChooser::_warning(arg1,arg2,arg3); - return; - } - void protected_slotNoKey() { - KKeyChooser::slotNoKey(); - return; - } - void protected_slotDefaultKey() { - KKeyChooser::slotDefaultKey(); - return; - } - void protected_slotCustomKey() { - KKeyChooser::slotCustomKey(); - return; - } - void protected_slotListItemSelected(TQListViewItem* arg1) { - KKeyChooser::slotListItemSelected(arg1); - return; - } - void protected_capturedShortcut(const TDEShortcut& arg1) { - KKeyChooser::capturedShortcut(arg1); - return; - } - void protected_slotSettingsChanged(int arg1) { - KKeyChooser::slotSettingsChanged(arg1); - return; - } - void protected_slotListItemDoubleClicked(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - KKeyChooser::slotListItemDoubleClicked(arg1,arg2,arg3); - return; - } - ~KKeyChooserJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","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.KKeyChooser","show")) { - TQWidget::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.KKeyChooser","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","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 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 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.KKeyChooser","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KKeyChooser",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser__1warning(JNIEnv* env, jobject obj, jobject seq, jstring sAction, jstring sTitle) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sTitle = 0; - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected__warning((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq), (TQString)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (TQString)*(TQString*) QtSupport::toTQString(env, sTitle, &_qstring_sTitle)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_allDefault(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->allDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_buildListView__I(JNIEnv* env, jobject obj, jint iList) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_buildListView((uint) iList); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_buildListView__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint iList, jstring title) -{ -static TQString* _qstring_title = 0; - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_buildListView((uint) iList, (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_capturedShortcut(JNIEnv* env, jobject obj, jobject cut) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_capturedShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_checkGlobalShortcutsConflict(JNIEnv* env, jclass cls, jobject cut, jboolean warnUser, jobject parent) -{ - (void) cls; - jboolean xret = (jboolean) KKeyChooserJBridge::checkGlobalShortcutsConflict((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_checkStandardShortcutsConflict(JNIEnv* env, jclass cls, jobject cut, jboolean warnUser, jobject parent) -{ - (void) cls; - jboolean xret = (jboolean) KKeyChooserJBridge::checkStandardShortcutsConflict((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeyChooser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KKeyChooser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_commitChanges(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->commitChanges(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyChooser_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KKeyChooser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KKeyChooser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_fontChange(JNIEnv* env, jobject obj, jobject _font) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, _font)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEAccel*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) -{ -static TQString* _qstring_title = 0; - jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEGlobalAccel*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEShortcutList_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEShortcutList*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2Z(JNIEnv* env, jobject obj, jobject cut, jboolean warnuser) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnuser); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_listSync(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->listSync(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyChooser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KKeyChooser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject actions, jobject parent, jboolean bAllowLetterShortcuts) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject coll, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject coll, jobject parent, jboolean bAllowLetterShortcuts) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEGlobalAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEShortcutList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEShortcutList*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_readGlobalKeys(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_readGlobalKeys(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_save(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_setPreferFourModifierKeys(JNIEnv* env, jobject obj, jboolean preferFourModifierKeys) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->setPreferFourModifierKeys((bool) preferFourModifierKeys); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_setShortcut(JNIEnv* env, jobject obj, jobject cut) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotCustomKey(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotCustomKey(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotDefaultKey(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotDefaultKey(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotListItemDoubleClicked(JNIEnv* env, jobject obj, jobject ipoTQListViewItem, jobject ipoTQPoint, jint c) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotListItemDoubleClicked((TQListViewItem*) QtSupport::getQt(env, ipoTQListViewItem), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, ipoTQPoint), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotListItemSelected(JNIEnv* env, jobject obj, jobject item) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotListItemSelected((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotNoKey(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotNoKey(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_syncToConfig(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bClearUnset) -{ -static TQString* _qstring_sConfigGroup = 0; - ((KKeyChooser*) QtSupport::getQt(env, obj))->syncToConfig((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bClearUnset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_updateButtons(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); - return; -} - diff --git a/kdejava/koala/kdejava/KKeyChooser.h b/kdejava/koala/kdejava/KKeyChooser.h deleted file mode 100644 index d02a10eb..00000000 --- a/kdejava/koala/kdejava/KKeyChooser.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyChooser__ -#define __org_kde_koala_KKeyChooser__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyChooser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeyChooser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEShortcutList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_syncToConfig (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_commitChanges (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_allDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_setPreferFourModifierKeys (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_listSync (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkGlobalShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkStandardShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEShortcutList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_readGlobalKeys (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_updateButtons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_setShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser__1warning (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotNoKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotDefaultKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotCustomKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotListItemSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_capturedShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotListItemDoubleClicked (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyChooser__ */ diff --git a/kdejava/koala/kdejava/KKeyDialog.cpp b/kdejava/koala/kdejava/KKeyDialog.cpp deleted file mode 100644 index 36e08efc..00000000 --- a/kdejava/koala/kdejava/KKeyDialog.cpp +++ /dev/null @@ -1,688 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kkeydialog.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KKeyDialog.h> - -class KKeyDialogJBridge : public KKeyDialog -{ -public: - KKeyDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KKeyDialog(arg1,arg2,arg3) {}; - KKeyDialogJBridge(bool arg1,TQWidget* arg2) : KKeyDialog(arg1,arg2) {}; - KKeyDialogJBridge(bool arg1) : KKeyDialog(arg1) {}; - KKeyDialogJBridge() : KKeyDialog() {}; - ~KKeyDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","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 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.KKeyDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeyDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KKeyDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_commitChanges(JNIEnv* env, jobject obj) -{ - ((KKeyDialog*) QtSupport::getQt(env, obj))->commitChanges(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_configure__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->configure(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jclass cls, jobject keys) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject coll) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jclass cls, jobject keys) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_configure__Z(JNIEnv* env, jobject obj, jboolean bSaveSettings) -{ - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->configure((bool) bSaveSettings); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KKeyDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KKeyDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) -{ -static TQString* _qstring_title = 0; - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KKeyDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__Z(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge((bool) bAllowLetterShortcuts)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge((bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge((bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KKeyDialog.h b/kdejava/koala/kdejava/KKeyDialog.h deleted file mode 100644 index 71b7a2a8..00000000 --- a/kdejava/koala/kdejava/KKeyDialog.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyDialog__ -#define __org_kde_koala_KKeyDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeyDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_configure__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_configure__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_commitChanges (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyDialog__ */ diff --git a/kdejava/koala/kdejava/KKeyNative.cpp b/kdejava/koala/kdejava/KKeyNative.cpp deleted file mode 100644 index 7e3d1f12..00000000 --- a/kdejava/koala/kdejava/KKeyNative.cpp +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kkeynative.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KKeyNative.h> - -class KKeyNativeJBridge : public KKeyNative -{ -public: - KKeyNativeJBridge() : KKeyNative() {}; - KKeyNativeJBridge(const KKey& arg1) : KKeyNative(arg1) {}; - KKeyNativeJBridge(uint arg1,uint arg2,uint arg3) : KKeyNative(arg1,arg2,arg3) {}; - ~KKeyNativeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_clear(JNIEnv* env, jobject obj) -{ - ((KKeyNative*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_code(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->code(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyNative_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KKeyNative*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_init(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKeyNative*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeyNative*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyNative_key(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KKey(((KKeyNative*) QtSupport::getQt(env, obj))->key()), "org.kde.koala.KKey", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_keyboardHasWinKey(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KKeyNativeJBridge::keyboardHasWinKey(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_mod(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->mod(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_newKKeyNative__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyNativeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_newKKeyNative__III(JNIEnv* env, jobject obj, jint code, jint mod, jint sym) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyNativeJBridge((uint) code, (uint) mod, (uint) sym)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_newKKeyNative__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyNativeJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyNative_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeyNative *) &KKeyNativeJBridge::null(), "org.kde.koala.KKeyNative"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_sym(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->sym(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KKeyNative.h b/kdejava/koala/kdejava/KKeyNative.h deleted file mode 100644 index 4b818329..00000000 --- a/kdejava/koala/kdejava/KKeyNative.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyNative__ -#define __org_kde_koala_KKeyNative__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_newKKeyNative__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_newKKeyNative__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_newKKeyNative__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_init (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyNative_key (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_code (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_mod (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_sym (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyNative_nil (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_keyboardHasWinKey (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyNative__ */ diff --git a/kdejava/koala/kdejava/KKeySequence.cpp b/kdejava/koala/kdejava/KKeySequence.cpp deleted file mode 100644 index 925114eb..00000000 --- a/kdejava/koala/kdejava/KKeySequence.cpp +++ /dev/null @@ -1,209 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqkeysequence.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KKeySequence.h> - -class KKeySequenceJBridge : public KKeySequence -{ -public: - KKeySequenceJBridge() : KKeySequence() {}; - KKeySequenceJBridge(const TQKeySequence& arg1) : KKeySequence(arg1) {}; - KKeySequenceJBridge(const KKey& arg1) : KKeySequence(arg1) {}; - KKeySequenceJBridge(const KKeySequence& arg1) : KKeySequence(arg1) {}; - KKeySequenceJBridge(const TQString& arg1) : KKeySequence(arg1) {}; - ~KKeySequenceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_clear(JNIEnv* env, jobject obj) -{ - ((KKeySequence*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeySequence_compare(JNIEnv* env, jobject obj, jobject keySeq) -{ - jint xret = (jint) ((KKeySequence*) QtSupport::getQt(env, obj))->compare((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeySequence_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeySequence*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeySequence_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KKeySequence*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_isTriggerOnRelease(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->isTriggerOnRelease(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeySequence_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeySequence*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeySequence_key(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKey *) &((KKeySequence*) QtSupport::getQt(env, obj))->key((uint) i), "org.kde.koala.KKey"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring keySeq) -{ -static TQString* _qstring_keySeq = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, keySeq, &_qstring_keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeySequence_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeySequence *) &KKeySequenceJBridge::null(), "org.kde.koala.KKeySequence"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_op_1equals(JNIEnv* env, jobject obj, jobject seq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->operator==((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_op_1lt(JNIEnv* env, jobject obj, jobject seq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->operator<((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_op_1not_1equals(JNIEnv* env, jobject obj, jobject seq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->operator!=((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeySequence_qt(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((KKeySequence*) QtSupport::getQt(env, obj))->qt()), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_setKey(JNIEnv* env, jobject obj, jint i, jobject key) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->setKey((uint) i, (const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_startsWith(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->startsWith((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeySequence_toStringInternal(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKeySequence*) QtSupport::getQt(env, obj))->toStringInternal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeySequence_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKeySequence*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KKeySequence.h b/kdejava/koala/kdejava/KKeySequence.h deleted file mode 100644 index b63e105a..00000000 --- a/kdejava/koala/kdejava/KKeySequence.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeySequence__ -#define __org_kde_koala_KKeySequence__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_clear (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeySequence_count (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeySequence_key (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_isTriggerOnRelease (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_setKey (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_startsWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeySequence_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeySequence_qt (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeySequence_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeySequence_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeySequence_toStringInternal (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeySequence_nil (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeySequence__ */ diff --git a/kdejava/koala/kdejava/KLed.cpp b/kdejava/koala/kdejava/KLed.cpp deleted file mode 100644 index acfbaad6..00000000 --- a/kdejava/koala/kdejava/KLed.cpp +++ /dev/null @@ -1,716 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kled.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KLed.h> - -class KLedJBridge : public KLed -{ -public: - KLedJBridge(TQWidget* arg1,const char* arg2) : KLed(arg1,arg2) {}; - KLedJBridge(TQWidget* arg1) : KLed(arg1) {}; - KLedJBridge() : KLed() {}; - KLedJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : KLed(arg1,arg2,arg3) {}; - KLedJBridge(const TQColor& arg1,TQWidget* arg2) : KLed(arg1,arg2) {}; - KLedJBridge(const TQColor& arg1) : KLed(arg1) {}; - KLedJBridge(const TQColor& arg1,KLed::State arg2,KLed::Look arg3,KLed::Shape arg4,TQWidget* arg5,const char* arg6) : KLed(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KLedJBridge(const TQColor& arg1,KLed::State arg2,KLed::Look arg3,KLed::Shape arg4,TQWidget* arg5) : KLed(arg1,arg2,arg3,arg4,arg5) {}; - KLedJBridge(const TQColor& arg1,KLed::State arg2,KLed::Look arg3,KLed::Shape arg4) : KLed(arg1,arg2,arg3,arg4) {}; - void protected_paintFlat() { - KLed::paintFlat(); - return; - } - void protected_paintRound() { - KLed::paintRound(); - return; - } - void protected_paintSunken() { - KLed::paintSunken(); - return; - } - void protected_paintRect() { - KLed::paintRect(); - return; - } - void protected_paintRectFrame(bool arg1) { - KLed::paintRectFrame(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KLed::paintEvent(arg1); - return; - } - int protected_ensureRoundLed() { - return (int) KLed::ensureRoundLed(); - } - bool protected_paintCachedPixmap() { - return (bool) KLed::paintCachedPixmap(); - } - ~KLedJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void paintRect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintRect")) { - KLed::paintRect(); - } - return; - } - void paintRound() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintRound")) { - KLed::paintRound(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","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.KLed","show")) { - TQWidget::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.KLed","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KLed::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void paintFlat() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintFlat")) { - KLed::paintFlat(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","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 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.KLed","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void paintSunken() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintSunken")) { - KLed::paintSunken(); - } - 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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KLed",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLed_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLed*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KLed*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_darkFactor(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->darkFactor(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KLed_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_ensureRoundLed(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_ensureRoundLed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KLed*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KLed*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLed_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_look(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->look(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLed*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KLed*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2III(JNIEnv* env, jobject obj, jobject col, jint state, jint look, jint shape) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (KLed::State) state, (KLed::Look) look, (KLed::Shape) shape)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject col, jint state, jint look, jint shape, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (KLed::State) state, (KLed::Look) look, (KLed::Shape) shape, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject col, jint state, jint look, jint shape, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (KLed::State) state, (KLed::Look) look, (KLed::Shape) shape, (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_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject col, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject col, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (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_KLed_newKLed__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__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 KLedJBridge((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_KLed_off(JNIEnv* env, jobject obj) -{ - ((KLed*) QtSupport::getQt(env, obj))->off(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_on(JNIEnv* env, jobject obj) -{ - ((KLed*) QtSupport::getQt(env, obj))->on(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLed_paintCachedPixmap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintCachedPixmap(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintFlat(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintFlat(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintRectFrame(JNIEnv* env, jobject obj, jboolean raised) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintRectFrame((bool) raised); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintRect(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintRect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintRound(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintRound(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintSunken(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintSunken(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setColor(JNIEnv* env, jobject obj, jobject color) -{ - ((KLed*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setDarkFactor(JNIEnv* env, jobject obj, jint darkfactor) -{ - ((KLed*) QtSupport::getQt(env, obj))->setDarkFactor((int) darkfactor); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setLook(JNIEnv* env, jobject obj, jint look) -{ - ((KLed*) QtSupport::getQt(env, obj))->setLook((KLed::Look) look); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setShape(JNIEnv* env, jobject obj, jint s) -{ - ((KLed*) QtSupport::getQt(env, obj))->setShape((KLed::Shape) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setState(JNIEnv* env, jobject obj, jint state) -{ - ((KLed*) QtSupport::getQt(env, obj))->setState((KLed::State) state); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_shape(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->shape(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KLed*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_toggle(JNIEnv* env, jobject obj) -{ - ((KLed*) QtSupport::getQt(env, obj))->toggle(); - return; -} - diff --git a/kdejava/koala/kdejava/KLed.h b/kdejava/koala/kdejava/KLed.h deleted file mode 100644 index dd7f162f..00000000 --- a/kdejava/koala/kdejava/KLed.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLed__ -#define __org_kde_koala_KLed__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLed_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_shape (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_color (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_look (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_darkFactor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setState (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setDarkFactor (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setLook (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_toggle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_on (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_off (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintFlat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintRound (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintSunken (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintRectFrame (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_ensureRoundLed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLed_paintCachedPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLed_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLed__ */ diff --git a/kdejava/koala/kdejava/KLibFactory.cpp b/kdejava/koala/kdejava/KLibFactory.cpp deleted file mode 100644 index fd29c4ee..00000000 --- a/kdejava/koala/kdejava/KLibFactory.cpp +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <klibloader.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KLibFactory.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibFactory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLibFactory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring classname) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring classname, jobjectArray args) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KLibFactory.h b/kdejava/koala/kdejava/KLibFactory.h deleted file mode 100644 index 8a535387..00000000 --- a/kdejava/koala/kdejava/KLibFactory.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLibFactory__ -#define __org_kde_koala_KLibFactory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibFactory_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__ (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLibFactory__ */ diff --git a/kdejava/koala/kdejava/KLibLoader.cpp b/kdejava/koala/kdejava/KLibLoader.cpp deleted file mode 100644 index 2930d3ab..00000000 --- a/kdejava/koala/kdejava/KLibLoader.cpp +++ /dev/null @@ -1,184 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <klibloader.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KLibLoader.h> - -class KLibLoaderJBridge : public KLibLoader -{ -public: - KLibLoaderJBridge(TQObject* arg1,const char* arg2) : KLibLoader(arg1,arg2) {}; - KLibLoaderJBridge(TQObject* arg1) : KLibLoader(arg1) {}; - KLibLoaderJBridge() : KLibLoader() {}; - ~KLibLoaderJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KLibLoader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLibLoader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_cleanUp(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KLibLoaderJBridge::cleanUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KLibLoader_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibLoader_factory(JNIEnv* env, jobject obj, jstring libname) -{ -static TQCString* _qstring_libname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibLoader*) QtSupport::getQt(env, obj))->factory((const char*) QtSupport::toCharString(env, libname, &_qstring_libname)), "org.kde.koala.KLibFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KLibLoader*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KLibLoader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_name = 0; - _qstring = KLibLoaderJBridge::findLibrary((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_name = 0; - _qstring = KLibLoaderJBridge::findLibrary((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLibLoader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_lastErrorMessage(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KLibLoader*) QtSupport::getQt(env, obj))->lastErrorMessage(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibLoader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibLoader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_newKLibLoader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLibLoaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLibLoaderJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLibLoaderJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibLoader_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KLibLoaderJBridge::self(), "org.kde.koala.KLibLoader"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_unloadLibrary(JNIEnv* env, jobject obj, jstring libname) -{ -static TQCString* _qstring_libname = 0; - ((KLibLoader*) QtSupport::getQt(env, obj))->unloadLibrary((const char*) QtSupport::toCharString(env, libname, &_qstring_libname)); - return; -} - diff --git a/kdejava/koala/kdejava/KLibLoader.h b/kdejava/koala/kdejava/KLibLoader.h deleted file mode 100644 index e4315038..00000000 --- a/kdejava/koala/kdejava/KLibLoader.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLibLoader__ -#define __org_kde_koala_KLibLoader__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibLoader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibLoader_factory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_lastErrorMessage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_unloadLibrary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibLoader_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_cleanUp (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_newKLibLoader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLibLoader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLibLoader__ */ diff --git a/kdejava/koala/kdejava/KLineEdit.cpp b/kdejava/koala/kdejava/KLineEdit.cpp deleted file mode 100644 index a7443c0b..00000000 --- a/kdejava/koala/kdejava/KLineEdit.cpp +++ /dev/null @@ -1,1042 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeglobalsettings.h> -#include <klineedit.h> -#include <kcompletion.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KLineEdit.h> - -class KLineEditJBridge : public KLineEdit -{ -public: - KLineEditJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KLineEdit(arg1,arg2,arg3) {}; - KLineEditJBridge(const TQString& arg1,TQWidget* arg2) : KLineEdit(arg1,arg2) {}; - KLineEditJBridge(TQWidget* arg1,const char* arg2) : KLineEdit(arg1,arg2) {}; - KLineEditJBridge(TQWidget* arg1) : KLineEdit(arg1) {}; - KLineEditJBridge() : KLineEdit() {}; - void public_copy() { - KLineEdit::copy(); - return; - } - void public_clear() { - KLineEdit::clear(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KLineEdit::resizeEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KLineEdit::keyPressEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KLineEdit::mousePressEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KLineEdit::mouseDoubleClickEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - KLineEdit::contextMenuEvent(arg1); - return; - } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) KLineEdit::createPopupMenu(); - } - void protected_dropEvent(TQDropEvent* arg1) { - KLineEdit::dropEvent(arg1); - return; - } - void protected_setCompletedText(const TQString& arg1,bool arg2) { - KLineEdit::setCompletedText(arg1,arg2); - return; - } - void protected_setUserSelection(bool arg1) { - KLineEdit::setUserSelection(arg1); - return; - } - void protected_create(WId arg1,bool arg2,bool arg3) { - KLineEdit::create(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2) { - KLineEdit::create(arg1,arg2); - return; - } - void protected_create(WId arg1) { - KLineEdit::create(arg1); - return; - } - void protected_create() { - KLineEdit::create(); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KLineEdit::focusInEvent(arg1); - return; - } - bool protected_autoSuggest() { - return (bool) KLineEdit::autoSuggest(); - } - void protected_makeCompletion(const TQString& arg1) { - KLineEdit::makeCompletion(arg1); - return; - } - void protected_userCancelled(const TQString& arg1) { - KLineEdit::userCancelled(arg1); - return; - } - ~KLineEditJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setDelegate(TDECompletionBase* arg1) { - TDECompletionBase::setDelegate(arg1); - return; - } - TDECompletionBase* protected_delegate() { - return (TDECompletionBase*) TDECompletionBase::delegate(); - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KLineEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KLineEdit::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(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 deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","deselect")) { - TQLineEdit::deselect(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","clear")) { - KLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","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")) { - KLineEdit::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","copy")) { - KLineEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","clearValidator")) { - TQLineEdit::clearValidator(); - } - 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")) { - TQLineEdit::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KLineEdit::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KLineEdit::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::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.KLineEdit","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")) { - TQLineEdit::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")) { - KLineEdit::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - KLineEdit::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KLineEdit",object,event)) { - return KLineEdit::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","redo")) { - TQLineEdit::redo(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_autoSuggest(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_autoSuggest(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLineEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLineEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_clear(JNIEnv* env, jobject obj) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_compObj(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionBox__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEdit*) QtSupport::getQt(env, obj))->completionBox(), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionBox__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEdit*) QtSupport::getQt(env, obj))->completionBox((bool) create), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLineEdit_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionObject__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_copy(JNIEnv* env, jobject obj) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_createPopupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__(JNIEnv* env, jobject obj) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__J(JNIEnv* env, jobject obj, jlong arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_delegate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_delegate(), "org.kde.koala.TDECompletionBaseInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KLineEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_emitSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->emitSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KLineEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_getKeyBinding(JNIEnv* env, jobject obj, jint item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_handleSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->handleSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isContextMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isContextMenuEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isSqueezedTextEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isSqueezedTextEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isURLDropsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isURLDropsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_makeCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring string, jobject parent) -{ -static TQString* _qstring_string = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring string, jobject parent, jstring name) -{ -static TQString* _qstring_string = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string), (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_KLineEdit_newKLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__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 KLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLineEdit_originalText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KLineEdit*) QtSupport::getQt(env, obj))->originalText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_rotateText(JNIEnv* env, jobject obj, jint type) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->rotateText((TDECompletionBase::KeyBindingType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean autoSuggest) -{ -static TQStringList* _qlist_items = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (bool) autoSuggest); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionBox(JNIEnv* env, jobject obj, jobject box) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionBox((TDECompletionBox*) QtSupport::getQt(env, box)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean hsig) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, arg1), (bool) hsig); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setContextMenuEnabled(JNIEnv* env, jobject obj, jboolean showMenu) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setContextMenuEnabled((bool) showMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setDelegate(JNIEnv* env, jobject obj, jobject delegate) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_setDelegate((TDECompletionBase*) QtSupport::getQt(env, delegate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setEnableSqueezedText(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setEnableSqueezedText((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setSqueezedText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setSqueezedText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setTrapReturnKey(JNIEnv* env, jobject obj, jboolean trap) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setTrapReturnKey((bool) trap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setURLDropsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setURLDropsEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setUserSelection(JNIEnv* env, jobject obj, jboolean userSelection) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_setUserSelection((bool) userSelection); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_trapReturnKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->trapReturnKey(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_useGlobalKeyBindings(JNIEnv* env, jobject obj) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->useGlobalKeyBindings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_userCancelled(JNIEnv* env, jobject obj, jstring cancelText) -{ -static TQString* _qstring_cancelText = 0; - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_userCancelled((const TQString&)*(TQString*) QtSupport::toTQString(env, cancelText, &_qstring_cancelText)); - return; -} - diff --git a/kdejava/koala/kdejava/KLineEdit.h b/kdejava/koala/kdejava/KLineEdit.h deleted file mode 100644 index fc05f769..00000000 --- a/kdejava/koala/kdejava/KLineEdit.h +++ /dev/null @@ -1,86 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLineEdit__ -#define __org_kde_koala_KLineEdit__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLineEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setContextMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isContextMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setURLDropsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isURLDropsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setTrapReturnKey (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_trapReturnKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionBox__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setEnableSqueezedText (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isSqueezedTextEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLineEdit_originalText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionBox (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_rotateText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setSqueezedText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_createPopupMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setUserSelection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__JZ (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_autoSuggest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_userCancelled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionObject__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setHandleSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isCompletionObjectAutoDeleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setAutoDeleteCompletionObject (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setEnableSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_handleSignals (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_emitSignals (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLineEdit_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_setKeyBinding (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_getKeyBinding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_useGlobalKeyBindings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_compObj (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setDelegate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_delegate (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLineEdit__ */ diff --git a/kdejava/koala/kdejava/KMD5.cpp b/kdejava/koala/kdejava/KMD5.cpp deleted file mode 100644 index 2798c091..00000000 --- a/kdejava/koala/kdejava/KMD5.cpp +++ /dev/null @@ -1,184 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kmdcodec.h> -#include <tqiodevice.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMD5.h> - -class KMD5JBridge : public KMD5 -{ -public: - KMD5JBridge() : KMD5() {}; - KMD5JBridge(const char* arg1,int arg2) : KMD5(arg1,arg2) {}; - KMD5JBridge(const char* arg1) : KMD5(arg1) {}; - KMD5JBridge(const TQByteArray& arg1) : KMD5(arg1) {}; - void protected_finalize() { - KMD5::finalize(); - return; - } - ~KMD5JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMD5_base64Digest(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((KMD5*) QtSupport::getQt(env, obj))->base64Digest(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMD5_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMD5*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_finalizeDigest(JNIEnv* env, jobject obj) -{ - ((KMD5JBridge*) QtSupport::getQt(env, obj))->protected_finalize(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMD5_hexDigest__(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((KMD5*) QtSupport::getQt(env, obj))->hexDigest(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_hexDigest__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQCString* _qcstring_arg1 = 0; - if (_qcstring_arg1 == 0) { - _qcstring_arg1 = new TQCString(); - } - ((KMD5*) QtSupport::getQt(env, obj))->hexDigest((TQCString&)*(TQCString*) _qcstring_arg1); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_arg1, arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMD5_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring in) -{ -static TQCString* _qstring_in = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge((const char*) QtSupport::toCharString(env, in, &_qstring_in))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring in, jint len) -{ -static TQCString* _qstring_in = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge((const char*) QtSupport::toCharString(env, in, &_qstring_in), (int) len)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5___3B(JNIEnv* env, jobject obj, jbyteArray a) -{ -static TQByteArray* _qbyteArray_a = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, a, &_qbyteArray_a))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_reset(JNIEnv* env, jobject obj) -{ - ((KMD5*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring in) -{ -static TQCString* _qstring_in = 0; - ((KMD5*) QtSupport::getQt(env, obj))->update((const char*) QtSupport::toCharString(env, in, &_qstring_in)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring in, jint len) -{ -static TQCString* _qstring_in = 0; - ((KMD5*) QtSupport::getQt(env, obj))->update((const char*) QtSupport::toCharString(env, in, &_qstring_in), (int) len); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMD5_update__Lorg_kde_qt_QIODevice_2(JNIEnv* env, jobject obj, jobject file) -{ - jboolean xret = (jboolean) ((KMD5*) QtSupport::getQt(env, obj))->update((TQIODevice&)*(TQIODevice*) QtSupport::getQt(env, file)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__S(JNIEnv* env, jobject obj, jshort in) -{ - ((KMD5*) QtSupport::getQt(env, obj))->update((const unsigned char*) in); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__SI(JNIEnv* env, jobject obj, jshort in, jint len) -{ - ((KMD5*) QtSupport::getQt(env, obj))->update((const unsigned char*) in, (int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update___3B(JNIEnv* env, jobject obj, jbyteArray in) -{ -static TQByteArray* _qbyteArray_in = 0; - ((KMD5*) QtSupport::getQt(env, obj))->update((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMD5_verify(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qcstring_arg1 = 0; - jboolean xret = (jboolean) ((KMD5*) QtSupport::getQt(env, obj))->verify((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMD5.h b/kdejava/koala/kdejava/KMD5.h deleted file mode 100644 index 9072644f..00000000 --- a/kdejava/koala/kdejava/KMD5.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMD5__ -#define __org_kde_koala_KMD5__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__SI (JNIEnv *env, jobject, jshort, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMD5_update__Lorg_kde_qt_QIODevice_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_reset (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMD5_hexDigest__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_hexDigest__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMD5_base64Digest (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMD5_verify (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_finalizeDigest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMD5_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMD5__ */ diff --git a/kdejava/koala/kdejava/KMacroCommand.cpp b/kdejava/koala/kdejava/KMacroCommand.cpp deleted file mode 100644 index b45e690f..00000000 --- a/kdejava/koala/kdejava/KMacroCommand.cpp +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcommand.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMacroCommand.h> - -class KMacroCommandJBridge : public KMacroCommand -{ -public: - KMacroCommandJBridge(const TQString& arg1) : KMacroCommand(arg1) {}; - void public_execute() { - KMacroCommand::execute(); - return; - } - void public_unexecute() { - KMacroCommand::unexecute(); - return; - } - ~KMacroCommandJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_addCommand(JNIEnv* env, jobject obj, jobject command) -{ - ((KMacroCommand*) QtSupport::getQt(env, obj))->addCommand((KCommand*) QtSupport::getQt(env, command)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMacroCommand_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_execute(JNIEnv* env, jobject obj) -{ - ((KMacroCommandJBridge*) QtSupport::getQt(env, obj))->public_execute(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMacroCommand*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMacroCommand_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_newKMacroCommand(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMacroCommandJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_unexecute(JNIEnv* env, jobject obj) -{ - ((KMacroCommandJBridge*) QtSupport::getQt(env, obj))->public_unexecute(); - return; -} - diff --git a/kdejava/koala/kdejava/KMacroCommand.h b/kdejava/koala/kdejava/KMacroCommand.h deleted file mode 100644 index 3160616b..00000000 --- a/kdejava/koala/kdejava/KMacroCommand.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMacroCommand__ -#define __org_kde_koala_KMacroCommand__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_newKMacroCommand (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_addCommand (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_execute (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_unexecute (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMacroCommand_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMacroCommand__ */ diff --git a/kdejava/koala/kdejava/KMdi.cpp b/kdejava/koala/kdejava/KMdi.cpp deleted file mode 100644 index d8ca2f90..00000000 --- a/kdejava/koala/kdejava/KMdi.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdidefines.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdi.h> - diff --git a/kdejava/koala/kdejava/KMdi.h b/kdejava/koala/kdejava/KMdi.h deleted file mode 100644 index 2d95216a..00000000 --- a/kdejava/koala/kdejava/KMdi.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdi__ -#define __org_kde_koala_KMdi__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdi__ */ diff --git a/kdejava/koala/kdejava/KMdiChildArea.cpp b/kdejava/koala/kdejava/KMdiChildArea.cpp deleted file mode 100644 index 8e49aa77..00000000 --- a/kdejava/koala/kdejava/KMdiChildArea.cpp +++ /dev/null @@ -1,662 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdichildarea.h> -#include <tqfont.h> -#include <tqpoint.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildArea.h> - -class KMdiChildAreaJBridge : public KMdiChildArea -{ -public: - KMdiChildAreaJBridge(TQWidget* arg1) : KMdiChildArea(arg1) {}; - void protected_tileAllInternal(int arg1) { - KMdiChildArea::tileAllInternal(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiChildArea::resizeEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KMdiChildArea::mousePressEvent(arg1); - return; - } - void protected_childMinimized(KMdiChildFrm* arg1,bool arg2) { - KMdiChildArea::childMinimized(arg1,arg2); - return; - } - ~KMdiChildAreaJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - KMdiChildArea::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","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.KMdiChildArea","show")) { - TQWidget::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.KMdiChildArea","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","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")) { - KMdiChildArea::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiChildArea",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_cascadeMaximized(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->cascadeMaximized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_cascadeWindows(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->cascadeWindows(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_childMinimized(JNIEnv* env, jobject obj, jobject lpC, jboolean bWasMaximized) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_childMinimized((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bWasMaximized); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildArea_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildArea*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject lpC) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChildButNotItsView((KMdiChildFrm*) QtSupport::getQt(env, lpC)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject lpC, jboolean bFocusTopChild) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChildButNotItsView((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bFocusTopChild); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject child) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChild((KMdiChildFrm*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject child, jboolean focusTopChild) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChild((KMdiChildFrm*) QtSupport::getQt(env, child), (bool) focusTopChild); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiChildArea_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_expandHorizontal(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->expandHorizontal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_expandVertical(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->expandVertical(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiChildArea*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiChildArea*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_focusTopChild(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->focusTopChild(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_getCascadePoint__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((KMdiChildArea*) QtSupport::getQt(env, obj))->getCascadePoint()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_getCascadePoint__I(JNIEnv* env, jobject obj, jint indexOfWindow) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((KMdiChildArea*) QtSupport::getQt(env, obj))->getCascadePoint((int) indexOfWindow)), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildArea_getVisibleChildCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildArea*) QtSupport::getQt(env, obj))->getVisibleChildCount(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildArea_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_layoutMinimizedChildren(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->layoutMinimizedChildren(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject lpC) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->manageChild((KMdiChildFrm*) QtSupport::getQt(env, lpC)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject lpC, jboolean bShow) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->manageChild((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bShow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2ZZ(JNIEnv* env, jobject obj, jobject lpC, jboolean bShow, jboolean bCascade) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->manageChild((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bShow, (bool) bCascade); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildArea*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_newKMdiChildArea(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildAreaJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveBackColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionActiveBackColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveForeColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionActiveForeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionFont(JNIEnv* env, jobject obj, jobject fnt) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveBackColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionInactiveBackColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveForeColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionInactiveForeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject child) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setTopChild((KMdiChildFrm*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject child, jboolean setFocus) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setTopChild((KMdiChildFrm*) QtSupport::getQt(env, child), (bool) setFocus); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tileAllInternal(JNIEnv* env, jobject obj, jint maxWnds) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_tileAllInternal((int) maxWnds); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tileAnodine(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->tileAnodine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tilePragma(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->tilePragma(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tileVertically(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->tileVertically(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_topChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildArea*) QtSupport::getQt(env, obj))->topChild(), "org.kde.koala.KMdiChildFrm"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMdiChildArea.h b/kdejava/koala/kdejava/KMdiChildArea.h deleted file mode 100644 index e95850bb..00000000 --- a/kdejava/koala/kdejava/KMdiChildArea.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildArea__ -#define __org_kde_koala_KMdiChildArea__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildArea_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_newKMdiChildArea (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_topChild (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildArea_getVisibleChildCount (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_getCascadePoint__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_getCascadePoint__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveForeColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveBackColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveForeColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveBackColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_cascadeWindows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_cascadeMaximized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_expandVertical (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_expandHorizontal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_focusTopChild (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tilePragma (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tileAnodine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tileVertically (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_layoutMinimizedChildren (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tileAllInternal (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_childMinimized (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildArea_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildArea__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrm.cpp b/kdejava/koala/kdejava/KMdiChildFrm.cpp deleted file mode 100644 index b7e43903..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrm.cpp +++ /dev/null @@ -1,196 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tdemdichildfrm.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildFrm.h> - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildFrm_captionHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->captionHeight(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildFrm_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildFrm_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_enableClose(JNIEnv* env, jobject obj, jboolean bEnable) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->enableClose((bool) bEnable); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_icon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildFrm_isInDrag(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInDrag(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildFrm_isInResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInResize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_mdiAreaContentsRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->mdiAreaContentsRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_raiseAndActivate(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->raiseAndActivate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_redecorateButtons(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->redecorateButtons(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_restoreGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setCaption(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject w) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject w, jboolean bAutomaticResize) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w), (bool) bAutomaticResize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setIcon(JNIEnv* env, jobject obj, jobject pxm) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pxm)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setRestoreGeometry(JNIEnv* env, jobject obj, jobject newRestGeo) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setRestoreGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newRestGeo)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setState__I(JNIEnv* env, jobject obj, jint state) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setState__IZ(JNIEnv* env, jobject obj, jint state, jboolean bAnimate) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state, (bool) bAnimate); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_slot_1resizeViaSystemMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->slot_resizeViaSystemMenu(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildFrm_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_systemMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->systemMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_unsetClient__(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_unsetClient__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject positionOffset) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient((TQPoint)*(TQPoint*) QtSupport::getQt(env, positionOffset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_updateRects(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->updateRects(); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiChildFrm.h b/kdejava/koala/kdejava/KMdiChildFrm.h deleted file mode 100644 index f87477db..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrm.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrm__ -#define __org_kde_koala_KMdiChildFrm__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildFrm_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_unsetClient__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_unsetClient__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_icon (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_enableClose (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildFrm_caption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setState__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setState__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildFrm_state (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_mdiAreaContentsRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_restoreGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setRestoreGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_updateRects (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_systemMenu (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildFrm_captionHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_redecorateButtons (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildFrm_isInDrag (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildFrm_isInResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_raiseAndActivate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setMinimumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_slot_1resizeViaSystemMenu (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrm__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmCaption.cpp b/kdejava/koala/kdejava/KMdiChildFrmCaption.cpp deleted file mode 100644 index 3f5a7794..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmCaption.cpp +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdemdichildfrmcaption.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildFrmCaption.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_heightHint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->heightHint(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_setActive(JNIEnv* env, jobject obj, jboolean bActive) -{ - ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->setActive((bool) bActive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_setCaption(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_slot_1moveViaSystemMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->slot_moveViaSystemMenu(); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiChildFrmCaption.h b/kdejava/koala/kdejava/KMdiChildFrmCaption.h deleted file mode 100644 index ae02a723..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmCaption.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmCaption__ -#define __org_kde_koala_KMdiChildFrmCaption__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrmCaption_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildFrmCaption_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrmCaption_setActive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrmCaption_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildFrmCaption_heightHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrmCaption_slot_1moveViaSystemMenu (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmCaption__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.cpp deleted file mode 100644 index 8438a5a9..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdichildfrm.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildFrmDragBeginEvent.h> - diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h b/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h deleted file mode 100644 index 85aaf50a..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmDragBeginEvent__ -#define __org_kde_koala_KMdiChildFrmDragBeginEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmDragBeginEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp deleted file mode 100644 index 59b74509..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdichildfrm.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildFrmDragEndEvent.h> - diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h b/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h deleted file mode 100644 index 99c6805c..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmDragEndEvent__ -#define __org_kde_koala_KMdiChildFrmDragEndEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmDragEndEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp deleted file mode 100644 index f68f73dd..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdichildfrm.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildFrmMoveEvent.h> - diff --git a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h b/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h deleted file mode 100644 index bd1c29c6..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmMoveEvent__ -#define __org_kde_koala_KMdiChildFrmMoveEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmMoveEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp deleted file mode 100644 index 60e2339b..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdichildfrm.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildFrmResizeBeginEvent.h> - diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.h b/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.h deleted file mode 100644 index 8a2549e3..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmResizeBeginEvent__ -#define __org_kde_koala_KMdiChildFrmResizeBeginEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmResizeBeginEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.cpp deleted file mode 100644 index c1f8ff97..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdichildfrm.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildFrmResizeEndEvent.h> - diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h b/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h deleted file mode 100644 index 2c606abf..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmResizeEndEvent__ -#define __org_kde_koala_KMdiChildFrmResizeEndEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmResizeEndEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildView.cpp b/kdejava/koala/kdejava/KMdiChildView.cpp deleted file mode 100644 index 8f7e711d..00000000 --- a/kdejava/koala/kdejava/KMdiChildView.cpp +++ /dev/null @@ -1,1004 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <tdemdichildview.h> -#include <tqrect.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiChildView.h> - -class KMdiChildViewJBridge : public KMdiChildView -{ -public: - KMdiChildViewJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KMdiChildView(arg1,arg2,arg3,arg4) {}; - KMdiChildViewJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KMdiChildView(arg1,arg2,arg3) {}; - KMdiChildViewJBridge(const TQString& arg1,TQWidget* arg2) : KMdiChildView(arg1,arg2) {}; - KMdiChildViewJBridge(const TQString& arg1) : KMdiChildView(arg1) {}; - KMdiChildViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KMdiChildView(arg1,arg2,arg3) {}; - KMdiChildViewJBridge(TQWidget* arg1,const char* arg2) : KMdiChildView(arg1,arg2) {}; - KMdiChildViewJBridge(TQWidget* arg1) : KMdiChildView(arg1) {}; - KMdiChildViewJBridge() : KMdiChildView() {}; - void public_attach() { - KMdiChildView::attach(); - return; - } - void public_detach() { - KMdiChildView::detach(); - return; - } - void public_minimize() { - KMdiChildView::minimize(); - return; - } - void public_maximize() { - KMdiChildView::maximize(); - return; - } - void public_restore() { - KMdiChildView::restore(); - return; - } - void public_youAreDetached() { - KMdiChildView::youAreDetached(); - return; - } - void public_slot_clickedInWindowMenu() { - KMdiChildView::slot_clickedInWindowMenu(); - return; - } - void public_slot_clickedInDockMenu() { - KMdiChildView::slot_clickedInDockMenu(); - return; - } - void public_show() { - KMdiChildView::show(); - return; - } - void public_hide() { - KMdiChildView::hide(); - return; - } - void public_raise() { - KMdiChildView::raise(); - return; - } - void public_showMinimized() { - KMdiChildView::showMinimized(); - return; - } - void public_showMaximized() { - KMdiChildView::showMaximized(); - return; - } - void public_showNormal() { - KMdiChildView::showNormal(); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - KMdiChildView::closeEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KMdiChildView::eventFilter(arg1,arg2); - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KMdiChildView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - KMdiChildView::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiChildView::resizeEvent(arg1); - return; - } - void protected_trackIconAndCaptionChanges(TQWidget* arg1) { - KMdiChildView::trackIconAndCaptionChanges(arg1); - return; - } - void protected_slot_childDestroyed() { - KMdiChildView::slot_childDestroyed(); - return; - } - ~KMdiChildViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMdiChildView::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","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.KMdiChildView","show")) { - KMdiChildView::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KMdiChildView::focusOutEvent(arg1); - } - return; - } - void detach() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","detach")) { - KMdiChildView::detach(); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slot_clickedInDockMenu() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","slot_clickedInDockMenu")) { - KMdiChildView::slot_clickedInDockMenu(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","hide")) { - KMdiChildView::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void maximize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","maximize")) { - KMdiChildView::maximize(); - } - 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void minimize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","minimize")) { - KMdiChildView::minimize(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","showMaximized")) { - KMdiChildView::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 attach() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","attach")) { - KMdiChildView::attach(); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void restore() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","restore")) { - KMdiChildView::restore(); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KMdiChildView::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void youAreAttached(KMdiChildFrm* arg1) { - if (!QtSupport::eventDelegate(this,"youAreAttached",(void*)arg1,"org.kde.koala.KMdiChildFrm")) { - KMdiChildView::youAreAttached(arg1); - } - return; - } - void slot_clickedInWindowMenu() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","slot_clickedInWindowMenu")) { - KMdiChildView::slot_clickedInWindowMenu(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void raise() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","raise")) { - KMdiChildView::raise(); - } - return; - } - void youAreDetached() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","youAreDetached")) { - KMdiChildView::youAreDetached(); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","showNormal")) { - KMdiChildView::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 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.KMdiChildView","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")) { - KMdiChildView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiChildView",object,event)) { - return KMdiChildView::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","showMinimized")) { - KMdiChildView::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_activate(JNIEnv* env, jobject obj) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->activate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_attach(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_attach(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildView_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiChildView*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_closeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_detach(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiChildView_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject e) -{ - jboolean xret = (jboolean) ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_externalGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildView*) QtSupport::getQt(env, obj))->externalGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiChildView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiChildView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_focusedChildWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->focusedChildWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_getTimeStamp(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KMdiChildView*) QtSupport::getQt(env, obj))->getTimeStamp(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_hide(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_internalGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildView*) QtSupport::getQt(env, obj))->internalGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isAttached(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isAttached(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isMaximized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isMaximized(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isMinimized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isMinimized(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isToolView(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isToolView(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_maximize__(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_maximize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_maximize__Z(JNIEnv* env, jobject obj, jboolean bAnimate) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->maximize((bool) bAnimate); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_mdiParent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->mdiParent(), "org.kde.koala.KMdiChildFrm"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_minimize__(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_minimize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_minimize__Z(JNIEnv* env, jobject obj, jboolean bAnimate) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->minimize((bool) bAnimate); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_myIconPtr(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->myIconPtr(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jobject parentWidget) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jobject parentWidget, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring caption, jobject parentWidget, jstring name, jint f) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parentWidget), (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_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (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_KMdiChildView_raise(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_raise(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_removeEventFilterForAllChildren(JNIEnv* env, jobject obj) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->removeEventFilterForAllChildren(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_restoreGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildView*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_restore(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_restore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setCaption(JNIEnv* env, jobject obj, jstring szCaption) -{ -static TQString* _qstring_szCaption = 0; - ((KMdiChildView*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, szCaption, &_qstring_szCaption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setExternalGeometry(JNIEnv* env, jobject obj, jobject newGeomety) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setExternalGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newGeomety)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setFirstFocusableChildWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setFirstFocusableChildWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setInternalGeometry(JNIEnv* env, jobject obj, jobject newGeomety) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setInternalGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newGeomety)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setLastFocusableChildWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setLastFocusableChildWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setMDICaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KMdiChildView*) QtSupport::getQt(env, obj))->setMDICaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setMaximumSize(JNIEnv* env, jobject obj, jint maxw, jint maxh) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setMaximumSize((int) maxw, (int) maxh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setRestoreGeometry(JNIEnv* env, jobject obj, jobject newRestGeo) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setRestoreGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newRestGeo)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setTabCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KMdiChildView*) QtSupport::getQt(env, obj))->setTabCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setWindowMenuID(JNIEnv* env, jobject obj, jint id) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setWindowMenuID((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_showMaximized(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_showMaximized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_showMinimized(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_showMinimized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_showNormal(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_showNormal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_show(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_slot_1childDestroyed(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_slot_childDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_slot_1clickedInDockMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_slot_clickedInDockMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_slot_1clickedInWindowMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_slot_clickedInWindowMenu(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildView_tabCaption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiChildView*) QtSupport::getQt(env, obj))->tabCaption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_trackIconAndCaptionChanges(JNIEnv* env, jobject obj, jobject view) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_trackIconAndCaptionChanges((TQWidget*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_updateTimeStamp(JNIEnv* env, jobject obj) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->updateTimeStamp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_youAreAttached(JNIEnv* env, jobject obj, jobject lpC) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->youAreAttached((KMdiChildFrm*) QtSupport::getQt(env, lpC)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_youAreDetached(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_youAreDetached(); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiChildView.h b/kdejava/koala/kdejava/KMdiChildView.h deleted file mode 100644 index 1cf9fa24..00000000 --- a/kdejava/koala/kdejava/KMdiChildView.h +++ /dev/null @@ -1,82 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildView__ -#define __org_kde_koala_KMdiChildView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_activate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setFirstFocusableChildWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setLastFocusableChildWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_focusedChildWidget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isAttached (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildView_caption (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildView_tabCaption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setTabCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setMDICaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_mdiParent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isMinimized (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isMaximized (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_internalGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setInternalGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_externalGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setExternalGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_myIconPtr (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_minimize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_maximize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_restoreGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setRestoreGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_removeEventFilterForAllChildren (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setWindowMenuID (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setMinimumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setMaximumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isToolView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_updateTimeStamp (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_getTimeStamp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_attach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_detach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_minimize__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_maximize__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_restore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_youAreAttached (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_youAreDetached (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_slot_1clickedInWindowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_slot_1clickedInDockMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_raise (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_showMinimized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_showMaximized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_showNormal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_trackIconAndCaptionChanges (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_slot_1childDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildView__ */ diff --git a/kdejava/koala/kdejava/KMdiMainFrm.cpp b/kdejava/koala/kdejava/KMdiMainFrm.cpp deleted file mode 100644 index a3c39daf..00000000 --- a/kdejava/koala/kdejava/KMdiMainFrm.cpp +++ /dev/null @@ -1,1697 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqrect.h> -#include <tqpixmap.h> -#include <kdockwidget.h> -#include <tdemdidefines.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqpoint.h> -#include <tqcolor.h> -#include <tdemdimainfrm.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiMainFrm.h> - -class KMdiMainFrmJBridge : public KMdiMainFrm -{ -public: - KMdiMainFrmJBridge(TQWidget* arg1,const char* arg2,KMdi::MdiMode arg3,TQt::WFlags arg4) : KMdiMainFrm(arg1,arg2,arg3,arg4) {}; - KMdiMainFrmJBridge(TQWidget* arg1,const char* arg2,KMdi::MdiMode arg3) : KMdiMainFrm(arg1,arg2,arg3) {}; - KMdiMainFrmJBridge(TQWidget* arg1,const char* arg2) : KMdiMainFrm(arg1,arg2) {}; - KMdiMainFrmJBridge(TQWidget* arg1) : KMdiMainFrm(arg1) {}; - void public_applyOptions() { - KMdiMainFrm::applyOptions(); - return; - } - void public_setSysButtonsAtMenuPosition() { - KMdiMainFrm::setSysButtonsAtMenuPosition(); - return; - } - void public_setMenuForSDIModeSysButtons() { - KMdiMainFrm::setMenuForSDIModeSysButtons(); - return; - } - void public_slot_toggleTaskBar() { - KMdiMainFrm::slot_toggleTaskBar(); - return; - } - void public_closeAllViews() { - KMdiMainFrm::closeAllViews(); - return; - } - void public_iconifyAllViews() { - KMdiMainFrm::iconifyAllViews(); - return; - } - void public_closeActiveView() { - KMdiMainFrm::closeActiveView(); - return; - } - void public_switchToToplevelMode() { - KMdiMainFrm::switchToToplevelMode(); - return; - } - void public_finishToplevelMode() { - KMdiMainFrm::finishToplevelMode(); - return; - } - void public_switchToChildframeMode() { - KMdiMainFrm::switchToChildframeMode(); - return; - } - void public_finishChildframeMode() { - KMdiMainFrm::finishChildframeMode(); - return; - } - void public_switchToTabPageMode() { - KMdiMainFrm::switchToTabPageMode(); - return; - } - void public_finishTabPageMode() { - KMdiMainFrm::finishTabPageMode(); - return; - } - void public_switchToIDEAlMode() { - KMdiMainFrm::switchToIDEAlMode(); - return; - } - void public_finishIDEAlMode() { - KMdiMainFrm::finishIDEAlMode(); - return; - } - void public_showViewTaskBar() { - KMdiMainFrm::showViewTaskBar(); - return; - } - void public_hideViewTaskBar() { - KMdiMainFrm::hideViewTaskBar(); - return; - } - void public_fillWindowMenu() { - KMdiMainFrm::fillWindowMenu(); - return; - } - void public_cascadeWindows() { - KMdiMainFrm::cascadeWindows(); - return; - } - void public_cascadeMaximized() { - KMdiMainFrm::cascadeMaximized(); - return; - } - void public_expandVertical() { - KMdiMainFrm::expandVertical(); - return; - } - void public_expandHorizontal() { - KMdiMainFrm::expandHorizontal(); - return; - } - void public_tilePragma() { - KMdiMainFrm::tilePragma(); - return; - } - void public_tileAnodine() { - KMdiMainFrm::tileAnodine(); - return; - } - void public_tileVertically() { - KMdiMainFrm::tileVertically(); - return; - } - void public_activateNextWin() { - KMdiMainFrm::activateNextWin(); - return; - } - void public_activatePrevWin() { - KMdiMainFrm::activatePrevWin(); - return; - } - void public_activateFirstWin() { - KMdiMainFrm::activateFirstWin(); - return; - } - void public_activateLastWin() { - KMdiMainFrm::activateLastWin(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiMainFrm::resizeEvent(arg1); - return; - } - void protected_createTaskBar() { - KMdiMainFrm::createTaskBar(); - return; - } - void protected_createMdiManager() { - KMdiMainFrm::createMdiManager(); - return; - } - void protected_blockClearingOfWindowMenu(bool arg1) { - KMdiMainFrm::blockClearingOfWindowMenu(arg1); - return; - } - TQStringList protected_prepareIdealToTabs(KDockWidget* arg1) { - return (TQStringList) KMdiMainFrm::prepareIdealToTabs(arg1); - } - void protected_idealToolViewsToStandardTabs(TQStringList arg1,KDockWidget::DockPosition arg2,int arg3) { - KMdiMainFrm::idealToolViewsToStandardTabs(arg1,arg2,arg3); - return; - } - KMdi::TabWidgetVisibility protected_tabWidgetVisibility() { - return (KMdi::TabWidgetVisibility) KMdiMainFrm::tabWidgetVisibility(); - } - void protected_setTabWidgetVisibility(KMdi::TabWidgetVisibility arg1) { - KMdiMainFrm::setTabWidgetVisibility(arg1); - return; - } - KTabWidget* protected_tabWidget() { - return (KTabWidget*) KMdiMainFrm::tabWidget(); - } - void protected_activateView(KMdiChildView* arg1) { - KMdiMainFrm::activateView(arg1); - return; - } - void protected_taskbarButtonRightClicked(KMdiChildView* arg1) { - KMdiMainFrm::taskbarButtonRightClicked(arg1); - return; - } - void protected_switchOffMaximizeModeForMenu(KMdiChildFrm* arg1) { - KMdiMainFrm::switchOffMaximizeModeForMenu(arg1); - return; - } - void protected_updateSysButtonConnections(KMdiChildFrm* arg1,KMdiChildFrm* arg2) { - KMdiMainFrm::updateSysButtonConnections(arg1,arg2); - return; - } - void protected_windowMenuItemActivated(int arg1) { - KMdiMainFrm::windowMenuItemActivated(arg1); - return; - } - void protected_dockMenuItemActivated(int arg1) { - KMdiMainFrm::dockMenuItemActivated(arg1); - return; - } - void protected_popupWindowMenu(TQPoint arg1) { - KMdiMainFrm::popupWindowMenu(arg1); - return; - } - void protected_dragEndTimeOut() { - KMdiMainFrm::dragEndTimeOut(); - return; - } - void protected_closeViewButtonPressed() { - KMdiMainFrm::closeViewButtonPressed(); - return; - } - ~KMdiMainFrmJBridge() {QtSupport::qtKeyDeleted(this);} - void cascadeMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","cascadeMaximized")) { - KMdiMainFrm::cascadeMaximized(); - } - 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")) { - KMdiMainFrm::resizeEvent(arg1); - } - return; - } - void setSysButtonsAtMenuPosition() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","setSysButtonsAtMenuPosition")) { - KMdiMainFrm::setSysButtonsAtMenuPosition(); - } - return; - } - void cascadeWindows() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","cascadeWindows")) { - KMdiMainFrm::cascadeWindows(); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void closeAllViews() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","closeAllViews")) { - KMdiMainFrm::closeAllViews(); - } - return; - } - void tileVertically() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","tileVertically")) { - KMdiMainFrm::tileVertically(); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void hideViewTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","hideViewTaskBar")) { - KMdiMainFrm::hideViewTaskBar(); - } - return; - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void showViewTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showViewTaskBar")) { - KMdiMainFrm::showViewTaskBar(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","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.KMdiMainFrm","show")) { - TDEMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void switchToChildframeMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToChildframeMode")) { - KMdiMainFrm::switchToChildframeMode(); - } - return; - } - void activateNextWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activateNextWin")) { - KMdiMainFrm::activateNextWin(); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","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.KMdiMainFrm","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 slot_toggleTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","slot_toggleTaskBar")) { - KMdiMainFrm::slot_toggleTaskBar(); - } - 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 applyOptions() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","applyOptions")) { - KMdiMainFrm::applyOptions(); - } - 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 createMdiManager() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","createMdiManager")) { - KMdiMainFrm::createMdiManager(); - } - return; - } - void setMenuForSDIModeSysButtons(KMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuForSDIModeSysButtons",(void*)arg1,"org.kde.koala.KMenuBar")) { - KMdiMainFrm::setMenuForSDIModeSysButtons(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void switchToToplevelMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToToplevelMode")) { - KMdiMainFrm::switchToToplevelMode(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","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.KMdiMainFrm","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.KMdiMainFrm","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMdiMainFrm::setBackgroundPixmap(arg1); - } - return; - } - void removeWindowFromMdi(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"removeWindowFromMdi",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::removeWindowFromMdi(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void switchToTabPageMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToTabPageMode")) { - KMdiMainFrm::switchToTabPageMode(); - } - 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 childWindowCloseRequest(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"childWindowCloseRequest",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::childWindowCloseRequest(arg1); - } - return; - } - void expandHorizontal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","expandHorizontal")) { - KMdiMainFrm::expandHorizontal(); - } - 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 switchToIDEAlMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToIDEAlMode")) { - KMdiMainFrm::switchToIDEAlMode(); - } - return; - } - void tileAnodine() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","tileAnodine")) { - KMdiMainFrm::tileAnodine(); - } - 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.KMdiMainFrm","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void activateFirstWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activateFirstWin")) { - KMdiMainFrm::activateFirstWin(); - } - 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 taskbarButtonRightClicked(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"taskbarButtonRightClicked",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::taskbarButtonRightClicked(arg1); - } - return; - } - void expandVertical() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","expandVertical")) { - KMdiMainFrm::expandVertical(); - } - 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.KMdiMainFrm","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","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 activatePrevWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activatePrevWin")) { - KMdiMainFrm::activatePrevWin(); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","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 setUndockPositioningOffset(TQPoint arg1) { - if (!QtSupport::eventDelegate(this,"setUndockPositioningOffset",(void*)&arg1,"org.kde.qt.TQPoint")) { - KMdiMainFrm::setUndockPositioningOffset(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")) { - KMdiMainFrm::setBackgroundColor(arg1); - } - return; - } - void activateView(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"activateView",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::activateView(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void closeActiveView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","closeActiveView")) { - KMdiMainFrm::closeActiveView(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void fillWindowMenu() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","fillWindowMenu")) { - KMdiMainFrm::fillWindowMenu(); - } - return; - } - void deleteToolWindow(KMdiToolViewAccessor* arg1) { - if (!QtSupport::eventDelegate(this,"deleteToolWindow",(void*)arg1,"org.kde.koala.KMdiToolViewAccessor")) { - KMdiMainFrm::deleteToolWindow(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 iconifyAllViews() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","iconifyAllViews")) { - KMdiMainFrm::iconifyAllViews(); - } - return; - } - void finishChildframeMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","finishChildframeMode")) { - KMdiMainFrm::finishChildframeMode(); - } - 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.KMdiMainFrm","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveGlobalProperties(arg1); - } - return; - } - void createTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","createTaskBar")) { - KMdiMainFrm::createTaskBar(); - } - return; - } - void finishTabPageMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","finishTabPageMode")) { - KMdiMainFrm::finishTabPageMode(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void tilePragma() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","tilePragma")) { - KMdiMainFrm::tilePragma(); - } - return; - } - void activateLastWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activateLastWin")) { - KMdiMainFrm::activateLastWin(); - } - 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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiMainFrm",object,event)) { - return KMdiMainFrm::eventFilter(object,event); - } else { - return TRUE; - } - } - void finishToplevelMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","finishToplevelMode")) { - KMdiMainFrm::finishToplevelMode(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateFirstWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activateFirstWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateLastWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activateLastWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateNextWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activateNextWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activatePrevWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activatePrevWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateView__I(JNIEnv* env, jobject obj, jint index) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->activateView((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateView__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_activateView((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_activeWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.koala.KMdiChildView"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject pWnd, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd, jint percent) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd, jint percent, jstring tabToolTip) -{ -static TQString* _qstring_tabToolTip = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent, (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd, jint percent, jstring tabToolTip, jstring tabCaption) -{ -static TQString* _qstring_tabToolTip = 0; -static TQString* _qstring_tabCaption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent, (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabCaption, &_qstring_tabCaption)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2I(JNIEnv* env, jobject obj, jobject pWnd, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2II(JNIEnv* env, jobject obj, jobject pWnd, jint flags, jint index) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (int) flags, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pWnd, jobject pos) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pWnd, jobject pos, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos), (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject pWnd, jobject rectNormal) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQRect)*(TQRect*) QtSupport::getQt(env, rectNormal)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject pWnd, jobject rectNormal, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQRect)*(TQRect*) QtSupport::getQt(env, rectNormal), (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_applyOptions(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_applyOptions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->attachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bShow) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->attachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bShow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2ZZ(JNIEnv* env, jobject obj, jobject pWnd, jboolean bShow, jboolean bAutomaticResize) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->attachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bShow, (bool) bAutomaticResize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_blockClearingOfWindowMenu(JNIEnv* env, jobject obj, jboolean bBlocked) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_blockClearingOfWindowMenu((bool) bBlocked); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_cascadeMaximized(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_cascadeMaximized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_cascadeWindows(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_cascadeWindows(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_childFrameModeHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->childFrameModeHeight(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_childWindowCloseRequest(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->childWindowCloseRequest((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiMainFrm_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiMainFrm*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeActiveView(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_closeActiveView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeAllViews(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_closeAllViews(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeViewButtonPressed(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_closeViewButtonPressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->closeWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean layoutTaskBar) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->closeWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) layoutTaskBar); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_createMdiManager(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_createMdiManager(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_createTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_createTaskBar(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_createToolWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->createToolWindow(), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_createWrapper(JNIEnv* env, jobject obj, jobject view, jstring name, jstring shortName) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_shortName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->createWrapper((TQWidget*) QtSupport::getQt(env, view), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, shortName, &_qstring_shortName)), "org.kde.koala.KMdiChildView"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_defaultChildFrmSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KMdiMainFrm*) QtSupport::getQt(env, obj))->defaultChildFrmSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_koala_KMdiToolViewAccessor_2(JNIEnv* env, jobject obj, jobject accessor) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->deleteToolWindow((KMdiToolViewAccessor*) QtSupport::getQt(env, accessor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->deleteToolWindow((TQWidget*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->detachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bShow) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->detachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bShow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiMainFrm_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_dockMenuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_dockMenuItemActivated((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_dragEndTimeOut(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_dragEndTimeOut(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject e) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_expandHorizontal(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_expandHorizontal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_expandVertical(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_expandVertical(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_fakeSDIApplication(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->fakeSDIApplication(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_fillWindowMenu(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_fillWindowMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiMainFrm*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiMainFrm*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_findWindow(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->findWindow((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)), "org.kde.koala.KMdiChildView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishChildframeMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishChildframeMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishIDEAlMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__Z(JNIEnv* env, jobject obj, jboolean full) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->finishIDEAlMode((bool) full); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishTabPageMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishTabPageMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishToplevelMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishToplevelMode(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_frameDecorOfAttachedViews(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KMdiMainFrmJBridge::frameDecorOfAttachedViews(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_hideViewTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_hideViewTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_iconifyAllViews(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_iconifyAllViews(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_idealToolViewsToStandardTabs(JNIEnv* env, jobject obj, jobjectArray widgetNames, jint pos, jint sizee) -{ -static TQStringList* _qlist_widgetNames = 0; - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_idealToolViewsToStandardTabs((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, widgetNames, &_qlist_widgetNames), (KDockWidget::DockPosition) pos, (int) sizee); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isFakingSDIApplication(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->isFakingSDIApplication(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isInMaximizedChildFrmMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->isInMaximizedChildFrmMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isViewTaskBarOn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->isViewTaskBarOn(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_mdiMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->mdiMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring name, jint mdiMode) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KMdi::MdiMode) mdiMode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject parentWidget, jstring name, jint mdiMode, jint flags) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KMdi::MdiMode) mdiMode, (TQt::WFlags) flags)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_nextToolViewInDock(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->nextToolViewInDock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_popupWindowMenu(JNIEnv* env, jobject obj, jobject p) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_popupWindowMenu((TQPoint)*(TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_prepareIdealToTabs(JNIEnv* env, jobject obj, jobject container) -{ - TQStringList _qlist; - _qlist = ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_prepareIdealToTabs((KDockWidget*) QtSupport::getQt(env, container)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_prevToolViewInDock(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->prevToolViewInDock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_removeWindowFromMdi(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->removeWindowFromMdi((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setBackgroundColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setBackgroundPixmap(JNIEnv* env, jobject obj, jobject pm) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pm)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setDefaultChildFrmSize(JNIEnv* env, jobject obj, jobject sz) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setDefaultChildFrmSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, sz)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setEnableMaximizedChildFrmMode(JNIEnv* env, jobject obj, jboolean bEnable) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setEnableMaximizedChildFrmMode((bool) bEnable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setManagedDockPositionModeEnabled(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setManagedDockPositionModeEnabled((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_setMenuForSDIModeSysButtons(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__Lorg_kde_koala_KMenuBar_2(JNIEnv* env, jobject obj, jobject menuBar) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setMenuForSDIModeSysButtons((KMenuBar*) QtSupport::getQt(env, menuBar)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setStandardMDIMenuEnabled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__Z(JNIEnv* env, jobject obj, jboolean showModeMenu) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setStandardMDIMenuEnabled((bool) showModeMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setSwitching(JNIEnv* env, jobject obj, jboolean switching) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setSwitching((const bool) switching); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setSysButtonsAtMenuPosition(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_setSysButtonsAtMenuPosition(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setTabWidgetVisibility(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_setTabWidgetVisibility((KMdi::TabWidgetVisibility) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setToolviewStyle(JNIEnv* env, jobject obj, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setToolviewStyle((int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setUndockPositioningOffset(JNIEnv* env, jobject obj, jobject offset) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setUndockPositioningOffset((TQPoint)*(TQPoint*) QtSupport::getQt(env, offset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_showViewTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_showViewTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_slot_1toggleTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_slot_toggleTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchOffMaximizeModeForMenu(JNIEnv* env, jobject obj, jobject oldChild) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_switchOffMaximizeModeForMenu((KMdiChildFrm*) QtSupport::getQt(env, oldChild)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToChildframeMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToChildframeMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToIDEAlMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToIDEAlMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToTabPageMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToTabPageMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToToplevelMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToToplevelMode(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_switching(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->switching(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_tabWidgetVisibility(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_tabWidgetVisibility(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_tabWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_tabWidget(), "org.kde.koala.KTabWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_taskBarHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->taskBarHeight(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->taskBarPopup((KMdiChildView*) QtSupport::getQt(env, pWnd)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bIncludeWindowPopup) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->taskBarPopup((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bIncludeWindowPopup), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_taskbarButtonRightClicked(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_taskbarButtonRightClicked((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_tileAnodine(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_tileAnodine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_tilePragma(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_tilePragma(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_tileVertically(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_tileVertically(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_updateSysButtonConnections(JNIEnv* env, jobject obj, jobject oldChild, jobject newChild) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_updateSysButtonConnections((KMdiChildFrm*) QtSupport::getQt(env, oldChild), (KMdiChildFrm*) QtSupport::getQt(env, newChild)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_windowExists(JNIEnv* env, jobject obj, jobject pWnd, jint as) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowExists((KMdiChildView*) QtSupport::getQt(env, pWnd), (KMdiMainFrm::ExistsAs) as); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_windowMenuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_windowMenuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_windowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowPopup((KMdiChildView*) QtSupport::getQt(env, pWnd)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bIncludeTaskbarPopup) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowPopup((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bIncludeTaskbarPopup), "org.kde.qt.TQPopupMenu"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMdiMainFrm.h b/kdejava/koala/kdejava/KMdiMainFrm.h deleted file mode 100644 index c71ca23c..00000000 --- a/kdejava/koala/kdejava/KMdiMainFrm.h +++ /dev/null @@ -1,136 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiMainFrm__ -#define __org_kde_koala_KMdiMainFrm__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiMainFrm_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setManagedDockPositionModeEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isInMaximizedChildFrmMode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_mdiMode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_activeWindow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_applyOptions (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_findWindow (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_windowExists (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setSysButtonsAtMenuPosition (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_taskBarHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setUndockPositioningOffset (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_windowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setBackgroundPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setDefaultChildFrmSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_defaultChildFrmSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setMinimumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_childFrameModeHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__Lorg_kde_koala_KMenuBar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_fakeSDIApplication (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isFakingSDIApplication (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setSwitching (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_switching (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_createWrapper (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jint, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_koala_KMdiToolViewAccessor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_createToolWindow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_removeWindowFromMdi (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_slot_1toggleTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_childWindowCloseRequest (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeAllViews (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_iconifyAllViews (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeActiveView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToToplevelMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishToplevelMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToChildframeMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishChildframeMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToTabPageMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishTabPageMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToIDEAlMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setToolviewStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isViewTaskBarOn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_showViewTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_hideViewTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_fillWindowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_cascadeWindows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_cascadeMaximized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_expandVertical (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_expandHorizontal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_tilePragma (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_tileAnodine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_tileVertically (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setEnableMaximizedChildFrmMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateNextWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activatePrevWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateFirstWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateLastWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateView__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_prevToolViewInDock (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_nextToolViewInDock (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_frameDecorOfAttachedViews (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_createTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_createMdiManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_blockClearingOfWindowMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_prepareIdealToTabs (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_idealToolViewsToStandardTabs (JNIEnv *env, jobject, jobjectArray, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_tabWidgetVisibility (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setTabWidgetVisibility (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_tabWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateView__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_taskbarButtonRightClicked (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchOffMaximizeModeForMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_updateSysButtonConnections (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_windowMenuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_dockMenuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_popupWindowMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_dragEndTimeOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeViewButtonPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiMainFrm__ */ diff --git a/kdejava/koala/kdejava/KMdiTaskBar.cpp b/kdejava/koala/kdejava/KMdiTaskBar.cpp deleted file mode 100644 index 0b7b07ec..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBar.cpp +++ /dev/null @@ -1,502 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemditaskbar.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiTaskBar.h> - -class KMdiTaskBarJBridge : public KMdiTaskBar -{ -public: - KMdiTaskBarJBridge(KMdiMainFrm* arg1,TQMainWindow::ToolBarDock arg2) : KMdiTaskBar(arg1,arg2) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiTaskBar::resizeEvent(arg1); - return; - } - void protected_layoutTaskBar(int arg1) { - KMdiTaskBar::layoutTaskBar(arg1); - return; - } - void protected_layoutTaskBar() { - KMdiTaskBar::layoutTaskBar(); - return; - } - ~KMdiTaskBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMdiTaskBar::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQDockWindow::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TDEToolBar::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","dock")) { - TQDockWindow::dock(); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQDockWindow::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TDEToolBar::childEvent(arg1); - } - return; - } - void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","undock")) { - TQDockWindow::undock(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDockWindow::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_addWinButton(JNIEnv* env, jobject obj, jobject win_ptr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->addWinButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)), "org.kde.koala.KMdiTaskBarButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiTaskBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiTaskBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiTaskBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiTaskBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiTaskBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_getButton(JNIEnv* env, jobject obj, jobject win_ptr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->getButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)), "org.kde.koala.KMdiTaskBarButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_getNextWindowButton(JNIEnv* env, jobject obj, jboolean bRight, jobject win_ptr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->getNextWindowButton((bool) bRight, (KMdiChildView*) QtSupport::getQt(env, win_ptr)), "org.kde.koala.KMdiTaskBarButton"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiTaskBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiTaskBar_isSwitchedOn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiTaskBar*) QtSupport::getQt(env, obj))->isSwitchedOn(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__(JNIEnv* env, jobject obj) -{ - ((KMdiTaskBarJBridge*) QtSupport::getQt(env, obj))->protected_layoutTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__I(JNIEnv* env, jobject obj, jint taskBarWidth) -{ - ((KMdiTaskBarJBridge*) QtSupport::getQt(env, obj))->protected_layoutTaskBar((int) taskBarWidth); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_newKMdiTaskBar(JNIEnv* env, jobject obj, jobject parent, jint dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiTaskBarJBridge((KMdiMainFrm*) QtSupport::getQt(env, parent), (TQMainWindow::ToolBarDock) dock)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject win_ptr) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->removeWinButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject win_ptr, jboolean haveToLayoutTaskBar) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->removeWinButton((KMdiChildView*) QtSupport::getQt(env, win_ptr), (bool) haveToLayoutTaskBar); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiTaskBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_setActiveButton(JNIEnv* env, jobject obj, jobject win_ptr) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->setActiveButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_switchOn(JNIEnv* env, jobject obj, jboolean bOn) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->switchOn((bool) bOn); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiTaskBar.h b/kdejava/koala/kdejava/KMdiTaskBar.h deleted file mode 100644 index 75fe6f07..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBar.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiTaskBar__ -#define __org_kde_koala_KMdiTaskBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiTaskBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_newKMdiTaskBar (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_addWinButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_getNextWindowButton (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_getButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_switchOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiTaskBar_isSwitchedOn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_setActiveButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiTaskBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiTaskBar__ */ diff --git a/kdejava/koala/kdejava/KMdiTaskBarButton.cpp b/kdejava/koala/kdejava/KMdiTaskBarButton.cpp deleted file mode 100644 index e8212341..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBarButton.cpp +++ /dev/null @@ -1,452 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemditaskbar.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiTaskBarButton.h> - -class KMdiTaskBarButtonJBridge : public KMdiTaskBarButton -{ -public: - KMdiTaskBarButtonJBridge(KMdiTaskBar* arg1,KMdiChildView* arg2) : KMdiTaskBarButton(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KMdiTaskBarButton::mousePressEvent(arg1); - return; - } - ~KMdiTaskBarButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","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.KMdiTaskBarButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","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")) { - KMdiTaskBarButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiTaskBarButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiTaskBarButton_actualText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->actualText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiTaskBarButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiTaskBarButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiTaskBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiTaskBarButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_fitText(JNIEnv* env, jobject obj, jstring arg1, jint newWidth) -{ -static TQString* _qstring_arg1 = 0; - ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->fitText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) newWidth); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiTaskBarButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBarButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiTaskBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_newKMdiTaskBarButton(JNIEnv* env, jobject obj, jobject pTaskBar, jobject win_ptr) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiTaskBarButtonJBridge((KMdiTaskBar*) QtSupport::getQt(env, pTaskBar), (KMdiChildView*) QtSupport::getQt(env, win_ptr))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_setNewText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->setNewText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiTaskBarButton.h b/kdejava/koala/kdejava/KMdiTaskBarButton.h deleted file mode 100644 index 123a58f2..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBarButton.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiTaskBarButton__ -#define __org_kde_koala_KMdiTaskBarButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBarButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiTaskBarButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_newKMdiTaskBarButton (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiTaskBarButton_actualText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_fitText (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_setNewText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiTaskBarButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiTaskBarButton__ */ diff --git a/kdejava/koala/kdejava/KMdiToolViewAccessor.cpp b/kdejava/koala/kdejava/KMdiToolViewAccessor.cpp deleted file mode 100644 index 677abd0c..00000000 --- a/kdejava/koala/kdejava/KMdiToolViewAccessor.cpp +++ /dev/null @@ -1,132 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemditoolviewaccessor.h> -#include <kdockwidget.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiToolViewAccessor.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_hide(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__I(JNIEnv* env, jobject obj, jint pos) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd, jint percent) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__I(JNIEnv* env, jobject obj, jint pos) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd, jint percent) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widgetToWrap) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((TQWidget*) QtSupport::getQt(env, widgetToWrap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widgetToWrap, jstring tabToolTip) -{ -static TQString* _qstring_tabToolTip = 0; - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((TQWidget*) QtSupport::getQt(env, widgetToWrap), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widgetToWrap, jstring tabToolTip, jstring tabCaption) -{ -static TQString* _qstring_tabToolTip = 0; -static TQString* _qstring_tabCaption = 0; - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((TQWidget*) QtSupport::getQt(env, widgetToWrap), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabCaption, &_qstring_tabCaption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_show(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_wrappedWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->wrappedWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_wrapperWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->wrapperWidget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMdiToolViewAccessor.h b/kdejava/koala/kdejava/KMdiToolViewAccessor.h deleted file mode 100644 index 98e643fb..00000000 --- a/kdejava/koala/kdejava/KMdiToolViewAccessor.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiToolViewAccessor__ -#define __org_kde_koala_KMdiToolViewAccessor__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiToolViewAccessor_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiToolViewAccessor_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiToolViewAccessor_wrapperWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiToolViewAccessor_wrappedWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_hide (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiToolViewAccessor__ */ diff --git a/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp b/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp deleted file mode 100644 index c86c3636..00000000 --- a/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdimainfrm.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiViewCloseEvent.h> - -class KMdiViewCloseEventJBridge : public KMdiViewCloseEvent -{ -public: - KMdiViewCloseEventJBridge(KMdiChildView* arg1) : KMdiViewCloseEvent(arg1) {}; - ~KMdiViewCloseEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiViewCloseEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMdiViewCloseEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_newKMdiViewCloseEvent(JNIEnv* env, jobject obj, jobject pWnd) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiViewCloseEventJBridge((KMdiChildView*) QtSupport::getQt(env, pWnd))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMdiViewCloseEvent.h b/kdejava/koala/kdejava/KMdiViewCloseEvent.h deleted file mode 100644 index a70c09f2..00000000 --- a/kdejava/koala/kdejava/KMdiViewCloseEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiViewCloseEvent__ -#define __org_kde_koala_KMdiViewCloseEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiViewCloseEvent_newKMdiViewCloseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiViewCloseEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiViewCloseEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiViewCloseEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiViewCloseEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiWin32IconButton.cpp b/kdejava/koala/kdejava/KMdiWin32IconButton.cpp deleted file mode 100644 index 38ec281b..00000000 --- a/kdejava/koala/kdejava/KMdiWin32IconButton.cpp +++ /dev/null @@ -1,457 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemdichildfrm.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMdiWin32IconButton.h> - -class KMdiWin32IconButtonJBridge : public KMdiWin32IconButton -{ -public: - KMdiWin32IconButtonJBridge(TQWidget* arg1,const char* arg2) : KMdiWin32IconButton(arg1,arg2) {}; - KMdiWin32IconButtonJBridge(TQWidget* arg1) : KMdiWin32IconButton(arg1) {}; - ~KMdiWin32IconButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(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")) { - TQLabel::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","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.KMdiWin32IconButton","show")) { - TQWidget::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.KMdiWin32IconButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","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")) { - KMdiWin32IconButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(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.KMdiWin32IconButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiWin32IconButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiWin32IconButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiWin32IconButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiWin32IconButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiWin32IconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiWin32IconButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiWin32IconButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiWin32IconButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiWin32IconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiWin32IconButton*) QtSupport::getQt(env, obj))->mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiWin32IconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__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 KMdiWin32IconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMdiWin32IconButton.h b/kdejava/koala/kdejava/KMdiWin32IconButton.h deleted file mode 100644 index 17b69fdc..00000000 --- a/kdejava/koala/kdejava/KMdiWin32IconButton.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiWin32IconButton__ -#define __org_kde_koala_KMdiWin32IconButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiWin32IconButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiWin32IconButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiWin32IconButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiWin32IconButton__ */ diff --git a/kdejava/koala/kdejava/KMenuBar.cpp b/kdejava/koala/kdejava/KMenuBar.cpp deleted file mode 100644 index 3c91ad48..00000000 --- a/kdejava/koala/kdejava/KMenuBar.cpp +++ /dev/null @@ -1,577 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqrect.h> -#include <tdemenubar.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMenuBar.h> - -class KMenuBarJBridge : public KMenuBar -{ -public: - KMenuBarJBridge(TQWidget* arg1,const char* arg2) : KMenuBar(arg1,arg2) {}; - KMenuBarJBridge(TQWidget* arg1) : KMenuBar(arg1) {}; - KMenuBarJBridge() : KMenuBar() {}; - void public_show() { - KMenuBar::show(); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KMenuBar::showEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMenuBar::resizeEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KMenuBar::eventFilter(arg1,arg2); - } - void protected_closeEvent(TQCloseEvent* arg1) { - KMenuBar::closeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - KMenuBar::drawContents(arg1); - return; - } - void protected_slotReadConfig() { - KMenuBar::slotReadConfig(); - return; - } - ~KMenuBarJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KMenuBar::drawContents(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")) { - KMenuBar::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","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.KMenuBar","show")) { - KMenuBar::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQMenuBar::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","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")) { - KMenuBar::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQMenuBar::keyPressEvent(arg1); - } - return; - } - 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")) { - KMenuBar::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQMenuBar::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQMenuBar::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","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")) { - TQMenuBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQMenuBar::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","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")) { - TQMenuBar::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMenuBar",object,event)) { - return KMenuBar::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMenuBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMenuBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMenuBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMenuBar_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMenuBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMenuBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMenuBar_isTopLevelMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMenuBar*) QtSupport::getQt(env, obj))->isTopLevelMenu(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMenuBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMenuBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_newKMenuBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMenuBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_newKMenuBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_newKMenuBar__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 KMenuBarJBridge((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_KMenuBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_resize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setFrameStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setFrameStyle((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setLineWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setLineWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setMargin(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setMargin((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setTopLevelMenu__(JNIEnv* env, jobject obj) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setTopLevelMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setTopLevelMenu__Z(JNIEnv* env, jobject obj, jboolean top_level) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setTopLevelMenu((bool) top_level); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_show(JNIEnv* env, jobject obj) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMenuBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KMenuBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_slotReadConfig(JNIEnv* env, jobject obj) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_slotReadConfig(); - return; -} - diff --git a/kdejava/koala/kdejava/KMenuBar.h b/kdejava/koala/kdejava/KMenuBar.h deleted file mode 100644 index 903a254b..00000000 --- a/kdejava/koala/kdejava/KMenuBar.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMenuBar__ -#define __org_kde_koala_KMenuBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMenuBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMenuBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_newKMenuBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_newKMenuBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_newKMenuBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setTopLevelMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setTopLevelMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMenuBar_isTopLevelMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_resize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setFrameStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setLineWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMenuBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMenuBar_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_slotReadConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMenuBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMenuBar__ */ diff --git a/kdejava/koala/kdejava/KMessageBox.cpp b/kdejava/koala/kdejava/KMessageBox.cpp deleted file mode 100644 index 29365b9b..00000000 --- a/kdejava/koala/kdejava/KMessageBox.cpp +++ /dev/null @@ -1,2027 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemessagebox.h> -#include <tqpixmap.h> -#include <tqmessagebox.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kguiitem.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMessageBox.h> - -class KMessageBoxJBridge : public KMessageBox -{ -public: - KMessageBoxJBridge() : KMessageBox() {}; - ~KMessageBoxJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI(JNIEnv* env, jclass cls, jobject dialog, jint icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQMessageBox::Icon) icon, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2(JNIEnv* env, jclass cls, jobject dialog, jint icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); -static TQString* _qstring_details = 0; - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQMessageBox::Icon) icon, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI(JNIEnv* env, jclass cls, jobject dialog, jobject icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQPixmap)*(TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2(JNIEnv* env, jclass cls, jobject dialog, jobject icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); -static TQString* _qstring_details = 0; - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQPixmap)*(TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2I(JNIEnv* env, jclass cls, jobject dialog, jobject icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options, jstring details, jint notifyType) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); -static TQString* _qstring_details = 0; - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQPixmap)*(TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (TQMessageBox::Icon) notifyType); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedSorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedSorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMessageBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_enableAllMessages(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMessageBoxJBridge::enableAllMessages(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_enableMessage(JNIEnv* env, jclass cls, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::enableMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::errorListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::errorList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::errorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::error((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::error((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::error((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMessageBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMessageBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2I(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName), (int) options); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_newKMessageBox(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMessageBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::queuedDetailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedDetailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::queuedDetailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedDetailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::queuedMessageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::queuedMessageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_saveDontShowAgainContinue(JNIEnv* env, jclass cls, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::saveDontShowAgainContinue((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_saveDontShowAgainYesNo(JNIEnv* env, jclass cls, jstring dontShowAgainName, jint result) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::saveDontShowAgainYesNo((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (KMessageBox::ButtonCode) result); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_setDontShowAskAgainConfig(JNIEnv* env, jclass cls, jobject cfg) -{ - (void) cls; - KMessageBoxJBridge::setDontShowAskAgainConfig((TDEConfig*) QtSupport::getQt(env, cfg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMessageBox_shouldBeShownContinue(JNIEnv* env, jclass cls, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - jboolean xret = (jboolean) KMessageBoxJBridge::shouldBeShownContinue((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMessageBox_shouldBeShownYesNo(JNIEnv* env, jclass cls, jstring dontShowAgainName, jint result) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - jboolean xret = (jboolean) KMessageBoxJBridge::shouldBeShownYesNo((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (KMessageBox::ButtonCode&) result); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::sorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::sorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMessageBox.h b/kdejava/koala/kdejava/KMessageBox.h deleted file mode 100644 index d870d53f..00000000 --- a/kdejava/koala/kdejava/KMessageBox.h +++ /dev/null @@ -1,210 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMessageBox__ -#define __org_kde_koala_KMessageBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_newKMessageBox (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_enableAllMessages (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_enableMessage (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2I (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMessageBox_shouldBeShownYesNo (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMessageBox_shouldBeShownContinue (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_saveDontShowAgainYesNo (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_saveDontShowAgainContinue (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_setDontShowAskAgainConfig (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jobjectArray, jstring, jbooleanArray, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI (JNIEnv *env, jclass, jobject, jint, jstring, jobjectArray, jstring, jbooleanArray, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2I (JNIEnv *env, jclass, jobject, jobject, jstring, jobjectArray, jstring, jbooleanArray, jint, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring, jobjectArray, jstring, jbooleanArray, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI (JNIEnv *env, jclass, jobject, jobject, jstring, jobjectArray, jstring, jbooleanArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMessageBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMessageBox__ */ diff --git a/kdejava/koala/kdejava/KMimeMagic.cpp b/kdejava/koala/kdejava/KMimeMagic.cpp deleted file mode 100644 index 42ed4d13..00000000 --- a/kdejava/koala/kdejava/KMimeMagic.cpp +++ /dev/null @@ -1,130 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kmimemagic.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMimeMagic.h> - -class KMimeMagicJBridge : public KMimeMagic -{ -public: - KMimeMagicJBridge() : KMimeMagic() {}; - KMimeMagicJBridge(const TQString& arg1) : KMimeMagic(arg1) {}; - static void protected_initStatic() { - KMimeMagic::initStatic(); - return; - } - ~KMimeMagicJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeMagic_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeMagic*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_findBufferFileType(JNIEnv* env, jobject obj, jbyteArray arg1, jstring filename) -{ -static TQByteArray* _qbyteArray_arg1 = 0; -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeMagic*) QtSupport::getQt(env, obj))->findBufferFileType((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.koala.KMimeMagicResult"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_findBufferType(JNIEnv* env, jobject obj, jbyteArray p) -{ -static TQByteArray* _qbyteArray_p = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeMagic*) QtSupport::getQt(env, obj))->findBufferType((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, p, &_qbyteArray_p)), "org.kde.koala.KMimeMagicResult"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_findFileType(JNIEnv* env, jobject obj, jstring _filename) -{ -static TQString* _qstring__filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeMagic*) QtSupport::getQt(env, obj))->findFileType((const TQString&)*(TQString*) QtSupport::toTQString(env, _filename, &_qstring__filename)), "org.kde.koala.KMimeMagicResult"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_initStatic(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMimeMagicJBridge::protected_initStatic(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagic_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagic_mergeBufConfig(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((KMimeMagic*) QtSupport::getQt(env, obj))->mergeBufConfig((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagic_mergeConfig(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - jboolean xret = (jboolean) ((KMimeMagic*) QtSupport::getQt(env, obj))->mergeConfig((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_newKMimeMagic__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeMagicJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_newKMimeMagic__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeMagicJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KMimeMagicJBridge::self(), "org.kde.koala.KMimeMagic"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_setFollowLinks(JNIEnv* env, jobject obj, jboolean _enable) -{ - ((KMimeMagic*) QtSupport::getQt(env, obj))->setFollowLinks((bool) _enable); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeMagic.h b/kdejava/koala/kdejava/KMimeMagic.h deleted file mode 100644 index f0f86d52..00000000 --- a/kdejava/koala/kdejava/KMimeMagic.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeMagic__ -#define __org_kde_koala_KMimeMagic__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_newKMimeMagic__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_newKMimeMagic__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagic_mergeConfig (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagic_mergeBufConfig (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_setFollowLinks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_findFileType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_findBufferType (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_findBufferFileType (JNIEnv *env, jobject, jbyteArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_initStatic (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagic_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeMagic__ */ diff --git a/kdejava/koala/kdejava/KMimeMagicResult.cpp b/kdejava/koala/kdejava/KMimeMagicResult.cpp deleted file mode 100644 index 552134df..00000000 --- a/kdejava/koala/kdejava/KMimeMagicResult.cpp +++ /dev/null @@ -1,92 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kmimemagic.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMimeMagicResult.h> - -class KMimeMagicResultJBridge : public KMimeMagicResult -{ -public: - KMimeMagicResultJBridge() : KMimeMagicResult() {}; - ~KMimeMagicResultJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMimeMagicResult_accuracy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMimeMagicResult*) QtSupport::getQt(env, obj))->accuracy(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeMagicResult_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeMagicResult*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagicResult_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagicResult_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMimeMagicResult*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeMagicResult_mimeType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMimeMagicResult*) QtSupport::getQt(env, obj))->mimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_newKMimeMagicResult(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeMagicResultJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_setAccuracy(JNIEnv* env, jobject obj, jint _accuracy) -{ - ((KMimeMagicResult*) QtSupport::getQt(env, obj))->setAccuracy((int) _accuracy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_setInvalid(JNIEnv* env, jobject obj) -{ - ((KMimeMagicResult*) QtSupport::getQt(env, obj))->setInvalid(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_setMimeType(JNIEnv* env, jobject obj, jstring _mime) -{ -static TQString* _qstring__mime = 0; - ((KMimeMagicResult*) QtSupport::getQt(env, obj))->setMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _mime, &_qstring__mime)); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeMagicResult.h b/kdejava/koala/kdejava/KMimeMagicResult.h deleted file mode 100644 index 151fbe87..00000000 --- a/kdejava/koala/kdejava/KMimeMagicResult.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeMagicResult__ -#define __org_kde_koala_KMimeMagicResult__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_newKMimeMagicResult (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeMagicResult_mimeType (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMimeMagicResult_accuracy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagicResult_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_setMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_setAccuracy (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_setInvalid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagicResult_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeMagicResult__ */ diff --git a/kdejava/koala/kdejava/KMimeSourceFactory.cpp b/kdejava/koala/kdejava/KMimeSourceFactory.cpp deleted file mode 100644 index 99decbe1..00000000 --- a/kdejava/koala/kdejava/KMimeSourceFactory.cpp +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kmimesourcefactory.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMimeSourceFactory.h> - -class KMimeSourceFactoryJBridge : public KMimeSourceFactory -{ -public: - KMimeSourceFactoryJBridge(TDEIconLoader* arg1) : KMimeSourceFactory(arg1) {}; - KMimeSourceFactoryJBridge() : KMimeSourceFactory() {}; - ~KMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeSourceFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeSourceFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeSourceFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeSourceFactory_makeAbsolute(JNIEnv* env, jobject obj, jstring abs_or_rel_name, jstring context) -{ - TQString _qstring; -static TQString* _qstring_abs_or_rel_name = 0; -static TQString* _qstring_context = 0; - _qstring = ((KMimeSourceFactory*) QtSupport::getQt(env, obj))->makeAbsolute((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeSourceFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeSourceFactoryJBridge((TDEIconLoader*) QtSupport::getQt(env, loader))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMimeSourceFactory.h b/kdejava/koala/kdejava/KMimeSourceFactory.h deleted file mode 100644 index a25c20f9..00000000 --- a/kdejava/koala/kdejava/KMimeSourceFactory.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeSourceFactory__ -#define __org_kde_koala_KMimeSourceFactory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_TDEIconLoader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeSourceFactory_makeAbsolute (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeSourceFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeSourceFactory__ */ diff --git a/kdejava/koala/kdejava/KMimeType.cpp b/kdejava/koala/kdejava/KMimeType.cpp deleted file mode 100644 index 2456bbab..00000000 --- a/kdejava/koala/kdejava/KMimeType.cpp +++ /dev/null @@ -1,407 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatastream.h> -#include <tqpixmap.h> -#include <kicontheme.h> -#include <kmimetype.h> -#include <tqstring.h> -#include <tqvariant.h> -#include <tqstringlist.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMimeType.h> - -class KMimeTypeJBridge : public KMimeType -{ -public: - KMimeTypeJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,const TQStringList& arg5) : KMimeType(arg1,arg2,arg3,arg4,arg5) {}; - KMimeTypeJBridge(const TQString& arg1) : KMimeType(arg1) {}; - KMimeTypeJBridge(KDesktopFile* arg1) : KMimeType(arg1) {}; - KMimeTypeJBridge(TQDataStream& arg1,int arg2) : KMimeType(arg1,arg2) {}; - void protected_loadInternal(TQDataStream& arg1) { - KMimeType::loadInternal(arg1); - return; - } - void protected_init(KDesktopFile* arg1) { - KMimeType::init(arg1); - return; - } - int protected_patternsAccuracy() { - return (int) KMimeType::patternsAccuracy(); - } - static void protected_errorMissingMimeType(const TQString& arg1) { - KMimeType::errorMissingMimeType(arg1); - return; - } - static void protected_buildDefaultType() { - KMimeType::buildDefaultType(); - return; - } - static void protected_checkEssentialMimeTypes() { - KMimeType::checkEssentialMimeTypes(); - return; - } - ~KMimeTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_buildDefaultType(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMimeTypeJBridge::protected_buildDefaultType(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_checkEssentialMimeTypes(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMimeTypeJBridge::protected_checkEssentialMimeTypes(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_comment__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_comment__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_comment__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->comment((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_defaultMimeType(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::defaultMimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_errorMissingMimeType(JNIEnv* env, jclass cls, jstring _type) -{ - (void) cls; -static TQString* _qstring__type = 0; - KMimeTypeJBridge::protected_errorMissingMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_favIconForURL(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::favIconForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject _url) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::iconForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2J(JNIEnv* env, jclass cls, jobject _url, jlong _mode) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::iconForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_icon__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->icon((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_icon__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->icon((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_init(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_init((KDesktopFile*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeType_is(JNIEnv* env, jobject obj, jstring mimeTypeName) -{ -static TQString* _qstring_mimeTypeName = 0; - jboolean xret = (jboolean) ((KMimeType*) QtSupport::getQt(env, obj))->is((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeTypeName, &_qstring_mimeTypeName)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_loadInternal(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_loadInternal((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_load(JNIEnv* env, jobject obj, jobject qs) -{ - ((KMimeType*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, qs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath) -{ -static TQString* _qstring__fullpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath, jstring _type, jstring _icon, jstring _comment, jobjectArray _patterns) -{ -static TQString* _qstring__fullpath = 0; -static TQString* _qstring__type = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__comment = 0; -static TQStringList* _qlist__patterns = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _comment, &_qstring__comment), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, _patterns, &_qlist__patterns))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_parentMimeType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->parentMimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMimeType_patternsAccuracy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_patternsAccuracy(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_patterns(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KMimeType*) QtSupport::getQt(env, obj))->patterns(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject _url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2J(JNIEnv* env, jclass cls, jobject _url, jlong _mode) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JI(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size, jint _state) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIIILjava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size, jint _state, jobject _path) -{ - (void) cls; -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path) -{ -static TQString* _qstring_path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path) -{ -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_propertyNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KMimeType*) QtSupport::getQt(env, obj))->propertyNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_property(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KMimeType*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_save(JNIEnv* env, jobject obj, jobject qs) -{ - ((KMimeType*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, qs)); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeType.h b/kdejava/koala/kdejava/KMimeType.h deleted file mode 100644 index f5f37b20..00000000 --- a/kdejava/koala/kdejava/KMimeType.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeType__ -#define __org_kde_koala_KMimeType__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_icon__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_icon__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_comment__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_comment__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_comment__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_patterns (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_property (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_propertyNames (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_parentMimeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeType_is (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIIILjava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jlong, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIII (JNIEnv *env, jclass, jobject, jlong, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JII (JNIEnv *env, jclass, jobject, jlong, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JI (JNIEnv *env, jclass, jobject, jlong, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2J (JNIEnv *env, jclass, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2J (JNIEnv *env, jclass, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_favIconForURL (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_defaultMimeType (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_loadInternal (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_init (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMimeType_patternsAccuracy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_errorMissingMimeType (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_buildDefaultType (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_checkEssentialMimeTypes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeType__ */ diff --git a/kdejava/koala/kdejava/KMimeTypeResolverBase.cpp b/kdejava/koala/kdejava/KMimeTypeResolverBase.cpp deleted file mode 100644 index 5a90f8d1..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverBase.cpp +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kmimetyperesolver.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMimeTypeResolverBase.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverBase_slotProcessMimeIcons(JNIEnv* env, jobject obj) -{ - ((KMimeTypeResolverBase*) QtSupport::getQt(env, obj))->slotProcessMimeIcons(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverBase_slotViewportAdjusted(JNIEnv* env, jobject obj) -{ - ((KMimeTypeResolverBase*) QtSupport::getQt(env, obj))->slotViewportAdjusted(); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeTypeResolverBase.h b/kdejava/koala/kdejava/KMimeTypeResolverBase.h deleted file mode 100644 index 09212b1d..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverBase.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeTypeResolverBase__ -#define __org_kde_koala_KMimeTypeResolverBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverBase_slotViewportAdjusted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverBase_slotProcessMimeIcons (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeTypeResolverBase__ */ diff --git a/kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp b/kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp deleted file mode 100644 index 07a4ef2e..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kmimetyperesolver.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMimeTypeResolverHelper.h> - -class KMimeTypeResolverHelperJBridge : public KMimeTypeResolverHelper -{ -public: - KMimeTypeResolverHelperJBridge(KMimeTypeResolverBase* arg1,TQScrollView* arg2) : KMimeTypeResolverHelper(arg1,arg2) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KMimeTypeResolverHelper::eventFilter(arg1,arg2); - } - ~KMimeTypeResolverHelperJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMimeTypeResolverHelper",object,event)) { - return KMimeTypeResolverHelper::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMimeTypeResolverHelper*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeTypeResolverHelper_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KMimeTypeResolverHelperJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KMimeTypeResolverHelper*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KMimeTypeResolverHelper*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeTypeResolverHelper*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_newKMimeTypeResolverHelper(JNIEnv* env, jobject obj, jobject resolver, jobject view) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeResolverHelperJBridge((KMimeTypeResolverBase*) QtSupport::getQt(env, resolver), (TQScrollView*) QtSupport::getQt(env, view))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_start(JNIEnv* env, jobject obj, jint delay, jboolean singleShot) -{ - ((KMimeTypeResolverHelper*) QtSupport::getQt(env, obj))->start((int) delay, (bool) singleShot); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeTypeResolverHelper.h b/kdejava/koala/kdejava/KMimeTypeResolverHelper.h deleted file mode 100644 index c6bb23e8..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverHelper.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeTypeResolverHelper__ -#define __org_kde_koala_KMimeTypeResolverHelper__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_newKMimeTypeResolverHelper (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_start (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeTypeResolverHelper__ */ diff --git a/kdejava/koala/kdejava/KMimeTypeValidator.cpp b/kdejava/koala/kdejava/KMimeTypeValidator.cpp deleted file mode 100644 index d90f58bc..00000000 --- a/kdejava/koala/kdejava/KMimeTypeValidator.cpp +++ /dev/null @@ -1,133 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstringvalidator.h> -#include <tqvalidator.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMimeTypeValidator.h> - -class KMimeTypeValidatorJBridge : public KMimeTypeValidator -{ -public: - KMimeTypeValidatorJBridge(TQObject* arg1,const char* arg2) : KMimeTypeValidator(arg1,arg2) {}; - KMimeTypeValidatorJBridge(TQObject* arg1) : KMimeTypeValidator(arg1) {}; - ~KMimeTypeValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMimeTypeValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeTypeValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMimeTypeValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeTypeValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KMimeTypeValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KMimeTypeValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_fixup(JNIEnv* env, jobject obj, jobject input) -{ -static TQString* _qstring_input = 0; - ((KMimeTypeValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeTypeValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeTypeValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeTypeValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMimeTypeValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) -{ -static TQString* _qstring_input = 0; - int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((KMimeTypeValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input), (int&) *_int_pos); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - env->SetIntArrayRegion(pos, 0, 1, (jint *) _int_pos); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMimeTypeValidator.h b/kdejava/koala/kdejava/KMimeTypeValidator.h deleted file mode 100644 index 22665939..00000000 --- a/kdejava/koala/kdejava/KMimeTypeValidator.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeTypeValidator__ -#define __org_kde_koala_KMimeTypeValidator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeTypeValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeTypeValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMimeTypeValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeTypeValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeTypeValidator__ */ diff --git a/kdejava/koala/kdejava/KMountPoint.cpp b/kdejava/koala/kdejava/KMountPoint.cpp deleted file mode 100644 index f2ca7720..00000000 --- a/kdejava/koala/kdejava/KMountPoint.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqstringlist.h> -#include <kmountpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMountPoint.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_devNameFromOptions(JNIEnv* env, jclass cls, jobjectArray options) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_options = 0; - _qstring = KMountPoint::devNameFromOptions((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, options, &_qlist_options)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMountPoint_mountOptions(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KMountPoint*) QtSupport::getQt(env, obj))->mountOptions(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_mountPoint(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->mountPoint(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_mountType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->mountType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_mountedFrom(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->mountedFrom(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_realDeviceName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->realDeviceName(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KMountPoint.h b/kdejava/koala/kdejava/KMountPoint.h deleted file mode 100644 index fc87c000..00000000 --- a/kdejava/koala/kdejava/KMountPoint.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMountPoint__ -#define __org_kde_koala_KMountPoint__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_mountedFrom (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_realDeviceName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_mountPoint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_mountType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMountPoint_mountOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_devNameFromOptions (JNIEnv *env, jclass, jobjectArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMountPoint__ */ diff --git a/kdejava/koala/kdejava/KMultiTabBar.cpp b/kdejava/koala/kdejava/KMultiTabBar.cpp deleted file mode 100644 index 9e689f0f..00000000 --- a/kdejava/koala/kdejava/KMultiTabBar.cpp +++ /dev/null @@ -1,591 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tdemultitabbar.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMultiTabBar.h> - -class KMultiTabBarJBridge : public KMultiTabBar -{ -public: - KMultiTabBarJBridge(KMultiTabBar::KMultiTabBarMode arg1,TQWidget* arg2,const char* arg3) : KMultiTabBar(arg1,arg2,arg3) {}; - KMultiTabBarJBridge(KMultiTabBar::KMultiTabBarMode arg1,TQWidget* arg2) : KMultiTabBar(arg1,arg2) {}; - KMultiTabBarJBridge(KMultiTabBar::KMultiTabBarMode arg1) : KMultiTabBar(arg1) {}; - void protected_fontChange(const TQFont& arg1) { - KMultiTabBar::fontChange(arg1); - return; - } - void protected_updateSeparator() { - KMultiTabBar::updateSeparator(); - return; - } - ~KMultiTabBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","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.KMultiTabBar","show")) { - TQWidget::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.KMultiTabBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","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 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")) { - KMultiTabBar::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.KMultiTabBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultiTabBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pic) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pic, jint id) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pic, jint id, jobject popup) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pic, jint id, jobject popup, jstring not_used_yet) -{ -static TQString* _qstring_not_used_yet = 0; - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (const TQString&)*(TQString*) QtSupport::toTQString(env, not_used_yet, &_qstring_not_used_yet)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pic) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendTab((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pic, jint id) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendTab((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject pic, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendTab((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBar_button(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBar*) QtSupport::getQt(env, obj))->button((int) id), "org.kde.koala.KMultiTabBarButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultiTabBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultiTabBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultiTabBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMultiTabBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMultiTabBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBar_isTabRaised(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((KMultiTabBar*) QtSupport::getQt(env, obj))->isTabRaised((int) id); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__I(JNIEnv* env, jobject obj, jint bm) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarJBridge((KMultiTabBar::KMultiTabBarMode) bm)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint bm, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarJBridge((KMultiTabBar::KMultiTabBarMode) bm, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint bm, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarJBridge((KMultiTabBar::KMultiTabBarMode) bm, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->position(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_removeButton(JNIEnv* env, jobject obj, jint id) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->removeButton((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_removeTab(JNIEnv* env, jobject obj, jint id) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->removeTab((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_setPosition(JNIEnv* env, jobject obj, jint pos) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->setPosition((KMultiTabBar::KMultiTabBarPosition) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_setStyle(JNIEnv* env, jobject obj, jint style) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->setStyle((KMultiTabBar::KMultiTabBarStyle) style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_setTab(JNIEnv* env, jobject obj, jint id, jboolean state) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->setTab((int) id, (bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__(JNIEnv* env, jobject obj) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->showActiveTabTexts(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__Z(JNIEnv* env, jobject obj, jboolean show) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->showActiveTabTexts((bool) show); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_tabStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->tabStyle(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBar_tab(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBar*) QtSupport::getQt(env, obj))->tab((int) id), "org.kde.koala.KMultiTabBarTab"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_updateSeparator(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarJBridge*) QtSupport::getQt(env, obj))->protected_updateSeparator(); - return; -} - diff --git a/kdejava/koala/kdejava/KMultiTabBar.h b/kdejava/koala/kdejava/KMultiTabBar.h deleted file mode 100644 index 9e044314..00000000 --- a/kdejava/koala/kdejava/KMultiTabBar.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultiTabBar__ -#define __org_kde_koala_KMultiTabBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultiTabBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_removeButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_removeTab (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_setTab (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBar_isTabRaised (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBar_button (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBar_tab (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_position (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_setStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_tabStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_updateSeparator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultiTabBar__ */ diff --git a/kdejava/koala/kdejava/KMultiTabBarButton.cpp b/kdejava/koala/kdejava/KMultiTabBarButton.cpp deleted file mode 100644 index 70f5e668..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarButton.cpp +++ /dev/null @@ -1,499 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tdemultitabbar.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMultiTabBarButton.h> - -class KMultiTabBarButtonJBridge : public KMultiTabBarButton -{ -public: - KMultiTabBarButtonJBridge(const TQPixmap& arg1,const TQString& arg2,TQPopupMenu* arg3,int arg4,TQWidget* arg5,KMultiTabBar::KMultiTabBarPosition arg6,KMultiTabBar::KMultiTabBarStyle arg7) : KMultiTabBarButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KMultiTabBarButtonJBridge(const TQString& arg1,TQPopupMenu* arg2,int arg3,TQWidget* arg4,KMultiTabBar::KMultiTabBarPosition arg5,KMultiTabBar::KMultiTabBarStyle arg6) : KMultiTabBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void protected_hideEvent(TQHideEvent* arg1) { - KMultiTabBarButton::hideEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KMultiTabBarButton::showEvent(arg1); - return; - } - void protected_slotClicked() { - KMultiTabBarButton::slotClicked(); - return; - } - ~KMultiTabBarButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","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.KMultiTabBarButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KMultiTabBarButton::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","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")) { - KMultiTabBarButton::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","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")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultiTabBarButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void slotClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","slotClicked")) { - KMultiTabBarButton::slotClicked(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultiTabBarButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultiTabBarButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMultiTabBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMultiTabBarButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBarButton_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBarButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBarButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jstring arg1, jobject popup, jint id, jobject parent, jint pos, jint style) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (KMultiTabBar::KMultiTabBarPosition) pos, (KMultiTabBar::KMultiTabBarStyle) style)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject pic, jstring arg2, jobject popup, jint id, jobject parent, jint pos, jint style) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (KMultiTabBar::KMultiTabBarPosition) pos, (KMultiTabBar::KMultiTabBarStyle) style)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_setPosition(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->setPosition((KMultiTabBar::KMultiTabBarPosition) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_setStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->setStyle((KMultiTabBar::KMultiTabBarStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBarButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KMultiTabBarButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_slotClicked(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/KMultiTabBarButton.h b/kdejava/koala/kdejava/KMultiTabBarButton.h deleted file mode 100644 index cf87824a..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarButton.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultiTabBarButton__ -#define __org_kde_koala_KMultiTabBarButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBarButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultiTabBarButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jstring, jobject, jint, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBarButton_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_setStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBarButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBarButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultiTabBarButton__ */ diff --git a/kdejava/koala/kdejava/KMultiTabBarTab.cpp b/kdejava/koala/kdejava/KMultiTabBarTab.cpp deleted file mode 100644 index 33afa189..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarTab.cpp +++ /dev/null @@ -1,563 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <tqstring.h> -#include <tdemultitabbar.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMultiTabBarTab.h> - -class KMultiTabBarTabJBridge : public KMultiTabBarTab -{ -public: - KMultiTabBarTabJBridge(const TQPixmap& arg1,const TQString& arg2,int arg3,TQWidget* arg4,KMultiTabBar::KMultiTabBarPosition arg5,KMultiTabBar::KMultiTabBarStyle arg6) : KMultiTabBarTab(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void protected_setSize(int arg1) { - KMultiTabBarTab::setSize(arg1); - return; - } - int protected_neededSize() { - return (int) KMultiTabBarTab::neededSize(); - } - void protected_updateState() { - KMultiTabBarTab::updateState(); - return; - } - void protected_drawButton(TQPainter* arg1) { - KMultiTabBarTab::drawButton(arg1); - return; - } - void protected_drawButtonLabel(TQPainter* arg1) { - KMultiTabBarTab::drawButtonLabel(arg1); - return; - } - void protected_drawButtonStyled(TQPainter* arg1) { - KMultiTabBarTab::drawButtonStyled(arg1); - return; - } - void protected_drawButtonClassic(TQPainter* arg1) { - KMultiTabBarTab::drawButtonClassic(arg1); - return; - } - void protected_slotClicked() { - KMultiTabBarTab::slotClicked(); - return; - } - void protected_setTabsPosition(KMultiTabBar::KMultiTabBarPosition arg1) { - KMultiTabBarTab::setTabsPosition(arg1); - return; - } - ~KMultiTabBarTabJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","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.KMultiTabBarTab","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KMultiTabBarButton::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","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")) { - KMultiTabBarButton::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMultiTabBarTab::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","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")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void drawButton(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButton",(void*)arg1,"org.kde.qt.TQPainter")) { - KMultiTabBarTab::drawButton(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void drawButtonLabel(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButtonLabel",(void*)arg1,"org.kde.qt.TQPainter")) { - KMultiTabBarTab::drawButtonLabel(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultiTabBarTab",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void slotClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","slotClicked")) { - KMultiTabBarTab::slotClicked(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultiTabBarTab_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultiTabBarTab_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButtonClassic(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonClassic((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButtonStyled(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonStyled((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMultiTabBarTab*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMultiTabBarTab*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBarTab_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBarTab_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBarTab*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBarTab_neededSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_neededSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_newKMultiTabBarTab(JNIEnv* env, jobject obj, jobject pic, jstring arg2, jint id, jobject parent, jint pos, jint style) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarTabJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (KMultiTabBar::KMultiTabBarPosition) pos, (KMultiTabBar::KMultiTabBarStyle) style)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_resize(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->resize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_setSize((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setState(JNIEnv* env, jobject obj, jboolean state) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->setState((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setTabsPosition(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_setTabsPosition((KMultiTabBar::KMultiTabBarPosition) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_showActiveTabText(JNIEnv* env, jobject obj, jboolean show) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->showActiveTabText((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_slotClicked(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_updateState(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_updateState(); - return; -} - diff --git a/kdejava/koala/kdejava/KMultiTabBarTab.h b/kdejava/koala/kdejava/KMultiTabBarTab.h deleted file mode 100644 index 5c890d53..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarTab.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultiTabBarTab__ -#define __org_kde_koala_KMultiTabBarTab__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBarTab_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultiTabBarTab_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_newKMultiTabBarTab (JNIEnv *env, jobject, jobject, jstring, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setState (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_showActiveTabText (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_resize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBarTab_neededSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_updateState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButtonStyled (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButtonClassic (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setTabsPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBarTab_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultiTabBarTab__ */ diff --git a/kdejava/koala/kdejava/KMultipleDrag.cpp b/kdejava/koala/kdejava/KMultipleDrag.cpp deleted file mode 100644 index a71dbfb8..00000000 --- a/kdejava/koala/kdejava/KMultipleDrag.cpp +++ /dev/null @@ -1,147 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdemultipledrag.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMultipleDrag.h> - -class KMultipleDragJBridge : public KMultipleDrag -{ -public: - KMultipleDragJBridge(TQWidget* arg1,const char* arg2) : KMultipleDrag(arg1,arg2) {}; - KMultipleDragJBridge(TQWidget* arg1) : KMultipleDrag(arg1) {}; - KMultipleDragJBridge() : KMultipleDrag() {}; - ~KMultipleDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultipleDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_addDragObject(JNIEnv* env, jobject obj, jobject dragObject) -{ - ((KMultipleDrag*) QtSupport::getQt(env, obj))->addDragObject((TQDragObject*) QtSupport::getQt(env, dragObject)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultipleDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultipleDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultipleDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KMultipleDrag_encodedData(JNIEnv* env, jobject obj, jstring mime) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_mime = 0; - _qbyteArray = ((KMultipleDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, mime, &_qstring_mime)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KMultipleDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KMultipleDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultipleDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((KMultipleDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultipleDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultipleDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultipleDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultipleDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultipleDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragSource, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultipleDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMultipleDrag.h b/kdejava/koala/kdejava/KMultipleDrag.h deleted file mode 100644 index 4df1db81..00000000 --- a/kdejava/koala/kdejava/KMultipleDrag.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultipleDrag__ -#define __org_kde_koala_KMultipleDrag__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultipleDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultipleDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_addDragObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KMultipleDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultipleDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultipleDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultipleDrag__ */ diff --git a/kdejava/koala/kdejava/KNamedCommand.cpp b/kdejava/koala/kdejava/KNamedCommand.cpp deleted file mode 100644 index bc50f2b1..00000000 --- a/kdejava/koala/kdejava/KNamedCommand.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcommand.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KNamedCommand.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNamedCommand_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KNamedCommand*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNamedCommand_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KNamedCommand*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/KNamedCommand.h b/kdejava/koala/kdejava/KNamedCommand.h deleted file mode 100644 index 4343e0cd..00000000 --- a/kdejava/koala/kdejava/KNamedCommand.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KNamedCommand__ -#define __org_kde_koala_KNamedCommand__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNamedCommand_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNamedCommand_setName (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KNamedCommand__ */ diff --git a/kdejava/koala/kdejava/KNotifyClient.cpp b/kdejava/koala/kdejava/KNotifyClient.cpp deleted file mode 100644 index da2ea81c..00000000 --- a/kdejava/koala/kdejava/KNotifyClient.cpp +++ /dev/null @@ -1,175 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <knotifyclient.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KNotifyClient.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNotifyClient_beep__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KNotifyClient::beep(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNotifyClient_beep__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring reason) -{ - (void) cls; -static TQString* _qstring_reason = 0; - KNotifyClient::beep((const TQString&)*(TQString*) QtSupport::toTQString(env, reason, &_qstring_reason)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__II(JNIEnv* env, jclass cls, jint winId, jint event) -{ - (void) cls; - (void) env; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jint event, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message) -{ - (void) cls; -static TQString* _qstring_message = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, message, &_qstring_message)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message, jstring text) -{ - (void) cls; -static TQString* _qstring_message = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, message, &_qstring_message), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNotifyClient_getDefaultFile(JNIEnv* env, jclass cls, jstring eventname, jint present) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getDefaultFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_getDefaultPresentation(JNIEnv* env, jclass cls, jstring eventname) -{ - (void) cls; -static TQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getDefaultPresentation((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNotifyClient_getFile(JNIEnv* env, jclass cls, jstring eventname, jint present) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_getPresentation(JNIEnv* env, jclass cls, jstring eventname) -{ - (void) cls; -static TQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getPresentation((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNotifyClient_instance(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KNotifyClient::instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KNotifyClient_startDaemon(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KNotifyClient::startDaemon(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__I(JNIEnv* env, jclass cls, jint winId) -{ - (void) cls; - (void) env; - jint xret = (jint) KNotifyClient::userEvent((int) winId); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2I(JNIEnv* env, jclass cls, jint winId, jstring text, jint present) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2II(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_sound = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toTQString(env, sound, &_qstring_sound)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound, jstring file) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_sound = 0; -static TQString* _qstring_file = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toTQString(env, sound, &_qstring_sound), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KNotifyClient.h b/kdejava/koala/kdejava/KNotifyClient.h deleted file mode 100644 index a4be95b9..00000000 --- a/kdejava/koala/kdejava/KNotifyClient.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KNotifyClient__ -#define __org_kde_koala_KNotifyClient__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KNotifyClient_startDaemon (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__IILjava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jint, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jint, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2II (JNIEnv *env, jclass, jint, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2I (JNIEnv *env, jclass, jint, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNotifyClient_beep__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNotifyClient_beep__ (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_getPresentation (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNotifyClient_getFile (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_getDefaultPresentation (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNotifyClient_getDefaultFile (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNotifyClient_instance (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KNotifyClient__ */ diff --git a/kdejava/koala/kdejava/KNumInput.cpp b/kdejava/koala/kdejava/KNumInput.cpp deleted file mode 100644 index b46ad3bb..00000000 --- a/kdejava/koala/kdejava/KNumInput.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqsizepolicy.h> -#include <knuminput.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KNumInput.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNumInput_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KNumInput*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNumInput_label(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KNumInput*) QtSupport::getQt(env, obj))->label(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNumInput_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KNumInput*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a) -{ -static TQString* _qstring_label = 0; - ((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNumInput_setSteps(JNIEnv* env, jobject obj, jint minor, jint major) -{ - ((KNumInput*) QtSupport::getQt(env, obj))->setSteps((int) minor, (int) major); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KNumInput_showSlider(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KNumInput*) QtSupport::getQt(env, obj))->showSlider(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNumInput_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KNumInput*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNumInput_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KNumInput*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KNumInput.h b/kdejava/koala/kdejava/KNumInput.h deleted file mode 100644 index 87a23830..00000000 --- a/kdejava/koala/kdejava/KNumInput.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KNumInput__ -#define __org_kde_koala_KNumInput__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNumInput_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNumInput_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNumInput_label (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KNumInput_showSlider (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNumInput_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNumInput_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNumInput_sizeHint (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KNumInput__ */ diff --git a/kdejava/koala/kdejava/KOCRDialog.cpp b/kdejava/koala/kdejava/KOCRDialog.cpp deleted file mode 100644 index d982ebc9..00000000 --- a/kdejava/koala/kdejava/KOCRDialog.cpp +++ /dev/null @@ -1,585 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kscan.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KOCRDialog.h> - -class KOCRDialogJBridge : public KOCRDialog -{ -public: - KOCRDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4,bool arg5) : KOCRDialog(arg1,arg2,arg3,arg4,arg5) {}; - KOCRDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4) : KOCRDialog(arg1,arg2,arg3,arg4) {}; - KOCRDialogJBridge(int arg1,int arg2,TQWidget* arg3) : KOCRDialog(arg1,arg2,arg3) {}; - KOCRDialogJBridge(int arg1,int arg2) : KOCRDialog(arg1,arg2) {}; - KOCRDialogJBridge(int arg1) : KOCRDialog(arg1) {}; - KOCRDialogJBridge() : KOCRDialog() {}; - int protected_id() { - return (int) KOCRDialog::id(); - } - int protected_nextId() { - return (int) KOCRDialog::nextId(); - } - ~KOCRDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","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 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.KOCRDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KOCRDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KOCRDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KOCRDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KOCRDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KOCRDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog(), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog((TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jstring name, jboolean modal) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KOCRDialog_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KOCRDialogJBridge*) QtSupport::getQt(env, obj))->protected_id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KOCRDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KOCRDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__I(JNIEnv* env, jobject obj, jint dialogFace) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__II(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask, (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_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KOCRDialog_nextId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KOCRDialogJBridge*) QtSupport::getQt(env, obj))->protected_nextId(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KOCRDialog.h b/kdejava/koala/kdejava/KOCRDialog.h deleted file mode 100644 index 17e66024..00000000 --- a/kdejava/koala/kdejava/KOCRDialog.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KOCRDialog__ -#define __org_kde_koala_KOCRDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KOCRDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KOCRDialog_id (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KOCRDialog_nextId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KOCRDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KOCRDialog__ */ diff --git a/kdejava/koala/kdejava/KOpenWithDlg.cpp b/kdejava/koala/kdejava/KOpenWithDlg.cpp deleted file mode 100644 index 894ea9b4..00000000 --- a/kdejava/koala/kdejava/KOpenWithDlg.cpp +++ /dev/null @@ -1,605 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <kopenwith.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KOpenWithDlg.h> - -class KOpenWithDlgJBridge : public KOpenWithDlg -{ -public: - KOpenWithDlgJBridge(const KURL::List& arg1,TQWidget* arg2) : KOpenWithDlg(arg1,arg2) {}; - KOpenWithDlgJBridge(const KURL::List& arg1) : KOpenWithDlg(arg1) {}; - KOpenWithDlgJBridge(const KURL::List& arg1,const TQString& arg2,const TQString& arg3,TQWidget* arg4) : KOpenWithDlg(arg1,arg2,arg3,arg4) {}; - KOpenWithDlgJBridge(const KURL::List& arg1,const TQString& arg2,const TQString& arg3) : KOpenWithDlg(arg1,arg2,arg3) {}; - KOpenWithDlgJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : KOpenWithDlg(arg1,arg2,arg3) {}; - KOpenWithDlgJBridge(const TQString& arg1,const TQString& arg2) : KOpenWithDlg(arg1,arg2) {}; - KOpenWithDlgJBridge(TQWidget* arg1) : KOpenWithDlg(arg1) {}; - KOpenWithDlgJBridge() : KOpenWithDlg() {}; - void protected_setServiceType(const KURL::List& arg1) { - KOpenWithDlg::setServiceType(arg1); - return; - } - void protected_init(const TQString& arg1,const TQString& arg2) { - KOpenWithDlg::init(arg1,arg2); - return; - } - void protected_accept() { - KOpenWithDlg::accept(); - return; - } - ~KOpenWithDlgJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","accept")) { - KOpenWithDlg::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","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")) { - TQDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","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 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.KOpenWithDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_accept(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlgJBridge*) QtSupport::getQt(env, obj))->protected_accept(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KOpenWithDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KOpenWithDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KOpenWithDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KOpenWithDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KOpenWithDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_hideNoCloseOnExit(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->hideNoCloseOnExit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_hideRunInTerminal(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->hideRunInTerminal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_init(JNIEnv* env, jobject obj, jstring text, jstring value) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_value = 0; - ((KOpenWithDlgJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KOpenWithDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOpenWithDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KOpenWithDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring value) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring serviceType, jstring value, jobject parent) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray urls) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray urls, jstring text, jstring value) -{ -static KURL::List* _qlist_urls = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray urls, jstring text, jstring value, jobject parent) -{ -static KURL::List* _qlist_urls = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray urls, jobject parent) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_setSaveNewApplications(JNIEnv* env, jobject obj, jboolean b) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->setSaveNewApplications((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_setServiceType(JNIEnv* env, jobject obj, jobjectArray _urls) -{ -static KURL::List* _qlist__urls = 0; - ((KOpenWithDlgJBridge*) QtSupport::getQt(env, obj))->protected_setServiceType((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotClear(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotClear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotDbClick(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotDbClick(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotHighlighted(JNIEnv* env, jobject obj, jstring _name, jstring _exec) -{ -static TQString* _qstring__name = 0; -static TQString* _qstring__exec = 0; - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotHighlighted((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotOK(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotOK(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotSelected(JNIEnv* env, jobject obj, jstring _name, jstring _exec) -{ -static TQString* _qstring__name = 0; -static TQString* _qstring__exec = 0; - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotTerminalToggled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotTerminalToggled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotTextChanged(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotTextChanged(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KOpenWithDlg_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KOpenWithDlg*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KOpenWithDlg.h b/kdejava/koala/kdejava/KOpenWithDlg.h deleted file mode 100644 index 4ec21654..00000000 --- a/kdejava/koala/kdejava/KOpenWithDlg.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KOpenWithDlg__ -#define __org_kde_koala_KOpenWithDlg__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOpenWithDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KOpenWithDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KOpenWithDlg_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_hideNoCloseOnExit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_hideRunInTerminal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_setSaveNewApplications (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotClear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotSelected (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotHighlighted (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotTextChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotTerminalToggled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotDbClick (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotOK (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_setServiceType (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_init (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KOpenWithDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KOpenWithDlg__ */ diff --git a/kdejava/koala/kdejava/KPalette.cpp b/kdejava/koala/kdejava/KPalette.cpp deleted file mode 100644 index 9c88906b..00000000 --- a/kdejava/koala/kdejava/KPalette.cpp +++ /dev/null @@ -1,217 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpalette.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPalette.h> - -class KPaletteJBridge : public KPalette -{ -public: - KPaletteJBridge(const TQString& arg1) : KPalette(arg1) {}; - KPaletteJBridge() : KPalette() {}; - KPaletteJBridge(const KPalette& arg1) : KPalette(arg1) {}; - ~KPaletteJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject newColor) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->addColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject newColor, jstring newColorName) -{ -static TQString* _qstring_newColorName = 0; - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->addColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, newColorName, &_qstring_newColorName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint index, jobject newColor) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((int) index, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint index, jobject newColor, jstring newColorName) -{ -static TQString* _qstring_newColorName = 0; - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((int) index, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, newColorName, &_qstring_newColorName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject oldColor, jobject newColor) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, oldColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject oldColor, jobject newColor, jstring newColorName) -{ -static TQString* _qstring_newColorName = 0; - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, oldColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, newColorName, &_qstring_newColorName)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_colorName__I(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->colorName((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_colorName__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject color) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->colorName((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPalette_color(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KPalette*) QtSupport::getQt(env, obj))->color((int) index)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_description(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->description(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPalette_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_editable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->editable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPalette*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_findColor(JNIEnv* env, jobject obj, jobject color) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->findColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPalette_getPaletteList(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KPaletteJBridge::getPaletteList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPalette_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_newKPalette__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_newKPalette__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_newKPalette__Lorg_kde_koala_KPalette_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteJBridge((const KPalette&)*(const KPalette*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_nrColors(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->nrColors(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPalette_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPalette*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_setDescription(JNIEnv* env, jobject obj, jstring desc) -{ -static TQString* _qstring_desc = 0; - ((KPalette*) QtSupport::getQt(env, obj))->setDescription((const TQString&)*(TQString*) QtSupport::toTQString(env, desc, &_qstring_desc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_setEditable(JNIEnv* env, jobject obj, jint editable) -{ - ((KPalette*) QtSupport::getQt(env, obj))->setEditable((KPalette::Editable) editable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KPalette*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/KPalette.h b/kdejava/koala/kdejava/KPalette.h deleted file mode 100644 index 02c7b0a0..00000000 --- a/kdejava/koala/kdejava/KPalette.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPalette__ -#define __org_kde_koala_KPalette__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_newKPalette__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_newKPalette__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_newKPalette__Lorg_kde_koala_KPalette_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPalette_save (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_description (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_setDescription (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_editable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_setEditable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_nrColors (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPalette_color (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_findColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_colorName__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_colorName__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPalette_getPaletteList (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPalette_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPalette__ */ diff --git a/kdejava/koala/kdejava/KPaletteTable.cpp b/kdejava/koala/kdejava/KPaletteTable.cpp deleted file mode 100644 index efc3e334..00000000 --- a/kdejava/koala/kdejava/KPaletteTable.cpp +++ /dev/null @@ -1,530 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcolordialog.h> -#include <tqstring.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPaletteTable.h> - -class KPaletteTableJBridge : public KPaletteTable -{ -public: - KPaletteTableJBridge(TQWidget* arg1,int arg2,int arg3) : KPaletteTable(arg1,arg2,arg3) {}; - KPaletteTableJBridge(TQWidget* arg1,int arg2) : KPaletteTable(arg1,arg2) {}; - KPaletteTableJBridge(TQWidget* arg1) : KPaletteTable(arg1) {}; - void protected_readNamedColor() { - KPaletteTable::readNamedColor(); - return; - } - void protected_slotColorCellSelected(int arg1) { - KPaletteTable::slotColorCellSelected(arg1); - return; - } - void protected_slotColorCellDoubleClicked(int arg1) { - KPaletteTable::slotColorCellDoubleClicked(arg1); - return; - } - void protected_slotColorTextSelected(const TQString& arg1) { - KPaletteTable::slotColorTextSelected(arg1); - return; - } - void protected_slotSetPalette(const TQString& arg1) { - KPaletteTable::slotSetPalette(arg1); - return; - } - void protected_slotShowNamedColorReadError() { - KPaletteTable::slotShowNamedColorReadError(); - return; - } - ~KPaletteTableJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","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.KPaletteTable","show")) { - TQWidget::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.KPaletteTable","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","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 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.KPaletteTable","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPaletteTable",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_addToCustomColors(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPaletteTable*) QtSupport::getQt(env, obj))->addToCustomColors((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_addToRecentColors(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPaletteTable*) QtSupport::getQt(env, obj))->addToRecentColors((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPaletteTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPaletteTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPaletteTable_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPaletteTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPaletteTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPaletteTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPaletteTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPaletteTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint minWidth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) minWidth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint minWidth, jint cols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) minWidth, (int) cols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPaletteTable_paletteName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPaletteTable*) QtSupport::getQt(env, obj))->palette(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_readNamedColor(JNIEnv* env, jobject obj) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_readNamedColor(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_setPalette(JNIEnv* env, jobject obj, jstring paletteName) -{ -static TQString* _qstring_paletteName = 0; - ((KPaletteTable*) QtSupport::getQt(env, obj))->setPalette((const TQString&)*(TQString*) QtSupport::toTQString(env, paletteName, &_qstring_paletteName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotColorCellDoubleClicked(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotColorCellDoubleClicked((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotColorCellSelected(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotColorCellSelected((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotColorTextSelected(JNIEnv* env, jobject obj, jstring colorText) -{ -static TQString* _qstring_colorText = 0; - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotColorTextSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, colorText, &_qstring_colorText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotSetPalette(JNIEnv* env, jobject obj, jstring _paletteName) -{ -static TQString* _qstring__paletteName = 0; - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotSetPalette((const TQString&)*(TQString*) QtSupport::toTQString(env, _paletteName, &_qstring__paletteName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotShowNamedColorReadError(JNIEnv* env, jobject obj) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotShowNamedColorReadError(); - return; -} - diff --git a/kdejava/koala/kdejava/KPaletteTable.h b/kdejava/koala/kdejava/KPaletteTable.h deleted file mode 100644 index c6a13416..00000000 --- a/kdejava/koala/kdejava/KPaletteTable.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPaletteTable__ -#define __org_kde_koala_KPaletteTable__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPaletteTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPaletteTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_addToCustomColors (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_addToRecentColors (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPaletteTable_paletteName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_setPalette (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_readNamedColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotColorCellSelected (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotColorCellDoubleClicked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotColorTextSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotSetPalette (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotShowNamedColorReadError (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPaletteTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPaletteTable__ */ diff --git a/kdejava/koala/kdejava/KPanelAppMenu.cpp b/kdejava/koala/kdejava/KPanelAppMenu.cpp deleted file mode 100644 index 3f4f86be..00000000 --- a/kdejava/koala/kdejava/KPanelAppMenu.cpp +++ /dev/null @@ -1,372 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpanelappmenu.h> -#include <tqpixmap.h> -#include <dcopclient.h> -#include <tqstring.h> -#include <dcopobject.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPanelAppMenu.h> - -class KPanelAppMenuJBridge : public KPanelAppMenu -{ -public: - KPanelAppMenuJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : KPanelAppMenu(arg1,arg2,arg3) {}; - KPanelAppMenuJBridge(const TQString& arg1,TQObject* arg2) : KPanelAppMenu(arg1,arg2) {}; - KPanelAppMenuJBridge(const TQString& arg1) : KPanelAppMenu(arg1) {}; - KPanelAppMenuJBridge(const TQPixmap& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : KPanelAppMenu(arg1,arg2,arg3,arg4) {}; - KPanelAppMenuJBridge(TQObject* arg1,const char* arg2) : KPanelAppMenu(arg1,arg2) {}; - void protected_init(const TQPixmap& arg1,const TQString& arg2) { - KPanelAppMenu::init(arg1,arg2); - return; - } - ~KPanelAppMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPanelAppMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelAppMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelAppMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_clear(JNIEnv* env, jobject obj) -{ - ((KPanelAppMenu*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPanelAppMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KPanelAppMenu*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KPanelAppMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPanelAppMenuJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) KPanelAppMenuJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_init(JNIEnv* env, jobject obj, jobject icon, jstring title) -{ -static TQString* _qstring_title = 0; - ((KPanelAppMenuJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertMenu((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.koala.KPanelAppMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertMenu((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id), "org.kde.koala.KPanelAppMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelAppMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring title, jobject parent) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring title, jobject parent, jstring name) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelAppMenu_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelAppMenu_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = KPanelAppMenuJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray reply) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_reply = 0; - jboolean xret = (jboolean) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, reply, &_qbyteArray_reply)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPanelAppMenu.h b/kdejava/koala/kdejava/KPanelAppMenu.h deleted file mode 100644 index 335c39ac..00000000 --- a/kdejava/koala/kdejava/KPanelAppMenu.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelAppMenu__ -#define __org_kde_koala_KPanelAppMenu__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelAppMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_init (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelAppMenu_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelAppMenu_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelAppMenu__ */ diff --git a/kdejava/koala/kdejava/KPanelApplet.cpp b/kdejava/koala/kdejava/KPanelApplet.cpp deleted file mode 100644 index 4846aa11..00000000 --- a/kdejava/koala/kdejava/KPanelApplet.cpp +++ /dev/null @@ -1,732 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpanelapplet.h> -#include <tqstring.h> -#include <tdeconfig.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPanelApplet.h> - -class KPanelAppletJBridge : public KPanelApplet -{ -public: - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3,TQWidget* arg4,const char* arg5,TQt::WFlags arg6) : KPanelApplet(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3,TQWidget* arg4,const char* arg5) : KPanelApplet(arg1,arg2,arg3,arg4,arg5) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3,TQWidget* arg4) : KPanelApplet(arg1,arg2,arg3,arg4) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3) : KPanelApplet(arg1,arg2,arg3) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2) : KPanelApplet(arg1,arg2) {}; - KPanelAppletJBridge(const TQString& arg1) : KPanelApplet(arg1) {}; - void protected_about() { - KPanelApplet::about(); - return; - } - void protected_help() { - KPanelApplet::help(); - return; - } - void protected_preferences() { - KPanelApplet::preferences(); - return; - } - void protected_reportBug() { - KPanelApplet::reportBug(); - return; - } - TQt::Orientation protected_orientation() { - return (TQt::Orientation) KPanelApplet::orientation(); - } - KPanelApplet::Position protected_position() { - return (KPanelApplet::Position) KPanelApplet::position(); - } - KPanelApplet::Alignment protected_alignment() { - return (KPanelApplet::Alignment) KPanelApplet::alignment(); - } - void protected_positionChange(KPanelApplet::Position arg1) { - KPanelApplet::positionChange(arg1); - return; - } - void protected_alignmentChange(KPanelApplet::Alignment arg1) { - KPanelApplet::alignmentChange(arg1); - return; - } - void protected_setCustomMenu(const TQPopupMenu* arg1) { - KPanelApplet::setCustomMenu(arg1); - return; - } - void protected_watchForFocus(TQWidget* arg1,bool arg2) { - KPanelApplet::watchForFocus(arg1,arg2); - return; - } - void protected_watchForFocus(TQWidget* arg1) { - KPanelApplet::watchForFocus(arg1); - return; - } - void protected_needsFocus(bool arg1) { - KPanelApplet::needsFocus(arg1); - return; - } - KPanelApplet::Direction protected_popupDirection() { - return (KPanelApplet::Direction) KPanelApplet::popupDirection(); - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KPanelApplet::eventFilter(arg1,arg2); - } - ~KPanelAppletJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void reportBug() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","reportBug")) { - KPanelApplet::reportBug(); - } - 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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void about() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","about")) { - KPanelApplet::about(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","show")) { - TQWidget::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.KPanelApplet","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void preferences() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","preferences")) { - KPanelApplet::preferences(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","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 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.KPanelApplet","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - 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 frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","help")) { - KPanelApplet::help(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_about(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_about(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_action(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelApplet*) QtSupport::getQt(env, obj))->action((KPanelApplet::Action) a); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_actions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->actions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_alignmentChange(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_alignmentChange((KPanelApplet::Alignment) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_alignment(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelApplet_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelApplet*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelApplet_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelApplet*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelApplet_customMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelApplet*) QtSupport::getQt(env, obj))->customMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPanelApplet_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelApplet_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPanelApplet*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPanelApplet*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_heightForWidth(JNIEnv* env, jobject obj, jint width) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->heightForWidth((int) width); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_help(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_help(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelApplet_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelApplet_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelApplet*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_needsFocus(JNIEnv* env, jobject obj, jboolean focus) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_needsFocus((bool) focus); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring configFile, jint t) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent, jstring name) -{ -static TQString* _qstring_configFile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions, (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_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent, jstring name, jint f) -{ -static TQString* _qstring_configFile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions, (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 jint JNICALL -Java_org_kde_koala_KPanelApplet_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_orientation(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_popupDirection(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_popupDirection(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_positionChange(JNIEnv* env, jobject obj, jint p) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_positionChange((KPanelApplet::Position) p); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_position(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_preferences(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_preferences(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_reportBug(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_reportBug(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_setAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelApplet*) QtSupport::getQt(env, obj))->setAlignment((KPanelApplet::Alignment) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_setCustomMenu(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_setCustomMenu((const TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_setPosition(JNIEnv* env, jobject obj, jint p) -{ - ((KPanelApplet*) QtSupport::getQt(env, obj))->setPosition((KPanelApplet::Position) p); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_watchForFocus((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject widget, jboolean watch) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_watchForFocus((TQWidget*) QtSupport::getQt(env, widget), (bool) watch); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_widthForHeight(JNIEnv* env, jobject obj, jint height) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->widthForHeight((int) height); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPanelApplet.h b/kdejava/koala/kdejava/KPanelApplet.h deleted file mode 100644 index 530fb639..00000000 --- a/kdejava/koala/kdejava/KPanelApplet.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelApplet__ -#define __org_kde_koala_KPanelApplet__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelApplet_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelApplet_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_widthForHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelApplet_config (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_type (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_actions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_action (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelApplet_customMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_about (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_help (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_preferences (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_reportBug (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_position (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_positionChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_alignmentChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_setCustomMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_needsFocus (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_popupDirection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelApplet_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelApplet_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelApplet__ */ diff --git a/kdejava/koala/kdejava/KPanelExtension.cpp b/kdejava/koala/kdejava/KPanelExtension.cpp deleted file mode 100644 index e824de3c..00000000 --- a/kdejava/koala/kdejava/KPanelExtension.cpp +++ /dev/null @@ -1,722 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kpanelextension.h> -#include <tqstring.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPanelExtension.h> - -class KPanelExtensionJBridge : public KPanelExtension -{ -public: - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2,int arg3,TQWidget* arg4,const char* arg5) : KPanelExtension(arg1,arg2,arg3,arg4,arg5) {}; - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2,int arg3,TQWidget* arg4) : KPanelExtension(arg1,arg2,arg3,arg4) {}; - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2,int arg3) : KPanelExtension(arg1,arg2,arg3) {}; - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2) : KPanelExtension(arg1,arg2) {}; - KPanelExtensionJBridge(const TQString& arg1) : KPanelExtension(arg1) {}; - void protected_about() { - KPanelExtension::about(); - return; - } - void protected_help() { - KPanelExtension::help(); - return; - } - void protected_preferences() { - KPanelExtension::preferences(); - return; - } - void protected_reportBug() { - KPanelExtension::reportBug(); - return; - } - KPanelExtension::Position protected_position() { - return (KPanelExtension::Position) KPanelExtension::position(); - } - KPanelExtension::Alignment protected_alignment() { - return (KPanelExtension::Alignment) KPanelExtension::alignment(); - } - TQt::Orientation protected_orientation() { - return (TQt::Orientation) KPanelExtension::orientation(); - } - int protected_sizeInPixels() { - return (int) KPanelExtension::sizeInPixels(); - } - void protected_positionChange(KPanelExtension::Position arg1) { - KPanelExtension::positionChange(arg1); - return; - } - void protected_alignmentChange(KPanelExtension::Alignment arg1) { - KPanelExtension::alignmentChange(arg1); - return; - } - void protected_setCustomMenu(TQPopupMenu* arg1) { - KPanelExtension::setCustomMenu(arg1); - return; - } - void protected_setReserveStrut(bool arg1) { - KPanelExtension::setReserveStrut(arg1); - return; - } - ~KPanelExtensionJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void reportBug() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","reportBug")) { - KPanelExtension::reportBug(); - } - 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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void about() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","about")) { - KPanelExtension::about(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","show")) { - TQWidget::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.KPanelExtension","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void preferences() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","preferences")) { - KPanelExtension::preferences(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","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 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.KPanelExtension","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPanelExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","help")) { - KPanelExtension::help(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_about(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_about(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_action(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->action((KPanelExtension::Action) a); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_actions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->actions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_alignmentChange(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_alignmentChange((KPanelExtension::Alignment) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_alignment(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelExtension*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_customMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelExtension*) QtSupport::getQt(env, obj))->customMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_customSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->customSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPanelExtension_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPanelExtension*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPanelExtension*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_help(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_help(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelExtension_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring configFile, jint t) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t, (int) actions)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t, (int) actions, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent, jstring name) -{ -static TQString* _qstring_configFile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t, (int) actions, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_positionChange(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_positionChange((KPanelExtension::Position) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_position(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_preferedPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->preferedPosition(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_preferences(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_preferences(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_reportBug(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_reportBug(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelExtension_reserveStrut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPanelExtension*) QtSupport::getQt(env, obj))->reserveStrut(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->setAlignment((KPanelExtension::Alignment) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setCustomMenu(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_setCustomMenu((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setPosition(JNIEnv* env, jobject obj, jint p) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->setPosition((KPanelExtension::Position) p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setReserveStrut(JNIEnv* env, jobject obj, jboolean shouldUseStrut) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_setReserveStrut((bool) shouldUseStrut); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setSize(JNIEnv* env, jobject obj, jint size, jint customSize) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->setSize((KPanelExtension::Size) size, (int) customSize); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_sizeHint(JNIEnv* env, jobject obj, jint arg1, jobject maxsize) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KPanelExtension*) QtSupport::getQt(env, obj))->sizeHint((KPanelExtension::Position) arg1, (TQSize)*(TQSize*) QtSupport::getQt(env, maxsize))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_sizeInPixels(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_sizeInPixels(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_sizeSetting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->sizeSetting(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPanelExtension.h b/kdejava/koala/kdejava/KPanelExtension.h deleted file mode 100644 index f9c398bf..00000000 --- a/kdejava/koala/kdejava/KPanelExtension.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelExtension__ -#define __org_kde_koala_KPanelExtension__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_sizeHint (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_config (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_type (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_actions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_action (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_preferedPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_sizeSetting (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_customSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_customMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelExtension_reserveStrut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_about (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_help (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_preferences (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_reportBug (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_position (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_alignment (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_sizeInPixels (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_positionChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_alignmentChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setCustomMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setReserveStrut (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelExtension_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelExtension__ */ diff --git a/kdejava/koala/kdejava/KPanelMenu.cpp b/kdejava/koala/kdejava/KPanelMenu.cpp deleted file mode 100644 index cc2e2958..00000000 --- a/kdejava/koala/kdejava/KPanelMenu.cpp +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpanelmenu.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPanelMenu.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_deinitialize(JNIEnv* env, jobject obj) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->deinitialize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_disableAutoClear(JNIEnv* env, jobject obj) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->disableAutoClear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelMenu_initialized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPanelMenu*) QtSupport::getQt(env, obj))->initialized(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelMenu_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPanelMenu*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_reinitialize(JNIEnv* env, jobject obj) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->reinitialize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_setInitialized(JNIEnv* env, jobject obj, jboolean on) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->setInitialized((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_setPath(JNIEnv* env, jobject obj, jstring p) -{ -static TQString* _qstring_p = 0; - ((KPanelMenu*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p)); - return; -} - diff --git a/kdejava/koala/kdejava/KPanelMenu.h b/kdejava/koala/kdejava/KPanelMenu.h deleted file mode 100644 index 71f11c24..00000000 --- a/kdejava/koala/kdejava/KPanelMenu.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelMenu__ -#define __org_kde_koala_KPanelMenu__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelMenu_path (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_setPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelMenu_initialized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_setInitialized (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_disableAutoClear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_reinitialize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_deinitialize (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelMenu__ */ diff --git a/kdejava/koala/kdejava/KPassivePopup.cpp b/kdejava/koala/kdejava/KPassivePopup.cpp deleted file mode 100644 index e817e89a..00000000 --- a/kdejava/koala/kdejava/KPassivePopup.cpp +++ /dev/null @@ -1,971 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <kpassivepopup.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPassivePopup.h> - -class KPassivePopupJBridge : public KPassivePopup -{ -public: - KPassivePopupJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(TQWidget* arg1,const char* arg2) : KPassivePopup(arg1,arg2) {}; - KPassivePopupJBridge(TQWidget* arg1) : KPassivePopup(arg1) {}; - KPassivePopupJBridge() : KPassivePopup() {}; - KPassivePopupJBridge(WId arg1,const char* arg2,TQt::WFlags arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(WId arg1,const char* arg2) : KPassivePopup(arg1,arg2) {}; - KPassivePopupJBridge(WId arg1) : KPassivePopup(arg1) {}; - KPassivePopupJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KPassivePopup(arg1,arg2,arg3,arg4) {}; - KPassivePopupJBridge(int arg1,TQWidget* arg2,const char* arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(int arg1,TQWidget* arg2) : KPassivePopup(arg1,arg2) {}; - KPassivePopupJBridge(int arg1) : KPassivePopup(arg1) {}; - KPassivePopupJBridge(int arg1,WId arg2,const char* arg3,TQt::WFlags arg4) : KPassivePopup(arg1,arg2,arg3,arg4) {}; - KPassivePopupJBridge(int arg1,WId arg2,const char* arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(int arg1,WId arg2) : KPassivePopup(arg1,arg2) {}; - void public_show() { - KPassivePopup::show(); - return; - } - void protected_positionSelf() { - KPassivePopup::positionSelf(); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KPassivePopup::hideEvent(arg1); - return; - } - void protected_moveNear(TQRect arg1) { - KPassivePopup::moveNear(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KPassivePopup::mouseReleaseEvent(arg1); - return; - } - TQRect protected_defaultArea() { - return (TQRect) KPassivePopup::defaultArea(); - } - void protected_updateMask() { - KPassivePopup::updateMask(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KPassivePopup::paintEvent(arg1); - return; - } - ~KPassivePopupJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void positionSelf() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","positionSelf")) { - KPassivePopup::positionSelf(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KPassivePopup::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KPassivePopup::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - KPassivePopup::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","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 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.KPassivePopup","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPassivePopup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPassivePopup_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPassivePopup*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPassivePopup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPassivePopup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_defaultArea(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_defaultArea()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPassivePopup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPassivePopup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPassivePopup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPassivePopup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jlong parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jlong parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jlong parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jobject parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint popupStyle, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jlong parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jlong parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jlong parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jobject parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_moveNear(JNIEnv* env, jobject obj, jobject target) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_moveNear((TQRect)*(TQRect*) QtSupport::getQt(env, target)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__I(JNIEnv* env, jobject obj, jint popupStyle) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJ(JNIEnv* env, jobject obj, jint popupStyle, jlong parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (WId) parent)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2(JNIEnv* env, jobject obj, jint popupStyle, jlong parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (WId) 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_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2I(JNIEnv* env, jobject obj, jint popupStyle, jlong parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (WId) 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_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint popupStyle, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint popupStyle, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (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_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint popupStyle, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (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_KPassivePopup_newKPassivePopup__J(JNIEnv* env, jobject obj, jlong parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((WId) parent)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__JLjava_lang_String_2(JNIEnv* env, jobject obj, jlong parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((WId) 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_KPassivePopup_newKPassivePopup__JLjava_lang_String_2I(JNIEnv* env, jobject obj, jlong parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((WId) 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_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__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 KPassivePopupJBridge((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_KPassivePopup_newKPassivePopup__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 KPassivePopupJBridge((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_KPassivePopup_paintEvent(JNIEnv* env, jobject obj, jobject pe) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, pe)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_positionSelf(JNIEnv* env, jobject obj) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_positionSelf(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setAnchor(JNIEnv* env, jobject obj, jobject anchor) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setAnchor((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, anchor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setAutoDelete(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setAutoDelete((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setTimeout(JNIEnv* env, jobject obj, jint delay) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setTimeout((int) delay); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jstring text) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jobject icon) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_show__(JNIEnv* env, jobject obj) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_show__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->show((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jobject icon) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->standardView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jobject icon, jobject parent) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->standardView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPassivePopup_timeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPassivePopup*) QtSupport::getQt(env, obj))->timeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_updateMask(JNIEnv* env, jobject obj) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->view(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPassivePopup.h b/kdejava/koala/kdejava/KPassivePopup.h deleted file mode 100644 index 7634fe05..00000000 --- a/kdejava/koala/kdejava/KPassivePopup.h +++ /dev/null @@ -1,78 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPassivePopup__ -#define __org_kde_koala_KPassivePopup__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPassivePopup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__JLjava_lang_String_2I (JNIEnv *env, jobject, jlong, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__JLjava_lang_String_2 (JNIEnv *env, jobject, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2I (JNIEnv *env, jobject, jint, jlong, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2 (JNIEnv *env, jobject, jint, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJ (JNIEnv *env, jobject, jint, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_view (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPassivePopup_timeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPassivePopup_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setAnchor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setTimeout (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_show__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_show__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jobject, jlong, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J (JNIEnv *env, jclass, jstring, jstring, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jlong, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_positionSelf (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_moveNear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_defaultArea (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPassivePopup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPassivePopup__ */ diff --git a/kdejava/koala/kdejava/KPasswordDialog.cpp b/kdejava/koala/kdejava/KPasswordDialog.cpp deleted file mode 100644 index bbc33315..00000000 --- a/kdejava/koala/kdejava/KPasswordDialog.cpp +++ /dev/null @@ -1,737 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpassdlg.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPasswordDialog.h> - -class KPasswordDialogJBridge : public KPasswordDialog -{ -public: - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,TQWidget* arg4,const char* arg5) : KPasswordDialog(arg1,arg2,arg3,arg4,arg5) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,TQWidget* arg4) : KPasswordDialog(arg1,arg2,arg3,arg4) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3) : KPasswordDialog(arg1,arg2,arg3) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,const TQString& arg4,TQWidget* arg5,const char* arg6) : KPasswordDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,const TQString& arg4,TQWidget* arg5) : KPasswordDialog(arg1,arg2,arg3,arg4,arg5) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,const TQString& arg4) : KPasswordDialog(arg1,arg2,arg3,arg4) {}; - bool protected_checkPassword(const char* arg1) { - return (bool) KPasswordDialog::checkPassword(arg1); - } - void protected_slotOk() { - KPasswordDialog::slotOk(); - return; - } - void protected_slotCancel() { - KPasswordDialog::slotCancel(); - return; - } - void protected_slotKeep(bool arg1) { - KPasswordDialog::slotKeep(arg1); - return; - } - ~KPasswordDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotClose")) { - KDialogBase::slotClose(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","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 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.KPasswordDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_addLine(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((KPasswordDialog*) QtSupport::getQt(env, obj))->addLine((TQString)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (TQString)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_allowEmptyPasswords(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPasswordDialog*) QtSupport::getQt(env, obj))->allowEmptyPasswords(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_checkPassword(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_checkPassword((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_clearPassword(JNIEnv* env, jobject obj) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->clearPassword(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_disableCoreDumps(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KPasswordDialogJBridge::disableCoreDumps(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPasswordDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPasswordDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPasswordDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_getNewPassword(JNIEnv* env, jclass cls, jobject password, jstring prompt) -{ - (void) cls; -static TQCString* _qcstring_password = 0; - if (_qcstring_password == 0) { - _qcstring_password = new TQCString(); - } -static TQString* _qstring_prompt = 0; - jint xret = (jint) KPasswordDialogJBridge::getNewPassword((TQCString&)*(TQCString*) _qcstring_password, (TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_password, password); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject password, jstring prompt) -{ - (void) cls; -static TQCString* _qcstring_password = 0; - if (_qcstring_password == 0) { - _qcstring_password = new TQCString(); - } -static TQString* _qstring_prompt = 0; - jint xret = (jint) KPasswordDialogJBridge::getPassword((TQCString&)*(TQCString*) _qcstring_password, (TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_password, password); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2_3I(JNIEnv* env, jclass cls, jobject password, jstring prompt, jintArray keep) -{ - (void) cls; -static TQCString* _qcstring_password = 0; - if (_qcstring_password == 0) { - _qcstring_password = new TQCString(); - } -static TQString* _qstring_prompt = 0; - int* _int_keep = QtSupport::toIntPtr(env, keep); - jint xret = (jint) KPasswordDialogJBridge::getPassword((TQCString&)*(TQCString*) _qcstring_password, (TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (int*) _int_keep); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_password, password); - env->SetIntArrayRegion(keep, 0, 1, (jint *) _int_keep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_keep(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPasswordDialog*) QtSupport::getQt(env, obj))->keep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_maximumPasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->maximumPasswordLength(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPasswordDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPasswordDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_minimumPasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->minimumPasswordLength(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZI(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jstring iconName) -{ -static TQString* _qstring_iconName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jstring iconName, jobject parent) -{ -static TQString* _qstring_iconName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jstring iconName, jobject parent, jstring name) -{ -static TQString* _qstring_iconName = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (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_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_passwordStrengthWarningLevel(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->passwordStrengthWarningLevel(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordDialog_password(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordDialog*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordDialog_prompt(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPasswordDialog*) QtSupport::getQt(env, obj))->prompt(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_reasonablePasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->reasonablePasswordLength(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setAllowEmptyPasswords(JNIEnv* env, jobject obj, jboolean allowed) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setAllowEmptyPasswords((bool) allowed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setMaximumPasswordLength(JNIEnv* env, jobject obj, jint maxLength) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setMaximumPasswordLength((int) maxLength); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setMinimumPasswordLength(JNIEnv* env, jobject obj, jint minLength) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setMinimumPasswordLength((int) minLength); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setPasswordStrengthWarningLevel(JNIEnv* env, jobject obj, jint warningLevel) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setPasswordStrengthWarningLevel((int) warningLevel); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setPrompt(JNIEnv* env, jobject obj, jstring prompt) -{ -static TQString* _qstring_prompt = 0; - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setPrompt((TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setReasonablePasswordLength(JNIEnv* env, jobject obj, jint reasonableLength) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setReasonablePasswordLength((int) reasonableLength); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_slotCancel(JNIEnv* env, jobject obj) -{ - ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_slotKeep(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotKeep((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - diff --git a/kdejava/koala/kdejava/KPasswordDialog.h b/kdejava/koala/kdejava/KPasswordDialog.h deleted file mode 100644 index 3438cdb3..00000000 --- a/kdejava/koala/kdejava/KPasswordDialog.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPasswordDialog__ -#define __org_kde_koala_KPasswordDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPasswordDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jboolean, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZI (JNIEnv *env, jobject, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jboolean, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setPrompt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordDialog_prompt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_addLine (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setAllowEmptyPasswords (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_allowEmptyPasswords (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setMinimumPasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_minimumPasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setMaximumPasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_maximumPasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setReasonablePasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_reasonablePasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setPasswordStrengthWarningLevel (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_passwordStrengthWarningLevel (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordDialog_password (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_clearPassword (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_keep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2_3I (JNIEnv *env, jclass, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_getNewPassword (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_disableCoreDumps (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_checkPassword (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_slotKeep (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPasswordDialog__ */ diff --git a/kdejava/koala/kdejava/KPasswordEdit.cpp b/kdejava/koala/kdejava/KPasswordEdit.cpp deleted file mode 100644 index 07412f19..00000000 --- a/kdejava/koala/kdejava/KPasswordEdit.cpp +++ /dev/null @@ -1,598 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpassdlg.h> -#include <tqstring.h> -#include <tqlineedit.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPasswordEdit.h> - -class KPasswordEditJBridge : public KPasswordEdit -{ -public: - KPasswordEditJBridge(TQWidget* arg1,const char* arg2) : KPasswordEdit(arg1,arg2) {}; - KPasswordEditJBridge(TQWidget* arg1) : KPasswordEdit(arg1) {}; - KPasswordEditJBridge() : KPasswordEdit() {}; - KPasswordEditJBridge(TQLineEdit::EchoMode arg1,TQWidget* arg2,const char* arg3) : KPasswordEdit(arg1,arg2,arg3) {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KPasswordEdit::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KPasswordEdit::focusInEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) KPasswordEdit::event(arg1); - } - ~KPasswordEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLineEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(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 deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","deselect")) { - TQLineEdit::deselect(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","clear")) { - TQLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","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")) { - KPasswordEdit::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","copy")) { - TQLineEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","clearValidator")) { - TQLineEdit::clearValidator(); - } - 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")) { - TQLineEdit::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQLineEdit::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::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.KPasswordEdit","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")) { - TQLineEdit::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")) { - KPasswordEdit::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQLineEdit::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPasswordEdit",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","redo")) { - TQLineEdit::redo(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPasswordEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_erase(JNIEnv* env, jobject obj) -{ - ((KPasswordEdit*) QtSupport::getQt(env, obj))->erase(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordEdit_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KPasswordEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPasswordEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPasswordEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KPasswordEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_insert(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KPasswordEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPasswordEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordEdit_maxPasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordEdit*) QtSupport::getQt(env, obj))->maxPasswordLength(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPasswordEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPasswordEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint echoMode, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordEditJBridge((TQLineEdit::EchoMode) echoMode, (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_KPasswordEdit_newKPasswordEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__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 KPasswordEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordEdit_password(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordEdit*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_setMaxPasswordLength(JNIEnv* env, jobject obj, jint newLength) -{ - ((KPasswordEdit*) QtSupport::getQt(env, obj))->setMaxPasswordLength((int) newLength); - return; -} - diff --git a/kdejava/koala/kdejava/KPasswordEdit.h b/kdejava/koala/kdejava/KPasswordEdit.h deleted file mode 100644 index 531963a1..00000000 --- a/kdejava/koala/kdejava/KPasswordEdit.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPasswordEdit__ -#define __org_kde_koala_KPasswordEdit__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPasswordEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordEdit_password (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_erase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_setMaxPasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordEdit_maxPasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_insert (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordEdit_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPasswordEdit__ */ diff --git a/kdejava/koala/kdejava/KPixmap.cpp b/kdejava/koala/kdejava/KPixmap.cpp deleted file mode 100644 index 2270759f..00000000 --- a/kdejava/koala/kdejava/KPixmap.cpp +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpixmap.h> -#include <tqpixmap.h> -#include <tqimage.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPixmap.h> - -class KPixmapJBridge : public KPixmap -{ -public: - KPixmapJBridge() : KPixmap() {}; - KPixmapJBridge(const TQPixmap& arg1) : KPixmap(arg1) {}; - ~KPixmapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_checkColorTable(JNIEnv* env, jobject obj, jobject image) -{ - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->checkColorTable((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject img) -{ - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, img)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject img, jint conversion_flags) -{ - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, img), (int) conversion_flags); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint conversion_flags) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) conversion_flags); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_newKPixmap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_newKPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pix) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KPixmap.h b/kdejava/koala/kdejava/KPixmap.h deleted file mode 100644 index 0d27a015..00000000 --- a/kdejava/koala/kdejava/KPixmap.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmap__ -#define __org_kde_koala_KPixmap__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_newKPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_newKPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_checkColorTable (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmap__ */ diff --git a/kdejava/koala/kdejava/KPixmapEffect.cpp b/kdejava/koala/kdejava/KPixmapEffect.cpp deleted file mode 100644 index 717633b2..00000000 --- a/kdejava/koala/kdejava/KPixmapEffect.cpp +++ /dev/null @@ -1,258 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kpixmap.h> -#include <kpixmapeffect.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPixmapEffect.h> - -class KPixmapEffectJBridge : public KPixmapEffect -{ -public: - KPixmapEffectJBridge() : KPixmapEffect() {}; - ~KPixmapEffectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZ(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZI(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_channelIntensity(JNIEnv* env, jclass cls, jobject pixmap, jfloat ratio, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::channelIntensity((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) ratio, (KPixmapEffect::RGBComponent) channel), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_contrast(JNIEnv* env, jclass cls, jobject pixmap, jint c) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::contrast((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (int) c), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_createTiled(JNIEnv* env, jclass cls, jobject pixmap, jobject size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::createTiled((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (TQSize)*(TQSize*) QtSupport::getQt(env, size))), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::desaturate((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2F(JNIEnv* env, jclass cls, jobject pixmap, jfloat desat) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::desaturate((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) desat), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapEffect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmapEffect_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_dither(JNIEnv* env, jclass cls, jobject pixmap, jobject palette, jint size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::dither((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor*) QtSupport::getQt(env, palette), (int) size), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_fade(JNIEnv* env, jclass cls, jobject pixmap, jdouble val, jobject color) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::fade((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (double) val, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapEffect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmapEffect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::gradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::gradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2I(JNIEnv* env, jclass cls, jobject pixmap, jint lite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2II(JNIEnv* env, jclass cls, jobject pixmap, jint lite, jint spacing) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite, (unsigned int) spacing), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2III(JNIEnv* env, jclass cls, jobject pixmap, jint lite, jint spacing, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite, (unsigned int) spacing, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_intensity(JNIEnv* env, jclass cls, jobject pixmap, jfloat ratio) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::intensity((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) ratio), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmapEffect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapEffect_newKPixmapEffect(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapEffectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject pixmap, jobject size, jobject ca, jobject cb) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::pattern((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (TQSize)*(TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb))), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject size, jobject ca, jobject cb, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::pattern((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (TQSize)*(TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (int) ncols)), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_selectedPixmap(JNIEnv* env, jclass cls, jobject pixmap, jobject col) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::selectedPixmap((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::toGray((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2Z(JNIEnv* env, jclass cls, jobject pixmap, jboolean fast) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::toGray((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (bool) fast), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPixmapEffect.h b/kdejava/koala/kdejava/KPixmapEffect.h deleted file mode 100644 index 1d726926..00000000 --- a/kdejava/koala/kdejava/KPixmapEffect.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapEffect__ -#define __org_kde_koala_KPixmapEffect__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapEffect_newKPixmapEffect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_createTiled (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_intensity (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_channelIntensity (JNIEnv *env, jclass, jobject, jfloat, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZI (JNIEnv *env, jclass, jobject, jfloat, jobject, jint, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZ (JNIEnv *env, jclass, jobject, jfloat, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jfloat, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2III (JNIEnv *env, jclass, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_fade (JNIEnv *env, jclass, jobject, jdouble, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2F (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_contrast (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_dither (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_selectedPixmap (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapEffect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapEffect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmapEffect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapEffect__ */ diff --git a/kdejava/koala/kdejava/KPixmapIO.cpp b/kdejava/koala/kdejava/KPixmapIO.cpp deleted file mode 100644 index c0f46baf..00000000 --- a/kdejava/koala/kdejava/KPixmapIO.cpp +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tqpixmap.h> -#include <tqimage.h> -#include <kpixmapio.h> -#include <tqpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPixmapIO.h> - -class KPixmapIOJBridge : public KPixmapIO -{ -public: - KPixmapIOJBridge() : KPixmapIO() {}; - ~KPixmapIOJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_convertToImage(JNIEnv* env, jobject obj, jobject pixmap) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KPixmapIO*) QtSupport::getQt(env, obj))->convertToImage((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_convertToPixmap(JNIEnv* env, jobject obj, jobject image) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapIO*) QtSupport::getQt(env, obj))->convertToPixmap((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmapIO_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmapIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jobject src, jint sx, jint sy, jint sw, jint sh) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KPixmapIO*) QtSupport::getQt(env, obj))->getImage((const TQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject src, jobject rect) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KPixmapIO*) QtSupport::getQt(env, obj))->getImage((const TQPixmap*) QtSupport::getQt(env, src), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmapIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_newKPixmapIO(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_preAllocShm(JNIEnv* env, jobject obj, jint size) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->preAllocShm((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject dst, jint dx, jint dy, jobject src) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->putImage((TQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject dst, jobject offset, jobject src) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->putImage((TQPixmap*) QtSupport::getQt(env, dst), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, offset), (const TQImage*) QtSupport::getQt(env, src)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_setShmPolicy(JNIEnv* env, jobject obj, jint policy) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->setShmPolicy((int) policy); - return; -} - diff --git a/kdejava/koala/kdejava/KPixmapIO.h b/kdejava/koala/kdejava/KPixmapIO.h deleted file mode 100644 index 7987e01e..00000000 --- a/kdejava/koala/kdejava/KPixmapIO.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapIO__ -#define __org_kde_koala_KPixmapIO__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_newKPixmapIO (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_convertToPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_convertToImage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_setShmPolicy (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_preAllocShm (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmapIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapIO__ */ diff --git a/kdejava/koala/kdejava/KPixmapProvider.cpp b/kdejava/koala/kdejava/KPixmapProvider.cpp deleted file mode 100644 index d692c39b..00000000 --- a/kdejava/koala/kdejava/KPixmapProvider.cpp +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <kpixmapprovider.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPixmapProvider.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint size) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPixmapProvider.h b/kdejava/koala/kdejava/KPixmapProvider.h deleted file mode 100644 index fb4728c9..00000000 --- a/kdejava/koala/kdejava/KPixmapProvider.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapProvider__ -#define __org_kde_koala_KPixmapProvider__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapProvider__ */ diff --git a/kdejava/koala/kdejava/KPixmapSplitter.cpp b/kdejava/koala/kdejava/KPixmapSplitter.cpp deleted file mode 100644 index aa38a3fb..00000000 --- a/kdejava/koala/kdejava/KPixmapSplitter.cpp +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqrect.h> -#include <kpixmapsplitter.h> -#include <tqpixmap.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPixmapSplitter.h> - -class KPixmapSplitterJBridge : public KPixmapSplitter -{ -public: - KPixmapSplitterJBridge() : KPixmapSplitter() {}; - ~KPixmapSplitterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_coordinates__C(JNIEnv* env, jobject obj, jchar ch) -{ -static TQChar* _qchar_ch = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KPixmapSplitter*) QtSupport::getQt(env, obj))->coordinates((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, ch, &_qchar_ch))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_coordinates__I(JNIEnv* env, jobject obj, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KPixmapSplitter*) QtSupport::getQt(env, obj))->coordinates((int) pos)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmapSplitter_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmapSplitter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmapSplitter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_itemSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KPixmapSplitter*) QtSupport::getQt(env, obj))->itemSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_newKPixmapSplitter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapSplitterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KPixmapSplitter*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setHSpacing(JNIEnv* env, jobject obj, jint spacing) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setHSpacing((int) spacing); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setItemSize(JNIEnv* env, jobject obj, jobject size) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setItemSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setPixmap(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setVSpacing(JNIEnv* env, jobject obj, jint spacing) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setVSpacing((int) spacing); - return; -} - diff --git a/kdejava/koala/kdejava/KPixmapSplitter.h b/kdejava/koala/kdejava/KPixmapSplitter.h deleted file mode 100644 index 689c4975..00000000 --- a/kdejava/koala/kdejava/KPixmapSplitter.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapSplitter__ -#define __org_kde_koala_KPixmapSplitter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_newKPixmapSplitter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setItemSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_itemSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setVSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setHSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_coordinates__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_coordinates__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmapSplitter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapSplitter__ */ diff --git a/kdejava/koala/kdejava/KPluginSelector.cpp b/kdejava/koala/kdejava/KPluginSelector.cpp deleted file mode 100644 index 483e5d28..00000000 --- a/kdejava/koala/kdejava/KPluginSelector.cpp +++ /dev/null @@ -1,520 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpluginselector.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPluginSelector.h> - -class KPluginSelectorJBridge : public KPluginSelector -{ -public: - KPluginSelectorJBridge(TQWidget* arg1,const char* arg2) : KPluginSelector(arg1,arg2) {}; - KPluginSelectorJBridge(TQWidget* arg1) : KPluginSelector(arg1) {}; - ~KPluginSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","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.KPluginSelector","show")) { - TQWidget::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.KPluginSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","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 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.KPluginSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPluginSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName) -{ -static TQString* _qstring_instanceName = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName, jstring catname) -{ -static TQString* _qstring_instanceName = 0; -static TQString* _qstring_catname = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName, jstring catname, jstring category) -{ -static TQString* _qstring_instanceName = 0; -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jstring instanceName, jstring catname, jstring category, jobject config) -{ -static TQString* _qstring_instanceName = 0; -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category), (TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject instance, jstring catname) -{ -static TQString* _qstring_catname = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject instance, jstring catname, jstring category) -{ -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject instance, jstring catname, jstring category, jobject config) -{ -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category), (TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPluginSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPluginSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_defaults(JNIEnv* env, jobject obj) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->defaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPluginSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPluginSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPluginSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPluginSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_load(JNIEnv* env, jobject obj) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->load(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPluginSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPluginSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_newKPluginSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPluginSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_newKPluginSelector__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 KPluginSelectorJBridge((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_KPluginSelector_save(JNIEnv* env, jobject obj) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_setShowEmptyConfigPage(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->setShowEmptyConfigPage((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KPluginSelector.h b/kdejava/koala/kdejava/KPluginSelector.h deleted file mode 100644 index 3f063a7a..00000000 --- a/kdejava/koala/kdejava/KPluginSelector.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPluginSelector__ -#define __org_kde_koala_KPluginSelector__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPluginSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPluginSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_newKPluginSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_newKPluginSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_setShowEmptyConfigPage (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_load (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_defaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPluginSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPluginSelector__ */ diff --git a/kdejava/koala/kdejava/KPreviewWidgetBase.cpp b/kdejava/koala/kdejava/KPreviewWidgetBase.cpp deleted file mode 100644 index fffbb2d6..00000000 --- a/kdejava/koala/kdejava/KPreviewWidgetBase.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kpreviewwidgetbase.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPreviewWidgetBase.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPreviewWidgetBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPreviewWidgetBase_clearPreview(JNIEnv* env, jobject obj) -{ - ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->clearPreview(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPreviewWidgetBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPreviewWidgetBase_showPreview(JNIEnv* env, jobject obj, jobject url) -{ - ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->showPreview((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPreviewWidgetBase_supportedMimeTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->supportedMimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KPreviewWidgetBase.h b/kdejava/koala/kdejava/KPreviewWidgetBase.h deleted file mode 100644 index 6da1001f..00000000 --- a/kdejava/koala/kdejava/KPreviewWidgetBase.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPreviewWidgetBase__ -#define __org_kde_koala_KPreviewWidgetBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPreviewWidgetBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPreviewWidgetBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPreviewWidgetBase_showPreview (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPreviewWidgetBase_clearPreview (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPreviewWidgetBase_supportedMimeTypes (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPreviewWidgetBase__ */ diff --git a/kdejava/koala/kdejava/KPrintAction.cpp b/kdejava/koala/kdejava/KPrintAction.cpp deleted file mode 100644 index 3dd1fd61..00000000 --- a/kdejava/koala/kdejava/KPrintAction.cpp +++ /dev/null @@ -1,455 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kprintaction.h> -#include <tqiconset.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPrintAction.h> - -class KPrintActionJBridge : public KPrintAction -{ -public: - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3,TQObject* arg4,const char* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3,TQObject* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3) : KPrintAction(arg1,arg2,arg3) {}; - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2) : KPrintAction(arg1,arg2) {}; - KPrintActionJBridge(const TQString& arg1) : KPrintAction(arg1) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5,const char* arg6) : KPrintAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3) : KPrintAction(arg1,arg2,arg3) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KPrintAction(arg1,arg2) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5,const char* arg6) : KPrintAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3) : KPrintAction(arg1,arg2,arg3) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2) : KPrintAction(arg1,arg2) {}; - void protected_initialize(KPrintAction::PrinterType arg1,TQWidget* arg2) { - KPrintAction::initialize(arg1,arg2); - return; - } - void protected_slotAboutToShow() { - KPrintAction::slotAboutToShow(); - return; - } - void protected_slotActivated(int arg1) { - KPrintAction::slotActivated(arg1); - return; - } - ~KPrintActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void remove(TDEAction* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.TDEAction")) { - TDEActionMenu::remove(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPrintAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPrintAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPrintAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPrintAction_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll(), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular(), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial(), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KPrintAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KPrintAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_initialize(JNIEnv* env, jobject obj, jint type, jobject parentWidget) -{ - ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_initialize((KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPrintAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPrintAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint type) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2I(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_slotAboutToShow(JNIEnv* env, jobject obj) -{ - ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_slotAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_slotActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KPrintAction.h b/kdejava/koala/kdejava/KPrintAction.h deleted file mode 100644 index 6edc61f2..00000000 --- a/kdejava/koala/kdejava/KPrintAction.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPrintAction__ -#define __org_kde_koala_KPrintAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPrintAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jint, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_initialize (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_slotAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_slotActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPrintAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPrintAction__ */ diff --git a/kdejava/koala/kdejava/KProcIO.cpp b/kdejava/koala/kdejava/KProcIO.cpp deleted file mode 100644 index 263d4de8..00000000 --- a/kdejava/koala/kdejava/KProcIO.cpp +++ /dev/null @@ -1,262 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kprocess.h> -#include <tqstring.h> -#include <kprocio.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KProcIO.h> - -class KProcIOJBridge : public KProcIO -{ -public: - KProcIOJBridge(TQTextCodec* arg1) : KProcIO(arg1) {}; - KProcIOJBridge() : KProcIO() {}; - void protected_controlledEmission() { - KProcIO::controlledEmission(); - return; - } - void protected_received(TDEProcess* arg1,char* arg2,int arg3) { - KProcIO::received(arg1,arg2,arg3); - return; - } - void protected_sent(TDEProcess* arg1) { - KProcIO::sent(arg1); - return; - } - ~KProcIOJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void commClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProcIO","commClose")) { - TDEProcess::commClose(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProcIO",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_ackRead(JNIEnv* env, jobject obj) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->ackRead(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProcIO_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KProcIO*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_closeWhenDone(JNIEnv* env, jobject obj) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->closeWhenDone(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_controlledEmission(JNIEnv* env, jobject obj) -{ - ((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_controlledEmission(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProcIO_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_enableReadSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->enableReadSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KProcIO*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KProcIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProcIO_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcIO*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_newKProcIO__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProcIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_newKProcIO__Lorg_kde_qt_QTextCodec_2(JNIEnv* env, jobject obj, jobject codec) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProcIOJBridge((TQTextCodec*) QtSupport::getQt(env, codec))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject line) -{ -static TQString* _qstring_line = 0; - jint xret = (jint) ((KProcIO*) QtSupport::getQt(env, obj))->readln((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, line, &_qstring_line)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_line, line); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z(JNIEnv* env, jobject obj, jobject line, jboolean autoAck) -{ -static TQString* _qstring_line = 0; - jint xret = (jint) ((KProcIO*) QtSupport::getQt(env, obj))->readln((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, line, &_qstring_line), (bool) autoAck); - QtSupport::fromTQStringToStringBuffer(env, _qstring_line, line); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z_3Z(JNIEnv* env, jobject obj, jobject line, jboolean autoAck, jbooleanArray partial) -{ -static TQString* _qstring_line = 0; - bool* _bool_partial = QtSupport::toBooleanPtr(env, partial); - jint xret = (jint) ((KProcIO*) QtSupport::getQt(env, obj))->readln((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, line, &_qstring_line), (bool) autoAck, (bool*) _bool_partial); - QtSupport::fromTQStringToStringBuffer(env, _qstring_line, line); - env->SetBooleanArrayRegion(partial, 0, 1, (jboolean*) _bool_partial); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_received(JNIEnv* env, jobject obj, jobject proc, jstring buffer, jint buflen) -{ -static TQCString* _qstring_buffer = 0; - ((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_received((TDEProcess*) QtSupport::getQt(env, proc), (char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_resetAll(JNIEnv* env, jobject obj) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->resetAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_sent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_sent((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_setComm(JNIEnv* env, jobject obj, jint comm) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->setComm((TDEProcess::Communication) comm); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_start__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_start__I(JNIEnv* env, jobject obj, jint runmode) -{ - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_start__IZ(JNIEnv* env, jobject obj, jint runmode, jboolean includeStderr) -{ - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (bool) includeStderr); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring line) -{ -static TQString* _qstring_line = 0; - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->writeStdin((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring line, jboolean appendnewline) -{ -static TQString* _qstring_line = 0; - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->writeStdin((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line), (bool) appendnewline); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_writeStdin___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->writeStdin((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProcIO.h b/kdejava/koala/kdejava/KProcIO.h deleted file mode 100644 index b2728ac4..00000000 --- a/kdejava/koala/kdejava/KProcIO.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProcIO__ -#define __org_kde_koala_KProcIO__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcIO_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProcIO_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_newKProcIO__Lorg_kde_qt_QTextCodec_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_newKProcIO__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_setComm (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_start__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_start__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_start__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_writeStdin___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_closeWhenDone (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z_3Z (JNIEnv *env, jobject, jobject, jboolean, jbooleanArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_resetAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_ackRead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_enableReadSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_controlledEmission (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_received (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_sent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProcIO__ */ diff --git a/kdejava/koala/kdejava/KProgress.cpp b/kdejava/koala/kdejava/KProgress.cpp deleted file mode 100644 index fe2afeea..00000000 --- a/kdejava/koala/kdejava/KProgress.cpp +++ /dev/null @@ -1,560 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kprogress.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KProgress.h> - -class KProgressJBridge : public KProgress -{ -public: - KProgressJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KProgress(arg1,arg2,arg3) {}; - KProgressJBridge(TQWidget* arg1,const char* arg2) : KProgress(arg1,arg2) {}; - KProgressJBridge(TQWidget* arg1) : KProgress(arg1) {}; - KProgressJBridge() : KProgress() {}; - KProgressJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KProgress(arg1,arg2,arg3,arg4) {}; - KProgressJBridge(int arg1,TQWidget* arg2,const char* arg3) : KProgress(arg1,arg2,arg3) {}; - KProgressJBridge(int arg1,TQWidget* arg2) : KProgress(arg1,arg2) {}; - KProgressJBridge(int arg1) : KProgress(arg1) {}; - bool protected_setIndicator(TQString& arg1,int arg2,int arg3) { - return (bool) KProgress::setIndicator(arg1,arg2,arg3); - } - ~KProgressJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","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 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.KProgress","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProgress",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_advance(JNIEnv* env, jobject obj, jint offset) -{ - ((KProgress*) QtSupport::getQt(env, obj))->advance((int) offset); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgress_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KProgress*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProgress_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KProgress*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KProgress*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgress_format(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProgress*) QtSupport::getQt(env, obj))->format(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgress_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProgress_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProgress*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__I(JNIEnv* env, jobject obj, jint totalSteps) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps, (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_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint totalSteps, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps, (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_KProgress_newKProgress__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__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 KProgressJBridge((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_KProgress_newKProgress__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 KProgressJBridge((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_KProgress_setFormat(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((KProgress*) QtSupport::getQt(env, obj))->setFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgress_setIndicator(JNIEnv* env, jobject obj, jobject indicator, jint progress, jint totalSteps) -{ -static TQString* _qstring_indicator = 0; - jboolean xret = (jboolean) ((KProgressJBridge*) QtSupport::getQt(env, obj))->protected_setIndicator((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, indicator, &_qstring_indicator), (int) progress, (int) totalSteps); - QtSupport::fromTQStringToStringBuffer(env, _qstring_indicator, indicator); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_setProgress(JNIEnv* env, jobject obj, jint progress) -{ - ((KProgress*) QtSupport::getQt(env, obj))->setProgress((int) progress); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_setTextEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KProgress*) QtSupport::getQt(env, obj))->setTextEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_setTotalSteps(JNIEnv* env, jobject obj, jint totalSteps) -{ - ((KProgress*) QtSupport::getQt(env, obj))->setTotalSteps((int) totalSteps); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgress_textEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgress*) QtSupport::getQt(env, obj))->textEnabled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProgress.h b/kdejava/koala/kdejava/KProgress.h deleted file mode 100644 index f82571b4..00000000 --- a/kdejava/koala/kdejava/KProgress.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProgress__ -#define __org_kde_koala_KProgress__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProgress_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgress_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setTextEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgress_textEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgress_format (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setFormat (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setTotalSteps (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setProgress (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_advance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgress_setIndicator (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgress_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProgress__ */ diff --git a/kdejava/koala/kdejava/KProgressDialog.cpp b/kdejava/koala/kdejava/KProgressDialog.cpp deleted file mode 100644 index d97edd21..00000000 --- a/kdejava/koala/kdejava/KProgressDialog.cpp +++ /dev/null @@ -1,674 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kprogress.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KProgressDialog.h> - -class KProgressDialogJBridge : public KProgressDialog -{ -public: - KProgressDialogJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,bool arg5) : KProgressDialog(arg1,arg2,arg3,arg4,arg5) {}; - KProgressDialogJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4) : KProgressDialog(arg1,arg2,arg3,arg4) {}; - KProgressDialogJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : KProgressDialog(arg1,arg2,arg3) {}; - KProgressDialogJBridge(TQWidget* arg1,const char* arg2) : KProgressDialog(arg1,arg2) {}; - KProgressDialogJBridge(TQWidget* arg1) : KProgressDialog(arg1) {}; - KProgressDialogJBridge() : KProgressDialog() {}; - void protected_slotAutoShow() { - KProgressDialog::slotAutoShow(); - return; - } - void protected_slotAutoActions(int arg1) { - KProgressDialog::slotAutoActions(arg1); - return; - } - void protected_slotCancel() { - KProgressDialog::slotCancel(); - return; - } - ~KProgressDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotClose")) { - KDialogBase::slotClose(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","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 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.KProgressDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_allowCancel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->allowCancel(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_autoClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->autoClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_autoReset(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->autoReset(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgressDialog_buttonText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProgressDialog*) QtSupport::getQt(env, obj))->buttonText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgressDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KProgressDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProgressDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KProgressDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KProgressDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgressDialog_labelText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProgressDialog*) QtSupport::getQt(env, obj))->labelText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProgressDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProgressDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProgressDialog_minimumDuration(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KProgressDialog*) QtSupport::getQt(env, obj))->minimumDuration(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__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 KProgressDialogJBridge((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_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring caption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring caption, jstring text) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring caption, jstring text, jboolean modal) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProgressDialog_progressBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProgressDialog*) QtSupport::getQt(env, obj))->progressBar(), "org.kde.koala.KProgress"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setAllowCancel(JNIEnv* env, jobject obj, jboolean allowCancel) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setAllowCancel((bool) allowCancel); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setAutoClose(JNIEnv* env, jobject obj, jboolean close) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setAutoClose((bool) close); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setAutoReset(JNIEnv* env, jobject obj, jboolean autoReset) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setAutoReset((bool) autoReset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setButtonText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KProgressDialog*) QtSupport::getQt(env, obj))->setButtonText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setLabel(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KProgressDialog*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setMinimumDuration(JNIEnv* env, jobject obj, jint ms) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setMinimumDuration((int) ms); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_showCancelButton(JNIEnv* env, jobject obj, jboolean show) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->showCancelButton((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_slotAutoActions(JNIEnv* env, jobject obj, jint percentage) -{ - ((KProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoActions((int) percentage); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_slotAutoShow(JNIEnv* env, jobject obj) -{ - ((KProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_slotCancel(JNIEnv* env, jobject obj) -{ - ((KProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_wasCancelled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->wasCancelled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProgressDialog.h b/kdejava/koala/kdejava/KProgressDialog.h deleted file mode 100644 index af48a81f..00000000 --- a/kdejava/koala/kdejava/KProgressDialog.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProgressDialog__ -#define __org_kde_koala_KProgressDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProgressDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgressDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProgressDialog_progressBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgressDialog_labelText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setAllowCancel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_allowCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_showCancelButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setAutoClose (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_autoClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setAutoReset (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_autoReset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_wasCancelled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setButtonText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgressDialog_buttonText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setMinimumDuration (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProgressDialog_minimumDuration (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_slotAutoShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_slotAutoActions (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProgressDialog__ */ diff --git a/kdejava/koala/kdejava/KProtocolInfo.cpp b/kdejava/koala/kdejava/KProtocolInfo.cpp deleted file mode 100644 index ee0e75be..00000000 --- a/kdejava/koala/kdejava/KProtocolInfo.cpp +++ /dev/null @@ -1,437 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatastream.h> -#include <tqstring.h> -#include <kprotocolinfo.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KProtocolInfo.h> - -class KProtocolInfoJBridge : public KProtocolInfo -{ -public: - KProtocolInfoJBridge(const TQString& arg1) : KProtocolInfo(arg1) {}; - KProtocolInfoJBridge(TQDataStream& arg1,int arg2) : KProtocolInfo(arg1,arg2) {}; - bool protected_canRenameFromFile() { - return (bool) KProtocolInfo::canRenameFromFile(); - } - bool protected_canRenameToFile() { - return (bool) KProtocolInfo::canRenameToFile(); - } - bool protected_canDeleteRecursive() { - return (bool) KProtocolInfo::canDeleteRecursive(); - } - static KProtocolInfo* protected_findProtocol(const KURL& arg1) { - return (KProtocolInfo*) KProtocolInfo::findProtocol(arg1); - } - ~KProtocolInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canCopyFromFile(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canCopyFromFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canCopyToFile(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canCopyToFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfoJBridge*) QtSupport::getQt(env, obj))->protected_canDeleteRecursive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canDeleteRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameFromFile__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfoJBridge*) QtSupport::getQt(env, obj))->protected_canRenameFromFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameFromFile__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canRenameFromFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameToFile__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfoJBridge*) QtSupport::getQt(env, obj))->protected_canRenameToFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameToFile__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canRenameToFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_capabilities(JNIEnv* env, jclass cls, jstring protocol) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_protocol = 0; - _qlist = KProtocolInfoJBridge::capabilities((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_config(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::config((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_defaultMimetype(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolInfoJBridge::defaultMimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_determineMimetypeFromExtension(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::determineMimetypeFromExtension((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProtocolInfo_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_docPath(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::docPath((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_exec(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::exec((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KProtocolInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_findProtocol(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KProtocolInfoJBridge::protected_findProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.KProtocolInfo"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_icon(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::icon((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_inputType(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jint xret = (jint) KProtocolInfoJBridge::inputType((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::isFilterProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isFilterProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::isHelperProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isHelperProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::isKnownProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isKnownProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isSourceProtocol(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isSourceProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfo*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_listing(JNIEnv* env, jclass cls, jobject url) -{ - TQStringList _qlist; - (void) cls; - _qlist = KProtocolInfoJBridge::listing((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KProtocolInfo*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_maxSlaves(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jint xret = (jint) KProtocolInfoJBridge::maxSlaves((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProtocolInfo*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProtocolInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProtocolInfoJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_outputType(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jint xret = (jint) KProtocolInfoJBridge::outputType((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_protocolClass(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::protocolClass((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_protocols(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KProtocolInfoJBridge::protocols(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_proxiedBy(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::proxiedBy((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KProtocolInfo*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_showFilePreview(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::showFilePreview((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsDeleting(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsDeleting((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsLinking(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsLinking((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsListing(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsListing((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsMakeDir(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsMakeDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsMoving(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsMoving((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsReading(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsReading((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsWriting(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsWriting((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_uriParseMode(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jint xret = (jint) KProtocolInfoJBridge::uriParseMode((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProtocolInfo.h b/kdejava/koala/kdejava/KProtocolInfo.h deleted file mode 100644 index 3493ee07..00000000 --- a/kdejava/koala/kdejava/KProtocolInfo.h +++ /dev/null @@ -1,66 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProtocolInfo__ -#define __org_kde_koala_KProtocolInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_protocols (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_exec (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_inputType (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_outputType (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_listing (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isSourceProtocol (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsListing (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsReading (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsWriting (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsMakeDir (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsDeleting (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsLinking (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsMoving (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canCopyFromFile (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canCopyToFile (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameFromFile__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameToFile__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_defaultMimetype (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_icon (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_config (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_maxSlaves (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_determineMimetypeFromExtension (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_docPath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_protocolClass (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_showFilePreview (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_uriParseMode (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_capabilities (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_proxiedBy (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameFromFile__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameToFile__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_findProtocol (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProtocolInfo__ */ diff --git a/kdejava/koala/kdejava/KProtocolManager.cpp b/kdejava/koala/kdejava/KProtocolManager.cpp deleted file mode 100644 index cbc669d7..00000000 --- a/kdejava/koala/kdejava/KProtocolManager.cpp +++ /dev/null @@ -1,315 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeprotocolmanager.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KProtocolManager.h> - -class KProtocolManagerJBridge : public KProtocolManager -{ -public: - KProtocolManagerJBridge() : KProtocolManager() {}; - ~KProtocolManagerJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_autoResume(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::autoResume(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_badProxy(JNIEnv* env, jclass cls, jstring proxy) -{ - (void) cls; -static TQString* _qstring_proxy = 0; - KProtocolManagerJBridge::badProxy((const TQString&)*(TQString*) QtSupport::toTQString(env, proxy, &_qstring_proxy)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_cacheControl(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::cacheControl(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_cacheDir(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::cacheDir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolManager_config(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KProtocolManagerJBridge::config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_connectTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::connectTimeout(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_defaultUserAgent__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::defaultUserAgent(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_defaultUserAgent__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring keys) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_keys = 0; - _qstring = KProtocolManagerJBridge::defaultUserAgent((const TQString&)*(TQString*) QtSupport::toTQString(env, keys, &_qstring_keys)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProtocolManager_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KProtocolManager*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_markPartial(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::markPartial(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_maxCacheAge(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::maxCacheAge(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_maxCacheSize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::maxCacheSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_minimumKeepSize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::minimumKeepSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_newKProtocolManager(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProtocolManagerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_noProxyFor(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::noProxyFor(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_persistentConnections(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::persistentConnections(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_persistentProxyConnection(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::persistentProxyConnection(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_proxyAuthMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::proxyAuthMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_proxyConfigScript(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::proxyConfigScript(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_proxyConnectTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::proxyConnectTimeout(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_proxyForURL(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::proxyForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_proxyFor(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolManagerJBridge::proxyFor((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_proxyType(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::proxyType(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_readTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::readTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_reparseConfiguration(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KProtocolManagerJBridge::reparseConfiguration(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_responseTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::responseTimeout(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_slaveProtocol(JNIEnv* env, jclass cls, jobject url, jobject proxy) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_proxy = 0; - _qstring = KProtocolManagerJBridge::slaveProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, proxy, &_qstring_proxy)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_proxy, proxy); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_useCache(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::useCache(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_useProxy(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::useProxy(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_useReverseProxy(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::useReverseProxy(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_userAgentForHost(JNIEnv* env, jclass cls, jstring hostname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_hostname = 0; - _qstring = KProtocolManagerJBridge::userAgentForHost((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KProtocolManager.h b/kdejava/koala/kdejava/KProtocolManager.h deleted file mode 100644 index 26181704..00000000 --- a/kdejava/koala/kdejava/KProtocolManager.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProtocolManager__ -#define __org_kde_koala_KProtocolManager__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_newKProtocolManager (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_defaultUserAgent__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_defaultUserAgent__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_userAgentForHost (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_readTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_connectTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_proxyConnectTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_responseTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_useProxy (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_useReverseProxy (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_proxyType (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_proxyAuthMode (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_noProxyFor (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_proxyFor (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_proxyForURL (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_badProxy (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_proxyConfigScript (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_useCache (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_maxCacheAge (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_maxCacheSize (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_cacheDir (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_cacheControl (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_autoResume (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_markPartial (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_minimumKeepSize (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_persistentProxyConnection (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_persistentConnections (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_reparseConfiguration (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_slaveProtocol (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolManager_config (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProtocolManager__ */ diff --git a/kdejava/koala/kdejava/KPushButton.cpp b/kdejava/koala/kdejava/KPushButton.cpp deleted file mode 100644 index 192195cf..00000000 --- a/kdejava/koala/kdejava/KPushButton.cpp +++ /dev/null @@ -1,610 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstdguiitem.h> -#include <tqiconset.h> -#include <kpushbutton.h> -#include <tqstring.h> -#include <kguiitem.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPushButton.h> - -class KPushButtonJBridge : public KPushButton -{ -public: - KPushButtonJBridge(TQWidget* arg1,const char* arg2) : KPushButton(arg1,arg2) {}; - KPushButtonJBridge(TQWidget* arg1) : KPushButton(arg1) {}; - KPushButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KPushButton(arg1,arg2,arg3) {}; - KPushButtonJBridge(const TQString& arg1,TQWidget* arg2) : KPushButton(arg1,arg2) {}; - KPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KPushButton(arg1,arg2,arg3,arg4) {}; - KPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3) : KPushButton(arg1,arg2,arg3) {}; - KPushButtonJBridge(const KGuiItem& arg1,TQWidget* arg2,const char* arg3) : KPushButton(arg1,arg2,arg3) {}; - KPushButtonJBridge(const KGuiItem& arg1,TQWidget* arg2) : KPushButton(arg1,arg2) {}; - TQDragObject* protected_dragObject() { - return (TQDragObject*) KPushButton::dragObject(); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KPushButton::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KPushButton::mouseMoveEvent(arg1); - return; - } - void protected_startDrag() { - KPushButton::startDrag(); - return; - } - ~KPushButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","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.KPushButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","startDrag")) { - KPushButton::startDrag(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","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")) { - KPushButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KPushButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPushButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPushButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPushButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPushButton_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPushButton_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPushButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPushButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPushButton_guiItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPushButton*) QtSupport::getQt(env, obj))->guiItem(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPushButton_guiItm(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPushButton*) QtSupport::getQt(env, obj))->guiItm(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPushButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPushButton_isDragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPushButton*) QtSupport::getQt(env, obj))->isDragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPushButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPushButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject item, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (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_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_KPushButton_newKPushButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__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 KPushButtonJBridge((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_KPushButton_setDragEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setDragEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setGuiItem__I(JNIEnv* env, jobject obj, jint item) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setGuiItem((KStdGuiItem::StdItem) item); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setGuiItem__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setGuiItem((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setGuiItm(JNIEnv* env, jobject obj, jint itm) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setGuiItm((int) itm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setIconSet(JNIEnv* env, jobject obj, jobject iconSet) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KPushButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_startDrag(JNIEnv* env, jobject obj) -{ - ((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - diff --git a/kdejava/koala/kdejava/KPushButton.h b/kdejava/koala/kdejava/KPushButton.h deleted file mode 100644 index 9425f15a..00000000 --- a/kdejava/koala/kdejava/KPushButton.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPushButton__ -#define __org_kde_koala_KPushButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPushButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPushButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPushButton_isDragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setGuiItem__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setGuiItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPushButton_guiItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setGuiItm (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPushButton_guiItm (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPushButton_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPushButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPushButton__ */ diff --git a/kdejava/koala/kdejava/KRFCDate.cpp b/kdejava/koala/kdejava/KRFCDate.cpp deleted file mode 100644 index 5ab09341..00000000 --- a/kdejava/koala/kdejava/KRFCDate.cpp +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <krfcdate.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRFCDate.h> - -class KRFCDateJBridge : public KRFCDate -{ -public: - KRFCDateJBridge() : KRFCDate() {}; - ~KRFCDateJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRFCDate_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRFCDate_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRFCDate_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KRFCDate*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRFCDate_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRFCDate_localUTCOffset(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KRFCDateJBridge::localUTCOffset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRFCDate_newKRFCDate(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRFCDateJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRFCDate_parseDateISO8601(JNIEnv* env, jclass cls, jstring date) -{ - (void) cls; -static TQString* _qstring_date = 0; - jint xret = (jint) KRFCDateJBridge::parseDateISO8601((const TQString&)*(TQString*) QtSupport::toTQString(env, date, &_qstring_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRFCDate_parseDate(JNIEnv* env, jclass cls, jstring date) -{ - (void) cls; -static TQString* _qstring_date = 0; - jint xret = (jint) KRFCDateJBridge::parseDate((const TQString&)*(TQString*) QtSupport::toTQString(env, date, &_qstring_date)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRFCDate_rfc2822DateString__I(JNIEnv* env, jclass cls, jint utcTime) -{ - TQCString _qstring; - (void) cls; - _qstring = KRFCDateJBridge::rfc2822DateString((time_t) utcTime); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRFCDate_rfc2822DateString__II(JNIEnv* env, jclass cls, jint utcTime, jint utcOffset) -{ - TQCString _qstring; - (void) cls; - _qstring = KRFCDateJBridge::rfc2822DateString((time_t) utcTime, (int) utcOffset); - return QtSupport::fromTQCString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KRFCDate.h b/kdejava/koala/kdejava/KRFCDate.h deleted file mode 100644 index 91ea404c..00000000 --- a/kdejava/koala/kdejava/KRFCDate.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRFCDate__ -#define __org_kde_koala_KRFCDate__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRFCDate_newKRFCDate (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRFCDate_parseDate (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRFCDate_parseDateISO8601 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRFCDate_localUTCOffset (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRFCDate_rfc2822DateString__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRFCDate_rfc2822DateString__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRFCDate_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRFCDate_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRFCDate_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRFCDate__ */ diff --git a/kdejava/koala/kdejava/KRandomSequence.cpp b/kdejava/koala/kdejava/KRandomSequence.cpp deleted file mode 100644 index ac6aff26..00000000 --- a/kdejava/koala/kdejava/KRandomSequence.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <krandomsequence.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRandomSequence.h> - -class KRandomSequenceJBridge : public KRandomSequence -{ -public: - KRandomSequenceJBridge(long arg1) : KRandomSequence(arg1) {}; - KRandomSequenceJBridge() : KRandomSequence() {}; - KRandomSequenceJBridge(const KRandomSequence& arg1) : KRandomSequence(arg1) {}; - ~KRandomSequenceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRandomSequence_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KRandomSequence*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRandomSequence_getBool(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRandomSequence*) QtSupport::getQt(env, obj))->getBool(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KRandomSequence_getDouble(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KRandomSequence*) QtSupport::getQt(env, obj))->getDouble(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KRandomSequence_getLong(JNIEnv* env, jobject obj, jlong max) -{ - jlong xret = (jlong) ((KRandomSequence*) QtSupport::getQt(env, obj))->getLong((unsigned long) max); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRandomSequence_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_modulate(JNIEnv* env, jobject obj, jint i) -{ - ((KRandomSequence*) QtSupport::getQt(env, obj))->modulate((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_newKRandomSequence__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRandomSequenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_newKRandomSequence__J(JNIEnv* env, jobject obj, jlong lngSeed) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRandomSequenceJBridge((long) lngSeed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_newKRandomSequence__Lorg_kde_koala_KRandomSequence_2(JNIEnv* env, jobject obj, jobject a) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRandomSequenceJBridge((const KRandomSequence&)*(const KRandomSequence*) QtSupport::getQt(env, a))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_setSeed__(JNIEnv* env, jobject obj) -{ - ((KRandomSequence*) QtSupport::getQt(env, obj))->setSeed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_setSeed__J(JNIEnv* env, jobject obj, jlong lngSeed) -{ - ((KRandomSequence*) QtSupport::getQt(env, obj))->setSeed((long) lngSeed); - return; -} - diff --git a/kdejava/koala/kdejava/KRandomSequence.h b/kdejava/koala/kdejava/KRandomSequence.h deleted file mode 100644 index 2832cd1e..00000000 --- a/kdejava/koala/kdejava/KRandomSequence.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRandomSequence__ -#define __org_kde_koala_KRandomSequence__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_newKRandomSequence__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_newKRandomSequence__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_newKRandomSequence__Lorg_kde_koala_KRandomSequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_setSeed__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_setSeed__ (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KRandomSequence_getDouble (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KRandomSequence_getLong (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRandomSequence_getBool (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_modulate (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRandomSequence_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRandomSequence__ */ diff --git a/kdejava/koala/kdejava/KRegExpEditorInterface.cpp b/kdejava/koala/kdejava/KRegExpEditorInterface.cpp deleted file mode 100644 index 5eadc670..00000000 --- a/kdejava/koala/kdejava/KRegExpEditorInterface.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kregexpeditorinterface.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRegExpEditorInterface.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_redo(JNIEnv* env, jobject obj) -{ - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->redo(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRegExpEditorInterface_regExp(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->regExp(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_setMatchText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->setMatchText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_setRegExp(JNIEnv* env, jobject obj, jstring regexp) -{ -static TQString* _qstring_regexp = 0; - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->setRegExp((const TQString&)*(TQString*) QtSupport::toTQString(env, regexp, &_qstring_regexp)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_undo(JNIEnv* env, jobject obj) -{ - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->undo(); - return; -} - diff --git a/kdejava/koala/kdejava/KRegExpEditorInterface.h b/kdejava/koala/kdejava/KRegExpEditorInterface.h deleted file mode 100644 index 8cba3d71..00000000 --- a/kdejava/koala/kdejava/KRegExpEditorInterface.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRegExpEditorInterface__ -#define __org_kde_koala_KRegExpEditorInterface__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRegExpEditorInterface_regExp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_setRegExp (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_redo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_undo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_setMatchText (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRegExpEditorInterface__ */ diff --git a/kdejava/koala/kdejava/KReplace.cpp b/kdejava/koala/kdejava/KReplace.cpp deleted file mode 100644 index 9d1782aa..00000000 --- a/kdejava/koala/kdejava/KReplace.cpp +++ /dev/null @@ -1,280 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqregexp.h> -#include <kreplace.h> -#include <kfind.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KReplace.h> - -class KReplaceJBridge : public KReplace -{ -public: - KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3,TQWidget* arg4) : KReplace(arg1,arg2,arg3,arg4) {}; - KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3) : KReplace(arg1,arg2,arg3) {}; - KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3,TQWidget* arg4,TQWidget* arg5) : KReplace(arg1,arg2,arg3,arg4,arg5) {}; - void public_resetCounts() { - KReplace::resetCounts(); - return; - } - void public_displayFinalDialog() { - KReplace::displayFinalDialog(); - return; - } - void protected_slotSkip() { - KReplace::slotSkip(); - return; - } - void protected_slotReplace() { - KReplace::slotReplace(); - return; - } - void protected_slotReplaceAll() { - KReplace::slotReplaceAll(); - return; - } - ~KReplaceJBridge() {QtSupport::qtKeyDeleted(this);} - void displayFinalDialog() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplace","displayFinalDialog")) { - KReplace::displayFinalDialog(); - } - return; - } - void resetCounts() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplace","resetCounts")) { - KReplace::resetCounts(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KReplace",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KReplace_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KReplace*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_closeReplaceNextDialog(JNIEnv* env, jobject obj) -{ - ((KReplace*) QtSupport::getQt(env, obj))->closeReplaceNextDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_displayFinalDialog(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->public_displayFinalDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KReplace_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KReplace*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplace_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options) -{ -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options, jobject parent) -{ -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (long) options, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options, jobject parent, jobject replaceDialog) -{ -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (long) options, (TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, replaceDialog))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_numReplacements(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KReplace*) QtSupport::getQt(env, obj))->numReplacements(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplace_replaceNextDialog__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->replaceNextDialog(), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplace_replaceNextDialog__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->replaceNextDialog((bool) create), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_replace__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KReplace*) QtSupport::getQt(env, obj))->replace(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Ljava_lang_String_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jobject text, jstring pattern, jstring replacement, jint index, jlong options, jintArray replacedLength) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - int* _int_replacedLength = QtSupport::toIntPtr(env, replacedLength); - jint xret = (jint) KReplaceJBridge::replace((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); - QtSupport::fromTQStringToStringBuffer(env, _qstring_text, text); - env->SetIntArrayRegion(replacedLength, 0, 1, (jint *) _int_replacedLength); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Lorg_kde_qt_QRegExp_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jobject text, jobject pattern, jstring replacement, jint index, jlong options, jintArray replacedLength) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_replacement = 0; - int* _int_replacedLength = QtSupport::toIntPtr(env, replacedLength); - jint xret = (jint) KReplaceJBridge::replace((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, text, &_qstring_text), (const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); - QtSupport::fromTQStringToStringBuffer(env, _qstring_text, text); - env->SetIntArrayRegion(replacedLength, 0, 1, (jint *) _int_replacedLength); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_resetCounts(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->public_resetCounts(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_shouldRestart__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KReplace*) QtSupport::getQt(env, obj))->shouldRestart(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_shouldRestart__Z(JNIEnv* env, jobject obj, jboolean forceAsking) -{ - jboolean xret = (jboolean) ((KReplace*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_shouldRestart__ZZ(JNIEnv* env, jobject obj, jboolean forceAsking, jboolean showNumMatches) -{ - jboolean xret = (jboolean) ((KReplace*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking, (bool) showNumMatches); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_slotReplaceAll(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotReplaceAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_slotReplace(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotReplace(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_slotSkip(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotSkip(); - return; -} - diff --git a/kdejava/koala/kdejava/KReplace.h b/kdejava/koala/kdejava/KReplace.h deleted file mode 100644 index 3ed04545..00000000 --- a/kdejava/koala/kdejava/KReplace.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KReplace__ -#define __org_kde_koala_KReplace__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplace_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KReplace_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jlong, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jlong, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_numReplacements (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_resetCounts (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplace_replaceNextDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplace_replaceNextDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_closeReplaceNextDialog (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_shouldRestart__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_shouldRestart__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_shouldRestart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_displayFinalDialog (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Ljava_lang_String_2Ljava_lang_String_2IJ_3I (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jlong, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Lorg_kde_qt_QRegExp_2Ljava_lang_String_2IJ_3I (JNIEnv *env, jclass, jobject, jobject, jstring, jint, jlong, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_slotSkip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_slotReplace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_slotReplaceAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KReplace__ */ diff --git a/kdejava/koala/kdejava/KReplaceDialog.cpp b/kdejava/koala/kdejava/KReplaceDialog.cpp deleted file mode 100644 index 16ce421f..00000000 --- a/kdejava/koala/kdejava/KReplaceDialog.cpp +++ /dev/null @@ -1,612 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kreplacedialog.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KReplaceDialog.h> - -class KReplaceDialogJBridge : public KReplaceDialog -{ -public: - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4,const TQStringList& arg5,bool arg6) : KReplaceDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4,const TQStringList& arg5) : KReplaceDialog(arg1,arg2,arg3,arg4,arg5) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4) : KReplaceDialog(arg1,arg2,arg3,arg4) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3) : KReplaceDialog(arg1,arg2,arg3) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2) : KReplaceDialog(arg1,arg2) {}; - KReplaceDialogJBridge(TQWidget* arg1) : KReplaceDialog(arg1) {}; - KReplaceDialogJBridge() : KReplaceDialog() {}; - void protected_slotOk() { - KReplaceDialog::slotOk(); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KReplaceDialog::showEvent(arg1); - return; - } - ~KReplaceDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","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")) { - KReplaceDialog::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","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 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.KReplaceDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KReplaceDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KReplaceDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KReplaceDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KReplaceDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KReplaceDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplaceDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplaceDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplaceDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__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 KReplaceDialogJBridge((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_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings, jobjectArray replaceStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; -static TQStringList* _qlist_replaceStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, replaceStrings, &_qlist_replaceStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings, jobjectArray replaceStrings, jboolean hasSelection) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; -static TQStringList* _qlist_replaceStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, replaceStrings, &_qlist_replaceStrings), (bool) hasSelection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KReplaceDialog_options(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KReplaceDialog*) QtSupport::getQt(env, obj))->options(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplaceDialog_replaceExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplaceDialog*) QtSupport::getQt(env, obj))->replaceExtension(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplaceDialog_replacementHistory(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KReplaceDialog*) QtSupport::getQt(env, obj))->replacementHistory(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KReplaceDialog_replacement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KReplaceDialog*) QtSupport::getQt(env, obj))->replacement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_setOptions(JNIEnv* env, jobject obj, jlong options) -{ - ((KReplaceDialog*) QtSupport::getQt(env, obj))->setOptions((long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_setReplacementHistory(JNIEnv* env, jobject obj, jobjectArray history) -{ -static TQStringList* _qlist_history = 0; - ((KReplaceDialog*) QtSupport::getQt(env, obj))->setReplacementHistory((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, history, &_qlist_history)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KReplaceDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KReplaceDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - diff --git a/kdejava/koala/kdejava/KReplaceDialog.h b/kdejava/koala/kdejava/KReplaceDialog.h deleted file mode 100644 index 7cc306f2..00000000 --- a/kdejava/koala/kdejava/KReplaceDialog.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KReplaceDialog__ -#define __org_kde_koala_KReplaceDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplaceDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KReplaceDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J (JNIEnv *env, jobject, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_setReplacementHistory (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplaceDialog_replacementHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_setOptions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KReplaceDialog_options (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KReplaceDialog_replacement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplaceDialog_replaceExtension (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplaceDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KReplaceDialog__ */ diff --git a/kdejava/koala/kdejava/KRestrictedLine.cpp b/kdejava/koala/kdejava/KRestrictedLine.cpp deleted file mode 100644 index 434ec176..00000000 --- a/kdejava/koala/kdejava/KRestrictedLine.cpp +++ /dev/null @@ -1,556 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <krestrictedline.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRestrictedLine.h> - -class KRestrictedLineJBridge : public KRestrictedLine -{ -public: - KRestrictedLineJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : KRestrictedLine(arg1,arg2,arg3) {}; - KRestrictedLineJBridge(TQWidget* arg1,const char* arg2) : KRestrictedLine(arg1,arg2) {}; - KRestrictedLineJBridge(TQWidget* arg1) : KRestrictedLine(arg1) {}; - KRestrictedLineJBridge() : KRestrictedLine() {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KRestrictedLine::keyPressEvent(arg1); - return; - } - ~KRestrictedLineJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KLineEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KLineEdit::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(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 deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","deselect")) { - TQLineEdit::deselect(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","clear")) { - KLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","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")) { - KRestrictedLine::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","copy")) { - KLineEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","clearValidator")) { - TQLineEdit::clearValidator(); - } - 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")) { - TQLineEdit::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KLineEdit::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KLineEdit::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::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.KRestrictedLine","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")) { - TQLineEdit::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")) { - KLineEdit::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - KLineEdit::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRestrictedLine",object,event)) { - return KLineEdit::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","redo")) { - TQLineEdit::redo(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRestrictedLine_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRestrictedLine*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRestrictedLine_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KRestrictedLine*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KRestrictedLine*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRestrictedLine_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KRestrictedLineJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRestrictedLine_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRestrictedLine*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRestrictedLineJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRestrictedLineJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__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 KRestrictedLineJBridge((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_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring valid) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_valid = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRestrictedLineJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, valid, &_qstring_valid))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_setValidChars(JNIEnv* env, jobject obj, jstring valid) -{ -static TQString* _qstring_valid = 0; - ((KRestrictedLine*) QtSupport::getQt(env, obj))->setValidChars((const TQString&)*(TQString*) QtSupport::toTQString(env, valid, &_qstring_valid)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRestrictedLine_validChars(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRestrictedLine*) QtSupport::getQt(env, obj))->validChars(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KRestrictedLine.h b/kdejava/koala/kdejava/KRestrictedLine.h deleted file mode 100644 index 63012e20..00000000 --- a/kdejava/koala/kdejava/KRestrictedLine.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRestrictedLine__ -#define __org_kde_koala_KRestrictedLine__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRestrictedLine_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRestrictedLine_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_setValidChars (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRestrictedLine_validChars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRestrictedLine_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRestrictedLine__ */ diff --git a/kdejava/koala/kdejava/KRootPermsIcon.cpp b/kdejava/koala/kdejava/KRootPermsIcon.cpp deleted file mode 100644 index 67b8d63e..00000000 --- a/kdejava/koala/kdejava/KRootPermsIcon.cpp +++ /dev/null @@ -1,445 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kauthicon.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRootPermsIcon.h> - -class KRootPermsIconJBridge : public KRootPermsIcon -{ -public: - KRootPermsIconJBridge(TQWidget* arg1,const char* arg2) : KRootPermsIcon(arg1,arg2) {}; - KRootPermsIconJBridge(TQWidget* arg1) : KRootPermsIcon(arg1) {}; - KRootPermsIconJBridge() : KRootPermsIcon() {}; - ~KRootPermsIconJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","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.KRootPermsIcon","show")) { - TQWidget::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.KRootPermsIcon","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","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 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.KRootPermsIcon","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRootPermsIcon",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootPermsIcon_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRootPermsIcon*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRootPermsIcon_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KRootPermsIcon*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KRootPermsIcon*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPermsIcon_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootPermsIcon_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRootPermsIcon*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPermsIconJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPermsIconJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__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 KRootPermsIconJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPermsIcon_status(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPermsIcon*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_updateStatus(JNIEnv* env, jobject obj) -{ - ((KRootPermsIcon*) QtSupport::getQt(env, obj))->updateStatus(); - return; -} - diff --git a/kdejava/koala/kdejava/KRootPermsIcon.h b/kdejava/koala/kdejava/KRootPermsIcon.h deleted file mode 100644 index a108d8ff..00000000 --- a/kdejava/koala/kdejava/KRootPermsIcon.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRootPermsIcon__ -#define __org_kde_koala_KRootPermsIcon__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootPermsIcon_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootPermsIcon_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPermsIcon_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_updateStatus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPermsIcon_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRootPermsIcon__ */ diff --git a/kdejava/koala/kdejava/KRootPixmap.cpp b/kdejava/koala/kdejava/KRootPixmap.cpp deleted file mode 100644 index 33727751..00000000 --- a/kdejava/koala/kdejava/KRootPixmap.cpp +++ /dev/null @@ -1,267 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <krootpixmap.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRootPixmap.h> - -class KRootPixmapJBridge : public KRootPixmap -{ -public: - KRootPixmapJBridge(TQWidget* arg1,const char* arg2) : KRootPixmap(arg1,arg2) {}; - KRootPixmapJBridge(TQWidget* arg1) : KRootPixmap(arg1) {}; - KRootPixmapJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : KRootPixmap(arg1,arg2,arg3) {}; - KRootPixmapJBridge(TQWidget* arg1,TQObject* arg2) : KRootPixmap(arg1,arg2) {}; - void public_start() { - KRootPixmap::start(); - return; - } - void public_stop() { - KRootPixmap::stop(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KRootPixmap::eventFilter(arg1,arg2); - } - ~KRootPixmapJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void start() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPixmap","start")) { - KRootPixmap::start(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRootPixmap",object,event)) { - return KRootPixmap::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPixmap","stop")) { - KRootPixmap::stop(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootPixmap_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRootPixmap*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootPixmap_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KRootPixmap*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRootPixmap_currentDesktop(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRootPixmap*) QtSupport::getQt(env, obj))->currentDesktop(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_customPainting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPixmap*) QtSupport::getQt(env, obj))->customPainting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRootPixmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_enableExports(JNIEnv* env, jobject obj) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->enableExports(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KRootPixmapJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KRootPixmap*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KRootPixmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPixmap*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_isAvailable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPixmap*) QtSupport::getQt(env, obj))->isAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootPixmap_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRootPixmap*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject target) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject target, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject target, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject target, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KRootPixmap_opacity(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KRootPixmap*) QtSupport::getQt(env, obj))->opacity(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootPixmap_pixmapName(JNIEnv* env, jclass cls, jint desk) -{ - TQString _qstring; - (void) cls; - _qstring = KRootPixmapJBridge::pixmapName((int) desk); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_repaint__(JNIEnv* env, jobject obj) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->repaint(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_repaint__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->repaint((bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_setCustomPainting(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->setCustomPainting((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_setFadeEffect(JNIEnv* env, jobject obj, jdouble opacity, jobject color) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->setFadeEffect((double) opacity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_start(JNIEnv* env, jobject obj) -{ - ((KRootPixmapJBridge*) QtSupport::getQt(env, obj))->public_start(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_stop(JNIEnv* env, jobject obj) -{ - ((KRootPixmapJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - diff --git a/kdejava/koala/kdejava/KRootPixmap.h b/kdejava/koala/kdejava/KRootPixmap.h deleted file mode 100644 index 1c3bb6e7..00000000 --- a/kdejava/koala/kdejava/KRootPixmap.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRootPixmap__ -#define __org_kde_koala_KRootPixmap__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootPixmap_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootPixmap_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_isAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRootPixmap_currentDesktop (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_customPainting (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootPixmap_color (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KRootPixmap_opacity (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_setFadeEffect (JNIEnv *env, jobject, jdouble, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_repaint__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_repaint__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_setCustomPainting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_enableExports (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootPixmap_pixmapName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRootPixmap__ */ diff --git a/kdejava/koala/kdejava/KRootProp.cpp b/kdejava/koala/kdejava/KRootProp.cpp deleted file mode 100644 index fb73f904..00000000 --- a/kdejava/koala/kdejava/KRootProp.cpp +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <krootprop.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRootProp.h> - -class KRootPropJBridge : public KRootProp -{ -public: - KRootPropJBridge(const TQString& arg1) : KRootProp(arg1) {}; - KRootPropJBridge() : KRootProp() {}; - ~KRootPropJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_destroy(JNIEnv* env, jobject obj) -{ - ((KRootProp*) QtSupport::getQt(env, obj))->destroy(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRootProp_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KRootProp*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootProp_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_listEntries(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KRootProp*) QtSupport::getQt(env, obj))->listEntries(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_newKRootProp__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPropJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_newKRootProp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rProp) -{ -static TQString* _qstring_rProp = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPropJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, rProp, &_qstring_rProp))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_prop(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->prop(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KRootProp*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring rKey, jobject pDefault) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KRootProp*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQColor*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey, jstring pDefault) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; -static TQString* _qstring_pDefault = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pDefault, &_qstring_pDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((KRootProp*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring rKey, jobject pDefault) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((KRootProp*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQFont*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ -static TQString* _qstring_rKey = 0; - jint xret = (jint) ((KRootProp*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring rKey, jint nDefault) -{ -static TQString* _qstring_rKey = 0; - jint xret = (jint) ((KRootProp*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (int) nDefault); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_removeEntry(JNIEnv* env, jobject obj, jstring rKey) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->removeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_setProp__(JNIEnv* env, jobject obj) -{ - ((KRootProp*) QtSupport::getQt(env, obj))->setProp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_setProp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rProp) -{ -static TQString* _qstring_rProp = 0; - ((KRootProp*) QtSupport::getQt(env, obj))->setProp((const TQString&)*(TQString*) QtSupport::toTQString(env, rProp, &_qstring_rProp)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_sync(JNIEnv* env, jobject obj) -{ - ((KRootProp*) QtSupport::getQt(env, obj))->sync(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring rKey, jint nValue) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (int) nValue); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey, jstring rValue) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; -static TQString* _qstring_rValue = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, rValue, &_qstring_rValue)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring rKey, jobject rColor) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring rKey, jobject rFont) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KRootProp.h b/kdejava/koala/kdejava/KRootProp.h deleted file mode 100644 index 59b8733f..00000000 --- a/kdejava/koala/kdejava/KRootProp.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRootProp__ -#define __org_kde_koala_KRootProp__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_newKRootProp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_newKRootProp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_setProp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_setProp__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_prop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_destroy (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_removeEntry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_listEntries (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootProp_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRootProp__ */ diff --git a/kdejava/koala/kdejava/KRuler.cpp b/kdejava/koala/kdejava/KRuler.cpp deleted file mode 100644 index 464ded63..00000000 --- a/kdejava/koala/kdejava/KRuler.cpp +++ /dev/null @@ -1,892 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kruler.h> -#include <tqstring.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRuler.h> - -class KRulerJBridge : public KRuler -{ -public: - KRulerJBridge(TQWidget* arg1,const char* arg2) : KRuler(arg1,arg2) {}; - KRulerJBridge(TQWidget* arg1) : KRuler(arg1) {}; - KRulerJBridge() : KRuler() {}; - KRulerJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KRuler(arg1,arg2,arg3,arg4) {}; - KRulerJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : KRuler(arg1,arg2,arg3) {}; - KRulerJBridge(TQt::Orientation arg1,TQWidget* arg2) : KRuler(arg1,arg2) {}; - KRulerJBridge(TQt::Orientation arg1) : KRuler(arg1) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2,TQWidget* arg3,const char* arg4,TQt::WFlags arg5) : KRuler(arg1,arg2,arg3,arg4,arg5) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2,TQWidget* arg3,const char* arg4) : KRuler(arg1,arg2,arg3,arg4) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2,TQWidget* arg3) : KRuler(arg1,arg2,arg3) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2) : KRuler(arg1,arg2) {}; - void protected_drawContents(TQPainter* arg1) { - KRuler::drawContents(arg1); - return; - } - ~KRulerJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KRuler::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","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.KRuler","show")) { - TQWidget::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.KRuler","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","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 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.KRuler","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRuler",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_bigMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->bigMarkDistance(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRuler_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRuler*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRuler_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KRulerJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRuler_endLabel(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRuler*) QtSupport::getQt(env, obj))->endLabel(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_endOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->endOffset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KRuler*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KRuler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_lengthFixed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->lengthFixed(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_length(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_littleMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->littleMarkDistance(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_mediumMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->mediumMarkDistance(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRuler_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRuler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__I(JNIEnv* env, jobject obj, jint orient) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__II(JNIEnv* env, jobject obj, jint orient, jint widgetWidth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint orient, jint widgetWidth, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint orient, jint widgetWidth, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth, (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_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint orient, jint widgetWidth, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth, (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_KRuler_newKRuler__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint orient, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint orient, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (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_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint orient, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (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_KRuler_newKRuler__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__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 KRulerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_offset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KRuler_pixelPerMark(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KRuler*) QtSupport::getQt(env, obj))->pixelPerMark(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setBigMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setBigMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setEndLabel(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KRuler*) QtSupport::getQt(env, obj))->setEndLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setLengthFixed(JNIEnv* env, jobject obj, jboolean fix) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setLengthFixed((bool) fix); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setLength(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setLength((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setLittleMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setLittleMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setMaxValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setMediumMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setMediumMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setMinValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setOffset(JNIEnv* env, jobject obj, jint offset) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setOffset((int) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setPixelPerMark(JNIEnv* env, jobject obj, jdouble rate) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setPixelPerMark((double) rate); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setRange(JNIEnv* env, jobject obj, jint min, jint max) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setRulerMetricStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setRulerMetricStyle((KRuler::MetricStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowBigMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowBigMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowEndLabel(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowEndLabel((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowEndMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowEndMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowLittleMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowLittleMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowMediumMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowMediumMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowPointer(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowPointer((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowTinyMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowTinyMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setTinyMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setTinyMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showBigMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showBigMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showEndLabel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showEndLabel(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showEndMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showEndMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showLittleMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showLittleMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showMediumMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showMediumMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showPointer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showPointer(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showTinyMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showTinyMarks(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideDown__(JNIEnv* env, jobject obj) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideDown__I(JNIEnv* env, jobject obj, jint count) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideDown((int) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideUp__(JNIEnv* env, jobject obj) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideUp__I(JNIEnv* env, jobject obj, jint count) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideUp((int) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slotEndOffset(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slotEndOffset((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slotNewOffset(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slotNewOffset((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slotNewValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slotNewValue((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_tinyMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->tinyMarkDistance(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KRuler.h b/kdejava/koala/kdejava/KRuler.h deleted file mode 100644 index 7fa6d262..00000000 --- a/kdejava/koala/kdejava/KRuler.h +++ /dev/null @@ -1,83 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRuler__ -#define __org_kde_koala_KRuler__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRuler_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRuler_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setTinyMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_tinyMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setLittleMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_littleMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setMediumMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_mediumMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setBigMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_bigMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowTinyMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showTinyMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowLittleMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showLittleMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowMediumMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showMediumMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowBigMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showBigMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowEndMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showEndMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowPointer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showPointer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowEndLabel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showEndLabel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setEndLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRuler_endLabel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setRulerMetricStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setPixelPerMark (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KRuler_pixelPerMark (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_length (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setLengthFixed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_lengthFixed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideUp__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideUp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideDown__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideDown__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_offset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_endOffset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slotNewValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slotNewOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slotEndOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRuler__ */ diff --git a/kdejava/koala/kdejava/KRun.cpp b/kdejava/koala/kdejava/KRun.cpp deleted file mode 100644 index 794877f0..00000000 --- a/kdejava/koala/kdejava/KRun.cpp +++ /dev/null @@ -1,562 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <krun.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRun.h> - -class KRunJBridge : public KRun -{ -public: - KRunJBridge(const KURL& arg1,mode_t arg2,bool arg3,bool arg4) : KRun(arg1,arg2,arg3,arg4) {}; - KRunJBridge(const KURL& arg1,mode_t arg2,bool arg3) : KRun(arg1,arg2,arg3) {}; - KRunJBridge(const KURL& arg1,mode_t arg2) : KRun(arg1,arg2) {}; - KRunJBridge(const KURL& arg1) : KRun(arg1) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3,bool arg4,bool arg5) : KRun(arg1,arg2,arg3,arg4,arg5) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3,bool arg4) : KRun(arg1,arg2,arg3,arg4) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3) : KRun(arg1,arg2,arg3) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2) : KRun(arg1,arg2) {}; - void protected_init() { - KRun::init(); - return; - } - void protected_scanFile() { - KRun::scanFile(); - return; - } - void protected_foundMimeType(const TQString& arg1) { - KRun::foundMimeType(arg1); - return; - } - void protected_killJob() { - KRun::killJob(); - return; - } - void protected_slotTimeout() { - KRun::slotTimeout(); - return; - } - void protected_slotScanFinished(TDEIO::Job* arg1) { - KRun::slotScanFinished(arg1); - return; - } - void protected_slotScanMimeType(TDEIO::Job* arg1,const TQString& arg2) { - KRun::slotScanMimeType(arg1,arg2); - return; - } - void protected_slotStatResult(TDEIO::Job* arg1) { - KRun::slotStatResult(arg1); - return; - } - ~KRunJBridge() {QtSupport::qtKeyDeleted(this);} - void slotStatResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotStatResult",(void*)arg1,"org.kde.koala.Job")) { - KRun::slotStatResult(arg1); - } - return; - } - void scanFile() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRun","scanFile")) { - KRun::scanFile(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void killJob() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRun","killJob")) { - KRun::killJob(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRun",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_abort(JNIEnv* env, jobject obj) -{ - ((KRun*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRun_binaryName(JNIEnv* env, jclass cls, jstring execLine, jboolean removePath) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_execLine = 0; - _qstring = KRunJBridge::binaryName((const TQString&)*(TQString*) QtSupport::toTQString(env, execLine, &_qstring_execLine), (bool) removePath); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_checkStartupNotify(JNIEnv* env, jclass cls, jstring binName, jobject service, jbooleanArray silent_arg, jobject wmclass_arg) -{ - (void) cls; -static TQString* _qstring_binName = 0; - bool* _bool_silent_arg = QtSupport::toBooleanPtr(env, silent_arg); -static TQCString* _qcstring_wmclass_arg = 0; - if (_qcstring_wmclass_arg == 0) { - _qcstring_wmclass_arg = new TQCString(); - } - jboolean xret = (jboolean) KRunJBridge::checkStartupNotify((const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName), (const KService*) QtSupport::getQt(env, service), (bool*) _bool_silent_arg, (TQCString*) _qcstring_wmclass_arg); - env->SetBooleanArrayRegion(silent_arg, 0, 1, (jboolean*) _bool_silent_arg); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_wmclass_arg, wmclass_arg); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRun_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRun*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray lst) -{ - (void) cls; -static KURL::List* _qlist_lst = 0; - jboolean xret = (jboolean) KRunJBridge::displayOpenWithDialog((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, lst, &_qlist_lst)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray lst, jboolean tempFiles) -{ - (void) cls; -static KURL::List* _qlist_lst = 0; - jboolean xret = (jboolean) KRunJBridge::displayOpenWithDialog((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, lst, &_qlist_lst), (bool) tempFiles); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRun_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KRun*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KRun*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_foundMimeType(JNIEnv* env, jobject obj, jstring _type) -{ -static TQString* _qstring__type = 0; - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_foundMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_hasError(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->hasError(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_hasFinished(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->hasFinished(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_init(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_isExecutableFile(JNIEnv* env, jclass cls, jobject url, jstring mimetype) -{ - (void) cls; -static TQString* _qstring_mimetype = 0; - jboolean xret = (jboolean) KRunJBridge::isExecutableFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_isExecutable(JNIEnv* env, jclass cls, jstring serviceType) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) KRunJBridge::isExecutable((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_killJob(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_killJob(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRun_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRun*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2J(JNIEnv* env, jobject obj, jobject url, jlong mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZ(JNIEnv* env, jobject obj, jobject url, jlong mode, jboolean isLocalFile) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode, (bool) isLocalFile)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZZ(JNIEnv* env, jobject obj, jobject url, jlong mode, jboolean isLocalFile, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode, (bool) isLocalFile, (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject url, jobject window) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2J(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZ(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode, jboolean isLocalFile) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode, (bool) isLocalFile)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZZ(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode, jboolean isLocalFile, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode, (bool) isLocalFile, (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell) -{ - TQStringList _qlist; - (void) cls; -static KURL::List* _qlist__urls = 0; - _qlist = KRunJBridge::processDesktopExec((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) has_shell); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2ZZ(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell, jboolean tempFiles) -{ - TQStringList _qlist; - (void) cls; -static KURL::List* _qlist__urls = 0; - _qlist = KRunJBridge::processDesktopExec((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) has_shell, (bool) tempFiles); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd) -{ - (void) cls; -static TQString* _qstring_cmd = 0; - jint xret = (jint) KRunJBridge::runCommand((TQString)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd, jstring execName, jstring icon) -{ - (void) cls; -static TQString* _qstring_cmd = 0; -static TQString* _qstring_execName = 0; -static TQString* _qstring_icon = 0; - jint xret = (jint) KRunJBridge::runCommand((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd), (const TQString&)*(TQString*) QtSupport::toTQString(env, execName, &_qstring_execName), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype) -{ - (void) cls; -static TQString* _qstring__mimetype = 0; - jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _mimetype, &_qstring__mimetype)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype, jboolean tempFile) -{ - (void) cls; -static TQString* _qstring__mimetype = 0; - jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _mimetype, &_qstring__mimetype), (bool) tempFile); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype, jboolean tempFile, jboolean runExecutables) -{ - (void) cls; -static TQString* _qstring__mimetype = 0; - jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _mimetype, &_qstring__mimetype), (bool) tempFile, (bool) runExecutables); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon, jstring _obsolete1) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__obsolete1 = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete1, &_qstring__obsolete1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon, jstring _obsolete1, jstring _obsolete2) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__obsolete1 = 0; -static TQString* _qstring__obsolete2 = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete1, &_qstring__obsolete1), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete2, &_qstring__obsolete2)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls) -{ - (void) cls; -static KURL::List* _qlist__urls = 0; - jint xret = (jint) KRunJBridge::run((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean tempFiles) -{ - (void) cls; -static KURL::List* _qlist__urls = 0; - jint xret = (jint) KRunJBridge::run((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) tempFiles); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_scanFile(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_scanFile(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setAutoDelete(JNIEnv* env, jobject obj, jboolean b) -{ - ((KRun*) QtSupport::getQt(env, obj))->setAutoDelete((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setEnableExternalBrowser(JNIEnv* env, jobject obj, jboolean b) -{ - ((KRun*) QtSupport::getQt(env, obj))->setEnableExternalBrowser((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setPreferredService(JNIEnv* env, jobject obj, jstring desktopEntryName) -{ -static TQString* _qstring_desktopEntryName = 0; - ((KRun*) QtSupport::getQt(env, obj))->setPreferredService((const TQString&)*(TQString*) QtSupport::toTQString(env, desktopEntryName, &_qstring_desktopEntryName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setRunExecutables(JNIEnv* env, jobject obj, jboolean b) -{ - ((KRun*) QtSupport::getQt(env, obj))->setRunExecutables((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_shellQuote(JNIEnv* env, jclass cls, jobject _str) -{ - (void) cls; -static TQString* _qstring__str = 0; - KRunJBridge::shellQuote((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, _str, &_qstring__str)); - QtSupport::fromTQStringToStringBuffer(env, _qstring__str, _str); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotScanFinished(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotScanFinished((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotScanMimeType(JNIEnv* env, jobject obj, jobject arg1, jstring type) -{ -static TQString* _qstring_type = 0; - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotScanMimeType((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotStatResult(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotTimeout(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotTimeout(); - return; -} - diff --git a/kdejava/koala/kdejava/KRun.h b/kdejava/koala/kdejava/KRun.h deleted file mode 100644 index 101d3170..00000000 --- a/kdejava/koala/kdejava/KRun.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRun__ -#define __org_kde_koala_KRun__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRun_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRun_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZZ (JNIEnv *env, jobject, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZ (JNIEnv *env, jobject, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2J (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZZ (JNIEnv *env, jobject, jobject, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZ (JNIEnv *env, jobject, jobject, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2J (JNIEnv *env, jobject, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_abort (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_hasError (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_hasFinished (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setPreferredService (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setRunExecutables (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setEnableExternalBrowser (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_shellQuote (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2ZZ (JNIEnv *env, jclass, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRun_binaryName (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_isExecutable (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_isExecutableFile (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_checkStartupNotify (JNIEnv *env, jclass, jstring, jobject, jbooleanArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_scanFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_foundMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_killJob (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotTimeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotScanFinished (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotScanMimeType (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotStatResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRun__ */ diff --git a/kdejava/koala/kdejava/KSMIMECrypto.cpp b/kdejava/koala/kdejava/KSMIMECrypto.cpp deleted file mode 100644 index d75792fc..00000000 --- a/kdejava/koala/kdejava/KSMIMECrypto.cpp +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslpkcs12.h> -#include <ksmimecrypto.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSMIMECrypto.h> - -class KSMIMECryptoJBridge : public KSMIMECrypto -{ -public: - KSMIMECryptoJBridge() : KSMIMECrypto() {}; - ~KSMIMECryptoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSMIMECrypto_decryptMessage(JNIEnv* env, jobject obj, jbyteArray cipherText, jobject clearText, jobject privKey) -{ -static TQByteArray* _qbyteArray_cipherText = 0; -static TQCString* _qcstring_clearText = 0; - if (_qcstring_clearText == 0) { - _qcstring_clearText = new TQCString(); - } - jint xret = (jint) ((KSMIMECrypto*) QtSupport::getQt(env, obj))->decryptMessage((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, cipherText, &_qbyteArray_cipherText), (TQCString&)*(TQCString*) _qcstring_clearText, (const KSSLPKCS12&)*(const KSSLPKCS12*) QtSupport::getQt(env, privKey)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_clearText, clearText); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSMIMECrypto_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSMIMECrypto_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSMIMECrypto_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSMIMECrypto*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSMIMECrypto_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSMIMECrypto_newKSMIMECrypto(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSMIMECryptoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSMIMECrypto.h b/kdejava/koala/kdejava/KSMIMECrypto.h deleted file mode 100644 index 948600af..00000000 --- a/kdejava/koala/kdejava/KSMIMECrypto.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSMIMECrypto__ -#define __org_kde_koala_KSMIMECrypto__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSMIMECrypto_newKSMIMECrypto (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSMIMECrypto_decryptMessage (JNIEnv *env, jobject, jbyteArray, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSMIMECrypto_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSMIMECrypto_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSMIMECrypto_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSMIMECrypto__ */ diff --git a/kdejava/koala/kdejava/KSSL.cpp b/kdejava/koala/kdejava/KSSL.cpp deleted file mode 100644 index 78db9cd2..00000000 --- a/kdejava/koala/kdejava/KSSL.cpp +++ /dev/null @@ -1,211 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslconnectioninfo.h> -#include <ksslpeerinfo.h> -#include <tqstring.h> -#include <kssl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSL.h> - -class KSSLJBridge : public KSSL -{ -public: - KSSLJBridge(bool arg1) : KSSL(arg1) {}; - KSSLJBridge() : KSSL() {}; - ~KSSLJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_TLSInit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->TLSInit(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_accept(JNIEnv* env, jobject obj, jint sock) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->accept((int) sock); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_close(JNIEnv* env, jobject obj) -{ - ((KSSL*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_connect(JNIEnv* env, jobject obj, jint sock) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->connect((int) sock); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_connectionInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLConnectionInfo *) &((KSSL*) QtSupport::getQt(env, obj))->connectionInfo(), "org.kde.koala.KSSLConnectionInfo"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSL_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_doesSSLWork(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KSSLJBridge::doesSSLWork(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSL*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_initialize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->initialize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_newKSSL__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_newKSSL__Z(JNIEnv* env, jobject obj, jboolean init) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLJBridge((bool) init)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_peerInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLPeerInfo *) &((KSSL*) QtSupport::getQt(env, obj))->peerInfo(), "org.kde.koala.KSSLPeerInfo"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_pending(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->pending(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_reInitialize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->reInitialize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_reconfig(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->reconfig(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_reusingSession(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->reusingSession(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_seedWithEGD(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->seedWithEGD(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_session(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSL*) QtSupport::getQt(env, obj))->session(), "org.kde.koala.KSSLSession"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_setAutoReconfig(JNIEnv* env, jobject obj, jboolean ar) -{ - ((KSSL*) QtSupport::getQt(env, obj))->setAutoReconfig((bool) ar); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_setClientCertificate(JNIEnv* env, jobject obj, jobject pkcs) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->setClientCertificate((KSSLPKCS12*) QtSupport::getQt(env, pkcs)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_setPeerHost__(JNIEnv* env, jobject obj) -{ - ((KSSL*) QtSupport::getQt(env, obj))->setPeerHost(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_setPeerHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring realHost) -{ -static TQString* _qstring_realHost = 0; - ((KSSL*) QtSupport::getQt(env, obj))->setPeerHost((TQString)*(TQString*) QtSupport::toTQString(env, realHost, &_qstring_realHost)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_setSession(JNIEnv* env, jobject obj, jobject session) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->setSession((const KSSLSession*) QtSupport::getQt(env, session)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_setSettings(JNIEnv* env, jobject obj, jobject settings) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->setSettings((KSSLSettings*) QtSupport::getQt(env, settings)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_settings(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSL*) QtSupport::getQt(env, obj))->settings(), "org.kde.koala.KSSLSettings"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSL.h b/kdejava/koala/kdejava/KSSL.h deleted file mode 100644 index 8a798401..00000000 --- a/kdejava/koala/kdejava/KSSL.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSL__ -#define __org_kde_koala_KSSL__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_newKSSL__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_newKSSL__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_initialize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_TLSInit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_setSession (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_close (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_reInitialize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_reconfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_setAutoReconfig (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_seedWithEGD (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_setSettings (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_settings (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_setClientCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_setPeerHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_setPeerHost__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_connect (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_accept (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_pending (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_connectionInfo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_peerInfo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_session (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_reusingSession (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_doesSSLWork (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSL__ */ diff --git a/kdejava/koala/kdejava/KSSLCertBox.cpp b/kdejava/koala/kdejava/KSSLCertBox.cpp deleted file mode 100644 index a815657b..00000000 --- a/kdejava/koala/kdejava/KSSLCertBox.cpp +++ /dev/null @@ -1,565 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <ksslinfodlg.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertBox.h> - -class KSSLCertBoxJBridge : public KSSLCertBox -{ -public: - KSSLCertBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KSSLCertBox(arg1,arg2,arg3) {}; - KSSLCertBoxJBridge(TQWidget* arg1,const char* arg2) : KSSLCertBox(arg1,arg2) {}; - KSSLCertBoxJBridge(TQWidget* arg1) : KSSLCertBox(arg1) {}; - KSSLCertBoxJBridge() : KSSLCertBox() {}; - ~KSSLCertBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void 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 setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLCertBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLCertBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__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 KSSLCertBoxJBridge((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_KSSLCertBox_newKSSLCertBox__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 KSSLCertBoxJBridge((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_KSSLCertBox_setValues__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring certName) -{ -static TQString* _qstring_certName = 0; - ((KSSLCertBox*) QtSupport::getQt(env, obj))->setValues((TQString)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_setValues__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring certName, jobject mailCatcher) -{ -static TQString* _qstring_certName = 0; - ((KSSLCertBox*) QtSupport::getQt(env, obj))->setValues((TQString)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName), (TQWidget*) QtSupport::getQt(env, mailCatcher)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertBox.h b/kdejava/koala/kdejava/KSSLCertBox.h deleted file mode 100644 index 479d0be6..00000000 --- a/kdejava/koala/kdejava/KSSLCertBox.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertBox__ -#define __org_kde_koala_KSSLCertBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_setValues__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_setValues__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertBox__ */ diff --git a/kdejava/koala/kdejava/KSSLCertChain.cpp b/kdejava/koala/kdejava/KSSLCertChain.cpp deleted file mode 100644 index 4348bc02..00000000 --- a/kdejava/koala/kdejava/KSSLCertChain.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertchain.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertChain.h> - -class KSSLCertChainJBridge : public KSSLCertChain -{ -public: - KSSLCertChainJBridge() : KSSLCertChain() {}; - ~KSSLCertChainJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertChain_depth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLCertChain*) QtSupport::getQt(env, obj))->depth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertChain_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertChain*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertChain_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertChain_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertChain*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_newKSSLCertChain(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertChainJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertChain_replicate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertChain*) QtSupport::getQt(env, obj))->replicate(), "org.kde.koala.KSSLCertChain"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_setCertChain(JNIEnv* env, jobject obj, jobjectArray chain) -{ -static TQStringList* _qlist_chain = 0; - ((KSSLCertChain*) QtSupport::getQt(env, obj))->setCertChain((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, chain, &_qlist_chain)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertChain.h b/kdejava/koala/kdejava/KSSLCertChain.h deleted file mode 100644 index 3867d09e..00000000 --- a/kdejava/koala/kdejava/KSSLCertChain.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertChain__ -#define __org_kde_koala_KSSLCertChain__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_newKSSLCertChain (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertChain_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertChain_replicate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_setCertChain (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertChain_depth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertChain_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertChain__ */ diff --git a/kdejava/koala/kdejava/KSSLCertDlg.cpp b/kdejava/koala/kdejava/KSSLCertDlg.cpp deleted file mode 100644 index 9dc3f25d..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlg.cpp +++ /dev/null @@ -1,486 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertdlg.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertDlg.h> - -class KSSLCertDlgJBridge : public KSSLCertDlg -{ -public: - KSSLCertDlgJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KSSLCertDlg(arg1,arg2,arg3) {}; - KSSLCertDlgJBridge(TQWidget* arg1,const char* arg2) : KSSLCertDlg(arg1,arg2) {}; - KSSLCertDlgJBridge(TQWidget* arg1) : KSSLCertDlg(arg1) {}; - KSSLCertDlgJBridge() : KSSLCertDlg() {}; - ~KSSLCertDlgJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","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")) { - KDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","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 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.KSSLCertDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSSLCertDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLCertDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLCertDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertDlg_getChoice(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertDlg*) QtSupport::getQt(env, obj))->getChoice(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__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 KSSLCertDlgJBridge((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_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlg_saveChoice(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertDlg*) QtSupport::getQt(env, obj))->saveChoice(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setHost(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray certs) -{ -static TQStringList* _qlist_certs = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setupDialog((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, certs, &_qlist_certs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray certs, jboolean saveChecked) -{ -static TQStringList* _qlist_certs = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setupDialog((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, certs, &_qlist_certs), (bool) saveChecked); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobjectArray certs, jboolean saveChecked, jboolean sendChecked) -{ -static TQStringList* _qlist_certs = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setupDialog((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, certs, &_qlist_certs), (bool) saveChecked, (bool) sendChecked); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlg_wantsToSend(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertDlg*) QtSupport::getQt(env, obj))->wantsToSend(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLCertDlg.h b/kdejava/koala/kdejava/KSSLCertDlg.h deleted file mode 100644 index e960ed81..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlg.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertDlg__ -#define __org_kde_koala_KSSLCertDlg__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertDlg_getChoice (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlg_wantsToSend (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlg_saveChoice (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setHost (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertDlg__ */ diff --git a/kdejava/koala/kdejava/KSSLCertDlgRet.cpp b/kdejava/koala/kdejava/KSSLCertDlgRet.cpp deleted file mode 100644 index 9dd10ddc..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlgRet.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertdlg.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertDlgRet.h> - -class KSSLCertDlgRetJBridge : public KSSLCertDlgRet -{ -public: - KSSLCertDlgRetJBridge() : KSSLCertDlgRet() {}; - ~KSSLCertDlgRetJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlgRet_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertDlgRet_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlgRet_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertDlgRet*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlgRet_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlgRet_newKSSLCertDlgRet(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgRetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertDlgRet.h b/kdejava/koala/kdejava/KSSLCertDlgRet.h deleted file mode 100644 index d5633690..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlgRet.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertDlgRet__ -#define __org_kde_koala_KSSLCertDlgRet__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlgRet_newKSSLCertDlgRet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlgRet_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlgRet_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlgRet_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertDlgRet__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificate.cpp b/kdejava/koala/kdejava/KSSLCertificate.cpp deleted file mode 100644 index e28fa592..00000000 --- a/kdejava/koala/kdejava/KSSLCertificate.cpp +++ /dev/null @@ -1,341 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <ksslcertificate.h> -#include <ksslx509v3.h> -#include <ksslcertchain.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertificate.h> - -class KSSLCertificateJBridge : public KSSLCertificate -{ -public: - KSSLCertificateJBridge(const KSSLCertificate& arg1) : KSSLCertificate(arg1) {}; - KSSLCertificateJBridge() : KSSLCertificate() {}; - KSSLCertificate::KSSLValidation protected_processError(int arg1) { - return (KSSLCertificate::KSSLValidation) KSSLCertificate::processError(arg1); - } - ~KSSLCertificateJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_chain(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLCertChain *) &((KSSLCertificate*) QtSupport::getQt(env, obj))->chain(), "org.kde.koala.KSSLCertChain"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificate_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificate*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_fromString(JNIEnv* env, jclass cls, jstring cert) -{ - (void) cls; -static TQCString* _qcstring_cert = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateJBridge::fromString((TQCString)*(TQCString*) QtSupport::toTQCString(env, cert, &_qcstring_cert)), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_getEmails(JNIEnv* env, jobject obj, jobjectArray to) -{ -static TQStringList* _qlist_to = 0; - ((KSSLCertificate*) QtSupport::getQt(env, obj))->getEmails((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, to, &_qlist_to)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getIssuer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getIssuer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getKDEKey(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getKDEKey(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getKeyType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getKeyType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getMD5DigestFromKDEKey(JNIEnv* env, jclass cls, jstring k) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_k = 0; - _qstring = KSSLCertificateJBridge::getMD5DigestFromKDEKey((const TQString&)*(TQString*) QtSupport::toTQString(env, k, &_qstring_k)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getMD5DigestText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getMD5DigestText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getMD5Digest(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getMD5Digest(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getNotAfter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getNotAfter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getNotBefore(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getNotBefore(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getPublicKeyText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getPublicKeyText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_getQDTNotAfter(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getQDTNotAfter(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_getQDTNotBefore(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getQDTNotBefore(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getSerialNumber(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getSerialNumber(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getSignatureText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getSignatureText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getSubject(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getSubject(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isSigner(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->isSigner(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isValid__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isValid__I(JNIEnv* env, jobject obj, jint p) -{ - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->isValid((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateJBridge((const KSSLCertificate&)*(const KSSLCertificate*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_processError(JNIEnv* env, jobject obj, jint ec) -{ - jint xret = (jint) ((KSSLCertificateJBridge*) QtSupport::getQt(env, obj))->protected_processError((int) ec); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_replicate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertificate*) QtSupport::getQt(env, obj))->replicate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_revalidate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->revalidate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_revalidate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->revalidate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_setCert(JNIEnv* env, jobject obj, jobject cert) -{ -static TQString* _qstring_cert = 0; - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->setCert((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cert, &_qstring_cert)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cert, cert); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_subjAltNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSSLCertificate*) QtSupport::getQt(env, obj))->subjAltNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KSSLCertificate_toDer(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toDer(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KSSLCertificate_toNetscape(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toNetscape(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KSSLCertificate_toPem(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toPem(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_toText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_validate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->validate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_validate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->validate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_verifyText(JNIEnv* env, jclass cls, jint x) -{ - TQString _qstring; - (void) cls; - _qstring = KSSLCertificateJBridge::verifyText((KSSLCertificate::KSSLValidation) x); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_x509V3Extensions(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLX509V3 *) &((KSSLCertificate*) QtSupport::getQt(env, obj))->x509V3Extensions(), "org.kde.koala.KSSLX509V3"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificate.h b/kdejava/koala/kdejava/KSSLCertificate.h deleted file mode 100644 index 010671ab..00000000 --- a/kdejava/koala/kdejava/KSSLCertificate.h +++ /dev/null @@ -1,58 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificate__ -#define __org_kde_koala_KSSLCertificate__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSubject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getIssuer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotBefore (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotAfter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotBefore (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotAfter (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toDer (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toPem (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toNetscape (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_toText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSerialNumber (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getKeyType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getPublicKeyText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5DigestText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5Digest (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSignatureText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isValid__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isValid__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_subjAltNames (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_validate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_validate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_revalidate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_revalidate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_chain (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_replicate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_setCert (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_x509V3Extensions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isSigner (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_getEmails (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getKDEKey (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_fromString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_verifyText (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5DigestFromKDEKey (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_processError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificate__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificateCache.cpp b/kdejava/koala/kdejava/KSSLCertificateCache.cpp deleted file mode 100644 index e1d19d99..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateCache.cpp +++ /dev/null @@ -1,195 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertificatecache.h> -#include <tqdatetime.h> -#include <ksslcertificate.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertificateCache.h> - -class KSSLCertificateCacheJBridge : public KSSLCertificateCache -{ -public: - KSSLCertificateCacheJBridge() : KSSLCertificateCache() {}; - ~KSSLCertificateCacheJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2I(JNIEnv* env, jobject obj, jobject cert, jint policy) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->addCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (KSSLCertificateCache::KSSLCertificatePolicy) policy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2IZ(JNIEnv* env, jobject obj, jobject cert, jint policy, jboolean permanent) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->addCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (KSSLCertificateCache::KSSLCertificatePolicy) policy, (bool) permanent); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_addHost(JNIEnv* env, jobject obj, jobject cert, jobject host) -{ -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->addHost((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, host, &_qstring_host)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_host, host); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificateCache_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificateCache*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateCache_getCertByMD5Digest(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getCertByMD5Digest((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateCache_getHostList(JNIEnv* env, jobject obj, jobject cert) -{ - TQStringList _qlist; - _qlist = ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getHostList((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateCache_getKDEKeyByEmail(JNIEnv* env, jobject obj, jstring email) -{ - TQStringList _qlist; -static TQString* _qstring_email = 0; - _qlist = ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getKDEKeyByEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificateCache_getPolicyByCN(JNIEnv* env, jobject obj, jobject cn) -{ -static TQString* _qstring_cn = 0; - jint xret = (jint) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getPolicyByCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificateCache_getPolicyByCertificate(JNIEnv* env, jobject obj, jobject cert) -{ - jint xret = (jint) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getPolicyByCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_isPermanent(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->isPermanent((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_modifyByCN(JNIEnv* env, jobject obj, jobject cn, jint policy, jboolean permanent, jobject expires) -{ -static TQString* _qstring_cn = 0; -static TQDateTime* _qdate_expires = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->modifyByCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn), (KSSLCertificateCache::KSSLCertificatePolicy) policy, (bool) permanent, (TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, expires, &_qdate_expires)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_modifyByCertificate(JNIEnv* env, jobject obj, jobject cert, jint policy, jboolean permanent, jobject expires) -{ -static TQDateTime* _qdate_expires = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->modifyByCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (KSSLCertificateCache::KSSLCertificatePolicy) policy, (bool) permanent, (TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, expires, &_qdate_expires)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_newKSSLCertificateCache(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateCacheJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_reload(JNIEnv* env, jobject obj) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->reload(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_removeByCN(JNIEnv* env, jobject obj, jobject cn) -{ -static TQString* _qstring_cn = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->removeByCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_removeByCertificate(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->removeByCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_removeHost(JNIEnv* env, jobject obj, jobject cert, jobject host) -{ -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->removeHost((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, host, &_qstring_host)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_host, host); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_saveToDisk(JNIEnv* env, jobject obj) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->saveToDisk(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_seenCN(JNIEnv* env, jobject obj, jobject cn) -{ -static TQString* _qstring_cn = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->seenCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_seenCertificate(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->seenCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificateCache.h b/kdejava/koala/kdejava/KSSLCertificateCache.h deleted file mode 100644 index f69e47f4..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateCache.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificateCache__ -#define __org_kde_koala_KSSLCertificateCache__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_newKSSLCertificateCache (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificateCache_getPolicyByCN (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificateCache_getPolicyByCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_seenCN (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_seenCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_removeByCN (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_removeByCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_isPermanent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_modifyByCN (JNIEnv *env, jobject, jobject, jint, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_modifyByCertificate (JNIEnv *env, jobject, jobject, jint, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateCache_getHostList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_addHost (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_removeHost (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateCache_getKDEKeyByEmail (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateCache_getCertByMD5Digest (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_reload (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_saveToDisk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificateCache__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificateFactory.cpp b/kdejava/koala/kdejava/KSSLCertificateFactory.cpp deleted file mode 100644 index 67da4879..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateFactory.cpp +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertificatefactory.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertificateFactory.h> - -class KSSLCertificateFactoryJBridge : public KSSLCertificateFactory -{ -public: - KSSLCertificateFactoryJBridge() : KSSLCertificateFactory() {}; - ~KSSLCertificateFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificateFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificateFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateFactory_generateSelfSigned(JNIEnv* env, jclass cls, jint keytype) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateFactoryJBridge::generateSelfSigned((KSSLKeyType) keytype), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateFactory_newKSSLCertificateFactory(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificateFactory.h b/kdejava/koala/kdejava/KSSLCertificateFactory.h deleted file mode 100644 index 9a46ce6c..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateFactory.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificateFactory__ -#define __org_kde_koala_KSSLCertificateFactory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_newKSSLCertificateFactory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateFactory_generateSelfSigned (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificateFactory__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificateHome.cpp b/kdejava/koala/kdejava/KSSLCertificateHome.cpp deleted file mode 100644 index 6c0e54fa..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateHome.cpp +++ /dev/null @@ -1,340 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertificatehome.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLCertificateHome.h> - -class KSSLCertificateHomeJBridge : public KSSLCertificateHome -{ -public: - KSSLCertificateHomeJBridge() : KSSLCertificateHome() {}; - ~KSSLCertificateHomeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring password) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring filename, jstring password, jboolean storePass) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (bool) storePass); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2(JNIEnv* env, jclass cls, jobject cert) -{ - (void) cls; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject cert, jstring passToStore) -{ - (void) cls; -static TQString* _qstring_passToStore = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, passToStore, &_qstring_passToStore)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_deleteCertificateByName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::deleteCertificateByName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring password) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::deleteCertificate((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Lorg_kde_koala_KSSLPKCS12_2(JNIEnv* env, jclass cls, jobject cert) -{ - (void) cls; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::deleteCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificateHome_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificateHome*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateByHost(JNIEnv* env, jclass cls, jstring host, jstring password, jint aa) -{ - (void) cls; -static TQString* _qstring_host = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getCertificateByHost((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (KSSLCertificateHome::KSSLAuthAction*) aa), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getCertificateByName((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jstring password) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getCertificateByName((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateList(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KSSLCertificateHomeJBridge::getCertificateList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__I(JNIEnv* env, jclass cls, jint aa) -{ - TQString _qstring; - (void) cls; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName((KSSLCertificateHome::KSSLAuthAction*) aa); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring host) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_host = 0; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring host, jint aa) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_host = 0; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (KSSLCertificateHome::KSSLAuthAction*) aa); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate(), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__I(JNIEnv* env, jclass cls, jint aa) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate((KSSLCertificateHome::KSSLAuthAction*) aa), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring password) -{ - (void) cls; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring password, jint aa) -{ - (void) cls; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (KSSLCertificateHome::KSSLAuthAction*) aa), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_hasCertificateByName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::hasCertificateByName((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_newKSSLCertificateHome(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateHomeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jstring host) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring name, jstring host, jboolean send) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring name, jstring host, jboolean send, jboolean prompt) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send, (bool) prompt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring name, jboolean send) -{ - (void) cls; -static TQString* _qstring_name = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring name, jboolean send, jboolean prompt) -{ - (void) cls; -static TQString* _qstring_name = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) send, (bool) prompt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2(JNIEnv* env, jclass cls, jobject cert) -{ - (void) cls; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject cert, jstring host) -{ - (void) cls; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject cert, jstring host, jboolean send) -{ - (void) cls; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jobject cert, jstring host, jboolean send, jboolean prompt) -{ - (void) cls; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send, (bool) prompt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Z(JNIEnv* env, jclass cls, jobject cert, jboolean send) -{ - (void) cls; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2ZZ(JNIEnv* env, jclass cls, jobject cert, jboolean send, jboolean prompt) -{ - (void) cls; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (bool) send, (bool) prompt); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificateHome.h b/kdejava/koala/kdejava/KSSLCertificateHome.h deleted file mode 100644 index 8e7d33d9..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateHome.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificateHome__ -#define __org_kde_koala_KSSLCertificateHome__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_newKSSLCertificateHome (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateByHost (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__ (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_hasCertificateByName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Lorg_kde_koala_KSSLPKCS12_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_deleteCertificateByName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateList (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificateHome__ */ diff --git a/kdejava/koala/kdejava/KSSLConnectionInfo.cpp b/kdejava/koala/kdejava/KSSLConnectionInfo.cpp deleted file mode 100644 index ef80c6dd..00000000 --- a/kdejava/koala/kdejava/KSSLConnectionInfo.cpp +++ /dev/null @@ -1,97 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslconnectioninfo.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLConnectionInfo.h> - -class KSSLConnectionInfoJBridge : public KSSLConnectionInfo -{ -public: - KSSLConnectionInfoJBridge() : KSSLConnectionInfo() {}; - void protected_clean() { - KSSLConnectionInfo::clean(); - return; - } - ~KSSLConnectionInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_clean(JNIEnv* env, jobject obj) -{ - ((KSSLConnectionInfoJBridge*) QtSupport::getQt(env, obj))->protected_clean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLConnectionInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLConnectionInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherBits(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherBits(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherDescription(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherDescription(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherUsedBits(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherUsedBits(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherVersion(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherVersion(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipher(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipher(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLConnectionInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_newKSSLConnectionInfo(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLConnectionInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLConnectionInfo.h b/kdejava/koala/kdejava/KSSLConnectionInfo.h deleted file mode 100644 index 14e07dcb..00000000 --- a/kdejava/koala/kdejava/KSSLConnectionInfo.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLConnectionInfo__ -#define __org_kde_koala_KSSLConnectionInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipher (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherDescription (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherVersion (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherUsedBits (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherBits (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_newKSSLConnectionInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_clean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLConnectionInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLConnectionInfo__ */ diff --git a/kdejava/koala/kdejava/KSSLInfoDlg.cpp b/kdejava/koala/kdejava/KSSLInfoDlg.cpp deleted file mode 100644 index 4f3f8256..00000000 --- a/kdejava/koala/kdejava/KSSLInfoDlg.cpp +++ /dev/null @@ -1,487 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertificate.h> -#include <tqstring.h> -#include <ksslinfodlg.h> -#include <kssl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLInfoDlg.h> - -class KSSLInfoDlgJBridge : public KSSLInfoDlg -{ -public: - KSSLInfoDlgJBridge(bool arg1,TQWidget* arg2,const char* arg3,bool arg4) : KSSLInfoDlg(arg1,arg2,arg3,arg4) {}; - KSSLInfoDlgJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KSSLInfoDlg(arg1,arg2,arg3) {}; - KSSLInfoDlgJBridge(bool arg1,TQWidget* arg2) : KSSLInfoDlg(arg1,arg2) {}; - KSSLInfoDlgJBridge(bool arg1) : KSSLInfoDlg(arg1) {}; - ~KSSLInfoDlgJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","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")) { - KDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","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 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.KSSLInfoDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring certName) -{ - (void) cls; -static TQString* _qstring_certName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLInfoDlgJBridge::certInfoWidget((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName)), "org.kde.koala.KSSLCertBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent, jstring certName, jobject mailCatcher) -{ - (void) cls; -static TQString* _qstring_certName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLInfoDlgJBridge::certInfoWidget((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName), (TQWidget*) QtSupport::getQt(env, mailCatcher)), "org.kde.koala.KSSLCertBox"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLInfoDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLInfoDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLInfoDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLInfoDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLInfoDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLInfoDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLInfoDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__Z(JNIEnv* env, jobject obj, jboolean secureConnection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean secureConnection, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean secureConnection, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection, (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_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jboolean secureConnection, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setCertState(JNIEnv* env, jobject obj, jstring errorNrs) -{ -static TQString* _qstring_errorNrs = 0; - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setCertState((const TQString&)*(TQString*) QtSupport::toTQString(env, errorNrs, &_qstring_errorNrs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setSecurityInQuestion(JNIEnv* env, jobject obj, jboolean isIt) -{ - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setSecurityInQuestion((bool) isIt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSLCertificate_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jobject obj, jobject cert, jstring ip, jstring url, jstring cipher, jstring cipherdesc, jstring sslversion, jint usedbits, jint bits, jint certState) -{ -static TQString* _qstring_ip = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_cipher = 0; -static TQString* _qstring_cipherdesc = 0; -static TQString* _qstring_sslversion = 0; - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setup((KSSLCertificate*) QtSupport::getQt(env, cert), (const TQString&)*(TQString*) QtSupport::toTQString(env, ip, &_qstring_ip), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, cipher, &_qstring_cipher), (const TQString&)*(TQString*) QtSupport::toTQString(env, cipherdesc, &_qstring_cipherdesc), (const TQString&)*(TQString*) QtSupport::toTQString(env, sslversion, &_qstring_sslversion), (int) usedbits, (int) bits, (KSSLCertificate::KSSLValidation) certState); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject ssl, jstring ip, jstring url) -{ -static TQString* _qstring_ip = 0; -static TQString* _qstring_url = 0; - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setup((KSSL&)*(KSSL*) QtSupport::getQt(env, ssl), (const TQString&)*(TQString*) QtSupport::toTQString(env, ip, &_qstring_ip), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLInfoDlg.h b/kdejava/koala/kdejava/KSSLInfoDlg.h deleted file mode 100644 index 9e40efb6..00000000 --- a/kdejava/koala/kdejava/KSSLInfoDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLInfoDlg__ -#define __org_kde_koala_KSSLInfoDlg__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLInfoDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLInfoDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jboolean, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setSecurityInQuestion (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSLCertificate_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setCertState (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLInfoDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLInfoDlg__ */ diff --git a/kdejava/koala/kdejava/KSSLKeyGen.cpp b/kdejava/koala/kdejava/KSSLKeyGen.cpp deleted file mode 100644 index a6f78422..00000000 --- a/kdejava/koala/kdejava/KSSLKeyGen.cpp +++ /dev/null @@ -1,502 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslkeygen.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLKeyGen.h> - -class KSSLKeyGenJBridge : public KSSLKeyGen -{ -public: - KSSLKeyGenJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KSSLKeyGen(arg1,arg2,arg3) {}; - KSSLKeyGenJBridge(TQWidget* arg1,const char* arg2) : KSSLKeyGen(arg1,arg2) {}; - KSSLKeyGenJBridge(TQWidget* arg1) : KSSLKeyGen(arg1) {}; - KSSLKeyGenJBridge() : KSSLKeyGen() {}; - ~KSSLKeyGenJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::removePage(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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void next() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","next")) { - TQWizard::next(); - } - 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","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")) { - TQDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void back() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","back")) { - TQWizard::back(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::showPage(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","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 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.KSSLKeyGen","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","help")) { - TQWizard::help(); - } - return; - } - void layOutButtonRow(TQHBoxLayout* arg1) { - if (!QtSupport::eventDelegate(this,"layOutButtonRow",(void*)arg1,"org.kde.qt.TQHBoxLayout")) { - TQWizard::layOutButtonRow(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLKeyGen_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSSLKeyGen*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLKeyGen_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLKeyGen*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLKeyGen*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring pass, jint bits) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_pass = 0; - jint xret = (jint) ((KSSLKeyGen*) QtSupport::getQt(env, obj))->generateCSR((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass), (int) bits); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jstring pass, jint bits, jint e) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_pass = 0; - jint xret = (jint) ((KSSLKeyGen*) QtSupport::getQt(env, obj))->generateCSR((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass), (int) bits, (int) e); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLKeyGen_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLKeyGen_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLKeyGen*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLKeyGenJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLKeyGenJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__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 KSSLKeyGenJBridge((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_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLKeyGenJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_setKeySize(JNIEnv* env, jobject obj, jint idx) -{ - ((KSSLKeyGen*) QtSupport::getQt(env, obj))->setKeySize((int) idx); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLKeyGen_supportedKeySizes(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KSSLKeyGenJBridge::supportedKeySizes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KSSLKeyGen.h b/kdejava/koala/kdejava/KSSLKeyGen.h deleted file mode 100644 index a78f781d..00000000 --- a/kdejava/koala/kdejava/KSSLKeyGen.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLKeyGen__ -#define __org_kde_koala_KSSLKeyGen__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLKeyGen_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLKeyGen_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_setKeySize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLKeyGen_supportedKeySizes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLKeyGen_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLKeyGen__ */ diff --git a/kdejava/koala/kdejava/KSSLPKCS12.cpp b/kdejava/koala/kdejava/KSSLPKCS12.cpp deleted file mode 100644 index 25d21196..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS12.cpp +++ /dev/null @@ -1,180 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslpkcs12.h> -#include <ksslcertificate.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLPKCS12.h> - -class KSSLPKCS12JBridge : public KSSLPKCS12 -{ -public: - KSSLPKCS12JBridge() : KSSLPKCS12() {}; - bool protected_parse(TQString arg1) { - return (bool) KSSLPKCS12::parse(arg1); - } - ~KSSLPKCS12JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_changePassword(JNIEnv* env, jobject obj, jstring pold, jstring pnew) -{ -static TQString* _qstring_pold = 0; -static TQString* _qstring_pnew = 0; - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->changePassword((TQString)*(TQString*) QtSupport::toTQString(env, pold, &_qstring_pold), (TQString)*(TQString*) QtSupport::toTQString(env, pnew, &_qstring_pnew)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS12_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLPKCS12_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS12_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLPKCS12*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base64) -{ - (void) cls; -static TQString* _qstring_base64 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::fromString((TQString)*(TQString*) QtSupport::toTQString(env, base64, &_qstring_base64)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base64, jstring password) -{ - (void) cls; -static TQString* _qstring_base64 = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::fromString((TQString)*(TQString*) QtSupport::toTQString(env, base64, &_qstring_base64), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_getCertificate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLPKCS12*) QtSupport::getQt(env, obj))->getCertificate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_isValid__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_isValid__I(JNIEnv* env, jobject obj, jint p) -{ - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->isValid((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::loadCertFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring password) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::loadCertFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS12_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS12*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS12_newKSSLPKCS12(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLPKCS12JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_parse(JNIEnv* env, jobject obj, jstring pass) -{ -static TQString* _qstring_pass = 0; - jboolean xret = (jboolean) ((KSSLPKCS12JBridge*) QtSupport::getQt(env, obj))->protected_parse((TQString)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_revalidate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->revalidate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_revalidate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->revalidate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_toFile(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->toFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS12_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS12*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_validate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->validate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_validate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->validate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLPKCS12.h b/kdejava/koala/kdejava/KSSLPKCS12.h deleted file mode 100644 index 230115f4..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS12.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLPKCS12__ -#define __org_kde_koala_KSSLPKCS12__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS12_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS12_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_changePassword (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_getCertificate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_toFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_validate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_validate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_revalidate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_revalidate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_isValid__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_isValid__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS12_newKSSLPKCS12 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_parse (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS12_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS12_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLPKCS12__ */ diff --git a/kdejava/koala/kdejava/KSSLPKCS7.cpp b/kdejava/koala/kdejava/KSSLPKCS7.cpp deleted file mode 100644 index 4619c779..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS7.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslpkcs7.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLPKCS7.h> - -class KSSLPKCS7JBridge : public KSSLPKCS7 -{ -public: - KSSLPKCS7JBridge() : KSSLPKCS7() {}; - ~KSSLPKCS7JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS7_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLPKCS7_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS7_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLPKCS7*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_fromString(JNIEnv* env, jclass cls, jstring base64) -{ - (void) cls; -static TQString* _qstring_base64 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS7JBridge::fromString((TQString)*(TQString*) QtSupport::toTQString(env, base64, &_qstring_base64)), "org.kde.koala.KSSLPKCS7"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_getCertificate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLPKCS7*) QtSupport::getQt(env, obj))->getCertificate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_getChain(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLPKCS7*) QtSupport::getQt(env, obj))->getChain(), "org.kde.koala.KSSLCertChain"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS7_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS7_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLPKCS7*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_loadCertFile(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS7JBridge::loadCertFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.koala.KSSLPKCS7"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS7_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS7*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS7_newKSSLPKCS7(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLPKCS7JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS7_toFile(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((KSSLPKCS7*) QtSupport::getQt(env, obj))->toFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS7_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS7*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KSSLPKCS7.h b/kdejava/koala/kdejava/KSSLPKCS7.h deleted file mode 100644 index 90b350e6..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS7.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLPKCS7__ -#define __org_kde_koala_KSSLPKCS7__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS7_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS7_toString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_getCertificate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_getChain (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS7_toFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS7_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_fromString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_loadCertFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS7_newKSSLPKCS7 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS7_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS7_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS7_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLPKCS7__ */ diff --git a/kdejava/koala/kdejava/KSSLPeerInfo.cpp b/kdejava/koala/kdejava/KSSLPeerInfo.cpp deleted file mode 100644 index 41d910f1..00000000 --- a/kdejava/koala/kdejava/KSSLPeerInfo.cpp +++ /dev/null @@ -1,101 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertificate.h> -#include <tqstring.h> -#include <ksslpeerinfo.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLPeerInfo.h> - -class KSSLPeerInfoJBridge : public KSSLPeerInfo -{ -public: - KSSLPeerInfoJBridge() : KSSLPeerInfo() {}; - ~KSSLPeerInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPeerInfo_certMatchesAddress(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->certMatchesAddress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPeerInfo_cnMatchesAddress(JNIEnv* env, jobject obj, jstring cn) -{ -static TQString* _qstring_cn = 0; - jboolean xret = (jboolean) ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->cnMatchesAddress((TQString)*(TQString*) QtSupport::toTQString(env, cn, &_qstring_cn)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLPeerInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLPeerInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPeerInfo_getPeerCertificate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLCertificate *) &((KSSLPeerInfo*) QtSupport::getQt(env, obj))->getPeerCertificate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPeerInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_newKSSLPeerInfo(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLPeerInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPeerInfo_peerHost(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->peerHost(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_reset(JNIEnv* env, jobject obj) -{ - ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_setPeerHost__(JNIEnv* env, jobject obj) -{ - ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->setPeerHost(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_setPeerHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->setPeerHost((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLPeerInfo.h b/kdejava/koala/kdejava/KSSLPeerInfo.h deleted file mode 100644 index bb41c5f0..00000000 --- a/kdejava/koala/kdejava/KSSLPeerInfo.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLPeerInfo__ -#define __org_kde_koala_KSSLPeerInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPeerInfo_getPeerCertificate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPeerInfo_certMatchesAddress (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPeerInfo_cnMatchesAddress (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_setPeerHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_setPeerHost__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPeerInfo_peerHost (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_newKSSLPeerInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPeerInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLPeerInfo__ */ diff --git a/kdejava/koala/kdejava/KSSLSession.cpp b/kdejava/koala/kdejava/KSSLSession.cpp deleted file mode 100644 index e5426b8b..00000000 --- a/kdejava/koala/kdejava/KSSLSession.cpp +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslsession.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLSession.h> - -class KSSLSessionJBridge : public KSSLSession -{ -public: - KSSLSessionJBridge() : KSSLSession() {}; - ~KSSLSessionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSession_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLSession_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSession_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLSession*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLSession_fromString(JNIEnv* env, jclass cls, jstring s) -{ - (void) cls; -static TQString* _qstring_s = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLSessionJBridge::fromString((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)), "org.kde.koala.KSSLSession"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSession_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSession_newKSSLSession(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSessionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSession_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLSession*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KSSLSession.h b/kdejava/koala/kdejava/KSSLSession.h deleted file mode 100644 index bcb93f8e..00000000 --- a/kdejava/koala/kdejava/KSSLSession.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLSession__ -#define __org_kde_koala_KSSLSession__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSession_toString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLSession_fromString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSession_newKSSLSession (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSession_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSession_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSession_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLSession__ */ diff --git a/kdejava/koala/kdejava/KSSLSettings.cpp b/kdejava/koala/kdejava/KSSLSettings.cpp deleted file mode 100644 index e7aa4f67..00000000 --- a/kdejava/koala/kdejava/KSSLSettings.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslsettings.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLSettings.h> - -class KSSLSettingsJBridge : public KSSLSettings -{ -public: - KSSLSettingsJBridge(bool arg1) : KSSLSettings(arg1) {}; - KSSLSettingsJBridge() : KSSLSettings() {}; - ~KSSLSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_autoSendX509(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->autoSendX509(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_defaults(JNIEnv* env, jobject obj) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->defaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLSettings_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSettings_getCipherList(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLSettings*) QtSupport::getQt(env, obj))->getCipherList(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSettings_getEGDPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLSettings*) QtSupport::getQt(env, obj))->getEGDPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_load(JNIEnv* env, jobject obj) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->load(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_newKSSLSettings__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_newKSSLSettings__Z(JNIEnv* env, jobject obj, jboolean readConfig) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSettingsJBridge((bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_promptSendX509(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->promptSendX509(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_save(JNIEnv* env, jobject obj) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setSSLv2(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setSSLv2((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setSSLv3(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setSSLv3((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setTLSv1(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setTLSv1((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setWarnOnEnter(JNIEnv* env, jobject obj, jboolean x) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setWarnOnEnter((bool) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setWarnOnLeave(JNIEnv* env, jobject obj, jboolean x) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setWarnOnLeave((bool) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setWarnOnUnencrypted(JNIEnv* env, jobject obj, jboolean x) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setWarnOnUnencrypted((bool) x); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_sslv2(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->sslv2(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_sslv3(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->sslv3(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_tlsv1(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->tlsv1(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_useEFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->useEFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_useEGD(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->useEGD(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnEnter(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnEnter(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnLeave(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnLeave(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnMixed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnMixed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnUnencrypted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnUnencrypted(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLSettings.h b/kdejava/koala/kdejava/KSSLSettings.h deleted file mode 100644 index 228d7478..00000000 --- a/kdejava/koala/kdejava/KSSLSettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLSettings__ -#define __org_kde_koala_KSSLSettings__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_newKSSLSettings__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_newKSSLSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_sslv2 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_sslv3 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_tlsv1 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnEnter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setWarnOnEnter (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnUnencrypted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setWarnOnUnencrypted (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnLeave (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setWarnOnLeave (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnMixed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_useEGD (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_useEFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setTLSv1 (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setSSLv2 (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setSSLv3 (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_autoSendX509 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_promptSendX509 (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSettings_getCipherList (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSettings_getEGDPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_load (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_defaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLSettings__ */ diff --git a/kdejava/koala/kdejava/KSSLSigners.cpp b/kdejava/koala/kdejava/KSSLSigners.cpp deleted file mode 100644 index 431696cb..00000000 --- a/kdejava/koala/kdejava/KSSLSigners.cpp +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslcertificate.h> -#include <ksslsigners.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLSigners.h> - -class KSSLSignersJBridge : public KSSLSigners -{ -public: - KSSLSignersJBridge() : KSSLSigners() {}; - ~KSSLSignersJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_addCA__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring cert, jboolean ssl, jboolean email, jboolean code) -{ -static TQString* _qstring_cert = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->addCA((TQString)*(TQString*) QtSupport::toTQString(env, cert, &_qstring_cert), (bool) ssl, (bool) email, (bool) code); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_addCA__Lorg_kde_koala_KSSLCertificate_2ZZZ(JNIEnv* env, jobject obj, jobject cert, jboolean ssl, jboolean email, jboolean code) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->addCA((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (bool) ssl, (bool) email, (bool) code); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSigners_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLSigners_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSigners_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLSigners*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSigners_getCert(JNIEnv* env, jobject obj, jstring subject) -{ - TQString _qstring; -static TQString* _qstring_subject = 0; - _qstring = ((KSSLSigners*) QtSupport::getQt(env, obj))->getCert((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLSigners_list(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSSLSigners*) QtSupport::getQt(env, obj))->list(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSigners_newKSSLSigners(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSignersJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_regenerate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->regenerate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_remove__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->remove((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_remove__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->remove((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_setUse(JNIEnv* env, jobject obj, jstring subject, jboolean ssl, jboolean email, jboolean code) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->setUse((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (bool) ssl, (bool) email, (bool) code); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForCode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForCode((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForCode__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForCode((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForEmail__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForEmail((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForEmail__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForEmail((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForSSL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForSSL((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForSSL__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForSSL((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLSigners.h b/kdejava/koala/kdejava/KSSLSigners.h deleted file mode 100644 index 0c549b4a..00000000 --- a/kdejava/koala/kdejava/KSSLSigners.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLSigners__ -#define __org_kde_koala_KSSLSigners__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSigners_newKSSLSigners (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_addCA__Lorg_kde_koala_KSSLCertificate_2ZZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_addCA__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_regenerate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForSSL__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForSSL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForEmail__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForEmail__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForCode__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForCode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_remove__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_remove__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLSigners_list (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSigners_getCert (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_setUse (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSigners_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSigners_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLSigners__ */ diff --git a/kdejava/koala/kdejava/KSSLX509Map.cpp b/kdejava/koala/kdejava/KSSLX509Map.cpp deleted file mode 100644 index 25f507f9..00000000 --- a/kdejava/koala/kdejava/KSSLX509Map.cpp +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslx509map.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLX509Map.h> - -class KSSLX509MapJBridge : public KSSLX509Map -{ -public: - KSSLX509MapJBridge(const TQString& arg1) : KSSLX509Map(arg1) {}; - ~KSSLX509MapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLX509Map_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLX509Map*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLX509Map_getValue(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQString* _qstring_key = 0; - _qstring = ((KSSLX509Map*) QtSupport::getQt(env, obj))->getValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509Map_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_newKSSLX509Map(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLX509MapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_reset__(JNIEnv* env, jobject obj) -{ - ((KSSLX509Map*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_reset__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KSSLX509Map*) QtSupport::getQt(env, obj))->reset((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_setValue(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((KSSLX509Map*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLX509Map.h b/kdejava/koala/kdejava/KSSLX509Map.h deleted file mode 100644 index 759f64c2..00000000 --- a/kdejava/koala/kdejava/KSSLX509Map.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLX509Map__ -#define __org_kde_koala_KSSLX509Map__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_newKSSLX509Map (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_setValue (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLX509Map_getValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_reset__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_reset__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509Map_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLX509Map__ */ diff --git a/kdejava/koala/kdejava/KSSLX509V3.cpp b/kdejava/koala/kdejava/KSSLX509V3.cpp deleted file mode 100644 index d9f56336..00000000 --- a/kdejava/koala/kdejava/KSSLX509V3.cpp +++ /dev/null @@ -1,124 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksslx509v3.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSSLX509V3.h> - -class KSSLX509V3JBridge : public KSSLX509V3 -{ -public: - KSSLX509V3JBridge() : KSSLX509V3() {}; - ~KSSLX509V3JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeCRLSign(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeCRLSign(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeCodeCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeCodeCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeEmailCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeEmailCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeNSSSLServer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeNSSSLServer(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSMIMEEncrypt(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSMIMEEncrypt(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSMIMESign(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSMIMESign(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSMIME(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSMIME(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSSLCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSSLCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSSLClient(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSSLClient(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSSLServer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSSLServer(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509V3_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLX509V3_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509V3_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLX509V3*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509V3_newKSSLX509V3(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLX509V3JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLX509V3.h b/kdejava/koala/kdejava/KSSLX509V3.h deleted file mode 100644 index 057f4a93..00000000 --- a/kdejava/koala/kdejava/KSSLX509V3.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLX509V3__ -#define __org_kde_koala_KSSLX509V3__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSSLCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeEmailCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeCodeCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSSLClient (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSSLServer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeNSSSLServer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSMIME (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSMIMEEncrypt (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSMIMESign (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeCRLSign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509V3_newKSSLX509V3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509V3_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509V3_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLX509V3__ */ diff --git a/kdejava/koala/kdejava/KSaveFile.cpp b/kdejava/koala/kdejava/KSaveFile.cpp deleted file mode 100644 index 40e31a5a..00000000 --- a/kdejava/koala/kdejava/KSaveFile.cpp +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksavefile.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSaveFile.h> - -class KSaveFileJBridge : public KSaveFile -{ -public: - KSaveFileJBridge(const TQString& arg1,int arg2) : KSaveFile(arg1,arg2) {}; - KSaveFileJBridge(const TQString& arg1) : KSaveFile(arg1) {}; - ~KSaveFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_abort(JNIEnv* env, jobject obj) -{ - ((KSaveFile*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) KSaveFileJBridge::backupFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring backupDir) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_backupDir = 0; - jboolean xret = (jboolean) KSaveFileJBridge::backupFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, backupDir, &_qstring_backupDir)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring backupDir, jstring backupExtension) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_backupDir = 0; -static TQString* _qstring_backupExtension = 0; - jboolean xret = (jboolean) KSaveFileJBridge::backupFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, backupDir, &_qstring_backupDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, backupExtension, &_qstring_backupExtension)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_close(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSaveFile*) QtSupport::getQt(env, obj))->close(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSaveFile_dataStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSaveFile*) QtSupport::getQt(env, obj))->dataStream(), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSaveFile_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSaveFile_file(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSaveFile*) QtSupport::getQt(env, obj))->file(), "org.kde.qt.TQFile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSaveFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSaveFile_handle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSaveFile*) QtSupport::getQt(env, obj))->handle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSaveFile_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSaveFile*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSaveFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring filename, jint mode) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSaveFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSaveFile_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSaveFile*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSaveFile_textStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSaveFile*) QtSupport::getQt(env, obj))->textStream(), "org.kde.qt.TQTextStream"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSaveFile.h b/kdejava/koala/kdejava/KSaveFile.h deleted file mode 100644 index 40b4ea06..00000000 --- a/kdejava/koala/kdejava/KSaveFile.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSaveFile__ -#define __org_kde_koala_KSaveFile__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSaveFile_status (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSaveFile_name (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSaveFile_handle (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSaveFile_file (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSaveFile_textStream (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSaveFile_dataStream (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_abort (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_close (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSaveFile__ */ diff --git a/kdejava/koala/kdejava/KScanDialog.cpp b/kdejava/koala/kdejava/KScanDialog.cpp deleted file mode 100644 index 645ea56a..00000000 --- a/kdejava/koala/kdejava/KScanDialog.cpp +++ /dev/null @@ -1,596 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kscan.h> -#include <tqimage.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KScanDialog.h> - -class KScanDialogJBridge : public KScanDialog -{ -public: - KScanDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4,bool arg5) : KScanDialog(arg1,arg2,arg3,arg4,arg5) {}; - KScanDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4) : KScanDialog(arg1,arg2,arg3,arg4) {}; - KScanDialogJBridge(int arg1,int arg2,TQWidget* arg3) : KScanDialog(arg1,arg2,arg3) {}; - KScanDialogJBridge(int arg1,int arg2) : KScanDialog(arg1,arg2) {}; - KScanDialogJBridge(int arg1) : KScanDialog(arg1) {}; - KScanDialogJBridge() : KScanDialog() {}; - int protected_id() { - return (int) KScanDialog::id(); - } - int protected_nextId() { - return (int) KScanDialog::nextId(); - } - ~KScanDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - bool setup() { - return QtSupport::booleanDelegate(this,"setup"); - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","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 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.KScanDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KScanDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KScanDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KScanDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KScanDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KScanDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog(), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog((TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jstring name, jboolean modal) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KScanDialog_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KScanDialogJBridge*) QtSupport::getQt(env, obj))->protected_id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KScanDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KScanDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__I(JNIEnv* env, jobject obj, jint dialogFace) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__II(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask, (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_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KScanDialog_nextId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KScanDialogJBridge*) QtSupport::getQt(env, obj))->protected_nextId(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KScanDialog_setup(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KScanDialog*) QtSupport::getQt(env, obj))->setup(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KScanDialog.h b/kdejava/koala/kdejava/KScanDialog.h deleted file mode 100644 index 375a1fbf..00000000 --- a/kdejava/koala/kdejava/KScanDialog.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KScanDialog__ -#define __org_kde_koala_KScanDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KScanDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KScanDialog_setup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KScanDialog_id (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KScanDialog_nextId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KScanDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KScanDialog__ */ diff --git a/kdejava/koala/kdejava/KSeparator.cpp b/kdejava/koala/kdejava/KSeparator.cpp deleted file mode 100644 index da2ac416..00000000 --- a/kdejava/koala/kdejava/KSeparator.cpp +++ /dev/null @@ -1,541 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kseparator.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSeparator.h> - -class KSeparatorJBridge : public KSeparator -{ -public: - KSeparatorJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KSeparator(arg1,arg2,arg3) {}; - KSeparatorJBridge(TQWidget* arg1,const char* arg2) : KSeparator(arg1,arg2) {}; - KSeparatorJBridge(TQWidget* arg1) : KSeparator(arg1) {}; - KSeparatorJBridge() : KSeparator() {}; - KSeparatorJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KSeparator(arg1,arg2,arg3,arg4) {}; - KSeparatorJBridge(int arg1,TQWidget* arg2,const char* arg3) : KSeparator(arg1,arg2,arg3) {}; - KSeparatorJBridge(int arg1,TQWidget* arg2) : KSeparator(arg1,arg2) {}; - KSeparatorJBridge(int arg1) : KSeparator(arg1) {}; - void protected_drawFrame(TQPainter* arg1) { - KSeparator::drawFrame(arg1); - return; - } - ~KSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","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.KSeparator","show")) { - TQWidget::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.KSeparator","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - KSeparator::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","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 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.KSeparator","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSeparator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSeparator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSeparator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_drawFrame(JNIEnv* env, jobject obj, jobject p) -{ - ((KSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSeparator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSeparator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__I(JNIEnv* env, jobject obj, jint orientation) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint orientation, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint orientation, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation, (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_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint orientation, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation, (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_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__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 KSeparatorJBridge((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_KSeparator_newKSeparator__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 KSeparatorJBridge((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 jint JNICALL -Java_org_kde_koala_KSeparator_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSeparator*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_setOrientation(JNIEnv* env, jobject obj, jint orient) -{ - ((KSeparator*) QtSupport::getQt(env, obj))->setOrientation((int) orient); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSeparator_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KSeparator*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSeparator.h b/kdejava/koala/kdejava/KSeparator.h deleted file mode 100644 index 9c43deee..00000000 --- a/kdejava/koala/kdejava/KSeparator.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSeparator__ -#define __org_kde_koala_KSeparator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSeparator_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSeparator_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_drawFrame (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSeparator__ */ diff --git a/kdejava/koala/kdejava/KService.cpp b/kdejava/koala/kdejava/KService.cpp deleted file mode 100644 index 8f60a952..00000000 --- a/kdejava/koala/kdejava/KService.cpp +++ /dev/null @@ -1,493 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <tqdatastream.h> -#include <tqpixmap.h> -#include <kicontheme.h> -#include <tqstring.h> -#include <tqvariant.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KService.h> - -class KServiceJBridge : public KService -{ -public: - KServiceJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3) : KService(arg1,arg2,arg3) {}; - KServiceJBridge(const TQString& arg1) : KService(arg1) {}; - KServiceJBridge(KDesktopFile* arg1) : KService(arg1) {}; - KServiceJBridge(TQDataStream& arg1,int arg2) : KService(arg1,arg2) {}; - void protected_init(KDesktopFile* arg1) { - KService::init(arg1); - return; - } - TQStringList& protected_accessServiceTypes() { - return (TQStringList&) KService::accessServiceTypes(); - } - ~KServiceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KService_DCOPServiceType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KService*) QtSupport::getQt(env, obj))->DCOPServiceType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_accessServiceTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceJBridge*) QtSupport::getQt(env, obj))->protected_accessServiceTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_allowAsDefault(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->allowAsDefault(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_allowMultipleFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->allowMultipleFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_categories(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->categories(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_desktopEntryName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->desktopEntryName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_desktopEntryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->desktopEntryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KService_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_exec(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->exec(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KService*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_genericName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->genericName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_hasServiceType(JNIEnv* env, jobject obj, jstring _service) -{ -static TQString* _qstring__service = 0; - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->hasServiceType((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_init__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->init(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_init__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - ((KServiceJBridge*) QtSupport::getQt(env, obj))->protected_init((KDesktopFile*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KService_initialPreferenceForMimeType(JNIEnv* env, jobject obj, jstring mimeType) -{ -static TQString* _qstring_mimeType = 0; - jint xret = (jint) ((KService*) QtSupport::getQt(env, obj))->initialPreferenceForMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KService_initialPreference(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KService*) QtSupport::getQt(env, obj))->initialPreference(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_keywords(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->keywords(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_library(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->library(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KService*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_locateLocal(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->locateLocal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_menuId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->menuId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath) -{ -static TQString* _qstring__fullpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _name, jstring _exec, jstring _icon) -{ -static TQString* _qstring__name = 0; -static TQString* _qstring__exec = 0; -static TQString* _qstring__icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2(JNIEnv* env, jclass cls, jboolean showInMenu, jstring suggestedName) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_suggestedName = 0; - _qstring = KServiceJBridge::newServicePath((bool) showInMenu, (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedName, &_qstring_suggestedName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jboolean showInMenu, jstring suggestedName, jobject menuId) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_suggestedName = 0; -static TQString* _qstring_menuId = 0; - _qstring = KServiceJBridge::newServicePath((bool) showInMenu, (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedName, &_qstring_suggestedName), (TQString*) QtSupport::toTQStringFromStringBuffer(env, menuId, &_qstring_menuId)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_menuId, menuId); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jboolean showInMenu, jstring suggestedName, jobject menuId, jobjectArray reservedMenuIds) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_suggestedName = 0; -static TQString* _qstring_menuId = 0; -static TQStringList* _qlist_reservedMenuIds = 0; - _qstring = KServiceJBridge::newServicePath((bool) showInMenu, (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedName, &_qstring_suggestedName), (TQString*) QtSupport::toTQStringFromStringBuffer(env, menuId, &_qstring_menuId), (const TQStringList*) QtSupport::toTQStringList(env, reservedMenuIds, &_qlist_reservedMenuIds)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_menuId, menuId); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_noDisplay(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->noDisplay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_parentApp(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->parentApp(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__I(JNIEnv* env, jobject obj, jint _group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__II(JNIEnv* env, jobject obj, jint _group, jint _force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__III(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state, jobject _path) -{ -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_propertyNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->propertyNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_property__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KService*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_property__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _name, jint t) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KService*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (TQVariant::Type) t)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_rebuildKSycoca(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - KServiceJBridge::rebuildKSycoca((TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KService*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_serviceTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->serviceTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setInitialPreference(JNIEnv* env, jobject obj, jint i) -{ - ((KService*) QtSupport::getQt(env, obj))->setInitialPreference((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setMenuId(JNIEnv* env, jobject obj, jstring menuId) -{ -static TQString* _qstring_menuId = 0; - ((KService*) QtSupport::getQt(env, obj))->setMenuId((const TQString&)*(TQString*) QtSupport::toTQString(env, menuId, &_qstring_menuId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setTerminalOptions(JNIEnv* env, jobject obj, jstring options) -{ -static TQString* _qstring_options = 0; - ((KService*) QtSupport::getQt(env, obj))->setTerminalOptions((const TQString&)*(TQString*) QtSupport::toTQString(env, options, &_qstring_options)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setTerminal(JNIEnv* env, jobject obj, jboolean b) -{ - ((KService*) QtSupport::getQt(env, obj))->setTerminal((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_storageId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->storageId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_substituteUid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->substituteUid(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_terminalOptions(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->terminalOptions(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_terminal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->terminal(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_type(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->type(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_untranslatedGenericName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->untranslatedGenericName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_username(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->username(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KService.h b/kdejava/koala/kdejava/KService.h deleted file mode 100644 index df8f300c..00000000 --- a/kdejava/koala/kdejava/KService.h +++ /dev/null @@ -1,75 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KService__ -#define __org_kde_koala_KService__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_exec (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_library (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_init__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_terminal (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_terminalOptions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_substituteUid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_username (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_desktopEntryPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_desktopEntryName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_menuId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_storageId (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KService_DCOPServiceType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_path (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_comment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_genericName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_untranslatedGenericName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_keywords (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_categories (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_serviceTypes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_hasServiceType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_allowAsDefault (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_allowMultipleFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KService_initialPreference (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KService_initialPreferenceForMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setInitialPreference (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_noDisplay (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_parentApp (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_property__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_property__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_propertyNames (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_locateLocal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setMenuId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setTerminal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setTerminalOptions (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jboolean, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_rebuildKSycoca (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_init__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_accessServiceTypes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KService__ */ diff --git a/kdejava/koala/kdejava/KServiceGroup.cpp b/kdejava/koala/kdejava/KServiceGroup.cpp deleted file mode 100644 index bfb90c5d..00000000 --- a/kdejava/koala/kdejava/KServiceGroup.cpp +++ /dev/null @@ -1,281 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatastream.h> -#include <tqstring.h> -#include <kservicegroup.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KServiceGroup.h> - -class KServiceGroupJBridge : public KServiceGroup -{ -public: - KServiceGroupJBridge(const TQString& arg1) : KServiceGroup(arg1) {}; - KServiceGroupJBridge(const TQString& arg1,const TQString& arg2) : KServiceGroup(arg1,arg2) {}; - KServiceGroupJBridge(TQDataStream& arg1,int arg2,bool arg3) : KServiceGroup(arg1,arg2,arg3) {}; - void protected_addEntry(KSycocaEntry* arg1) { - KServiceGroup::addEntry(arg1); - return; - } - ~KServiceGroupJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_addEntry(JNIEnv* env, jobject obj, jobject entry) -{ - ((KServiceGroupJBridge*) QtSupport::getQt(env, obj))->protected_addEntry((KSycocaEntry*) QtSupport::getQt(env, entry)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_allowInline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->allowInline(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_baseGroupName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->baseGroupName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceGroup_childCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KServiceGroup*) QtSupport::getQt(env, obj))->childCount(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_directoryEntryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->directoryEntryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_inlineAlias(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->inlineAlias(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceGroup_inlineValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KServiceGroup*) QtSupport::getQt(env, obj))->inlineValue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceGroup_layoutInfo(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceGroup*) QtSupport::getQt(env, obj))->layoutInfo(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath, jstring _relpath) -{ -static TQString* _qstring__fullpath = 0; -static TQString* _qstring__relpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const TQString&)*(TQString*) QtSupport::toTQString(env, _relpath, &_qstring__relpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_newKServiceGroup__Lorg_kde_qt_QDataStream_2IZ(JNIEnv* env, jobject obj, jobject _str, jint offset, jboolean deep) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceGroupJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset, (bool) deep)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_noDisplay(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->noDisplay(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_parseAttribute(JNIEnv* env, jobject obj, jstring item, jboolean showEmptyMenu, jboolean showInline, jboolean showInlineHeader, jboolean showInlineAlias, jintArray inlineValue) -{ -static TQString* _qstring_item = 0; - int* _int_inlineValue = QtSupport::toIntPtr(env, inlineValue); - ((KServiceGroup*) QtSupport::getQt(env, obj))->parseAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool&) showEmptyMenu, (bool&) showInline, (bool&) showInlineHeader, (bool&) showInlineAlias, (int&) *_int_inlineValue); - env->SetIntArrayRegion(inlineValue, 0, 1, (jint *) _int_inlineValue); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_relPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->relPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setAllowInline(JNIEnv* env, jobject obj, jboolean _b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setAllowInline((bool) _b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setInlineAlias(JNIEnv* env, jobject obj, jboolean _b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setInlineAlias((bool) _b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setInlineValue(JNIEnv* env, jobject obj, jint _val) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setInlineValue((int) _val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setLayoutInfo(JNIEnv* env, jobject obj, jobjectArray layout) -{ -static TQStringList* _qlist_layout = 0; - ((KServiceGroup*) QtSupport::getQt(env, obj))->setLayoutInfo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, layout, &_qlist_layout)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setShowEmptyMenu(JNIEnv* env, jobject obj, jboolean b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setShowEmptyMenu((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setShowInlineHeader(JNIEnv* env, jobject obj, jboolean _b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setShowInlineHeader((bool) _b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_showEmptyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->showEmptyMenu(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_showInlineHeader(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->showInlineHeader(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceGroup_suppressGenericNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceGroup*) QtSupport::getQt(env, obj))->suppressGenericNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KServiceGroup.h b/kdejava/koala/kdejava/KServiceGroup.h deleted file mode 100644 index fdccbe70..00000000 --- a/kdejava/koala/kdejava/KServiceGroup.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceGroup__ -#define __org_kde_koala_KServiceGroup__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_newKServiceGroup__Lorg_kde_qt_QDataStream_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_relPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_caption (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_comment (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceGroup_childCount (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_noDisplay (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_showEmptyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setShowEmptyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_showInlineHeader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setShowInlineHeader (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_inlineAlias (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setInlineAlias (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_allowInline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setAllowInline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceGroup_inlineValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setInlineValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceGroup_suppressGenericNames (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setLayoutInfo (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceGroup_layoutInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_baseGroupName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_directoryEntryPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_parseAttribute (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jboolean, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_addEntry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceGroup__ */ diff --git a/kdejava/koala/kdejava/KServiceOffer.cpp b/kdejava/koala/kdejava/KServiceOffer.cpp deleted file mode 100644 index cd09f08e..00000000 --- a/kdejava/koala/kdejava/KServiceOffer.cpp +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <kuserprofile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KServiceOffer.h> - -class KServiceOfferJBridge : public KServiceOffer -{ -public: - KServiceOfferJBridge() : KServiceOffer() {}; - KServiceOfferJBridge(const KServiceOffer& arg1) : KServiceOffer(arg1) {}; - ~KServiceOfferJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_allowAsDefault(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceOffer*) QtSupport::getQt(env, obj))->allowAsDefault(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceOffer_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceOffer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceOffer*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_newKServiceOffer__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceOfferJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_newKServiceOffer__Lorg_kde_koala_KServiceOffer_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceOfferJBridge((const KServiceOffer&)*(const KServiceOffer*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_op_1lt(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KServiceOffer*) QtSupport::getQt(env, obj))->operator<((const KServiceOffer&)*(const KServiceOffer*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceOffer_preference(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KServiceOffer*) QtSupport::getQt(env, obj))->preference(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KServiceOffer.h b/kdejava/koala/kdejava/KServiceOffer.h deleted file mode 100644 index 04c00a0d..00000000 --- a/kdejava/koala/kdejava/KServiceOffer.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceOffer__ -#define __org_kde_koala_KServiceOffer__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_newKServiceOffer__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_newKServiceOffer__Lorg_kde_koala_KServiceOffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_allowAsDefault (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceOffer_preference (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceOffer__ */ diff --git a/kdejava/koala/kdejava/KServiceSeparator.cpp b/kdejava/koala/kdejava/KServiceSeparator.cpp deleted file mode 100644 index 4e02422a..00000000 --- a/kdejava/koala/kdejava/KServiceSeparator.cpp +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatastream.h> -#include <tqstring.h> -#include <kservicegroup.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KServiceSeparator.h> - -class KServiceSeparatorJBridge : public KServiceSeparator -{ -public: - KServiceSeparatorJBridge() : KServiceSeparator() {}; - ~KServiceSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceSeparator_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceSeparator*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceSeparator*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceSeparator_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceSeparator*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_newKServiceSeparator(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceSeparatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceSeparator*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KServiceSeparator.h b/kdejava/koala/kdejava/KServiceSeparator.h deleted file mode 100644 index ad9b5cd5..00000000 --- a/kdejava/koala/kdejava/KServiceSeparator.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceSeparator__ -#define __org_kde_koala_KServiceSeparator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_newKServiceSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceSeparator_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceSeparator_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceSeparator__ */ diff --git a/kdejava/koala/kdejava/KServiceType.cpp b/kdejava/koala/kdejava/KServiceType.cpp deleted file mode 100644 index f1aa1670..00000000 --- a/kdejava/koala/kdejava/KServiceType.cpp +++ /dev/null @@ -1,209 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <kservicetype.h> -#include <tqdatastream.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqvariant.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KServiceType.h> - -class KServiceTypeJBridge : public KServiceType -{ -public: - KServiceTypeJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) : KServiceType(arg1,arg2,arg3,arg4) {}; - KServiceTypeJBridge(const TQString& arg1) : KServiceType(arg1) {}; - KServiceTypeJBridge(KDesktopFile* arg1) : KServiceType(arg1) {}; - KServiceTypeJBridge(TQDataStream& arg1,int arg2) : KServiceType(arg1,arg2) {}; - void protected_init(KDesktopFile* arg1) { - KServiceType::init(arg1); - return; - } - ~KServiceTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_desktopEntryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->desktopEntryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_inherits(JNIEnv* env, jobject obj, jstring servTypeName) -{ -static TQString* _qstring_servTypeName = 0; - jboolean xret = (jboolean) ((KServiceType*) QtSupport::getQt(env, obj))->inherits((const TQString&)*(TQString*) QtSupport::toTQString(env, servTypeName, &_qstring_servTypeName)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_init(JNIEnv* env, jobject obj, jobject config) -{ - ((KServiceTypeJBridge*) QtSupport::getQt(env, obj))->protected_init((KDesktopFile*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_isDerived(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceType*) QtSupport::getQt(env, obj))->isDerived(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceType*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceType*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath) -{ -static TQString* _qstring__fullpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath, jstring _name, jstring _icon, jstring _comment) -{ -static TQString* _qstring__fullpath = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__comment = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _comment, &_qstring__comment))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_parentServiceType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->parentServiceType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceType_propertyDefNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceType*) QtSupport::getQt(env, obj))->propertyDefNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceType_propertyDef(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jint xret = (jint) ((KServiceType*) QtSupport::getQt(env, obj))->propertyDef((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceType_propertyNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceType*) QtSupport::getQt(env, obj))->propertyNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceType_property(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KServiceType*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceType*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KServiceType.h b/kdejava/koala/kdejava/KServiceType.h deleted file mode 100644 index df1c5afa..00000000 --- a/kdejava/koala/kdejava/KServiceType.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceType__ -#define __org_kde_koala_KServiceType__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_comment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_desktopEntryPath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_isDerived (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_parentServiceType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_inherits (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceType_property (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceType_propertyNames (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceType_propertyDef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceType_propertyDefNames (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_init (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceType__ */ diff --git a/kdejava/koala/kdejava/KServiceTypeProfile.cpp b/kdejava/koala/kdejava/KServiceTypeProfile.cpp deleted file mode 100644 index ca937726..00000000 --- a/kdejava/koala/kdejava/KServiceTypeProfile.cpp +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <kuserprofile.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KServiceTypeProfile.h> - -class KServiceTypeProfileJBridge : public KServiceTypeProfile -{ -public: - KServiceTypeProfileJBridge(const TQString& arg1,const TQString& arg2) : KServiceTypeProfile(arg1,arg2) {}; - KServiceTypeProfileJBridge(const TQString& arg1) : KServiceTypeProfile(arg1) {}; - void protected_addService(const TQString& arg1,int arg2,bool arg3) { - KServiceTypeProfile::addService(arg1,arg2,arg3); - return; - } - void protected_addService(const TQString& arg1,int arg2) { - KServiceTypeProfile::addService(arg1,arg2); - return; - } - void protected_addService(const TQString& arg1) { - KServiceTypeProfile::addService(arg1); - return; - } - ~KServiceTypeProfileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _service) -{ -static TQString* _qstring__service = 0; - ((KServiceTypeProfileJBridge*) QtSupport::getQt(env, obj))->protected_addService((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _service, jint _preference) -{ -static TQString* _qstring__service = 0; - ((KServiceTypeProfileJBridge*) QtSupport::getQt(env, obj))->protected_addService((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service), (int) _preference); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring _service, jint _preference, jboolean _allow_as_default) -{ -static TQString* _qstring__service = 0; - ((KServiceTypeProfileJBridge*) QtSupport::getQt(env, obj))->protected_addService((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service), (int) _preference, (bool) _allow_as_default); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_clear(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KServiceTypeProfileJBridge::clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceTypeProfile_configurationMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KServiceTypeProfileJBridge::configurationMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceTypeProfile_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceTypeProfile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceTypeProfile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeProfileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring genericServiceType) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_genericServiceType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeProfileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, genericServiceType, &_qstring_genericServiceType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring servicetype) -{ - (void) cls; -static TQString* _qstring_servicetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KServiceTypeProfileJBridge::serviceTypeProfile((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype)), "org.kde.koala.KServiceTypeProfile"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring servicetype, jstring genericServiceType) -{ - (void) cls; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_genericServiceType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KServiceTypeProfileJBridge::serviceTypeProfile((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, genericServiceType, &_qstring_genericServiceType)), "org.kde.koala.KServiceTypeProfile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_setConfigurationMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KServiceTypeProfileJBridge::setConfigurationMode(); - return; -} - diff --git a/kdejava/koala/kdejava/KServiceTypeProfile.h b/kdejava/koala/kdejava/KServiceTypeProfile.h deleted file mode 100644 index 525dc1ba..00000000 --- a/kdejava/koala/kdejava/KServiceTypeProfile.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceTypeProfile__ -#define __org_kde_koala_KServiceTypeProfile__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_clear (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_setConfigurationMode (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceTypeProfile_configurationMode (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceTypeProfile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceTypeProfile__ */ diff --git a/kdejava/koala/kdejava/KSessionManaged.cpp b/kdejava/koala/kdejava/KSessionManaged.cpp deleted file mode 100644 index dc30b964..00000000 --- a/kdejava/koala/kdejava/KSessionManaged.cpp +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsessionmanager.h> -#include <tdeapplication.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSessionManaged.h> - -class KSessionManagedJBridge : public KSessionManaged -{ -public: - KSessionManagedJBridge() : KSessionManaged() {}; - ~KSessionManagedJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSessionManaged_commitData(JNIEnv* env, jobject obj, jobject sm) -{ - jboolean xret = (jboolean) ((KSessionManaged*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSessionManaged_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSessionManaged_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSessionManaged_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSessionManaged*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSessionManaged_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSessionManaged_newKSessionManaged(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSessionManagedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSessionManaged_saveState(JNIEnv* env, jobject obj, jobject sm) -{ - jboolean xret = (jboolean) ((KSessionManaged*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSessionManaged.h b/kdejava/koala/kdejava/KSessionManaged.h deleted file mode 100644 index db527338..00000000 --- a/kdejava/koala/kdejava/KSessionManaged.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSessionManaged__ -#define __org_kde_koala_KSessionManaged__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSessionManaged_newKSessionManaged (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSessionManaged_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSessionManaged_commitData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSessionManaged_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSessionManaged_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSessionManaged_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSessionManaged__ */ diff --git a/kdejava/koala/kdejava/KShell.cpp b/kdejava/koala/kdejava/KShell.cpp deleted file mode 100644 index dbb14d1c..00000000 --- a/kdejava/koala/kdejava/KShell.cpp +++ /dev/null @@ -1,81 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kshell.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KShell.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_homeDir(JNIEnv* env, jclass cls, jstring user) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_user = 0; - _qstring = KShell::homeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_joinArgsDQ(JNIEnv* env, jclass cls, jobjectArray args) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_args = 0; - _qstring = KShell::joinArgsDQ((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_joinArgs(JNIEnv* env, jclass cls, jobjectArray args) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_args = 0; - _qstring = KShell::joinArgs((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_cmd = 0; - _qlist = KShell::splitArgs((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring cmd, jint flags) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_cmd = 0; - _qlist = KShell::splitArgs((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd), (int) flags); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I_3I(JNIEnv* env, jclass cls, jstring cmd, jint flags, jintArray err) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_cmd = 0; - int* _int_err = QtSupport::toIntPtr(env, err); - _qlist = KShell::splitArgs((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd), (int) flags, (int*) _int_err); - env->SetIntArrayRegion(err, 0, 1, (jint *) _int_err); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_tildeExpand(JNIEnv* env, jclass cls, jstring path) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_path = 0; - _qstring = KShell::tildeExpand((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KShell.h b/kdejava/koala/kdejava/KShell.h deleted file mode 100644 index 7e3eb9ec..00000000 --- a/kdejava/koala/kdejava/KShell.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShell__ -#define __org_kde_koala_KShell__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I_3I (JNIEnv *env, jclass, jstring, jint, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_joinArgs (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_joinArgsDQ (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_tildeExpand (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_homeDir (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShell__ */ diff --git a/kdejava/koala/kdejava/KShellCompletion.cpp b/kdejava/koala/kdejava/KShellCompletion.cpp deleted file mode 100644 index 48a96e4f..00000000 --- a/kdejava/koala/kdejava/KShellCompletion.cpp +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kshellcompletion.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KShellCompletion.h> - -class KShellCompletionJBridge : public KShellCompletion -{ -public: - KShellCompletionJBridge() : KShellCompletion() {}; - void protected_postProcessMatch(TQString* arg1) { - KShellCompletion::postProcessMatch(arg1); - return; - } - void protected_postProcessMatches(TQStringList* arg1) { - KShellCompletion::postProcessMatches(arg1); - return; - } - ~KShellCompletionJBridge() {QtSupport::qtKeyDeleted(this);} - bool replaceHome() { - return QtSupport::booleanDelegate(this,"replaceHome"); - } - bool isRunning() { - return QtSupport::booleanDelegate(this,"isRunning"); - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KShellCompletion","clear")) { - TDECompletion::clear(); - } - return; - } - bool replaceEnv() { - return QtSupport::booleanDelegate(this,"replaceEnv"); - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - KURLCompletion::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KShellCompletion",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KShellCompletion","stop")) { - KURLCompletion::stop(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellCompletion_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KShellCompletion*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KShellCompletion_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KShellCompletion*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KShellCompletion*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellCompletion_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellCompletion_makeCompletion(JNIEnv* env, jobject obj, jstring text) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((KShellCompletion*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShellCompletion_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KShellCompletion*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_newKShellCompletion(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShellCompletionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_postProcessMatch(JNIEnv* env, jobject obj, jobject match) -{ -static TQString* _qstring_match = 0; - ((KShellCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatch((TQString*) QtSupport::toTQStringFromStringBuffer(env, match, &_qstring_match)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_match, match); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_postProcessMatches(JNIEnv* env, jobject obj, jobjectArray matches) -{ -static TQStringList* _qlist_matches = 0; - ((KShellCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatches((TQStringList*) QtSupport::toTQStringList(env, matches, &_qlist_matches)); - return; -} - diff --git a/kdejava/koala/kdejava/KShellCompletion.h b/kdejava/koala/kdejava/KShellCompletion.h deleted file mode 100644 index aaa408e3..00000000 --- a/kdejava/koala/kdejava/KShellCompletion.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShellCompletion__ -#define __org_kde_koala_KShellCompletion__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShellCompletion_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellCompletion_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_newKShellCompletion (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellCompletion_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_postProcessMatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_postProcessMatches (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellCompletion_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShellCompletion__ */ diff --git a/kdejava/koala/kdejava/KShellProcess.cpp b/kdejava/koala/kdejava/KShellProcess.cpp deleted file mode 100644 index ec762795..00000000 --- a/kdejava/koala/kdejava/KShellProcess.cpp +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kprocess.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KShellProcess.h> - -class KShellProcessJBridge : public KShellProcess -{ -public: - KShellProcessJBridge(const char* arg1) : KShellProcess(arg1) {}; - KShellProcessJBridge() : KShellProcess() {}; - ~KShellProcessJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void commClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KShellProcess","commClose")) { - TDEProcess::commClose(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KShellProcess",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellProcess_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KShellProcess*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KShellProcess_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KShellProcess*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KShellProcess*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShellProcess_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KShellProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_newKShellProcess__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShellProcessJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_newKShellProcess__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shellname) -{ -static TQCString* _qstring_shellname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShellProcessJBridge((const char*) QtSupport::toCharString(env, shellname, &_qstring_shellname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellProcess_quote(JNIEnv* env, jclass cls, jstring arg) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg = 0; - _qstring = KShellProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_start__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_start__I(JNIEnv* env, jobject obj, jint runmode) -{ - jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm) -{ - jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (TDEProcess::Communication) comm); - return xret; -} - diff --git a/kdejava/koala/kdejava/KShellProcess.h b/kdejava/koala/kdejava/KShellProcess.h deleted file mode 100644 index 981a3c37..00000000 --- a/kdejava/koala/kdejava/KShellProcess.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShellProcess__ -#define __org_kde_koala_KShellProcess__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShellProcess_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellProcess_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_newKShellProcess__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_newKShellProcess__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_start__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_start__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_start__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellProcess_quote (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShellProcess__ */ diff --git a/kdejava/koala/kdejava/KShred.cpp b/kdejava/koala/kdejava/KShred.cpp deleted file mode 100644 index 9e2f3e9c..00000000 --- a/kdejava/koala/kdejava/KShred.cpp +++ /dev/null @@ -1,153 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tqstring.h> -#include <kshred.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KShred.h> - -class KShredJBridge : public KShred -{ -public: - KShredJBridge(TQString arg1) : KShred(arg1) {}; - ~KShredJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KShred",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShred_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KShred*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShred_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KShred_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fill0s(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fill0s(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fill1s(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fill1s(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fillbyte(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fillbyte((unsigned int) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fillpattern(JNIEnv* env, jobject obj, jshort pattern, jint size) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fillpattern((unsigned char*) pattern, (unsigned int) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fillrandom(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fillrandom(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShred_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KShred*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KShred*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShred_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KShred*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShred_newKShred(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShredJBridge((TQString)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_shred__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->shred(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_shred__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) KShredJBridge::shred((TQString)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KShred.h b/kdejava/koala/kdejava/KShred.h deleted file mode 100644 index ec9145a7..00000000 --- a/kdejava/koala/kdejava/KShred.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShred__ -#define __org_kde_koala_KShred__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShred_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShred_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShred_newKShred (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fill1s (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fill0s (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fillbyte (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fillrandom (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fillpattern (JNIEnv *env, jobject, jshort, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_shred__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_shred__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShred_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShred_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShred__ */ diff --git a/kdejava/koala/kdejava/KSimpleConfig.cpp b/kdejava/koala/kdejava/KSimpleConfig.cpp deleted file mode 100644 index 0bc69ac7..00000000 --- a/kdejava/koala/kdejava/KSimpleConfig.cpp +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <ksimpleconfig.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSimpleConfig.h> - -class KSimpleConfigJBridge : public KSimpleConfig -{ -public: - KSimpleConfigJBridge(const TQString& arg1,bool arg2) : KSimpleConfig(arg1,arg2) {}; - KSimpleConfigJBridge(const TQString& arg1) : KSimpleConfig(arg1) {}; - KSimpleConfigJBridge(TDEConfigBackEnd* arg1,bool arg2) : KSimpleConfig(arg1,arg2) {}; - KSimpleConfigJBridge(TDEConfigBackEnd* arg1) : KSimpleConfig(arg1) {}; - void public_sync() { - KSimpleConfig::sync(); - return; - } - ~KSimpleConfigJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reparseConfiguration() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSimpleConfig","reparseConfiguration")) { - TDEConfig::reparseConfiguration(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSimpleConfig","sync")) { - KSimpleConfig::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSimpleConfig","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSimpleConfig",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSimpleConfig_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSimpleConfig*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSimpleConfig_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KSimpleConfig*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KSimpleConfig*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleConfig_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSimpleConfig_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSimpleConfig*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2(JNIEnv* env, jobject obj, jobject backEnd) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z(JNIEnv* env, jobject obj, jobject backEnd, jboolean bReadOnly) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_sync(JNIEnv* env, jobject obj) -{ - ((KSimpleConfigJBridge*) QtSupport::getQt(env, obj))->public_sync(); - return; -} - diff --git a/kdejava/koala/kdejava/KSimpleConfig.h b/kdejava/koala/kdejava/KSimpleConfig.h deleted file mode 100644 index e9773749..00000000 --- a/kdejava/koala/kdejava/KSimpleConfig.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSimpleConfig__ -#define __org_kde_koala_KSimpleConfig__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSimpleConfig_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSimpleConfig_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleConfig_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSimpleConfig__ */ diff --git a/kdejava/koala/kdejava/KSimpleFileFilter.cpp b/kdejava/koala/kdejava/KSimpleFileFilter.cpp deleted file mode 100644 index 82b08f00..00000000 --- a/kdejava/koala/kdejava/KSimpleFileFilter.cpp +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefilefilter.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSimpleFileFilter.h> - -class KSimpleFileFilterJBridge : public KSimpleFileFilter -{ -public: - KSimpleFileFilterJBridge() : KSimpleFileFilter() {}; - ~KSimpleFileFilterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSimpleFileFilter_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_filterDotFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->filterDotFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_filterSpecials(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->filterSpecials(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSimpleFileFilter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSimpleFileFilter_mimeFilters(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->mimeFilters(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KSimpleFileFilter_modeFilter(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->modeFilter(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_newKSimpleFileFilter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleFileFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_passesFilter(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->passesFilter((const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setFilterDotFiles(JNIEnv* env, jobject obj, jboolean filter) -{ - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setFilterDotFiles((bool) filter); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setFilterSpecials(JNIEnv* env, jobject obj, jboolean filter) -{ - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setFilterSpecials((bool) filter); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setMimeFilters(JNIEnv* env, jobject obj, jobjectArray mimeFilters) -{ -static TQStringList* _qlist_mimeFilters = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setMimeFilters((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimeFilters, &_qlist_mimeFilters)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setModeFilter(JNIEnv* env, jobject obj, jlong mode) -{ - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setModeFilter((mode_t) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nameFilters) -{ -static TQString* _qstring_nameFilters = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setNameFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilters, &_qstring_nameFilters)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring nameFilters, jboolean caseSensitive) -{ -static TQString* _qstring_nameFilters = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setNameFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilters, &_qstring_nameFilters), (bool) caseSensitive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2ZC(JNIEnv* env, jobject obj, jstring nameFilters, jboolean caseSensitive, jchar separator) -{ -static TQString* _qstring_nameFilters = 0; -static TQChar* _qchar_separator = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setNameFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilters, &_qstring_nameFilters), (bool) caseSensitive, (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, separator, &_qchar_separator)); - return; -} - diff --git a/kdejava/koala/kdejava/KSimpleFileFilter.h b/kdejava/koala/kdejava/KSimpleFileFilter.h deleted file mode 100644 index 2da4b100..00000000 --- a/kdejava/koala/kdejava/KSimpleFileFilter.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSimpleFileFilter__ -#define __org_kde_koala_KSimpleFileFilter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_newKSimpleFileFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setFilterDotFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_filterDotFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setFilterSpecials (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_filterSpecials (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2ZC (JNIEnv *env, jobject, jstring, jboolean, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setMimeFilters (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSimpleFileFilter_mimeFilters (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setModeFilter (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KSimpleFileFilter_modeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_passesFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSimpleFileFilter__ */ diff --git a/kdejava/koala/kdejava/KSpell.cpp b/kdejava/koala/kdejava/KSpell.cpp deleted file mode 100644 index 1bb6c1b3..00000000 --- a/kdejava/koala/kdejava/KSpell.cpp +++ /dev/null @@ -1,689 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksconfig.h> -#include <tdespell.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSpell.h> - -class KSpellJBridge : public KSpell -{ -public: - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5) : KSpell(arg1,arg2,arg3,arg4,arg5) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : KSpell(arg1,arg2,arg3,arg4) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - void public_cleanUp() { - KSpell::cleanUp(); - return; - } - int protected_parseOneResponse(const TQString& arg1,TQString& arg2,TQStringList& arg3) { - return (int) KSpell::parseOneResponse(arg1,arg2,arg3); - } - TQString protected_funnyWord(const TQString& arg1) { - return (TQString) KSpell::funnyWord(arg1); - } - void protected_dialog(const TQString& arg1,TQStringList& arg2,const char* arg3) { - KSpell::dialog(arg1,arg2,arg3); - return; - } - TQString protected_replacement() { - return (TQString) KSpell::replacement(); - } - void protected_setUpDialog(bool arg1) { - KSpell::setUpDialog(arg1); - return; - } - void protected_setUpDialog() { - KSpell::setUpDialog(); - return; - } - void protected_emitProgress() { - KSpell::emitProgress(); - return; - } - bool protected_cleanFputs(const TQString& arg1,bool arg2) { - return (bool) KSpell::cleanFputs(arg1,arg2); - } - bool protected_cleanFputs(const TQString& arg1) { - return (bool) KSpell::cleanFputs(arg1); - } - bool protected_cleanFputsWord(const TQString& arg1,bool arg2) { - return (bool) KSpell::cleanFputsWord(arg1,arg2); - } - bool protected_cleanFputsWord(const TQString& arg1) { - return (bool) KSpell::cleanFputsWord(arg1); - } - void protected_startIspell() { - KSpell::startIspell(); - return; - } - bool protected_writePersonalDictionary() { - return (bool) KSpell::writePersonalDictionary(); - } - void protected_initialize(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) { - KSpell::initialize(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - return; - } - void protected_KSpell2(KProcIO* arg1) { - KSpell::KSpell2(arg1); - return; - } - void protected_checkWord2(KProcIO* arg1) { - KSpell::checkWord2(arg1); - return; - } - void protected_checkWord3() { - KSpell::checkWord3(); - return; - } - void protected_check2(KProcIO* arg1) { - KSpell::check2(arg1); - return; - } - void protected_checkList2() { - KSpell::checkList2(); - return; - } - void protected_checkList3a(KProcIO* arg1) { - KSpell::checkList3a(arg1); - return; - } - void protected_checkListReplaceCurrent() { - KSpell::checkListReplaceCurrent(); - return; - } - void protected_checkList4() { - KSpell::checkList4(); - return; - } - void protected_dialog2(int arg1) { - KSpell::dialog2(arg1); - return; - } - void protected_check3() { - KSpell::check3(); - return; - } - void protected_suggestWord(KProcIO* arg1) { - KSpell::suggestWord(arg1); - return; - } - void protected_slotStopCancel(int arg1) { - KSpell::slotStopCancel(arg1); - return; - } - void protected_ispellExit(TDEProcess* arg1) { - KSpell::ispellExit(arg1); - return; - } - void protected_emitDeath() { - KSpell::emitDeath(); - return; - } - void protected_ispellErrors(TDEProcess* arg1,char* arg2,int arg3) { - KSpell::ispellErrors(arg1,arg2,arg3); - return; - } - void protected_checkNext() { - KSpell::checkNext(); - return; - } - ~KSpellJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void cleanUp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpell","cleanUp")) { - KSpell::cleanUp(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSpell",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_KSpell2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_KSpell2((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_addPersonal(JNIEnv* env, jobject obj, jstring word) -{ -static TQString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->addPersonal((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_check2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_check2((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_check3(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_check3(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkList2(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList2(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkList3a(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList3a((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkList4(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList4(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkListReplaceCurrent(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkListReplaceCurrent(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray _wordlist) -{ -static TQStringList* _qlist__wordlist = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((TQStringList*) QtSupport::toTQStringList(env, _wordlist, &_qlist__wordlist)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray _wordlist, jboolean usedialog) -{ -static TQStringList* _qlist__wordlist = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((TQStringList*) QtSupport::toTQStringList(env, _wordlist, &_qlist__wordlist), (bool) usedialog); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkNext(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkNext(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkWord2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkWord2((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkWord3(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkWord3(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer), (bool) usedialog); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring buffer, jboolean _usedialog, jboolean suggest) -{ -static TQString* _qstring_buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toTQString(env, buffer, &_qstring_buffer), (bool) _usedialog, (bool) suggest); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_check__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_check__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer), (bool) usedialog); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSpell*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (bool) appendCR); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (bool) appendCR); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_cleanUp(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->public_cleanUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_dialog2(JNIEnv* env, jobject obj, jint dlgresult) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog2((int) dlgresult); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_dialog(JNIEnv* env, jobject obj, jstring word, jobjectArray sugg, jstring _slot) -{ -static TQString* _qstring_word = 0; -static TQStringList* _qlist_sugg = 0; -static TQCString* _qstring__slot = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sugg, &_qlist_sugg), (const char*) QtSupport::toCharString(env, _slot, &_qstring__slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSpell_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_dlgResult(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->dlgResult(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_emitDeath(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_emitDeath(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_emitProgress(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_emitProgress(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSpell*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_funnyWord(JNIEnv* env, jobject obj, jstring word) -{ - TQString _qstring; -static TQString* _qstring_word = 0; - _qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_funnyWord((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_heightDlg(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->heightDlg(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_hide(JNIEnv* env, jobject obj) -{ - ((KSpell*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_ignore(JNIEnv* env, jobject obj, jstring word) -{ -static TQString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->ignore((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_initialize(JNIEnv* env, jobject obj, jobject _parent, jstring _caption, jobject arg3, jstring slot, jobject _ksc, jboolean _progressbar, jboolean _modal, jint type) -{ -static TQString* _qstring__caption = 0; -static TQCString* _qstring_slot = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_initialize((TQWidget*) QtSupport::getQt(env, _parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, _caption, &_qstring__caption), (TQObject*) QtSupport::getQt(env, arg3), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot), (KSpellConfig*) QtSupport::getQt(env, _ksc), (bool) _progressbar, (bool) _modal, (KSpell::SpellerType) type); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_intermediateBuffer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpell*) QtSupport::getQt(env, obj))->intermediateBuffer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_ispellErrors(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint arg3) -{ -static TQCString* _qstring_arg2 = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellErrors((TDEProcess*) QtSupport::getQt(env, arg1), (char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_ispellExit(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellExit((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpell_ksConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KSpellConfig(((KSpell*) QtSupport::getQt(env, obj))->ksConfig()), "org.kde.koala.KSpellConfig", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_lastPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->lastPosition(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpell_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpell*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_modalCheck(JNIEnv* env, jclass cls, jobject text, jobject kcs) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KSpellJBridge::modalCheck((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, text, &_qstring_text), (KSpellConfig*) QtSupport::getQt(env, kcs)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_text, text); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_moveDlg(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((KSpell*) QtSupport::getQt(env, obj))->moveDlg((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal, jint type) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal, (KSpell::SpellerType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_parseOneResponse(JNIEnv* env, jobject obj, jstring _buffer, jobject word, jobjectArray sugg) -{ -static TQString* _qstring__buffer = 0; -static TQString* _qstring_word = 0; -static TQStringList* _qlist_sugg = 0; - jint xret = (jint) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_parseOneResponse((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, word, &_qstring_word), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sugg, &_qlist_sugg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_word, word); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_replacement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_replacement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setAutoDelete(JNIEnv* env, jobject obj, jboolean _autoDelete) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setAutoDelete((bool) _autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setIgnoreTitleCase(JNIEnv* env, jobject obj, jboolean b) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setIgnoreTitleCase((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setIgnoreUpperWords(JNIEnv* env, jobject obj, jboolean b) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setIgnoreUpperWords((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setProgressResolution(JNIEnv* env, jobject obj, jint res) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setProgressResolution((unsigned int) res); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setUpDialog__(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_setUpDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setUpDialog__Z(JNIEnv* env, jobject obj, jboolean reallyusedialogbox) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_setUpDialog((bool) reallyusedialogbox); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_slotStopCancel(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_slotStopCancel((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_startIspell(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_startIspell(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_suggestWord(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_suggestWord((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpell_suggestions(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSpell*) QtSupport::getQt(env, obj))->suggestions(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_widthDlg(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->widthDlg(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_writePersonalDictionary(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_writePersonalDictionary(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSpell.h b/kdejava/koala/kdejava/KSpell.h deleted file mode 100644 index 2f674771..00000000 --- a/kdejava/koala/kdejava/KSpell.h +++ /dev/null @@ -1,83 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpell__ -#define __org_kde_koala_KSpell__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZ (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZI (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_cleanUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_check__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_check__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_lastPosition (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_suggestions (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_dlgResult (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_moveDlg (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_heightDlg (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_widthDlg (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_intermediateBuffer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_ignore (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_addPersonal (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_ksConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setProgressResolution (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setIgnoreUpperWords (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setIgnoreTitleCase (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_modalCheck (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_parseOneResponse (JNIEnv *env, jobject, jstring, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_funnyWord (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_dialog (JNIEnv *env, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_replacement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setUpDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setUpDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_emitProgress (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_startIspell (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_writePersonalDictionary (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_initialize (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_KSpell2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkWord2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkWord3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_check2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkList2 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkList3a (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkListReplaceCurrent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkList4 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_dialog2 (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_check3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_suggestWord (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_slotStopCancel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_ispellExit (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_emitDeath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_ispellErrors (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkNext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpell__ */ diff --git a/kdejava/koala/kdejava/KSpellConfig.cpp b/kdejava/koala/kdejava/KSpellConfig.cpp deleted file mode 100644 index 5daa1307..00000000 --- a/kdejava/koala/kdejava/KSpellConfig.cpp +++ /dev/null @@ -1,737 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksconfig.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSpellConfig.h> - -class KSpellConfigJBridge : public KSpellConfig -{ -public: - KSpellConfigJBridge(TQWidget* arg1,const char* arg2,KSpellConfig* arg3,bool arg4) : KSpellConfig(arg1,arg2,arg3,arg4) {}; - KSpellConfigJBridge(TQWidget* arg1,const char* arg2,KSpellConfig* arg3) : KSpellConfig(arg1,arg2,arg3) {}; - KSpellConfigJBridge(TQWidget* arg1,const char* arg2) : KSpellConfig(arg1,arg2) {}; - KSpellConfigJBridge(TQWidget* arg1) : KSpellConfig(arg1) {}; - KSpellConfigJBridge() : KSpellConfig() {}; - KSpellConfigJBridge(const KSpellConfig& arg1) : KSpellConfig(arg1) {}; - void protected_fillInDialog() { - KSpellConfig::fillInDialog(); - return; - } - bool protected_interpret(TQString& arg1,TQString& arg2,TQString& arg3) { - return (bool) KSpellConfig::interpret(arg1,arg2,arg3); - } - void protected_sHelp() { - KSpellConfig::sHelp(); - return; - } - void protected_sNoAff(bool arg1) { - KSpellConfig::sNoAff(arg1); - return; - } - void protected_sRunTogether(bool arg1) { - KSpellConfig::sRunTogether(arg1); - return; - } - void protected_sDictionary(bool arg1) { - KSpellConfig::sDictionary(arg1); - return; - } - void protected_sPathDictionary(bool arg1) { - KSpellConfig::sPathDictionary(arg1); - return; - } - void protected_sSetDictionary(int arg1) { - KSpellConfig::sSetDictionary(arg1); - return; - } - void protected_sChangeEncoding(int arg1) { - KSpellConfig::sChangeEncoding(arg1); - return; - } - void protected_sChangeClient(int arg1) { - KSpellConfig::sChangeClient(arg1); - return; - } - ~KSpellConfigJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","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.KSpellConfig","show")) { - TQWidget::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.KSpellConfig","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","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 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.KSpellConfig","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSpellConfig",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_activateHelp(JNIEnv* env, jobject obj) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->activateHelp(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellConfig_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSpellConfig*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpellConfig_client(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpellConfig*) QtSupport::getQt(env, obj))->client(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_dictFromList(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->dictFromList(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellConfig_dictionary(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpellConfig*) QtSupport::getQt(env, obj))->dictionary(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSpellConfig_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpellConfig_encoding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpellConfig*) QtSupport::getQt(env, obj))->encoding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2(JNIEnv* env, jobject obj, jobject box) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->fillDicts((TQComboBox*) QtSupport::getQt(env, box)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject box, jobjectArray dictionaries) -{ -static TQStringList* _qlist_dictionaries = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->fillDicts((TQComboBox*) QtSupport::getQt(env, box), (TQStringList*) QtSupport::toTQStringList(env, dictionaries, &_qlist_dictionaries)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_fillInDialog(JNIEnv* env, jobject obj) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_fillInDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSpellConfig*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSpellConfig*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellConfig_ignoreList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSpellConfig*) QtSupport::getQt(env, obj))->ignoreList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_interpret(JNIEnv* env, jobject obj, jobject fname, jobject lname, jobject hname) -{ -static TQString* _qstring_fname = 0; -static TQString* _qstring_lname = 0; -static TQString* _qstring_hname = 0; - jboolean xret = (jboolean) ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_interpret((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, fname, &_qstring_fname), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, lname, &_qstring_lname), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, hname, &_qstring_hname)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_fname, fname); - QtSupport::fromTQStringToStringBuffer(env, _qstring_lname, lname); - QtSupport::fromTQStringToStringBuffer(env, _qstring_hname, hname); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellConfig_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpellConfig*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((const KSpellConfig&)*(const KSpellConfig*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__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 KSpellConfigJBridge((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_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject spellConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KSpellConfig*) QtSupport::getQt(env, spellConfig))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject spellConfig, jboolean addHelpButton) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KSpellConfig*) QtSupport::getQt(env, spellConfig), (bool) addHelpButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_noRootAffix(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->noRootAffix(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_readGlobalSettings(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->readGlobalSettings(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellConfig_replaceAllList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSpellConfig*) QtSupport::getQt(env, obj))->replaceAllList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_runTogether(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->runTogether(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sChangeClient(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sChangeClient((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sChangeEncoding(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sChangeEncoding((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sDictionary(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sDictionary((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sHelp(JNIEnv* env, jobject obj) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sNoAff(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sNoAff((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sPathDictionary(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sPathDictionary((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sRunTogether(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sRunTogether((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sSetDictionary(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sSetDictionary((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setClient(JNIEnv* env, jobject obj, jint client) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setClient((int) client); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setDictFromList(JNIEnv* env, jobject obj, jboolean dfl) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setDictFromList((bool) dfl); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setDictionary(JNIEnv* env, jobject obj, jstring qs) -{ -static TQString* _qstring_qs = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->setDictionary((const TQString)*(TQString*) QtSupport::toTQString(env, qs, &_qstring_qs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setEncoding(JNIEnv* env, jobject obj, jint enctype) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setEncoding((int) enctype); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setIgnoreList(JNIEnv* env, jobject obj, jobjectArray _ignorelist) -{ -static TQStringList* _qlist__ignorelist = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->setIgnoreList((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, _ignorelist, &_qlist__ignorelist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setNoRootAffix(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setNoRootAffix((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setReplaceAllList(JNIEnv* env, jobject obj, jobjectArray _replaceAllList) -{ -static TQStringList* _qlist__replaceAllList = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->setReplaceAllList((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, _replaceAllList, &_qlist__replaceAllList)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setRunTogether(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setRunTogether((bool) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_writeGlobalSettings(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->writeGlobalSettings(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSpellConfig.h b/kdejava/koala/kdejava/KSpellConfig.h deleted file mode 100644 index 0bd6a7fc..00000000 --- a/kdejava/koala/kdejava/KSpellConfig.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpellConfig__ -#define __org_kde_koala_KSpellConfig__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellConfig_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellConfig_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z (JNIEnv *env, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_koala_KSpellConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setIgnoreList (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setReplaceAllList (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setNoRootAffix (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setRunTogether (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setDictionary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setDictFromList (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setEncoding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setClient (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_noRootAffix (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_runTogether (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellConfig_dictionary (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_dictFromList (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpellConfig_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellConfig_ignoreList (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellConfig_replaceAllList (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpellConfig_client (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_writeGlobalSettings (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_readGlobalSettings (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_activateHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_fillInDialog (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_interpret (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sNoAff (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sRunTogether (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sDictionary (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sPathDictionary (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sSetDictionary (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sChangeEncoding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sChangeClient (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpellConfig__ */ diff --git a/kdejava/koala/kdejava/KSpellDlg.cpp b/kdejava/koala/kdejava/KSpellDlg.cpp deleted file mode 100644 index 4590383d..00000000 --- a/kdejava/koala/kdejava/KSpellDlg.cpp +++ /dev/null @@ -1,684 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdespelldlg.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSpellDlg.h> - -class KSpellDlgJBridge : public KSpellDlg -{ -public: - KSpellDlgJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : KSpellDlg(arg1,arg2,arg3,arg4) {}; - KSpellDlgJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KSpellDlg(arg1,arg2,arg3) {}; - KSpellDlgJBridge(TQWidget* arg1,const char* arg2) : KSpellDlg(arg1,arg2) {}; - void protected_closeEvent(TQCloseEvent* arg1) { - KSpellDlg::closeEvent(arg1); - return; - } - void protected_done(int arg1) { - KSpellDlg::done(arg1); - return; - } - void protected_ignore() { - KSpellDlg::ignore(); - return; - } - void protected_add() { - KSpellDlg::add(); - return; - } - void protected_ignoreAll() { - KSpellDlg::ignoreAll(); - return; - } - void protected_cancel() { - KSpellDlg::cancel(); - return; - } - void protected_replace() { - KSpellDlg::replace(); - return; - } - void protected_replaceAll() { - KSpellDlg::replaceAll(); - return; - } - void protected_suggest() { - KSpellDlg::suggest(); - return; - } - void protected_stop() { - KSpellDlg::stop(); - return; - } - void protected_slotConfigChanged() { - KSpellDlg::slotConfigChanged(); - return; - } - void protected_textChanged(const TQString& arg1) { - KSpellDlg::textChanged(arg1); - return; - } - void protected_slotSelectionChanged(TQListViewItem* arg1) { - KSpellDlg::slotSelectionChanged(arg1); - return; - } - ~KSpellDlgJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","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")) { - KDialogBase::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")) { - KSpellDlg::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","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 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.KSpellDlg","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_add(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_add(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_cancel(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_cancel(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSpellDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_closeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSpellDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_done(JNIEnv* env, jobject obj, jint i) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_done((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSpellDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSpellDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_ignoreAll(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_ignoreAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_ignore(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_ignore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _word, jobjectArray _sugg) -{ -static TQString* _qstring__word = 0; -static TQStringList* _qlist__sugg = 0; - ((KSpellDlg*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, _word, &_qstring__word), (TQStringList*) QtSupport::toTQStringList(env, _sugg, &_qlist__sugg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _word, jobjectArray _sugg, jstring context) -{ -static TQString* _qstring__word = 0; -static TQStringList* _qlist__sugg = 0; -static TQString* _qstring_context = 0; - ((KSpellDlg*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, _word, &_qstring__word), (TQStringList*) QtSupport::toTQStringList(env, _sugg, &_qlist__sugg), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpellDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_newKSpellDlg__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 KSpellDlgJBridge((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_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean _progressbar) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) _progressbar)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean _progressbar, jboolean _modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) _progressbar, (bool) _modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_replaceAll(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_replaceAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_replace(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_replace(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellDlg_replacement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpellDlg*) QtSupport::getQt(env, obj))->replacement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_slotConfigChanged(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_slotConfigChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_slotProgress(JNIEnv* env, jobject obj, jint p) -{ - ((KSpellDlg*) QtSupport::getQt(env, obj))->slotProgress((unsigned int) p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_slotSelectionChanged(JNIEnv* env, jobject obj, jobject item) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_slotSelectionChanged((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_standby(JNIEnv* env, jobject obj) -{ - ((KSpellDlg*) QtSupport::getQt(env, obj))->standby(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_stop(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_suggest(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_suggest(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_textChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_textChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KSpellDlg.h b/kdejava/koala/kdejava/KSpellDlg.h deleted file mode 100644 index 549e1e87..00000000 --- a/kdejava/koala/kdejava/KSpellDlg.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpellDlg__ -#define __org_kde_koala_KSpellDlg__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellDlg_replacement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_standby (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_slotProgress (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_done (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_ignore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_add (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_ignoreAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_cancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_replace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_replaceAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_suggest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_slotConfigChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_textChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_slotSelectionChanged (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpellDlg__ */ diff --git a/kdejava/koala/kdejava/KSpellingHighlighter.cpp b/kdejava/koala/kdejava/KSpellingHighlighter.cpp deleted file mode 100644 index c7316723..00000000 --- a/kdejava/koala/kdejava/KSpellingHighlighter.cpp +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqstringlist.h> -#include <ksyntaxhighlighter.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSpellingHighlighter.h> - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpellingHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint endStateOfLastPara) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellingHighlighter_intraWordEditing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->intraWordEditing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellingHighlighter_isMisspelled(JNIEnv* env, jobject obj, jstring word) -{ -static TQString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->isMisspelled((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellingHighlighter_personalWords(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KSpellingHighlighter::personalWords(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellingHighlighter_setIntraWordEditing(JNIEnv* env, jobject obj, jboolean editing) -{ - ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->setIntraWordEditing((bool) editing); - return; -} - diff --git a/kdejava/koala/kdejava/KSpellingHighlighter.h b/kdejava/koala/kdejava/KSpellingHighlighter.h deleted file mode 100644 index a5ef4527..00000000 --- a/kdejava/koala/kdejava/KSpellingHighlighter.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpellingHighlighter__ -#define __org_kde_koala_KSpellingHighlighter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpellingHighlighter_highlightParagraph (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellingHighlighter_isMisspelled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellingHighlighter_intraWordEditing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellingHighlighter_setIntraWordEditing (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellingHighlighter_personalWords (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpellingHighlighter__ */ diff --git a/kdejava/koala/kdejava/KSqueezedTextLabel.cpp b/kdejava/koala/kdejava/KSqueezedTextLabel.cpp deleted file mode 100644 index ae16d2e5..00000000 --- a/kdejava/koala/kdejava/KSqueezedTextLabel.cpp +++ /dev/null @@ -1,528 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqstring.h> -#include <ksqueezedtextlabel.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSqueezedTextLabel.h> - -class KSqueezedTextLabelJBridge : public KSqueezedTextLabel -{ -public: - KSqueezedTextLabelJBridge(TQWidget* arg1,const char* arg2) : KSqueezedTextLabel(arg1,arg2) {}; - KSqueezedTextLabelJBridge(TQWidget* arg1) : KSqueezedTextLabel(arg1) {}; - KSqueezedTextLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KSqueezedTextLabel(arg1,arg2,arg3) {}; - KSqueezedTextLabelJBridge(const TQString& arg1,TQWidget* arg2) : KSqueezedTextLabel(arg1,arg2) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - KSqueezedTextLabel::resizeEvent(arg1); - return; - } - void protected_squeezeTextToLabel() { - KSqueezedTextLabel::squeezeTextToLabel(); - return; - } - ~KSqueezedTextLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(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")) { - KSqueezedTextLabel::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","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.KSqueezedTextLabel","show")) { - TQWidget::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.KSqueezedTextLabel","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","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 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 setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(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.KSqueezedTextLabel","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSqueezedTextLabel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSqueezedTextLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSqueezedTextLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSqueezedTextLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSqueezedTextLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSqueezedTextLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSqueezedTextLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSqueezedTextLabel_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSqueezedTextLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSqueezedTextLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_KSqueezedTextLabel_newKSqueezedTextLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSqueezedTextLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__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 KSqueezedTextLabelJBridge((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_KSqueezedTextLabel_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSqueezedTextLabelJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_setAlignment(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->setAlignment((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSqueezedTextLabel_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_squeezeTextToLabel(JNIEnv* env, jobject obj) -{ - ((KSqueezedTextLabelJBridge*) QtSupport::getQt(env, obj))->protected_squeezeTextToLabel(); - return; -} - diff --git a/kdejava/koala/kdejava/KSqueezedTextLabel.h b/kdejava/koala/kdejava/KSqueezedTextLabel.h deleted file mode 100644 index 563c6393..00000000 --- a/kdejava/koala/kdejava/KSqueezedTextLabel.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSqueezedTextLabel__ -#define __org_kde_koala_KSqueezedTextLabel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSqueezedTextLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSqueezedTextLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSqueezedTextLabel_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSqueezedTextLabel_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_squeezeTextToLabel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSqueezedTextLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSqueezedTextLabel__ */ diff --git a/kdejava/koala/kdejava/KStaticDeleterBase.cpp b/kdejava/koala/kdejava/KStaticDeleterBase.cpp deleted file mode 100644 index e451f5dd..00000000 --- a/kdejava/koala/kdejava/KStaticDeleterBase.cpp +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstaticdeleter.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStaticDeleterBase.h> - -class KStaticDeleterBaseJBridge : public KStaticDeleterBase -{ -public: - void public_destructObject() { - KStaticDeleterBase::destructObject(); - return; - } - KStaticDeleterBaseJBridge() : KStaticDeleterBase() {}; - ~KStaticDeleterBaseJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_destructObject(JNIEnv* env, jobject obj) -{ - ((KStaticDeleterBaseJBridge*) QtSupport::getQt(env, obj))->public_destructObject(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStaticDeleterBase_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KStaticDeleterBase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStaticDeleterBase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_newKStaticDeleterBase(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStaticDeleterBaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KStaticDeleterBase.h b/kdejava/koala/kdejava/KStaticDeleterBase.h deleted file mode 100644 index 347663f4..00000000 --- a/kdejava/koala/kdejava/KStaticDeleterBase.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStaticDeleterBase__ -#define __org_kde_koala_KStaticDeleterBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_destructObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_newKStaticDeleterBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStaticDeleterBase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStaticDeleterBase__ */ diff --git a/kdejava/koala/kdejava/KStatusBar.cpp b/kdejava/koala/kdejava/KStatusBar.cpp deleted file mode 100644 index c484a4a5..00000000 --- a/kdejava/koala/kdejava/KStatusBar.cpp +++ /dev/null @@ -1,521 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstatusbar.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStatusBar.h> - -class KStatusBarJBridge : public KStatusBar -{ -public: - KStatusBarJBridge(TQWidget* arg1,const char* arg2) : KStatusBar(arg1,arg2) {}; - KStatusBarJBridge(TQWidget* arg1) : KStatusBar(arg1) {}; - KStatusBarJBridge() : KStatusBar() {}; - ~KStatusBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQStatusBar::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","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.KStatusBar","show")) { - TQWidget::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.KStatusBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQStatusBar::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","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 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.KStatusBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void removeWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removeWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQStatusBar::removeWidget(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KStatusBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_changeItem(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStatusBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KStatusBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStatusBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KStatusBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KStatusBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStatusBar_hasItem(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((KStatusBar*) QtSupport::getQt(env, obj))->hasItem((int) id); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertFixedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring text, jint id, jboolean permanent) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertFixedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) permanent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint stretch) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring text, jint id, jint stretch, jboolean permanent) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) stretch, (bool) permanent); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStatusBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStatusBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KStatusBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_newKStatusBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_newKStatusBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_newKStatusBar__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 KStatusBarJBridge((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_KStatusBar_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_setItemAlignment(JNIEnv* env, jobject obj, jint id, jint align) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->setItemAlignment((int) id, (int) align); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_setItemFixed__I(JNIEnv* env, jobject obj, jint id) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->setItemFixed((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_setItemFixed__II(JNIEnv* env, jobject obj, jint id, jint width) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->setItemFixed((int) id, (int) width); - return; -} - diff --git a/kdejava/koala/kdejava/KStatusBar.h b/kdejava/koala/kdejava/KStatusBar.h deleted file mode 100644 index ccc53f2e..00000000 --- a/kdejava/koala/kdejava/KStatusBar.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStatusBar__ -#define __org_kde_koala_KStatusBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStatusBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStatusBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_newKStatusBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_newKStatusBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_newKStatusBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStatusBar_hasItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_changeItem (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_setItemAlignment (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_setItemFixed__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_setItemFixed__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStatusBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStatusBar__ */ diff --git a/kdejava/koala/kdejava/KStatusBarLabel.cpp b/kdejava/koala/kdejava/KStatusBarLabel.cpp deleted file mode 100644 index 3a16590a..00000000 --- a/kdejava/koala/kdejava/KStatusBarLabel.cpp +++ /dev/null @@ -1,487 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstatusbar.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStatusBarLabel.h> - -class KStatusBarLabelJBridge : public KStatusBarLabel -{ -public: - KStatusBarLabelJBridge(const TQString& arg1,int arg2,KStatusBar* arg3,const char* arg4) : KStatusBarLabel(arg1,arg2,arg3,arg4) {}; - KStatusBarLabelJBridge(const TQString& arg1,int arg2,KStatusBar* arg3) : KStatusBarLabel(arg1,arg2,arg3) {}; - KStatusBarLabelJBridge(const TQString& arg1,int arg2) : KStatusBarLabel(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KStatusBarLabel::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KStatusBarLabel::mouseReleaseEvent(arg1); - return; - } - ~KStatusBarLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(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")) { - TQLabel::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","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.KStatusBarLabel","show")) { - TQWidget::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.KStatusBarLabel","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - KStatusBarLabel::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","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")) { - KStatusBarLabel::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(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.KStatusBarLabel","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KStatusBarLabel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStatusBarLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KStatusBarLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStatusBarLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KStatusBarLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KStatusBarLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStatusBarLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStatusBarLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KStatusBarLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_mousePressEvent(JNIEnv* env, jobject obj, jobject _event) -{ - ((KStatusBarLabelJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, _event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject _event) -{ - ((KStatusBarLabelJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, _event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint _id) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) _id)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2(JNIEnv* env, jobject obj, jstring text, jint _id, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) _id, (KStatusBar*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint _id, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) _id, (KStatusBar*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KStatusBarLabel.h b/kdejava/koala/kdejava/KStatusBarLabel.h deleted file mode 100644 index ff3350a8..00000000 --- a/kdejava/koala/kdejava/KStatusBarLabel.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStatusBarLabel__ -#define __org_kde_koala_KStatusBarLabel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStatusBarLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStatusBarLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStatusBarLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStatusBarLabel__ */ diff --git a/kdejava/koala/kdejava/KStdAction.cpp b/kdejava/koala/kdejava/KStdAction.cpp deleted file mode 100644 index 1ac3ecf0..00000000 --- a/kdejava/koala/kdejava/KStdAction.cpp +++ /dev/null @@ -1,1089 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstdaction.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStdAction.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jint id, jstring name, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jint id, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window)), "org.kde.koala.TDEToggleFullScreenAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleFullScreenAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdAction_name(JNIEnv* env, jclass cls, jint id) -{ - const char* _qstring; - (void) cls; - _qstring = KStdAction::name((KStdAction::StdAction) id); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDERecentFilesAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDERecentFilesAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdAction_stdName(JNIEnv* env, jclass cls, jint act_enum) -{ - const char* _qstring; - (void) cls; - _qstring = KStdAction::stdName((KStdAction::StdAction) act_enum); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_stdNames(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KStdAction::stdNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KStdAction.h b/kdejava/koala/kdejava/KStdAction.h deleted file mode 100644 index 6925403d..00000000 --- a/kdejava/koala/kdejava/KStdAction.h +++ /dev/null @@ -1,145 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStdAction__ -#define __org_kde_koala_KStdAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jint, jstring, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jint, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAction_name (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAction_stdName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_stdNames (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStdAction__ */ diff --git a/kdejava/koala/kdejava/KStdGuiItem.cpp b/kdejava/koala/kdejava/KStdGuiItem.cpp deleted file mode 100644 index 04a5ad41..00000000 --- a/kdejava/koala/kdejava/KStdGuiItem.cpp +++ /dev/null @@ -1,330 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstdguiitem.h> -#include <tqstring.h> -#include <kguiitem.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStdGuiItem.h> - -class KStdGuiItemJBridge : public KStdGuiItem -{ -public: - KStdGuiItemJBridge() : KStdGuiItem() {}; - ~KStdGuiItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_add(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::add()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_adminMode(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::adminMode()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_apply(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::apply()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_back__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::back()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_back__I(JNIEnv* env, jclass cls, jint useBidi) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::back((KStdGuiItem::BidiMode) useBidi)), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_cancel(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::cancel()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_clear(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::clear()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_close(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::close()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_configure(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::configure()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_cont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::cont()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_defaults(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::defaults()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_del(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::del()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_discard(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::discard()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStdGuiItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStdGuiItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_dontSave(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::dontSave()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStdGuiItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KStdGuiItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_find(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::find()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_forward__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::forward()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_forward__I(JNIEnv* env, jclass cls, jint useBidi) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::forward((KStdGuiItem::BidiMode) useBidi)), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_guiItem(JNIEnv* env, jclass cls, jint ui_enum) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::guiItem((KStdGuiItem::StdItem) ui_enum)), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_help(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::help()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_insert(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::insert()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStdGuiItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStdGuiItem_newKStdGuiItem(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStdGuiItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_no(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::no()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_ok(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::ok()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_open(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::open()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_overwrite(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::overwrite()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_print(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::print()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_properties(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::properties()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_quit(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::quit()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_remove(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::remove()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_reset(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::reset()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_saveAs(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::saveAs()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_save(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::save()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdGuiItem_stdItem(JNIEnv* env, jclass cls, jint ui_enum) -{ - TQString _qstring; - (void) cls; - _qstring = KStdGuiItemJBridge::stdItem((KStdGuiItem::StdItem) ui_enum); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_stop(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::stop()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_test(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::test()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_yes(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::yes()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KStdGuiItem.h b/kdejava/koala/kdejava/KStdGuiItem.h deleted file mode 100644 index 34b4bd48..00000000 --- a/kdejava/koala/kdejava/KStdGuiItem.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStdGuiItem__ -#define __org_kde_koala_KStdGuiItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStdGuiItem_newKStdGuiItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_guiItem (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdGuiItem_stdItem (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_ok (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_cancel (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_yes (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_no (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_insert (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_discard (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_save (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_help (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_dontSave (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_saveAs (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_apply (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_clear (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_defaults (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_close (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_print (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_properties (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_reset (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_overwrite (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_adminMode (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_cont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_del (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_open (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_back__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_back__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_forward__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_forward__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_configure (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_quit (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_find (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_stop (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_add (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_remove (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_test (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStdGuiItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStdGuiItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStdGuiItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStdGuiItem__ */ diff --git a/kdejava/koala/kdejava/KStringHandler.cpp b/kdejava/koala/kdejava/KStringHandler.cpp deleted file mode 100644 index c123b2ab..00000000 --- a/kdejava/koala/kdejava/KStringHandler.cpp +++ /dev/null @@ -1,429 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqregexp.h> -#include <kstringhandler.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqfontmetrics.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStringHandler.h> - -class KStringHandlerJBridge : public KStringHandler -{ -public: - KStringHandlerJBridge() : KStringHandler() {}; - ~KStringHandlerJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::cEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::cEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_cPixelSqueeze(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxPixels) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::cPixelSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxPixels); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_capwords__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::capwords((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_capwords___3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list) -{ - TQStringList _qlist; - (void) cls; -static TQStringList* _qlist_list = 0; - _qlist = KStringHandlerJBridge::capwords((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_center(JNIEnv* env, jclass cls, jstring text, jint width) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::center((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) width); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::csqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::csqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringHandler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStringHandler_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringHandler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KStringHandler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_from8Bit(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::from8Bit((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_insword(JNIEnv* env, jclass cls, jstring text, jstring word, jint pos) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_word = 0; - _qstring = KStringHandlerJBridge::insword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (uint) pos); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringHandler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringHandler_isUtf8(JNIEnv* env, jclass cls, jstring str) -{ - (void) cls; -static TQCString* _qstring_str = 0; - jboolean xret = (jboolean) KStringHandlerJBridge::isUtf8((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::lEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::lEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lPixelSqueeze(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxPixels) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::lPixelSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxPixels); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::lsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::lsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringHandler_matchFileName(JNIEnv* env, jclass cls, jstring filename, jstring pattern) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_pattern = 0; - jboolean xret = (jboolean) KStringHandlerJBridge::matchFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringHandler_newKStringHandler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringHandlerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_obscure(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::obscure((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2(JNIEnv* env, jclass cls, jchar sep, jstring s) -{ - TQStringList _qlist; - (void) cls; -static TQChar* _qchar_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2I(JNIEnv* env, jclass cls, jchar sep, jstring s, jint max) -{ - TQStringList _qlist; - (void) cls; -static TQChar* _qchar_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (uint) max); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring sep, jstring s) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring sep, jstring s, jint max) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (uint) max); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject sep, jstring s) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject sep, jstring s, jint max) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (uint) max); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::rEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::rEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rPixelSqueeze(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxPixels) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::rPixelSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxPixels); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_remrange(JNIEnv* env, jclass cls, jstring text, jstring range) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_range = 0; - _qstring = KStringHandlerJBridge::remrange((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, range, &_qstring_range)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring text, jint pos) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::remword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) pos); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text, jstring word) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_word = 0; - _qstring = KStringHandlerJBridge::remword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_reverse__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::reverse((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_reverse___3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list) -{ - TQStringList _qlist; - (void) cls; -static TQStringList* _qlist_list = 0; - _qlist = KStringHandlerJBridge::reverse((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::rsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::rsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_setword(JNIEnv* env, jclass cls, jstring text, jstring word, jint pos) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_word = 0; - _qstring = KStringHandlerJBridge::setword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (uint) pos); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_tagURLs(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::tagURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_word(JNIEnv* env, jclass cls, jstring text, jstring range) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_range = 0; - _qstring = KStringHandlerJBridge::word((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, range, &_qstring_range)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KStringHandler.h b/kdejava/koala/kdejava/KStringHandler.h deleted file mode 100644 index 5b48f574..00000000 --- a/kdejava/koala/kdejava/KStringHandler.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStringHandler__ -#define __org_kde_koala_KStringHandler__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringHandler_newKStringHandler (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_word (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_insword (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_setword (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_remrange (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_capwords__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_capwords___3Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_reverse__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_reverse___3Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_center (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lPixelSqueeze (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_cPixelSqueeze (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rPixelSqueeze (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringHandler_matchFileName (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2I (JNIEnv *env, jclass, jchar, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2 (JNIEnv *env, jclass, jchar, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_tagURLs (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_obscure (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringHandler_isUtf8 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_from8Bit (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringHandler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringHandler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringHandler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStringHandler__ */ diff --git a/kdejava/koala/kdejava/KStringListValidator.cpp b/kdejava/koala/kdejava/KStringListValidator.cpp deleted file mode 100644 index 83cd26f3..00000000 --- a/kdejava/koala/kdejava/KStringListValidator.cpp +++ /dev/null @@ -1,227 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstringvalidator.h> -#include <tqvalidator.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStringListValidator.h> - -class KStringListValidatorJBridge : public KStringListValidator -{ -public: - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2,bool arg3,TQObject* arg4,const char* arg5) : KStringListValidator(arg1,arg2,arg3,arg4,arg5) {}; - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2,bool arg3,TQObject* arg4) : KStringListValidator(arg1,arg2,arg3,arg4) {}; - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2,bool arg3) : KStringListValidator(arg1,arg2,arg3) {}; - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2) : KStringListValidator(arg1,arg2) {}; - KStringListValidatorJBridge(const TQStringList& arg1) : KStringListValidator(arg1) {}; - KStringListValidatorJBridge() : KStringListValidator() {}; - ~KStringListValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KStringListValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringListValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KStringListValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStringListValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KStringListValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KStringListValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_fixup(JNIEnv* env, jobject obj, jobject input) -{ -static TQString* _qstring_input = 0; - ((KStringListValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringListValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringListValidator_isFixupEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KStringListValidator*) QtSupport::getQt(env, obj))->isFixupEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringListValidator_isRejecting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KStringListValidator*) QtSupport::getQt(env, obj))->isRejecting(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringListValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KStringListValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting, jboolean fixupEnabled) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting, (bool) fixupEnabled)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting, jboolean fixupEnabled, jobject parent) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting, (bool) fixupEnabled, (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting, jboolean fixupEnabled, jobject parent, jstring name) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting, (bool) fixupEnabled, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_setFixupEnabled(JNIEnv* env, jobject obj, jboolean fixupEnabled) -{ - ((KStringListValidator*) QtSupport::getQt(env, obj))->setFixupEnabled((bool) fixupEnabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_setRejecting(JNIEnv* env, jobject obj, jboolean rejecting) -{ - ((KStringListValidator*) QtSupport::getQt(env, obj))->setRejecting((bool) rejecting); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_setStringList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - ((KStringListValidator*) QtSupport::getQt(env, obj))->setStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringListValidator_stringList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KStringListValidator*) QtSupport::getQt(env, obj))->stringList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KStringListValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) -{ -static TQString* _qstring_input = 0; - int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((KStringListValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input), (int&) *_int_pos); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - env->SetIntArrayRegion(pos, 0, 1, (jint *) _int_pos); - return xret; -} - diff --git a/kdejava/koala/kdejava/KStringListValidator.h b/kdejava/koala/kdejava/KStringListValidator.h deleted file mode 100644 index 000dfc68..00000000 --- a/kdejava/koala/kdejava/KStringListValidator.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStringListValidator__ -#define __org_kde_koala_KStringListValidator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringListValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringListValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KStringListValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_setRejecting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringListValidator_isRejecting (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_setFixupEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringListValidator_isFixupEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_setStringList (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringListValidator_stringList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringListValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStringListValidator__ */ diff --git a/kdejava/koala/kdejava/KSycoca.cpp b/kdejava/koala/kdejava/KSycoca.cpp deleted file mode 100644 index 41673aa4..00000000 --- a/kdejava/koala/kdejava/KSycoca.cpp +++ /dev/null @@ -1,442 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqglobal.h> -#include <tdesycoca.h> -#include <dcopclient.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <dcopobject.h> -#include <tdesycocatype.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSycoca.h> - -class KSycocaJBridge : public KSycoca -{ -public: - KSycocaJBridge() : KSycoca() {}; - KSycocaJBridge(bool arg1) : KSycoca(arg1) {}; - bool protected_checkVersion(bool arg1) { - return (bool) KSycoca::checkVersion(arg1); - } - bool protected_checkVersion() { - return (bool) KSycoca::checkVersion(); - } - bool protected_openDatabase(bool arg1) { - return (bool) KSycoca::openDatabase(arg1); - } - bool protected_openDatabase() { - return (bool) KSycoca::openDatabase(); - } - void protected_closeDatabase() { - KSycoca::closeDatabase(); - return; - } - ~KSycocaJBridge() {QtSupport::qtKeyDeleted(this);} - bool isBuilding() { - return QtSupport::booleanDelegate(this,"isBuilding"); - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSycoca",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_allResourceDirs(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSycoca*) QtSupport::getQt(env, obj))->allResourceDirs(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_checkVersion__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_checkVersion(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_checkVersion__Z(JNIEnv* env, jobject obj, jboolean abortOnError) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_checkVersion((bool) abortOnError); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSycoca*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_closeDatabase(JNIEnv* env, jobject obj) -{ - ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_closeDatabase(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_determineRelativePath(JNIEnv* env, jclass cls, jstring _fullpath, jstring _resource) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring__fullpath = 0; -static TQCString* _qstring__resource = 0; - _qstring = KSycocaJBridge::determineRelativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const char*) QtSupport::toCharString(env, _resource, &_qstring__resource)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_disableAutoRebuild(JNIEnv* env, jobject obj) -{ - ((KSycoca*) QtSupport::getQt(env, obj))->disableAutoRebuild(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSycoca_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KSycoca*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KSycoca*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_findEntry(JNIEnv* env, jobject obj, jint offset, jint type) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->findEntry((int) offset, (KSycocaType&) type), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_findFactory(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->findFactory((KSycocaFactoryId) id), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSycocaJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_flagError(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KSycocaJBridge::flagError(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) KSycocaJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_isBuilding(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycoca*) QtSupport::getQt(env, obj))->isBuilding(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_isChanged(JNIEnv* env, jclass cls, jstring type) -{ - (void) cls; -static TQCString* _qstring_type = 0; - jboolean xret = (jboolean) KSycocaJBridge::isChanged((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_kfsstnd_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycoca*) QtSupport::getQt(env, obj))->kfsstnd_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_language(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycoca*) QtSupport::getQt(env, obj))->language(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_newKSycoca__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSycocaJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_newKSycoca__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSycocaJBridge((bool) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = KSycocaJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_openDatabase__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_openDatabase(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_openDatabase__Z(JNIEnv* env, jobject obj, jboolean openDummyIfNotFound) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_openDatabase((bool) openDummyIfNotFound); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_readError(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KSycocaJBridge::readError(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSycocaJBridge::self(), "org.kde.koala.KSycoca"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycoca_timeStamp(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycoca*) QtSupport::getQt(env, obj))->timeStamp(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycoca_updateSignature(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycoca*) QtSupport::getQt(env, obj))->updateSignature(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycoca_version(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KSycocaJBridge::version(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSycoca.h b/kdejava/koala/kdejava/KSycoca.h deleted file mode 100644 index abd5f5dc..00000000 --- a/kdejava/koala/kdejava/KSycoca.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSycoca__ -#define __org_kde_koala_KSycoca__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_newKSycoca__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_findEntry (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_findFactory (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_kfsstnd_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_language (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycoca_timeStamp (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycoca_updateSignature (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_allResourceDirs (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_isBuilding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_disableAutoRebuild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_self (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycoca_version (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_determineRelativePath (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_isChanged (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_flagError (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_readError (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_newKSycoca__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_checkVersion__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_checkVersion__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_openDatabase__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_openDatabase__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_closeDatabase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSycoca__ */ diff --git a/kdejava/koala/kdejava/KSycocaEntry.cpp b/kdejava/koala/kdejava/KSycocaEntry.cpp deleted file mode 100644 index 06529e1c..00000000 --- a/kdejava/koala/kdejava/KSycocaEntry.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdesycocaentry.h> -#include <tqdatastream.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdesycocatype.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSycocaEntry.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycocaEntry_entryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->entryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycocaEntry_isDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isDeleted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycocaEntry_isType(JNIEnv* env, jobject obj, jint t) -{ - jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isType((KSycocaType) t); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycocaEntry_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSycocaEntry*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycocaEntry_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycocaEntry_offset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject s, jobject str) -{ - (void) cls; -static TQString* _qstring_str = 0; - KSycocaEntry::read((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, str, &_qstring_str)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_str, str); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject s, jobjectArray list) -{ - (void) cls; -static TQStringList* _qlist_list = 0; - KSycocaEntry::read((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_save(JNIEnv* env, jobject obj, jobject s) -{ - ((KSycocaEntry*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycocaEntry_sycocaType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->sycocaType(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSycocaEntry.h b/kdejava/koala/kdejava/KSycocaEntry.h deleted file mode 100644 index 6591cada..00000000 --- a/kdejava/koala/kdejava/KSycocaEntry.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSycocaEntry__ -#define __org_kde_koala_KSycocaEntry__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycocaEntry_isType (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycocaEntry_sycocaType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycocaEntry_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycocaEntry_entryPath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycocaEntry_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycocaEntry_isDeleted (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycocaEntry_offset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSycocaEntry__ */ diff --git a/kdejava/koala/kdejava/KSyntaxHighlighter.cpp b/kdejava/koala/kdejava/KSyntaxHighlighter.cpp deleted file mode 100644 index 6791921a..00000000 --- a/kdejava/koala/kdejava/KSyntaxHighlighter.cpp +++ /dev/null @@ -1,123 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <ksyntaxhighlighter.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSyntaxHighlighter.h> - -class KSyntaxHighlighterJBridge : public KSyntaxHighlighter -{ -public: - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5,const TQColor& arg6,KSyntaxHighlighter::SyntaxMode arg7) : KSyntaxHighlighter(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5,const TQColor& arg6) : KSyntaxHighlighter(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5) : KSyntaxHighlighter(arg1,arg2,arg3,arg4,arg5) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4) : KSyntaxHighlighter(arg1,arg2,arg3,arg4) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3) : KSyntaxHighlighter(arg1,arg2,arg3) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2) : KSyntaxHighlighter(arg1,arg2) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1) : KSyntaxHighlighter(arg1) {}; - ~KSyntaxHighlighterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSyntaxHighlighter_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSyntaxHighlighter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSyntaxHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint endStateOfLastPara) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KSyntaxHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSyntaxHighlighter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2(JNIEnv* env, jobject obj, jobject textEdit) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2Z(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1, jobject QuoteColor2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1, jobject QuoteColor2, jobject QuoteColor3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor2), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1, jobject QuoteColor2, jobject QuoteColor3, jint mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor2), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor3), (KSyntaxHighlighter::SyntaxMode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSyntaxHighlighter.h b/kdejava/koala/kdejava/KSyntaxHighlighter.h deleted file mode 100644 index 507d44fb..00000000 --- a/kdejava/koala/kdejava/KSyntaxHighlighter.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSyntaxHighlighter__ -#define __org_kde_koala_KSyntaxHighlighter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSyntaxHighlighter_highlightParagraph (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSyntaxHighlighter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSyntaxHighlighter__ */ diff --git a/kdejava/koala/kdejava/KSystemTray.cpp b/kdejava/koala/kdejava/KSystemTray.cpp deleted file mode 100644 index 559053ce..00000000 --- a/kdejava/koala/kdejava/KSystemTray.cpp +++ /dev/null @@ -1,592 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <tqstring.h> -#include <ksystemtray.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSystemTray.h> - -class KSystemTrayJBridge : public KSystemTray -{ -public: - KSystemTrayJBridge(TQWidget* arg1,const char* arg2) : KSystemTray(arg1,arg2) {}; - KSystemTrayJBridge(TQWidget* arg1) : KSystemTray(arg1) {}; - KSystemTrayJBridge() : KSystemTray() {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KSystemTray::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KSystemTray::mouseReleaseEvent(arg1); - return; - } - void protected_contextMenuAboutToShow(TDEPopupMenu* arg1) { - KSystemTray::contextMenuAboutToShow(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KSystemTray::showEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - KSystemTray::enterEvent(arg1); - return; - } - ~KSystemTrayJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(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")) { - TQLabel::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","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.KSystemTray","show")) { - TQWidget::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.KSystemTray","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","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")) { - KSystemTray::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KSystemTray::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")) { - KSystemTray::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void contextMenuAboutToShow(TDEPopupMenu* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuAboutToShow",(void*)arg1,"org.kde.koala.TDEPopupMenu")) { - KSystemTray::contextMenuAboutToShow(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","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")) { - KSystemTray::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KSystemTray::setPixmap(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.KSystemTray","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSystemTray",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSystemTray_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSystemTray*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_contextMenuAboutToShow(JNIEnv* env, jobject obj, jobject menu) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuAboutToShow((TDEPopupMenu*) QtSupport::getQt(env, menu)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_contextMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSystemTray_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_enterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSystemTray*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSystemTray*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSystemTray_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring icon) -{ - (void) cls; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KSystemTrayJBridge::loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring icon, jobject instance) -{ - (void) cls; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KSystemTrayJBridge::loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_newKSystemTray__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSystemTrayJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_newKSystemTray__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSystemTrayJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_newKSystemTray__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 KSystemTrayJBridge((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_KSystemTray_setActive(JNIEnv* env, jobject obj) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->setActive(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_setCaption(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((KSystemTray*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_setInactive(JNIEnv* env, jobject obj) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->setInactive(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_setPixmap(JNIEnv* env, jobject obj, jobject icon) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_toggleActive(JNIEnv* env, jobject obj) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->toggleActive(); - return; -} - diff --git a/kdejava/koala/kdejava/KSystemTray.h b/kdejava/koala/kdejava/KSystemTray.h deleted file mode 100644 index f29d55c4..00000000 --- a/kdejava/koala/kdejava/KSystemTray.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSystemTray__ -#define __org_kde_koala_KSystemTray__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSystemTray_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_newKSystemTray__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_newKSystemTray__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_newKSystemTray__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_contextMenu (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_toggleActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setInactive (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_contextMenuAboutToShow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSystemTray_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSystemTray__ */ diff --git a/kdejava/koala/kdejava/KTabBar.cpp b/kdejava/koala/kdejava/KTabBar.cpp deleted file mode 100644 index 276904c6..00000000 --- a/kdejava/koala/kdejava/KTabBar.cpp +++ /dev/null @@ -1,688 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tqpoint.h> -#include <tqcolor.h> -#include <ktabbar.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTabBar.h> - -class KTabBarJBridge : public KTabBar -{ -public: - KTabBarJBridge(TQWidget* arg1,const char* arg2) : KTabBar(arg1,arg2) {}; - KTabBarJBridge(TQWidget* arg1) : KTabBar(arg1) {}; - KTabBarJBridge() : KTabBar() {}; - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KTabBar::mouseDoubleClickEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KTabBar::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KTabBar::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KTabBar::mouseReleaseEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KTabBar::wheelEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - KTabBar::dragMoveEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KTabBar::dropEvent(arg1); - return; - } - void protected_paintLabel(TQPainter* arg1,const TQRect& arg2,TQTab* arg3,bool arg4) { - KTabBar::paintLabel(arg1,arg2,arg3,arg4); - return; - } - void protected_closeButtonClicked() { - KTabBar::closeButtonClicked(); - return; - } - void protected_onLayoutChange() { - KTabBar::onLayoutChange(); - return; - } - void protected_enableCloseButton() { - KTabBar::enableCloseButton(); - return; - } - void protected_activateDragSwitchTab() { - KTabBar::activateDragSwitchTab(); - return; - } - ~KTabBarJBridge() {QtSupport::qtKeyDeleted(this);} - void activateDragSwitchTab() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","activateDragSwitchTab")) { - KTabBar::activateDragSwitchTab(); - } - 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")) { - TQTabBar::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabBar::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTabBar::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KTabBar::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQTabBar::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","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")) { - TQTabBar::keyPressEvent(arg1); - } - return; - } - void removeTab(TQTab* arg1) { - if (!QtSupport::eventDelegate(this,"removeTab",(void*)arg1,"org.kde.qt.TQTab")) { - KTabBar::removeTab(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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void onLayoutChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","onLayoutChange")) { - KTabBar::onLayoutChange(); - } - 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")) { - KTabBar::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KTabBar::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","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")) { - KTabBar::mousePressEvent(arg1); - } - return; - } - void setCurrentTab(TQTab* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentTab",(void*)arg1,"org.kde.qt.TQTab")) { - TQTabBar::setCurrentTab(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabBar::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void enableCloseButton() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","enableCloseButton")) { - KTabBar::enableCloseButton(); - } - 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.KTabBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KTabBar::wheelEvent(arg1); - } - return; - } - void layoutTabs() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","layoutTabs")) { - TQTabBar::layoutTabs(); - } - 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")) { - TQTabBar::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KTabBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void closeButtonClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","closeButtonClicked")) { - KTabBar::closeButtonClicked(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_activateDragSwitchTab(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_activateDragSwitchTab(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTabBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_closeButtonClicked(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_closeButtonClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTabBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_dropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_enableCloseButton(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_enableCloseButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTabBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTabBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_hoverCloseButtonDelayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->hoverCloseButtonDelayed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_hoverCloseButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->hoverCloseButton(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((KTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - jint xret = (jint) ((KTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1), (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_isTabReorderingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->isTabReorderingEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTabBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_newKTabBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_newKTabBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_newKTabBar__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 KTabBarJBridge((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_KTabBar_onLayoutChange(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_onLayoutChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_paintLabel(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3, jboolean arg4) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paintLabel((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (TQTab*) QtSupport::getQt(env, arg3), (bool) arg4); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_removeTab(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->removeTab((TQTab*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setHoverCloseButtonDelayed(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setHoverCloseButtonDelayed((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setHoverCloseButton(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setHoverCloseButton((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabCloseActivatePrevious(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabCloseActivatePrevious((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabColor(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabColor((int) arg1, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabEnabled(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabEnabled((int) arg1, (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabReorderingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabReorderingEnabled((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_tabCloseActivatePrevious(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->tabCloseActivatePrevious(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabBar_tabColor(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KTabBar*) QtSupport::getQt(env, obj))->tabColor((int) arg1), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KTabBar.h b/kdejava/koala/kdejava/KTabBar.h deleted file mode 100644 index 076708aa..00000000 --- a/kdejava/koala/kdejava/KTabBar.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTabBar__ -#define __org_kde_koala_KTabBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_newKTabBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_newKTabBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_newKTabBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabBar_tabColor (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabColor (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_removeTab (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabReorderingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_isTabReorderingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setHoverCloseButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_hoverCloseButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setHoverCloseButtonDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_hoverCloseButtonDelayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabCloseActivatePrevious (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_tabCloseActivatePrevious (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_paintLabel (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_closeButtonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_onLayoutChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_enableCloseButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_activateDragSwitchTab (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTabBar__ */ diff --git a/kdejava/koala/kdejava/KTabCtl.cpp b/kdejava/koala/kdejava/KTabCtl.cpp deleted file mode 100644 index 9c15aa96..00000000 --- a/kdejava/koala/kdejava/KTabCtl.cpp +++ /dev/null @@ -1,550 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqrect.h> -#include <ktabctl.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tqtabbar.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTabCtl.h> - -class KTabCtlJBridge : public KTabCtl -{ -public: - KTabCtlJBridge(TQWidget* arg1,const char* arg2) : KTabCtl(arg1,arg2) {}; - KTabCtlJBridge(TQWidget* arg1) : KTabCtl(arg1) {}; - KTabCtlJBridge() : KTabCtl() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - KTabCtl::paintEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KTabCtl::resizeEvent(arg1); - return; - } - void protected_setSizes() { - KTabCtl::setSizes(); - return; - } - TQRect protected_getChildRect() { - return (TQRect) KTabCtl::getChildRect(); - } - void protected_showTab(int arg1) { - KTabCtl::showTab(arg1); - return; - } - ~KTabCtlJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KTabCtl::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KTabCtl::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","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 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.KTabCtl","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KTabCtl",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_addTab(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabCtl*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabCtl_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTabCtl*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTabCtl_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTabCtl*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTabCtl*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabCtl_getChildRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_getChildRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabCtl_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabCtl_isTabEnabled(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((KTabCtl*) QtSupport::getQt(env, obj))->isTabEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabCtl_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTabCtl*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_newKTabCtl__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabCtlJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabCtlJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_newKTabCtl__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 KTabCtlJBridge((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_KTabCtl_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setBorder(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setBorder((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setFont(JNIEnv* env, jobject obj, jobject font) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setShape(JNIEnv* env, jobject obj, jint shape) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setShape((TQTabBar::Shape) shape); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setSizes(JNIEnv* env, jobject obj) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_setSizes(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setTabEnabled(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - ((KTabCtl*) QtSupport::getQt(env, obj))->setTabEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setTabFont(JNIEnv* env, jobject obj, jobject font) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setTabFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_showTab(JNIEnv* env, jobject obj, jint i) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_showTab((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_show(JNIEnv* env, jobject obj) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabCtl_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KTabCtl*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KTabCtl.h b/kdejava/koala/kdejava/KTabCtl.h deleted file mode 100644 index 1ca9ed75..00000000 --- a/kdejava/koala/kdejava/KTabCtl.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTabCtl__ -#define __org_kde_koala_KTabCtl__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabCtl_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setTabFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_addTab (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabCtl_isTabEnabled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setTabEnabled (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setBorder (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setSizes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_getChildRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_showTab (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabCtl_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTabCtl__ */ diff --git a/kdejava/koala/kdejava/KTabWidget.cpp b/kdejava/koala/kdejava/KTabWidget.cpp deleted file mode 100644 index b4d458d8..00000000 --- a/kdejava/koala/kdejava/KTabWidget.cpp +++ /dev/null @@ -1,778 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktabwidget.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tqcolor.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTabWidget.h> - -class KTabWidgetJBridge : public KTabWidget -{ -public: - KTabWidgetJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KTabWidget(arg1,arg2,arg3) {}; - KTabWidgetJBridge(TQWidget* arg1,const char* arg2) : KTabWidget(arg1,arg2) {}; - KTabWidgetJBridge(TQWidget* arg1) : KTabWidget(arg1) {}; - KTabWidgetJBridge() : KTabWidget() {}; - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KTabWidget::mouseDoubleClickEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KTabWidget::mousePressEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - KTabWidget::dragMoveEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KTabWidget::dropEvent(arg1); - return; - } - unsigned int protected_tabBarWidthForMaxChars(uint arg1) { - return (unsigned int) KTabWidget::tabBarWidthForMaxChars(arg1); - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KTabWidget::wheelEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KTabWidget::resizeEvent(arg1); - return; - } - void protected_receivedDropEvent(int arg1,TQDropEvent* arg2) { - KTabWidget::receivedDropEvent(arg1,arg2); - return; - } - void protected_initiateDrag(int arg1) { - KTabWidget::initiateDrag(arg1); - return; - } - void protected_contextMenu(int arg1,const TQPoint& arg2) { - KTabWidget::contextMenu(arg1,arg2); - return; - } - void protected_mouseDoubleClick(int arg1) { - KTabWidget::mouseDoubleClick(arg1); - return; - } - void protected_mouseMiddleClick(int arg1) { - KTabWidget::mouseMiddleClick(arg1); - return; - } - void protected_closeRequest(int arg1) { - KTabWidget::closeRequest(arg1); - return; - } - void protected_wheelDelta(int arg1) { - KTabWidget::wheelDelta(arg1); - return; - } - ~KTabWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - KTabWidget::removePage(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")) { - KTabWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","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.KTabWidget","show")) { - TQWidget::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.KTabWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KTabWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","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")) { - TQTabWidget::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KTabWidget::dropEvent(arg1); - } - return; - } - void showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::showPage(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","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")) { - KTabWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KTabWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_automaticResizeTabs(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->automaticResizeTabs(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->changeTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject child, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->changeTab((TQWidget*) QtSupport::getQt(env, child), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTabWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_closeRequest(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_closeRequest((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_contextMenu(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_contextMenu((int) arg1, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTabWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_dragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTabWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTabWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_hoverCloseButtonDelayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->hoverCloseButtonDelayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_initiateDrag(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initiateDrag((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint index) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject child, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, child), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject child, jobject iconset, jstring label, jint index) -{ -static TQString* _qstring_label = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, child), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint index) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_isTabBarHidden(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->isTabBarHidden(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabWidget_label(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((KTabWidget*) QtSupport::getQt(env, obj))->label((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTabWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mouseDoubleClick(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClick((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mouseMiddleClick(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMiddleClick((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_moveTab(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->moveTab((int) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_newKTabWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_newKTabWidget__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 KTabWidgetJBridge((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_KTabWidget_newKTabWidget__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 KTabWidgetJBridge((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_KTabWidget_receivedDropEvent(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_receivedDropEvent((int) arg1, (TQDropEvent*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_removePage(JNIEnv* env, jobject obj, jobject w) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setAutomaticResizeTabs(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setAutomaticResizeTabs((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setHoverCloseButtonDelayed(JNIEnv* env, jobject obj, jboolean delayed) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setHoverCloseButtonDelayed((bool) delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setHoverCloseButton(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setHoverCloseButton((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabBarHidden(JNIEnv* env, jobject obj, jboolean hide) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabBarHidden((bool) hide); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabCloseActivatePrevious(JNIEnv* env, jobject obj, jboolean previous) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabCloseActivatePrevious((bool) previous); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabColor(JNIEnv* env, jobject obj, jobject arg1, jobject color) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabColor((TQWidget*) QtSupport::getQt(env, arg1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabLabel(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabLabel((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabReorderingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabReorderingEnabled((bool) enable); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTabWidget_tabBarWidthForMaxChars(JNIEnv* env, jobject obj, jint maxLength) -{ - jint xret = (jint) ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabBarWidthForMaxChars((uint) maxLength); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_tabCloseActivatePrevious(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->tabCloseActivatePrevious(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabWidget_tabColor(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KTabWidget*) QtSupport::getQt(env, obj))->tabColor((TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabWidget_tabLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((KTabWidget*) QtSupport::getQt(env, obj))->tabLabel((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_wheelDelta(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelDelta((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KTabWidget.h b/kdejava/koala/kdejava/KTabWidget.h deleted file mode 100644 index 5b9dfae7..00000000 --- a/kdejava/koala/kdejava/KTabWidget.h +++ /dev/null @@ -1,66 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTabWidget__ -#define __org_kde_koala_KTabWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabColor (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabWidget_tabColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_hoverCloseButtonDelayed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_tabCloseActivatePrevious (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_automaticResizeTabs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabBarHidden (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_isTabBarHidden (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabWidget_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabWidget_tabLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabLabel (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_moveTab (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_removePage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabReorderingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setHoverCloseButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setHoverCloseButtonDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabCloseActivatePrevious (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setAutomaticResizeTabs (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTabWidget_tabBarWidthForMaxChars (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_receivedDropEvent (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_initiateDrag (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_contextMenu (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mouseDoubleClick (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mouseMiddleClick (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_closeRequest (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_wheelDelta (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTabWidget__ */ diff --git a/kdejava/koala/kdejava/KTar.cpp b/kdejava/koala/kdejava/KTar.cpp deleted file mode 100644 index 6648e1ca..00000000 --- a/kdejava/koala/kdejava/KTar.cpp +++ /dev/null @@ -1,208 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktar.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTar.h> - -class KTarJBridge : public KTar -{ -public: - KTarJBridge(const TQString& arg1,const TQString& arg2) : KTar(arg1,arg2) {}; - KTarJBridge(const TQString& arg1) : KTar(arg1) {}; - KTarJBridge(TQIODevice* arg1) : KTar(arg1) {}; - bool protected_openArchive(int arg1) { - return (bool) KTar::openArchive(arg1); - } - bool protected_closeArchive() { - return (bool) KTar::closeArchive(); - } - bool protected_prepareWriting_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,uint arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KTar::prepareWriting_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - bool protected_writeDir_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,mode_t arg4,time_t arg5,time_t arg6,time_t arg7) { - return (bool) KTar::writeDir_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - } - bool protected_writeSymLink_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KTar::writeSymLink_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - ~KTarJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_closeArchive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_closeArchive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTar_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTar*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring mimetype) -{ -static TQString* _qstring_filename = 0; -static TQString* _qstring_mimetype = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_newKTar__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTarJBridge((TQIODevice*) QtSupport::getQt(env, dev))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_openArchive(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_openArchive((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_prepareWriting_1impl(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_prepareWriting_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_setOrigFileName(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQCString* _qcstring_fileName = 0; - ((KTar*) QtSupport::getQt(env, obj))->setOrigFileName((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fileName, &_qcstring_fileName)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeDir_1impl(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_writeDir_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeSymLink_1impl(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_writeSymLink_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeSymLink(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->writeSymLink((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - diff --git a/kdejava/koala/kdejava/KTar.h b/kdejava/koala/kdejava/KTar.h deleted file mode 100644 index c22b6148..00000000 --- a/kdejava/koala/kdejava/KTar.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTar__ -#define __org_kde_koala_KTar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_newKTar__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTar_fileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_setOrigFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeSymLink (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII (JNIEnv *env, jobject, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_doneWriting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_openArchive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_closeArchive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_prepareWriting_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeDir_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeSymLink_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTar__ */ diff --git a/kdejava/koala/kdejava/KTempDir.cpp b/kdejava/koala/kdejava/KTempDir.cpp deleted file mode 100644 index d1b1fed7..00000000 --- a/kdejava/koala/kdejava/KTempDir.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktempdir.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTempDir.h> - -class KTempDirJBridge : public KTempDir -{ -public: - KTempDirJBridge(TQString arg1,int arg2) : KTempDir(arg1,arg2) {}; - KTempDirJBridge(TQString arg1) : KTempDir(arg1) {}; - KTempDirJBridge() : KTempDir() {}; - bool protected_create(const TQString& arg1,int arg2) { - return (bool) KTempDir::create(arg1,arg2); - } - void protected_setError(int arg1) { - KTempDir::setError(arg1); - return; - } - ~KTempDirJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempDir_create(JNIEnv* env, jobject obj, jstring directoryPrefix, jint mode) -{ -static TQString* _qstring_directoryPrefix = 0; - jboolean xret = (jboolean) ((KTempDirJBridge*) QtSupport::getQt(env, obj))->protected_create((const TQString&)*(TQString*) QtSupport::toTQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTempDir_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempDir_existing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTempDir*) QtSupport::getQt(env, obj))->existing(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTempDir*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempDir_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTempDir_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTempDir*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_newKTempDir__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring directoryPrefix) -{ -static TQString* _qstring_directoryPrefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge((TQString)*(TQString*) QtSupport::toTQString(env, directoryPrefix, &_qstring_directoryPrefix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring directoryPrefix, jint mode) -{ -static TQString* _qstring_directoryPrefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge((TQString)*(TQString*) QtSupport::toTQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempDir_qDir(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempDir*) QtSupport::getQt(env, obj))->qDir(), "org.kde.qt.TQDir"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_setAutoDelete(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((KTempDir*) QtSupport::getQt(env, obj))->setAutoDelete((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_setError(JNIEnv* env, jobject obj, jint error) -{ - ((KTempDirJBridge*) QtSupport::getQt(env, obj))->protected_setError((int) error); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTempDir_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KTempDir*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_unlink(JNIEnv* env, jobject obj) -{ - ((KTempDir*) QtSupport::getQt(env, obj))->unlink(); - return; -} - diff --git a/kdejava/koala/kdejava/KTempDir.h b/kdejava/koala/kdejava/KTempDir.h deleted file mode 100644 index 704c523e..00000000 --- a/kdejava/koala/kdejava/KTempDir.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTempDir__ -#define __org_kde_koala_KTempDir__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTempDir_status (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTempDir_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempDir_qDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_unlink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempDir_existing (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempDir_create (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_setError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempDir_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTempDir__ */ diff --git a/kdejava/koala/kdejava/KTempFile.cpp b/kdejava/koala/kdejava/KTempFile.cpp deleted file mode 100644 index f5175045..00000000 --- a/kdejava/koala/kdejava/KTempFile.cpp +++ /dev/null @@ -1,191 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdetempfile.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTempFile.h> - -class KTempFileJBridge : public KTempFile -{ -public: - KTempFileJBridge(TQString arg1,TQString arg2,int arg3) : KTempFile(arg1,arg2,arg3) {}; - KTempFileJBridge(TQString arg1,TQString arg2) : KTempFile(arg1,arg2) {}; - KTempFileJBridge(TQString arg1) : KTempFile(arg1) {}; - KTempFileJBridge() : KTempFile() {}; - KTempFileJBridge(bool arg1) : KTempFile(arg1) {}; - bool protected_create(const TQString& arg1,const TQString& arg2,int arg3) { - return (bool) KTempFile::create(arg1,arg2,arg3); - } - void protected_setError(int arg1) { - KTempFile::setError(arg1); - return; - } - ~KTempFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_close(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTempFile*) QtSupport::getQt(env, obj))->close(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_create(JNIEnv* env, jobject obj, jstring filePrefix, jstring fileExtension, jint mode) -{ -static TQString* _qstring_filePrefix = 0; -static TQString* _qstring_fileExtension = 0; - jboolean xret = (jboolean) ((KTempFileJBridge*) QtSupport::getQt(env, obj))->protected_create((const TQString&)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileExtension, &_qstring_fileExtension), (int) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempFile_dataStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempFile*) QtSupport::getQt(env, obj))->dataStream(), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTempFile_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempFile_file(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempFile*) QtSupport::getQt(env, obj))->file(), "org.kde.qt.TQFile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTempFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTempFile_handle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KTempFile*) QtSupport::getQt(env, obj))->handle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTempFile_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTempFile*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filePrefix) -{ -static TQString* _qstring_filePrefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((TQString)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filePrefix, jstring fileExtension) -{ -static TQString* _qstring_filePrefix = 0; -static TQString* _qstring_fileExtension = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((TQString)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix), (TQString)*(TQString*) QtSupport::toTQString(env, fileExtension, &_qstring_fileExtension))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring filePrefix, jstring fileExtension, jint mode) -{ -static TQString* _qstring_filePrefix = 0; -static TQString* _qstring_fileExtension = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((TQString)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix), (TQString)*(TQString*) QtSupport::toTQString(env, fileExtension, &_qstring_fileExtension), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((bool) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_setAutoDelete(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((KTempFile*) QtSupport::getQt(env, obj))->setAutoDelete((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_setError(JNIEnv* env, jobject obj, jint error) -{ - ((KTempFileJBridge*) QtSupport::getQt(env, obj))->protected_setError((int) error); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTempFile_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KTempFile*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_sync(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTempFile*) QtSupport::getQt(env, obj))->sync(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempFile_textStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempFile*) QtSupport::getQt(env, obj))->textStream(), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_unlink(JNIEnv* env, jobject obj) -{ - ((KTempFile*) QtSupport::getQt(env, obj))->unlink(); - return; -} - diff --git a/kdejava/koala/kdejava/KTempFile.h b/kdejava/koala/kdejava/KTempFile.h deleted file mode 100644 index 19ea8aa0..00000000 --- a/kdejava/koala/kdejava/KTempFile.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTempFile__ -#define __org_kde_koala_KTempFile__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTempFile_status (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTempFile_name (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTempFile_handle (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempFile_textStream (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempFile_dataStream (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempFile_file (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_unlink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_sync (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_create (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_setError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTempFile__ */ diff --git a/kdejava/koala/kdejava/KTextBrowser.cpp b/kdejava/koala/kdejava/KTextBrowser.cpp deleted file mode 100644 index baaa988c..00000000 --- a/kdejava/koala/kdejava/KTextBrowser.cpp +++ /dev/null @@ -1,783 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktextbrowser.h> -#include <tqstring.h> -#include <tqpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTextBrowser.h> - -class KTextBrowserJBridge : public KTextBrowser -{ -public: - KTextBrowserJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KTextBrowser(arg1,arg2,arg3) {}; - KTextBrowserJBridge(TQWidget* arg1,const char* arg2) : KTextBrowser(arg1,arg2) {}; - KTextBrowserJBridge(TQWidget* arg1) : KTextBrowser(arg1) {}; - KTextBrowserJBridge() : KTextBrowser() {}; - void protected_setSource(const TQString& arg1) { - KTextBrowser::setSource(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KTextBrowser::keyPressEvent(arg1); - return; - } - void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { - KTextBrowser::viewportMouseMoveEvent(arg1); - return; - } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - KTextBrowser::contentsWheelEvent(arg1); - return; - } - TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) { - return (TQPopupMenu*) KTextBrowser::createPopupMenu(arg1); - } - ~KTextBrowserJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void home() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","home")) { - TQTextBrowser::home(); - } - 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.KTextBrowser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KTextBrowser::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KTextBrowser::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void backward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","backward")) { - TQTextBrowser::backward(); - } - return; - } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); - } - return; - } - void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTextBrowser::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void reload() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","reload")) { - TQTextBrowser::reload(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void forward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","forward")) { - TQTextBrowser::forward(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTextBrowser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTextBrowser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_contentsWheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextBrowser_createPopupMenu(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTextBrowser_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTextBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTextBrowser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextBrowser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextBrowser_isNotifyClick(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTextBrowser*) QtSupport::getQt(env, obj))->isNotifyClick(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextBrowser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_newKTextBrowser__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextBrowserJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_newKTextBrowser__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 KTextBrowserJBridge((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_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean notifyClick) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) notifyClick)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_setNotifyClick(JNIEnv* env, jobject obj, jboolean notifyClick) -{ - ((KTextBrowser*) QtSupport::getQt(env, obj))->setNotifyClick((bool) notifyClick); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_setSource(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_setSource((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KTextBrowser.h b/kdejava/koala/kdejava/KTextBrowser.h deleted file mode 100644 index fff7864c..00000000 --- a/kdejava/koala/kdejava/KTextBrowser.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTextBrowser__ -#define __org_kde_koala_KTextBrowser__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextBrowser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTextBrowser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_setNotifyClick (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextBrowser_isNotifyClick (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_setSource (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_viewportMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_contentsWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextBrowser_createPopupMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextBrowser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTextBrowser__ */ diff --git a/kdejava/koala/kdejava/KTextEdit.cpp b/kdejava/koala/kdejava/KTextEdit.cpp deleted file mode 100644 index ac2cbac2..00000000 --- a/kdejava/koala/kdejava/KTextEdit.cpp +++ /dev/null @@ -1,856 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktextedit.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tqpalette.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTextEdit.h> - -class KTextEditJBridge : public KTextEdit -{ -public: - KTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KTextEdit(arg1,arg2,arg3,arg4) {}; - KTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : KTextEdit(arg1,arg2,arg3) {}; - KTextEditJBridge(const TQString& arg1,const TQString& arg2) : KTextEdit(arg1,arg2) {}; - KTextEditJBridge(const TQString& arg1) : KTextEdit(arg1) {}; - KTextEditJBridge(TQWidget* arg1,const char* arg2) : KTextEdit(arg1,arg2) {}; - KTextEditJBridge(TQWidget* arg1) : KTextEdit(arg1) {}; - KTextEditJBridge() : KTextEdit() {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KTextEdit::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KTextEdit::focusInEvent(arg1); - return; - } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - KTextEdit::contentsWheelEvent(arg1); - return; - } - void protected_deleteWordBack() { - KTextEdit::deleteWordBack(); - return; - } - void protected_deleteWordForward() { - KTextEdit::deleteWordForward(); - return; - } - TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) { - return (TQPopupMenu*) KTextEdit::createPopupMenu(arg1); - } - ~KTextEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - KTextEdit::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void deleteWordForward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","deleteWordForward")) { - KTextEdit::deleteWordForward(); - } - 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.KTextEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","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 viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KTextEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KTextEdit::contentsWheelEvent(arg1); - } - return; - } - void deleteWordBack() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","deleteWordBack")) { - KTextEdit::deleteWordBack(); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); - } - return; - } - void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::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")) { - KTextEdit::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextEdit_checkSpellingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTextEdit*) QtSupport::getQt(env, obj))->checkSpellingEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_checkSpelling(JNIEnv* env, jobject obj) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->checkSpelling(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTextEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTextEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_contentsWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextEdit_createPopupMenu(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_deleteWordBack(JNIEnv* env, jobject obj) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_deleteWordBack(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_deleteWordForward(JNIEnv* env, jobject obj) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_deleteWordForward(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTextEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTextEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_highLightWord(JNIEnv* env, jobject obj, jint length, jint pos) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->highLightWord((unsigned int) length, (unsigned int) pos); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (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_KTextEdit_newKTextEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__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 KTextEditJBridge((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_KTextEdit_setCheckSpellingEnabled(JNIEnv* env, jobject obj, jboolean check) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->setCheckSpellingEnabled((bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_setPalette(JNIEnv* env, jobject obj, jobject palette) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, palette)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean readOnly) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) readOnly); - return; -} - diff --git a/kdejava/koala/kdejava/KTextEdit.h b/kdejava/koala/kdejava/KTextEdit.h deleted file mode 100644 index 8f2fcafc..00000000 --- a/kdejava/koala/kdejava/KTextEdit.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTextEdit__ -#define __org_kde_koala_KTextEdit__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTextEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_setCheckSpellingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextEdit_checkSpellingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_highLightWord (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_checkSpelling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_contentsWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_deleteWordBack (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_deleteWordForward (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextEdit_createPopupMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTextEdit__ */ diff --git a/kdejava/koala/kdejava/KTimeWidget.cpp b/kdejava/koala/kdejava/KTimeWidget.cpp deleted file mode 100644 index f0c63bf1..00000000 --- a/kdejava/koala/kdejava/KTimeWidget.cpp +++ /dev/null @@ -1,485 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <ktimewidget.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTimeWidget.h> - -class KTimeWidgetJBridge : public KTimeWidget -{ -public: - KTimeWidgetJBridge(TQWidget* arg1,const char* arg2) : KTimeWidget(arg1,arg2) {}; - KTimeWidgetJBridge(TQWidget* arg1) : KTimeWidget(arg1) {}; - KTimeWidgetJBridge() : KTimeWidget() {}; - KTimeWidgetJBridge(const TQTime& arg1,TQWidget* arg2,const char* arg3) : KTimeWidget(arg1,arg2,arg3) {}; - KTimeWidgetJBridge(const TQTime& arg1,TQWidget* arg2) : KTimeWidget(arg1,arg2) {}; - KTimeWidgetJBridge(const TQTime& arg1) : KTimeWidget(arg1) {}; - ~KTimeWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","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.KTimeWidget","show")) { - TQWidget::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.KTimeWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","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 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.KTimeWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KTimeWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTimeWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTimeWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTimeWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTimeWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTimeWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTimeWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTimeWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTimeWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject time) -{ -static TQTime* _qtime_time = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject time, jobject parent) -{ -static TQTime* _qtime_time = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject time, jobject parent, jstring name) -{ -static TQTime* _qtime_time = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (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_KTimeWidget_newKTimeWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__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 KTimeWidgetJBridge((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_KTimeWidget_setTime(JNIEnv* env, jobject obj, jobject time) -{ -static TQTime* _qtime_time = 0; - ((KTimeWidget*) QtSupport::getQt(env, obj))->setTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTimeWidget_time(JNIEnv* env, jobject obj) -{ - TQTime _qtime; - _qtime = ((KTimeWidget*) QtSupport::getQt(env, obj))->time(); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - diff --git a/kdejava/koala/kdejava/KTimeWidget.h b/kdejava/koala/kdejava/KTimeWidget.h deleted file mode 100644 index 05f06d2f..00000000 --- a/kdejava/koala/kdejava/KTimeWidget.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTimeWidget__ -#define __org_kde_koala_KTimeWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTimeWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTimeWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTimeWidget_time (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_setTime (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTimeWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTimeWidget__ */ diff --git a/kdejava/koala/kdejava/KTipDatabase.cpp b/kdejava/koala/kdejava/KTipDatabase.cpp deleted file mode 100644 index 6e4df90b..00000000 --- a/kdejava/koala/kdejava/KTipDatabase.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktip.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTipDatabase.h> - -class KTipDatabaseJBridge : public KTipDatabase -{ -public: - KTipDatabaseJBridge(const TQString& arg1) : KTipDatabase(arg1) {}; - KTipDatabaseJBridge() : KTipDatabase() {}; - KTipDatabaseJBridge(const TQStringList& arg1) : KTipDatabase(arg1) {}; - ~KTipDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTipDatabase_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTipDatabase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTipDatabase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_newKTipDatabase__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDatabaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_newKTipDatabase__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tipFile) -{ -static TQString* _qstring_tipFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_newKTipDatabase___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray tipFiles) -{ -static TQStringList* _qlist_tipFiles = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDatabaseJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, tipFiles, &_qlist_tipFiles))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_nextTip(JNIEnv* env, jobject obj) -{ - ((KTipDatabase*) QtSupport::getQt(env, obj))->nextTip(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_prevTip(JNIEnv* env, jobject obj) -{ - ((KTipDatabase*) QtSupport::getQt(env, obj))->prevTip(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTipDatabase_tip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTipDatabase*) QtSupport::getQt(env, obj))->tip(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KTipDatabase.h b/kdejava/koala/kdejava/KTipDatabase.h deleted file mode 100644 index 14c8506c..00000000 --- a/kdejava/koala/kdejava/KTipDatabase.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTipDatabase__ -#define __org_kde_koala_KTipDatabase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_newKTipDatabase__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_newKTipDatabase__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_newKTipDatabase___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTipDatabase_tip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_nextTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_prevTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTipDatabase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTipDatabase__ */ diff --git a/kdejava/koala/kdejava/KTipDialog.cpp b/kdejava/koala/kdejava/KTipDialog.cpp deleted file mode 100644 index ab1a4d22..00000000 --- a/kdejava/koala/kdejava/KTipDialog.cpp +++ /dev/null @@ -1,510 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktip.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KTipDialog.h> - -class KTipDialogJBridge : public KTipDialog -{ -public: - KTipDialogJBridge(KTipDatabase* arg1,TQWidget* arg2,const char* arg3) : KTipDialog(arg1,arg2,arg3) {}; - KTipDialogJBridge(KTipDatabase* arg1,TQWidget* arg2) : KTipDialog(arg1,arg2) {}; - KTipDialogJBridge(KTipDatabase* arg1) : KTipDialog(arg1) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KTipDialog::eventFilter(arg1,arg2); - } - ~KTipDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","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")) { - KDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","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 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.KTipDialog","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTipDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTipDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTipDialog_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTipDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KTipDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTipDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTipDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTipDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTipDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTipDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2(JNIEnv* env, jobject obj, jobject db) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDialogJBridge((KTipDatabase*) QtSupport::getQt(env, db))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject db, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDialogJBridge((KTipDatabase*) QtSupport::getQt(env, db), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject db, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDialogJBridge((KTipDatabase*) QtSupport::getQt(env, db), (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_KTipDialog_setShowOnStart(JNIEnv* env, jclass cls, jboolean show) -{ - (void) cls; - (void) env; - KTipDialogJBridge::setShowOnStart((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jobjectArray tipFiles) -{ - (void) cls; -static TQStringList* _qlist_tipFiles = 0; - KTipDialogJBridge::showMultiTip((TQWidget*) QtSupport::getQt(env, parent), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, tipFiles, &_qlist_tipFiles)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jobjectArray tipFiles, jboolean force) -{ - (void) cls; -static TQStringList* _qlist_tipFiles = 0; - KTipDialogJBridge::showMultiTip((TQWidget*) QtSupport::getQt(env, parent), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, tipFiles, &_qlist_tipFiles), (bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KTipDialogJBridge::showTip(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring tipFile) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring tipFile, jboolean force) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile), (bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - KTipDialogJBridge::showTip((TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring tipFile) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jstring tipFile, jboolean force) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile), (bool) force); - return; -} - diff --git a/kdejava/koala/kdejava/KTipDialog.h b/kdejava/koala/kdejava/KTipDialog.h deleted file mode 100644 index d913a9bf..00000000 --- a/kdejava/koala/kdejava/KTipDialog.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTipDialog__ -#define __org_kde_koala_KTipDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTipDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTipDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_setShowOnStart (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTipDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTipDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTipDialog__ */ diff --git a/kdejava/koala/kdejava/KURIFilter.cpp b/kdejava/koala/kdejava/KURIFilter.cpp deleted file mode 100644 index 160d8cbd..00000000 --- a/kdejava/koala/kdejava/KURIFilter.cpp +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurifilter.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURIFilter.h> - -class KURIFilterJBridge : public KURIFilter -{ -public: - KURIFilterJBridge() : KURIFilter() {}; - void protected_loadPlugins() { - KURIFilter::loadPlugins(); - return; - } - ~KURIFilterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURIFilter_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject uri) -{ -static TQString* _qstring_uri = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, uri, &_qstring_uri)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_uri, uri); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject uri, jobjectArray filters) -{ -static TQString* _qstring_uri = 0; -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, uri, &_qstring_uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_uri, uri); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2(JNIEnv* env, jobject obj, jobject data) -{ - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURIFilterData&)*(KURIFilterData*) QtSupport::getQt(env, data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject data, jobjectArray filters) -{ -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURIFilterData&)*(KURIFilterData*) QtSupport::getQt(env, data), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject uri) -{ - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURL&)*(KURL*) QtSupport::getQt(env, uri)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject uri, jobjectArray filters) -{ -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURL&)*(KURL*) QtSupport::getQt(env, uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri) -{ - TQString _qstring; -static TQString* _qstring_uri = 0; - _qstring = ((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jobjectArray filters) -{ - TQString _qstring; -static TQString* _qstring_uri = 0; -static TQStringList* _qlist_filters = 0; - _qstring = ((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject uri) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const KURL&)*(const KURL*) QtSupport::getQt(env, uri))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject uri, jobjectArray filters) -{ -static TQStringList* _qlist_filters = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const KURL&)*(const KURL*) QtSupport::getQt(env, uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURIFilter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_loadPlugins(JNIEnv* env, jobject obj) -{ - ((KURIFilterJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_newKURIFilter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_pluginNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KURIFilter*) QtSupport::getQt(env, obj))->pluginNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KURIFilterJBridge::self(), "org.kde.koala.KURIFilter"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURIFilter.h b/kdejava/koala/kdejava/KURIFilter.h deleted file mode 100644 index b656f612..00000000 --- a/kdejava/koala/kdejava/KURIFilter.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURIFilter__ -#define __org_kde_koala_KURIFilter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_pluginNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_newKURIFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_loadPlugins (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURIFilter__ */ diff --git a/kdejava/koala/kdejava/KURIFilterData.cpp b/kdejava/koala/kdejava/KURIFilterData.cpp deleted file mode 100644 index c9ab79f4..00000000 --- a/kdejava/koala/kdejava/KURIFilterData.cpp +++ /dev/null @@ -1,222 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurifilter.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURIFilterData.h> - -class KURIFilterDataJBridge : public KURIFilterData -{ -public: - KURIFilterDataJBridge() : KURIFilterData() {}; - KURIFilterDataJBridge(const KURL& arg1) : KURIFilterData(arg1) {}; - KURIFilterDataJBridge(const TQString& arg1) : KURIFilterData(arg1) {}; - KURIFilterDataJBridge(const KURIFilterData& arg1) : KURIFilterData(arg1) {}; - void protected_init(const KURL& arg1) { - KURIFilterData::init(arg1); - return; - } - void protected_init(const TQString& arg1) { - KURIFilterData::init(arg1); - return; - } - void protected_init() { - KURIFilterData::init(); - return; - } - ~KURIFilterDataJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_absolutePath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->absolutePath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_argsAndOptions(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->argsAndOptions(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_checkForExecutables(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->checkForExecutables(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURIFilterData_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_errorMsg(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->errorMsg(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURIFilterData*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_hasAbsolutePath(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->hasAbsolutePath(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_hasArgsAndOptions(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->hasArgsAndOptions(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_init__(JNIEnv* env, jobject obj) -{ - ((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_init__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURIFilterData_2(JNIEnv* env, jobject obj, jobject data) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const KURIFilterData&)*(const KURIFilterData*) QtSupport::getQt(env, data))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_setAbsolutePath(JNIEnv* env, jobject obj, jstring abs_path) -{ -static TQString* _qstring_abs_path = 0; - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->setAbsolutePath((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_path, &_qstring_abs_path)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_setCheckForExecutables(JNIEnv* env, jobject obj, jboolean check) -{ - ((KURIFilterData*) QtSupport::getQt(env, obj))->setCheckForExecutables((bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_setData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURIFilterData*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_setData__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURIFilterData*) QtSupport::getQt(env, obj))->setData((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_typedString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->typedString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURIFilterData_uriType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURIFilterData*) QtSupport::getQt(env, obj))->uriType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilterData_uri(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURIFilterData*) QtSupport::getQt(env, obj))->uri()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURIFilterData.h b/kdejava/koala/kdejava/KURIFilterData.h deleted file mode 100644 index 774f74da..00000000 --- a/kdejava/koala/kdejava/KURIFilterData.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURIFilterData__ -#define __org_kde_koala_KURIFilterData__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURIFilterData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilterData_uri (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_errorMsg (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURIFilterData_uriType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_setData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_setData__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_setAbsolutePath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_absolutePath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_hasAbsolutePath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_argsAndOptions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_hasArgsAndOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_iconName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_setCheckForExecutables (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_checkForExecutables (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_typedString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_init__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_init__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURIFilterData__ */ diff --git a/kdejava/koala/kdejava/KURIFilterPlugin.cpp b/kdejava/koala/kdejava/KURIFilterPlugin.cpp deleted file mode 100644 index 646b6308..00000000 --- a/kdejava/koala/kdejava/KURIFilterPlugin.cpp +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurifilter.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURIFilterPlugin.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterPlugin_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilterPlugin_configModule(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQCString* _qstring_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURIFilterPlugin*) QtSupport::getQt(env, obj))->configModule((TQWidget*) QtSupport::getQt(env, arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterPlugin_configName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->configName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterPlugin_filterURI(JNIEnv* env, jobject obj, jobject data) -{ - jboolean xret = (jboolean) ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->filterURI((KURIFilterData&)*(KURIFilterData*) QtSupport::getQt(env, data)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilterPlugin_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURIFilterPlugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterPlugin_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KURIFilterPlugin_priority(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->priority(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURIFilterPlugin.h b/kdejava/koala/kdejava/KURIFilterPlugin.h deleted file mode 100644 index 98f92dcd..00000000 --- a/kdejava/koala/kdejava/KURIFilterPlugin.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURIFilterPlugin__ -#define __org_kde_koala_KURIFilterPlugin__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilterPlugin_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterPlugin_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterPlugin_name (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KURIFilterPlugin_priority (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterPlugin_filterURI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilterPlugin_configModule (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterPlugin_configName (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURIFilterPlugin__ */ diff --git a/kdejava/koala/kdejava/KURL.cpp b/kdejava/koala/kdejava/KURL.cpp deleted file mode 100644 index 4207d9c0..00000000 --- a/kdejava/koala/kdejava/KURL.cpp +++ /dev/null @@ -1,973 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqurl.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURL.h> - -class KURLJBridge : public KURL -{ -public: - KURLJBridge() : KURL() {}; - KURLJBridge(const TQString& arg1,int arg2) : KURL(arg1,arg2) {}; - KURLJBridge(const TQString& arg1) : KURL(arg1) {}; - KURLJBridge(const KURL& arg1) : KURL(arg1) {}; - KURLJBridge(const TQUrl& arg1) : KURL(arg1) {}; - KURLJBridge(const KURL& arg1,const TQString& arg2,int arg3) : KURL(arg1,arg2,arg3) {}; - KURLJBridge(const KURL& arg1,const TQString& arg2) : KURL(arg1,arg2) {}; - void protected_reset() { - KURL::reset(); - return; - } - void protected_parseURL(const TQString& arg1,int arg2) { - KURL::parseURL(arg1,arg2); - return; - } - void protected_parseURL(const TQString& arg1) { - KURL::parseURL(arg1); - return; - } - void protected_parseRawURI(const TQString& arg1,int arg2) { - KURL::parseRawURI(arg1,arg2); - return; - } - void protected_parseRawURI(const TQString& arg1) { - KURL::parseRawURI(arg1); - return; - } - void protected_parseMailto(const TQString& arg1,int arg2) { - KURL::parseMailto(arg1,arg2); - return; - } - void protected_parseMailto(const TQString& arg1) { - KURL::parseMailto(arg1); - return; - } - void protected_parse(const TQString& arg1,int arg2) { - KURL::parse(arg1,arg2); - return; - } - void protected_parse(const TQString& arg1) { - KURL::parse(arg1); - return; - } - ~KURLJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_addPath(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->addPath((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _item, jstring _value) -{ -static TQString* _qstring__item = 0; -static TQString* _qstring__value = 0; - ((KURL*) QtSupport::getQt(env, obj))->addQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item), (const TQString&)*(TQString*) QtSupport::toTQString(env, _value, &_qstring__value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _item, jstring _value, jint encoding_hint) -{ -static TQString* _qstring__item = 0; -static TQString* _qstring__value = 0; - ((KURL*) QtSupport::getQt(env, obj))->addQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item), (const TQString&)*(TQString*) QtSupport::toTQString(env, _value, &_qstring__value), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_adjustPath(JNIEnv* env, jobject obj, jint _trailing) -{ - ((KURL*) QtSupport::getQt(env, obj))->adjustPath((int) _trailing); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_cd(JNIEnv* env, jobject obj, jstring _dir) -{ -static TQString* _qstring__dir = 0; - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, _dir, &_qstring__dir)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_cleanPath__(JNIEnv* env, jobject obj) -{ - ((KURL*) QtSupport::getQt(env, obj))->cleanPath(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_cleanPath__Z(JNIEnv* env, jobject obj, jboolean cleanDirSeparator) -{ - ((KURL*) QtSupport::getQt(env, obj))->cleanPath((bool) cleanDirSeparator); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::decode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::decode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_directory__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->directory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_directory__Z(JNIEnv* env, jobject obj, jboolean _strip_trailing_slash_from_result) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->directory((bool) _strip_trailing_slash_from_result); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_directory__ZZ(JNIEnv* env, jobject obj, jboolean _strip_trailing_slash_from_result, jboolean _ignore_trailing_slash_in_path) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->directory((bool) _strip_trailing_slash_from_result, (bool) _ignore_trailing_slash_in_path); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURL_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string_no_slash((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string_no_slash((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedHtmlRef(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedHtmlRef(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__IZ(JNIEnv* env, jobject obj, jint _trailing, jboolean _no_empty_path) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing, (bool) _no_empty_path); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__IZI(JNIEnv* env, jobject obj, jint _trailing, jboolean _no_empty_path, jint encoding_hint) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing, (bool) _no_empty_path, (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->equals((const KURL&)*(const KURL*) QtSupport::getQt(env, u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject u, jboolean ignore_trailing) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->equals((const KURL&)*(const KURL*) QtSupport::getQt(env, u), (bool) ignore_trailing); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_fileEncoding(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->fileEncoding(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_fileName__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_fileName__Z(JNIEnv* env, jobject obj, jboolean _ignore_trailing_slash_in_path) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->fileName((bool) _ignore_trailing_slash_in_path); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURL*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_fromPathOrURL(JNIEnv* env, jclass cls, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLJBridge::fromPathOrURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasHTMLRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasHTMLRef(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasHost(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasHost(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasPass(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasPass(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasPath(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasPath(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasRef(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasSubURL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasSubURL(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasUser(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasUser(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_host(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->host(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_htmlRef(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->htmlRef(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_htmlURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->htmlURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isLocalFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isLocalFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isParentOf(JNIEnv* env, jobject obj, jobject u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isParentOf((const KURL&)*(const KURL*) QtSupport::getQt(env, u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isRelativeURL(JNIEnv* env, jclass cls, jstring _url) -{ - (void) cls; -static TQString* _qstring__url = 0; - jboolean xret = (jboolean) KURLJBridge::isRelativeURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_join(JNIEnv* env, jclass cls, jobjectArray _list) -{ - (void) cls; -static KURL::List* _qlist__list = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLJBridge::join((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _list, &_qlist__list))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring url, jint encoding_hint) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) encoding_hint)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject u) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, u))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url) -{ -static TQString* _qstring__rel_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, _baseurl), (const TQString&)*(TQString*) QtSupport::toTQString(env, _rel_url, &_qstring__rel_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url, jint encoding_hint) -{ -static TQString* _qstring__rel_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, _baseurl), (const TQString&)*(TQString*) QtSupport::toTQString(env, _rel_url, &_qstring__rel_url), (int) encoding_hint)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject u) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, u))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _u) -{ -static TQString* _qstring__u = 0; - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, _u, &_qstring__u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1equals__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator==((const KURL&)*(const KURL*) QtSupport::getQt(env, _u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1lt(JNIEnv* env, jobject obj, jobject _u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator<((const KURL&)*(const KURL*) QtSupport::getQt(env, _u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1not_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _u) -{ -static TQString* _qstring__u = 0; - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator!=((const TQString&)*(TQString*) QtSupport::toTQString(env, _u, &_qstring__u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1not_1equals__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator!=((const KURL&)*(const KURL*) QtSupport::getQt(env, _u)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseMailto((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseMailto((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseRawURI((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseRawURI((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parse__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parse__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_pass(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->pass(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_pathOrURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->pathOrURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_path__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_path__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->path((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_KURL_port(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((KURL*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_prettyURL__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_prettyURL__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_prettyURL__II(JNIEnv* env, jobject obj, jint _trailing, jint _flags) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL((int) _trailing, (KURL::AdjustementFlags) _flags); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_protocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->protocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ - TQString _qstring; -static TQString* _qstring_item = 0; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->queryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring item, jint encoding_hint) -{ - TQString _qstring; -static TQString* _qstring_item = 0; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->queryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_query(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->query(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_ref(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->ref(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base_dir, jstring path) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_base_dir = 0; -static TQString* _qstring_path = 0; - _qstring = KURLJBridge::relativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, base_dir, &_qstring_base_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring base_dir, jstring path, jbooleanArray isParent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_base_dir = 0; -static TQString* _qstring_path = 0; - bool* _bool_isParent = QtSupport::toBooleanPtr(env, isParent); - _qstring = KURLJBridge::relativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, base_dir, &_qstring_base_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool*) _bool_isParent); - env->SetBooleanArrayRegion(isParent, 0, 1, (jboolean*) _bool_isParent); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject base_url, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KURLJBridge::relativeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, base_url), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject base_url, jobject url, jint encoding_hint) -{ - TQString _qstring; - (void) cls; - _qstring = KURLJBridge::relativeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, base_url), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_removeQueryItem(JNIEnv* env, jobject obj, jstring _item) -{ -static TQString* _qstring__item = 0; - ((KURL*) QtSupport::getQt(env, obj))->removeQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_reset(JNIEnv* env, jobject obj) -{ - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setDirectory(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((KURL*) QtSupport::getQt(env, obj))->setDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setFileEncoding(JNIEnv* env, jobject obj, jstring encoding) -{ -static TQString* _qstring_encoding = 0; - ((KURL*) QtSupport::getQt(env, obj))->setFileEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, encoding, &_qstring_encoding)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setFileName(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setHTMLRef(JNIEnv* env, jobject obj, jstring _ref) -{ -static TQString* _qstring__ref = 0; - ((KURL*) QtSupport::getQt(env, obj))->setHTMLRef((const TQString&)*(TQString*) QtSupport::toTQString(env, _ref, &_qstring__ref)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setHost(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setPass(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setPass((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setPath(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KURL*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setPort(JNIEnv* env, jobject obj, jshort _p) -{ - ((KURL*) QtSupport::getQt(env, obj))->setPort((unsigned short int) _p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setProtocol(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setRef(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setUser(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_split__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _url) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring__url = 0; - _qlist = KURLJBridge::split((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_split__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject _url) -{ - KURL::List _qlist; - (void) cls; - _qlist = KURLJBridge::split((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_upURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURL*) QtSupport::getQt(env, obj))->upURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURL_uriModeForProtocol(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jint xret = (jint) KURLJBridge::uriModeForProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURL_uriMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURL*) QtSupport::getQt(env, obj))->uriMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_url__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->url(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_url__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->url((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_url__II(JNIEnv* env, jobject obj, jint _trailing, jint encoding_hint) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->url((int) _trailing, (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KURL.h b/kdejava/koala/kdejava/KURL.h deleted file mode 100644 index ebda9ea1..00000000 --- a/kdejava/koala/kdejava/KURL.h +++ /dev/null @@ -1,129 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURL__ -#define __org_kde_koala_KURL__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_protocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setProtocol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURL_uriMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_user (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setUser (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasUser (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_pass (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setPass (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasPass (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_host (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setHost (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasHost (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_KURL_port (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setPort (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_path__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_path__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_cleanPath__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_cleanPath__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_adjustPath (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__IZI (JNIEnv *env, jobject, jint, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_query (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setRef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasRef (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_htmlRef (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedHtmlRef (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setHTMLRef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasHTMLRef (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isLocalFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setFileEncoding (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_fileEncoding (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasSubURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_addPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_removeQueryItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_fileName__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_fileName__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_directory__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_directory__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_directory__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setDirectory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_cd (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_url__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_url__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_url__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_prettyURL__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_prettyURL__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_prettyURL__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_pathOrURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_htmlURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_upURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1equals__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1not_1equals__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1not_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isParentOf (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_split__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_split__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_join (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_fromPathOrURL (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isRelativeURL (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURL_uriModeForProtocol (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parse__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parse__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURL__ */ diff --git a/kdejava/koala/kdejava/KURLBar.cpp b/kdejava/koala/kdejava/KURLBar.cpp deleted file mode 100644 index f00f3705..00000000 --- a/kdejava/koala/kdejava/KURLBar.cpp +++ /dev/null @@ -1,769 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kurlbar.h> -#include <kicontheme.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <kurl.h> -#include <tqpalette.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLBar.h> - -class KURLBarJBridge : public KURLBar -{ -public: - KURLBarJBridge(bool arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KURLBar(arg1,arg2,arg3,arg4) {}; - KURLBarJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KURLBar(arg1,arg2,arg3) {}; - KURLBarJBridge(bool arg1,TQWidget* arg2) : KURLBar(arg1,arg2) {}; - KURLBarJBridge(bool arg1) : KURLBar(arg1) {}; - void public_clear() { - KURLBar::clear(); - return; - } - bool protected_addNewItem() { - return (bool) KURLBar::addNewItem(); - } - bool protected_editItem(KURLBarItem* arg1) { - return (bool) KURLBar::editItem(arg1); - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KURLBar::resizeEvent(arg1); - return; - } - void protected_paletteChange(const TQPalette& arg1) { - KURLBar::paletteChange(arg1); - return; - } - void protected_slotContextMenuRequested(TQListBoxItem* arg1,const TQPoint& arg2) { - KURLBar::slotContextMenuRequested(arg1,arg2); - return; - } - void protected_slotSelected(TQListBoxItem* arg1) { - KURLBar::slotSelected(arg1); - return; - } - void protected_slotDropped(TQDropEvent* arg1) { - KURLBar::slotDropped(arg1); - return; - } - ~KURLBarJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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; - } - bool addNewItem() { - return QtSupport::booleanDelegate(this,"addNewItem"); - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KURLBar::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - KURLBar::paletteChange(arg1); - } - return; - } - void setListBox(KURLBarListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.koala.KURLBarListBox")) { - KURLBar::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","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.KURLBar","show")) { - TQWidget::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.KURLBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","clear")) { - KURLBar::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","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 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.KURLBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotDropped(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"slotDropped",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KURLBar::slotDropped(arg1); - } - return; - } - void setCurrentItem(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)&arg1,"org.kde.koala.KURL")) { - KURLBar::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_addNewItem(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_addNewItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_clear(JNIEnv* env, jobject obj) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_currentItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_currentURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURLBar*) QtSupport::getQt(env, obj))->currentURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_editItem(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_editItem((KURLBarItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBar_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBar*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description) -{ -static TQString* _qstring_description = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject url, jstring description, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description) -{ -static TQString* _qstring_description = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring description, jboolean applicationLocal) -{ -static TQString* _qstring_description = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description, jboolean applicationLocal, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal, (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject url, jstring description, jboolean applicationLocal, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal, (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isImmutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBar*) QtSupport::getQt(env, obj))->isImmutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBar*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isVertical(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBar*) QtSupport::getQt(env, obj))->isVertical(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_listBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->listBox(), "org.kde.koala.KURLBarListBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KURLBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_newKURLBar__Z(JNIEnv* env, jobject obj, jboolean useGlobalItems) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean useGlobalItems, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean useGlobalItems, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems, (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_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jboolean useGlobalItems, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems, (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 jint JNICALL -Java_org_kde_koala_KURLBar_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBar*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_paletteChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_readConfig(JNIEnv* env, jobject obj, jobject config, jstring itemGroup) -{ -static TQString* _qstring_itemGroup = 0; - ((KURLBar*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, itemGroup, &_qstring_itemGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_readItem(JNIEnv* env, jobject obj, jint i, jobject config, jboolean applicationLocal) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->readItem((int) i, (TDEConfig*) QtSupport::getQt(env, config), (bool) applicationLocal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setCurrentItem(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setCurrentItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setListBox(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setListBox((KURLBarListBox*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setOrientation(JNIEnv* env, jobject obj, jint orient) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) orient); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KURLBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_slotContextMenuRequested(JNIEnv* env, jobject obj, jobject arg1, jobject pos) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_slotContextMenuRequested((TQListBoxItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_slotDropped(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_slotDropped((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_slotSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_slotSelected((TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_writeConfig(JNIEnv* env, jobject obj, jobject config, jstring itemGroup) -{ -static TQString* _qstring_itemGroup = 0; - ((KURLBar*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, itemGroup, &_qstring_itemGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_writeItem(JNIEnv* env, jobject obj, jobject item, jint i, jobject arg3, jboolean global) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->writeItem((KURLBarItem*) QtSupport::getQt(env, item), (int) i, (TDEConfig*) QtSupport::getQt(env, arg3), (bool) global); - return; -} - diff --git a/kdejava/koala/kdejava/KURLBar.h b/kdejava/koala/kdejava/KURLBar.h deleted file mode 100644 index 2d9bdf76..00000000 --- a/kdejava/koala/kdejava/KURLBar.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBar__ -#define __org_kde_koala_KURLBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jboolean, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBar_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setListBox (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_listBox (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBar_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_readConfig (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_writeConfig (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_readItem (JNIEnv *env, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_writeItem (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_currentURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isImmutable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isVertical (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setCurrentItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_addNewItem (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_editItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_paletteChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_slotContextMenuRequested (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_slotSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_slotDropped (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBar__ */ diff --git a/kdejava/koala/kdejava/KURLBarItem.cpp b/kdejava/koala/kdejava/KURLBarItem.cpp deleted file mode 100644 index 11c59305..00000000 --- a/kdejava/koala/kdejava/KURLBarItem.cpp +++ /dev/null @@ -1,275 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kurlbar.h> -#include <kicontheme.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLBarItem.h> - -class KURLBarItemJBridge : public KURLBarItem -{ -public: - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5,TDEIcon::Group arg6) : KURLBarItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3) : KURLBarItem(arg1,arg2,arg3) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,TDEIcon::Group arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3) : KURLBarItem(arg1,arg2,arg3) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2) : KURLBarItem(arg1,arg2) {}; - void protected_paint(TQPainter* arg1) { - KURLBarItem::paint(arg1); - return; - } - ~KURLBarItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItem_applicationLocal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarItem*) QtSupport::getQt(env, obj))->applicationLocal(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItem_description(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItem*) QtSupport::getQt(env, obj))->description(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBarItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURLBarItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarItem_height(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((KURLBarItem*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarItem_iconGroup(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBarItem*) QtSupport::getQt(env, obj))->iconGroup(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItem_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItem*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItem_isPersistent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarItem*) QtSupport::getQt(env, obj))->isPersistent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject parent, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jstring description) -{ -static TQString* _qstring_description = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject url, jstring description, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent, jstring description) -{ -static TQString* _qstring_description = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent, jstring description, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_paint(JNIEnv* env, jobject obj, jobject p) -{ - ((KURLBarItemJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItem_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setApplicationLocal(JNIEnv* env, jobject obj, jboolean local) -{ - ((KURLBarItem*) QtSupport::getQt(env, obj))->setApplicationLocal((bool) local); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setDescription(JNIEnv* env, jobject obj, jstring desc) -{ -static TQString* _qstring_desc = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setDescription((const TQString&)*(TQString*) QtSupport::toTQString(env, desc, &_qstring_desc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint group) -{ -static TQString* _qstring_icon = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setToolTip(JNIEnv* env, jobject obj, jstring tip) -{ -static TQString* _qstring_tip = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLBarItem*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KURLBarItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItem_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItem*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItem_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((KURLBarItem*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarItem_width(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((KURLBarItem*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLBarItem.h b/kdejava/koala/kdejava/KURLBarItem.h deleted file mode 100644 index 648421b7..00000000 --- a/kdejava/koala/kdejava/KURLBarItem.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBarItem__ -#define __org_kde_koala_KURLBarItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setDescription (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarItem_width (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarItem_height (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItem_url (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItem_description (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItem_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItem_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarItem_iconGroup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItem_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setApplicationLocal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItem_applicationLocal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItem_isPersistent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_paint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBarItem__ */ diff --git a/kdejava/koala/kdejava/KURLBarItemDialog.cpp b/kdejava/koala/kdejava/KURLBarItemDialog.cpp deleted file mode 100644 index 4b8bc90b..00000000 --- a/kdejava/koala/kdejava/KURLBarItemDialog.cpp +++ /dev/null @@ -1,592 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurlbar.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLBarItemDialog.h> - -class KURLBarItemDialogJBridge : public KURLBarItemDialog -{ -public: - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5,int arg6,TQWidget* arg7,const char* arg8) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5,int arg6,TQWidget* arg7) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5,int arg6) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4) : KURLBarItemDialog(arg1,arg2,arg3,arg4) {}; - ~KURLBarItemDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","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 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.KURLBarItemDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_applicationLocal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->applicationLocal(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItemDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItemDialog_description(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->description(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBarItemDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLBarItemDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLBarItemDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZI(JNIEnv* env, jclass cls, jboolean allowGlobal, jobject url, jobject description, jobject icon, jboolean appLocal, jint iconSize) -{ - (void) cls; -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jboolean xret = (jboolean) KURLBarItemDialogJBridge::getInformation((bool) allowGlobal, (KURL&)*(KURL*) QtSupport::getQt(env, url), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, description, &_qstring_description), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, icon, &_qstring_icon), (bool&) appLocal, (int) iconSize); - QtSupport::fromTQStringToStringBuffer(env, _qstring_description, description); - QtSupport::fromTQStringToStringBuffer(env, _qstring_icon, icon); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZILorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jboolean allowGlobal, jobject url, jobject description, jobject icon, jboolean appLocal, jint iconSize, jobject parent) -{ - (void) cls; -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jboolean xret = (jboolean) KURLBarItemDialogJBridge::getInformation((bool) allowGlobal, (KURL&)*(KURL*) QtSupport::getQt(env, url), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, description, &_qstring_description), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, icon, &_qstring_icon), (bool&) appLocal, (int) iconSize, (TQWidget*) QtSupport::getQt(env, parent)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_description, description); - QtSupport::fromTQStringToStringBuffer(env, _qstring_icon, icon); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItemDialog_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItemDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarItemDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal, jint iconSize) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal, (int) iconSize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal, jint iconSize, jobject parent) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal, (int) iconSize, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal, jint iconSize, jobject parent, jstring name) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal, (int) iconSize, (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_KURLBarItemDialog_urlChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->urlChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItemDialog_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURLBarItemDialog*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLBarItemDialog.h b/kdejava/koala/kdejava/KURLBarItemDialog.h deleted file mode 100644 index e9f26a66..00000000 --- a/kdejava/koala/kdejava/KURLBarItemDialog.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBarItemDialog__ -#define __org_kde_koala_KURLBarItemDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItemDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItemDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItemDialog_url (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItemDialog_description (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItemDialog_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_applicationLocal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_urlChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZILorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jboolean, jobject, jobject, jobject, jboolean, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZI (JNIEnv *env, jclass, jboolean, jobject, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBarItemDialog__ */ diff --git a/kdejava/koala/kdejava/KURLBarListBox.cpp b/kdejava/koala/kdejava/KURLBarListBox.cpp deleted file mode 100644 index 18d5a6c0..00000000 --- a/kdejava/koala/kdejava/KURLBarListBox.cpp +++ /dev/null @@ -1,656 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurlbar.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLBarListBox.h> - -class KURLBarListBoxJBridge : public KURLBarListBox -{ -public: - KURLBarListBoxJBridge(TQWidget* arg1,const char* arg2) : KURLBarListBox(arg1,arg2) {}; - KURLBarListBoxJBridge(TQWidget* arg1) : KURLBarListBox(arg1) {}; - KURLBarListBoxJBridge() : KURLBarListBox() {}; - TQDragObject* protected_dragObject() { - return (TQDragObject*) KURLBarListBox::dragObject(); - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KURLBarListBox::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KURLBarListBox::contentsDropEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - KURLBarListBox::contextMenuEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KURLBarListBox::paintEvent(arg1); - return; - } - ~KURLBarListBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListBox::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQListBox::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","ensureCurrentVisible")) { - TQListBox::ensureCurrentVisible(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KURLBarListBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KURLBarListBox::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","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")) { - TQListBox::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","clearSelection")) { - TQListBox::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KURLBarListBox::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListBox::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","invertSelection")) { - TQListBox::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEListBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TQListBox::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQListBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - KURLBarListBox::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListBox::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarListBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLBarListBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBarListBox_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarListBox_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLBarListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLBarListBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarListBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarListBox_isVertical(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarListBox*) QtSupport::getQt(env, obj))->isVertical(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarListBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarListBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__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 KURLBarListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarListBox_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBarListBox*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_setOrientation(JNIEnv* env, jobject obj, jint orient) -{ - ((KURLBarListBox*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) orient); - return; -} - diff --git a/kdejava/koala/kdejava/KURLBarListBox.h b/kdejava/koala/kdejava/KURLBarListBox.h deleted file mode 100644 index cd61a799..00000000 --- a/kdejava/koala/kdejava/KURLBarListBox.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBarListBox__ -#define __org_kde_koala_KURLBarListBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarListBox_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarListBox_isVertical (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarListBox_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBarListBox__ */ diff --git a/kdejava/koala/kdejava/KURLComboBox.cpp b/kdejava/koala/kdejava/KURLComboBox.cpp deleted file mode 100644 index de3c21fe..00000000 --- a/kdejava/koala/kdejava/KURLComboBox.cpp +++ /dev/null @@ -1,603 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurlcombobox.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLComboBox.h> - -class KURLComboBoxJBridge : public KURLComboBox -{ -public: - KURLComboBoxJBridge(KURLComboBox::Mode arg1,TQWidget* arg2,const char* arg3) : KURLComboBox(arg1,arg2,arg3) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,TQWidget* arg2) : KURLComboBox(arg1,arg2) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1) : KURLComboBox(arg1) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,bool arg2,TQWidget* arg3,const char* arg4) : KURLComboBox(arg1,arg2,arg3,arg4) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,bool arg2,TQWidget* arg3) : KURLComboBox(arg1,arg2,arg3) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,bool arg2) : KURLComboBox(arg1,arg2) {}; - void protected_init(KURLComboBox::Mode arg1) { - KURLComboBox::init(arg1); - return; - } - TQPixmap protected_getPixmap(const KURL& arg1) { - return (TQPixmap) KURLComboBox::getPixmap(arg1); - } - void protected_slotActivated(int arg1) { - KURLComboBox::slotActivated(arg1); - return; - } - ~KURLComboBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","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.KURLComboBox","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","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")) { - TQComboBox::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQComboBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","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")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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.KURLComboBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLComboBox",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring text) -{ -static TQString* _qstring_text = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject url, jobject pix) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jobject pix, jstring text) -{ -static TQString* _qstring_text = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLComboBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLComboBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLComboBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLComboBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboBox_getPixmap(JNIEnv* env, jobject obj, jobject url) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KURLComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_getPixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, url))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_init(JNIEnv* env, jobject obj, jint mode) -{ - ((KURLComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_init((KURLComboBox::Mode) mode); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLComboBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLComboBox_maxItems(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLComboBox*) QtSupport::getQt(env, obj))->maxItems(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__I(JNIEnv* env, jobject obj, jint mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint mode, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint mode, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (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_KURLComboBox_newKURLComboBox__IZ(JNIEnv* env, jobject obj, jint mode, jboolean rw) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (bool) rw)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint mode, jboolean rw, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (bool) rw, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint mode, jboolean rw, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (bool) rw, (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_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean checkDefaultURLs) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) checkDefaultURLs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setDefaults(JNIEnv* env, jobject obj) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->setDefaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setMaxItems(JNIEnv* env, jobject obj, jint arg1) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->setMaxItems((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray urls) -{ -static TQStringList* _qlist_urls = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->setURLs((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, urls, &_qlist_urls)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray urls, jint remove) -{ -static TQStringList* _qlist_urls = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->setURLs((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, urls, &_qlist_urls), (KURLComboBox::OverLoadResolving) remove); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_slotActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KURLComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboBox_urls(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KURLComboBox*) QtSupport::getQt(env, obj))->urls(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KURLComboBox.h b/kdejava/koala/kdejava/KURLComboBox.h deleted file mode 100644 index d246c460..00000000 --- a/kdejava/koala/kdejava/KURLComboBox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLComboBox__ -#define __org_kde_koala_KURLComboBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLComboBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboBox_urls (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setMaxItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLComboBox_maxItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setDefaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_init (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboBox_getPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_slotActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLComboBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLComboBox__ */ diff --git a/kdejava/koala/kdejava/KURLComboRequester.cpp b/kdejava/koala/kdejava/KURLComboRequester.cpp deleted file mode 100644 index 4abcc83a..00000000 --- a/kdejava/koala/kdejava/KURLComboRequester.cpp +++ /dev/null @@ -1,443 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurlrequester.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLComboRequester.h> - -class KURLComboRequesterJBridge : public KURLComboRequester -{ -public: - KURLComboRequesterJBridge(TQWidget* arg1,const char* arg2) : KURLComboRequester(arg1,arg2) {}; - KURLComboRequesterJBridge(TQWidget* arg1) : KURLComboRequester(arg1) {}; - KURLComboRequesterJBridge() : KURLComboRequester() {}; - ~KURLComboRequesterJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","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.KURLComboRequester","show")) { - TQWidget::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.KURLComboRequester","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","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 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.KURLComboRequester","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLComboRequester",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLComboRequester_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLComboRequester*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLComboRequester_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLComboRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLComboRequester*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLComboRequester_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboRequester_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLComboRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboRequesterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__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 KURLComboRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KURLComboRequester.h b/kdejava/koala/kdejava/KURLComboRequester.h deleted file mode 100644 index 39517cf4..00000000 --- a/kdejava/koala/kdejava/KURLComboRequester.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLComboRequester__ -#define __org_kde_koala_KURLComboRequester__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboRequester_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLComboRequester_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLComboRequester_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLComboRequester__ */ diff --git a/kdejava/koala/kdejava/KURLCompletion.cpp b/kdejava/koala/kdejava/KURLCompletion.cpp deleted file mode 100644 index 827f5dc9..00000000 --- a/kdejava/koala/kdejava/KURLCompletion.cpp +++ /dev/null @@ -1,294 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurlcompletion.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLCompletion.h> - -class KURLCompletionJBridge : public KURLCompletion -{ -public: - KURLCompletionJBridge() : KURLCompletion() {}; - KURLCompletionJBridge(KURLCompletion::Mode arg1) : KURLCompletion(arg1) {}; - void public_stop() { - KURLCompletion::stop(); - return; - } - void protected_postProcessMatch(TQString* arg1) { - KURLCompletion::postProcessMatch(arg1); - return; - } - void protected_postProcessMatches(TQStringList* arg1) { - KURLCompletion::postProcessMatches(arg1); - return; - } - void protected_customEvent(TQCustomEvent* arg1) { - KURLCompletion::customEvent(arg1); - return; - } - void protected_slotIOFinished(TDEIO::Job* arg1) { - KURLCompletion::slotIOFinished(arg1); - return; - } - ~KURLCompletionJBridge() {QtSupport::qtKeyDeleted(this);} - bool replaceHome() { - return QtSupport::booleanDelegate(this,"replaceHome"); - } - bool isRunning() { - return QtSupport::booleanDelegate(this,"isRunning"); - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLCompletion","clear")) { - TDECompletion::clear(); - } - return; - } - bool replaceEnv() { - return QtSupport::booleanDelegate(this,"replaceEnv"); - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - KURLCompletion::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLCompletion",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLCompletion","stop")) { - KURLCompletion::stop(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_customEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_dir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->dir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLCompletion_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KURLCompletion*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KURLCompletion*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_isRunning(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLCompletion*) QtSupport::getQt(env, obj))->isRunning(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_makeCompletion(JNIEnv* env, jobject obj, jstring text) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLCompletion_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLCompletion*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLCompletion_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLCompletion*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_newKURLCompletion__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLCompletionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_newKURLCompletion__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLCompletionJBridge((KURLCompletion::Mode) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_postProcessMatch(JNIEnv* env, jobject obj, jobject match) -{ -static TQString* _qstring_match = 0; - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatch((TQString*) QtSupport::toTQStringFromStringBuffer(env, match, &_qstring_match)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_match, match); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_postProcessMatches(JNIEnv* env, jobject obj, jobjectArray matches) -{ -static TQStringList* _qlist_matches = 0; - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatches((TQStringList*) QtSupport::toTQStringList(env, matches, &_qlist_matches)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_replaceEnv(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLCompletion*) QtSupport::getQt(env, obj))->replaceEnv(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_replaceHome(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLCompletion*) QtSupport::getQt(env, obj))->replaceHome(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->replacedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring text, jboolean replaceHome) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KURLCompletionJBridge::replacedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) replaceHome); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring text, jboolean replaceHome, jboolean replaceEnv) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KURLCompletionJBridge::replacedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) replaceHome, (bool) replaceEnv); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setDir(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((KURLCompletion*) QtSupport::getQt(env, obj))->setDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setMode(JNIEnv* env, jobject obj, jint mode) -{ - ((KURLCompletion*) QtSupport::getQt(env, obj))->setMode((KURLCompletion::Mode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setReplaceEnv(JNIEnv* env, jobject obj, jboolean replace) -{ - ((KURLCompletion*) QtSupport::getQt(env, obj))->setReplaceEnv((bool) replace); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setReplaceHome(JNIEnv* env, jobject obj, jboolean replace) -{ - ((KURLCompletion*) QtSupport::getQt(env, obj))->setReplaceHome((bool) replace); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_slotIOFinished(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_slotIOFinished((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_stop(JNIEnv* env, jobject obj) -{ - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - diff --git a/kdejava/koala/kdejava/KURLCompletion.h b/kdejava/koala/kdejava/KURLCompletion.h deleted file mode 100644 index 3d361cef..00000000 --- a/kdejava/koala/kdejava/KURLCompletion.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLCompletion__ -#define __org_kde_koala_KURLCompletion__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLCompletion_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_newKURLCompletion__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_newKURLCompletion__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_dir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_isRunning (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_stop (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLCompletion_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_replaceEnv (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setReplaceEnv (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_replaceHome (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setReplaceHome (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_postProcessMatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_postProcessMatches (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_customEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_slotIOFinished (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLCompletion__ */ diff --git a/kdejava/koala/kdejava/KURLDrag.cpp b/kdejava/koala/kdejava/KURLDrag.cpp deleted file mode 100644 index 41b5e748..00000000 --- a/kdejava/koala/kdejava/KURLDrag.cpp +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurldrag.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLDrag.h> - -class KURLDragJBridge : public KURLDrag -{ -public: - KURLDragJBridge(const KURL::List& arg1,TQWidget* arg2,const char* arg3) : KURLDrag(arg1,arg2,arg3) {}; - KURLDragJBridge(const KURL::List& arg1,TQWidget* arg2) : KURLDrag(arg1,arg2) {}; - KURLDragJBridge(const KURL::List& arg1) : KURLDrag(arg1) {}; - ~KURLDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLDrag_decode(JNIEnv* env, jclass cls, jobject e, jobjectArray urls) -{ - (void) cls; -static KURL::List* _qlist_urls = 0; - jboolean xret = (jboolean) KURLDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KURLDrag_encodedData(JNIEnv* env, jobject obj, jstring mime) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_mime = 0; - _qbyteArray = ((KURLDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, mime, &_qstring_mime)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KURLDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KURLDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((KURLDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray urls) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLDragJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray urls, jobject dragSource) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLDragJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray urls, jobject dragSource, jstring name) -{ -static KURL::List* _qlist_urls = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLDragJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_setExportAsText(JNIEnv* env, jobject obj, jboolean exp) -{ - ((KURLDrag*) QtSupport::getQt(env, obj))->setExportAsText((bool) exp); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLDrag_stringToUrl(JNIEnv* env, jclass cls, jstring s) -{ - (void) cls; -static TQCString* _qcstring_s = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLDragJBridge::stringToUrl((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, s, &_qcstring_s))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLDrag_urlToString(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KURLDragJBridge::urlToString((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KURLDrag.h b/kdejava/koala/kdejava/KURLDrag.h deleted file mode 100644 index f325a266..00000000 --- a/kdejava/koala/kdejava/KURLDrag.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLDrag__ -#define __org_kde_koala_KURLDrag__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_setExportAsText (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KURLDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLDrag_decode (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLDrag_urlToString (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLDrag_stringToUrl (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLDrag__ */ diff --git a/kdejava/koala/kdejava/KURLLabel.cpp b/kdejava/koala/kdejava/KURLLabel.cpp deleted file mode 100644 index 5b8d5d3c..00000000 --- a/kdejava/koala/kdejava/KURLLabel.cpp +++ /dev/null @@ -1,747 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurllabel.h> -#include <tqpixmap.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLLabel.h> - -class KURLLabelJBridge : public KURLLabel -{ -public: - KURLLabelJBridge(TQWidget* arg1,const char* arg2) : KURLLabel(arg1,arg2) {}; - KURLLabelJBridge(TQWidget* arg1) : KURLLabel(arg1) {}; - KURLLabelJBridge() : KURLLabel() {}; - KURLLabelJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KURLLabel(arg1,arg2,arg3,arg4) {}; - KURLLabelJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : KURLLabel(arg1,arg2,arg3) {}; - KURLLabelJBridge(const TQString& arg1,const TQString& arg2) : KURLLabel(arg1,arg2) {}; - KURLLabelJBridge(const TQString& arg1) : KURLLabel(arg1) {}; - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KURLLabel::mouseReleaseEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - KURLLabel::enterEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KURLLabel::leaveEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) KURLLabel::event(arg1); - } - ~KURLLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(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")) { - TQLabel::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","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.KURLLabel","show")) { - TQWidget::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.KURLLabel","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - KURLLabel::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KURLLabel::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")) { - KURLLabel::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KURLLabel::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","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 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 setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(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.KURLLabel","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLLabel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLLabel_altPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLLabel*) QtSupport::getQt(env, obj))->altPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_enterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_isFloatEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->isFloatEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_isGlowEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->isGlowEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring text) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_KURLLabel_newKURLLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__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 KURLLabelJBridge((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_KURLLabel_setAltPixmap(JNIEnv* env, jobject obj, jobject altPix) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setAltPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, altPix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setFloat__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setFloat(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setFloat__Z(JNIEnv* env, jobject obj, jboolean do_float) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setFloat((bool) do_float); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setGlow__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setGlow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setGlow__Z(JNIEnv* env, jobject obj, jboolean glow) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setGlow((bool) glow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setHighlightedColor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring highcolor) -{ -static TQString* _qstring_highcolor = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setHighlightedColor((const TQString&)*(TQString*) QtSupport::toTQString(env, highcolor, &_qstring_highcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setHighlightedColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject highcolor) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setHighlightedColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, highcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setSelectedColor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring selcolor) -{ -static TQString* _qstring_selcolor = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setSelectedColor((const TQString&)*(TQString*) QtSupport::toTQString(env, selcolor, &_qstring_selcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setSelectedColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject selcolor) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setSelectedColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, selcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setTipText(JNIEnv* env, jobject obj, jstring tip) -{ -static TQString* _qstring_tip = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setTipText((const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setURL(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUnderline__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUnderline(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUnderline__Z(JNIEnv* env, jobject obj, jboolean on) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUnderline((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseCursor__Z(JNIEnv* env, jobject obj, jboolean on) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseCursor((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseCursor__ZLorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jboolean on, jobject cursor) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseCursor((bool) on, (TQCursor*) QtSupport::getQt(env, cursor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseTips__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseTips(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseTips__Z(JNIEnv* env, jobject obj, jboolean on) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseTips((bool) on); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLLabel_tipText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLLabel*) QtSupport::getQt(env, obj))->tipText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLLabel_url(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLLabel*) QtSupport::getQt(env, obj))->url(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_useCursor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->useCursor(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_useTips(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->useTips(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLLabel.h b/kdejava/koala/kdejava/KURLLabel.h deleted file mode 100644 index a152f0f6..00000000 --- a/kdejava/koala/kdejava/KURLLabel.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLLabel__ -#define __org_kde_koala_KURLLabel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLLabel_url (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLLabel_tipText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_useTips (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_useCursor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_isGlowEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_isFloatEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLLabel_altPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUnderline__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUnderline__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseTips__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseTips__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setTipText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setHighlightedColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setHighlightedColor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setSelectedColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setSelectedColor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseCursor__ZLorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseCursor__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setGlow__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setGlow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setFloat__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setFloat__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setAltPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLLabel__ */ diff --git a/kdejava/koala/kdejava/KURLPixmapProvider.cpp b/kdejava/koala/kdejava/KURLPixmapProvider.cpp deleted file mode 100644 index c5683b41..00000000 --- a/kdejava/koala/kdejava/KURLPixmapProvider.cpp +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurlpixmapprovider.h> -#include <tqpixmap.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLPixmapProvider.h> - -class KURLPixmapProviderJBridge : public KURLPixmapProvider -{ -public: - KURLPixmapProviderJBridge() : KURLPixmapProvider() {}; - ~KURLPixmapProviderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLPixmapProvider_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLPixmapProvider_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLPixmapProvider_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURLPixmapProvider*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLPixmapProvider_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLPixmapProvider_newKURLPixmapProvider(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLPixmapProviderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KURLPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring url, jint size) -{ -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KURLPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLPixmapProvider.h b/kdejava/koala/kdejava/KURLPixmapProvider.h deleted file mode 100644 index a9e84fe1..00000000 --- a/kdejava/koala/kdejava/KURLPixmapProvider.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLPixmapProvider__ -#define __org_kde_koala_KURLPixmapProvider__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLPixmapProvider_newKURLPixmapProvider (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLPixmapProvider_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLPixmapProvider_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLPixmapProvider_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLPixmapProvider__ */ diff --git a/kdejava/koala/kdejava/KURLRequester.cpp b/kdejava/koala/kdejava/KURLRequester.cpp deleted file mode 100644 index b66e3e25..00000000 --- a/kdejava/koala/kdejava/KURLRequester.cpp +++ /dev/null @@ -1,645 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kurlrequester.h> -#include <kurl.h> -#include <keditlistbox.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLRequester.h> - -class KURLRequesterJBridge : public KURLRequester -{ -public: - KURLRequesterJBridge(TQWidget* arg1,const char* arg2) : KURLRequester(arg1,arg2) {}; - KURLRequesterJBridge(TQWidget* arg1) : KURLRequester(arg1) {}; - KURLRequesterJBridge() : KURLRequester() {}; - KURLRequesterJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KURLRequester(arg1,arg2,arg3) {}; - KURLRequesterJBridge(const TQString& arg1,TQWidget* arg2) : KURLRequester(arg1,arg2) {}; - KURLRequesterJBridge(const TQString& arg1) : KURLRequester(arg1) {}; - KURLRequesterJBridge(TQWidget* arg1,TQWidget* arg2,const char* arg3) : KURLRequester(arg1,arg2,arg3) {}; - KURLRequesterJBridge(TQWidget* arg1,TQWidget* arg2) : KURLRequester(arg1,arg2) {}; - void protected_init() { - KURLRequester::init(); - return; - } - void protected_slotOpenDialog() { - KURLRequester::slotOpenDialog(); - return; - } - ~KURLRequesterJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","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.KURLRequester","show")) { - TQWidget::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.KURLRequester","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","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 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.KURLRequester","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLRequester",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_button(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->button(), "org.kde.koala.KPushButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequester_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLRequester*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_clear(JNIEnv* env, jobject obj) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_comboBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->comboBox(), "org.kde.koala.KComboBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_completionObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.KURLCompletion"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLRequester_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_fileDialog(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->fileDialog(), "org.kde.koala.KFileDialog"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequester_filter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLRequester*) QtSupport::getQt(env, obj))->filter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLRequester*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_init(JNIEnv* env, jobject obj) -{ - ((KURLRequesterJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLRequester_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_lineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->lineEdit(), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLRequester_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLRequester*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring url, jobject parent) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (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_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__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 KURLRequesterJBridge((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_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject editWidget, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((TQWidget*) QtSupport::getQt(env, editWidget), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject editWidget, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((TQWidget*) QtSupport::getQt(env, editWidget), (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_KURLRequester_setCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KURLRequester*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KURLRequester*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setKURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->setKURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->setMode((uint) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setShowLocalProtocol(JNIEnv* env, jobject obj, jboolean b) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->setShowLocalProtocol((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setURL(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURLRequester*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLRequester_showLocalProtocol(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLRequester*) QtSupport::getQt(env, obj))->showLocalProtocol(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_slotOpenDialog(JNIEnv* env, jobject obj) -{ - ((KURLRequesterJBridge*) QtSupport::getQt(env, obj))->protected_slotOpenDialog(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequester_url(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLRequester*) QtSupport::getQt(env, obj))->url(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KURLRequester.h b/kdejava/koala/kdejava/KURLRequester.h deleted file mode 100644 index 8089e5cc..00000000 --- a/kdejava/koala/kdejava/KURLRequester.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLRequester__ -#define __org_kde_koala_KURLRequester__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequester_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequester_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setShowLocalProtocol (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLRequester_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequester_filter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLRequester_showLocalProtocol (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_fileDialog (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_lineEdit (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_comboBox (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_button (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_completionObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setKURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_slotOpenDialog (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLRequester_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLRequester__ */ diff --git a/kdejava/koala/kdejava/KURLRequesterDlg.cpp b/kdejava/koala/kdejava/KURLRequesterDlg.cpp deleted file mode 100644 index 914bd392..00000000 --- a/kdejava/koala/kdejava/KURLRequesterDlg.cpp +++ /dev/null @@ -1,575 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kurlrequesterdlg.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KURLRequesterDlg.h> - -class KURLRequesterDlgJBridge : public KURLRequesterDlg -{ -public: - KURLRequesterDlgJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,bool arg4) : KURLRequesterDlg(arg1,arg2,arg3,arg4) {}; - KURLRequesterDlgJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KURLRequesterDlg(arg1,arg2,arg3) {}; - KURLRequesterDlgJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : KURLRequesterDlg(arg1,arg2,arg3,arg4,arg5) {}; - KURLRequesterDlgJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KURLRequesterDlg(arg1,arg2,arg3,arg4) {}; - ~KURLRequesterDlgJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","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 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.KURLRequesterDlg","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequesterDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLRequesterDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLRequesterDlg_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_fileDialog(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequesterDlg*) QtSupport::getQt(env, obj))->fileDialog(), "org.kde.koala.KFileDialog"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLRequesterDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLRequesterDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring url) -{ - (void) cls; -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring url, jobject parent) -{ - (void) cls; -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring url, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_url = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLRequesterDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequesterDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (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_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring url, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_url = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_selectedURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURLRequesterDlg*) QtSupport::getQt(env, obj))->selectedURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_urlRequester(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequesterDlg*) QtSupport::getQt(env, obj))->urlRequester(), "org.kde.koala.KURLRequester"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLRequesterDlg.h b/kdejava/koala/kdejava/KURLRequesterDlg.h deleted file mode 100644 index aa1127cf..00000000 --- a/kdejava/koala/kdejava/KURLRequesterDlg.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLRequesterDlg__ -#define __org_kde_koala_KURLRequesterDlg__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequesterDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_selectedURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_fileDialog (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_urlRequester (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLRequesterDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLRequesterDlg__ */ diff --git a/kdejava/koala/kdejava/KUniqueApplication.cpp b/kdejava/koala/kdejava/KUniqueApplication.cpp deleted file mode 100644 index 3d749093..00000000 --- a/kdejava/koala/kdejava/KUniqueApplication.cpp +++ /dev/null @@ -1,344 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dcopclient.h> -#include <kuniqueapplication.h> -#include <dcopobject.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KUniqueApplication.h> - -class KUniqueApplicationJBridge : public KUniqueApplication -{ -public: - KUniqueApplicationJBridge(bool arg1,bool arg2,bool arg3) : KUniqueApplication(arg1,arg2,arg3) {}; - KUniqueApplicationJBridge(bool arg1,bool arg2) : KUniqueApplication(arg1,arg2) {}; - KUniqueApplicationJBridge(bool arg1) : KUniqueApplication(arg1) {}; - KUniqueApplicationJBridge() : KUniqueApplication() {}; - ~KUniqueApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - void processOneEvent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KUniqueApplication","processOneEvent")) { - TQApplication::processOneEvent(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void polish(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::polish(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setMainWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::setMainWidget(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KUniqueApplication",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_addCmdLineOptions(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KUniqueApplicationJBridge::addCmdLineOptions(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KUniqueApplication_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KUniqueApplication*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KUniqueApplication_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KUniqueApplication*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KUniqueApplication*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KUniqueApplicationJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) KUniqueApplicationJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KUniqueApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KUniqueApplication_newInstance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KUniqueApplication*) QtSupport::getQt(env, obj))->newInstance(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__Z(JNIEnv* env, jobject obj, jboolean allowStyles) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled, jboolean configUnique) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled, (bool) configUnique)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KUniqueApplication_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KUniqueApplication_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = KUniqueApplicationJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KUniqueApplication*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_restoringSession(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KUniqueApplication*) QtSupport::getQt(env, obj))->restoringSession(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_setHandleAutoStarted(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KUniqueApplicationJBridge::setHandleAutoStarted(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_start(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KUniqueApplicationJBridge::start(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KUniqueApplication.h b/kdejava/koala/kdejava/KUniqueApplication.h deleted file mode 100644 index e7cff40d..00000000 --- a/kdejava/koala/kdejava/KUniqueApplication.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KUniqueApplication__ -#define __org_kde_koala_KUniqueApplication__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KUniqueApplication_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZZ (JNIEnv *env, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KUniqueApplication_newInstance (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_restoringSession (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_addCmdLineOptions (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_start (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_setHandleAutoStarted (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KUniqueApplication_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KUniqueApplication_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KUniqueApplication__ */ diff --git a/kdejava/koala/kdejava/KValueSelector.cpp b/kdejava/koala/kdejava/KValueSelector.cpp deleted file mode 100644 index ab1ca047..00000000 --- a/kdejava/koala/kdejava/KValueSelector.cpp +++ /dev/null @@ -1,564 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kcolordialog.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KValueSelector.h> - -class KValueSelectorJBridge : public KValueSelector -{ -public: - KValueSelectorJBridge(TQWidget* arg1,const char* arg2) : KValueSelector(arg1,arg2) {}; - KValueSelectorJBridge(TQWidget* arg1) : KValueSelector(arg1) {}; - KValueSelectorJBridge() : KValueSelector() {}; - KValueSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : KValueSelector(arg1,arg2,arg3) {}; - KValueSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : KValueSelector(arg1,arg2) {}; - KValueSelectorJBridge(TQt::Orientation arg1) : KValueSelector(arg1) {}; - void protected_drawPalette(TQPixmap* arg1) { - KValueSelector::drawPalette(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KValueSelector::resizeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - KValueSelector::drawContents(arg1); - return; - } - ~KValueSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KValueSelector::drawContents(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")) { - KValueSelector::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; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","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.KValueSelector","show")) { - TQWidget::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.KValueSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","valueChange")) { - TDESelector::valueChange(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDESelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void drawPalette(TQPixmap* arg1) { - if (!QtSupport::eventDelegate(this,"drawPalette",(void*)arg1,"org.kde.qt.TQPixmap")) { - KValueSelector::drawPalette(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","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")) { - TDESelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","rangeChange")) { - TQRangeControl::rangeChange(); - } - 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.KValueSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDESelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KValueSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KValueSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KValueSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KValueSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_drawContents(JNIEnv* env, jobject obj, jobject painter) -{ - ((KValueSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_drawPalette(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KValueSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawPalette((TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KValueSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KValueSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KValueSelector_hue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KValueSelector*) QtSupport::getQt(env, obj))->hue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KValueSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KValueSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KValueSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__I(JNIEnv* env, jobject obj, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__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 KValueSelectorJBridge((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_KValueSelector_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KValueSelectorJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KValueSelector_saturation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KValueSelector*) QtSupport::getQt(env, obj))->saturation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_setHue(JNIEnv* env, jobject obj, jint h) -{ - ((KValueSelector*) QtSupport::getQt(env, obj))->setHue((int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_setSaturation(JNIEnv* env, jobject obj, jint s) -{ - ((KValueSelector*) QtSupport::getQt(env, obj))->setSaturation((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_updateContents(JNIEnv* env, jobject obj) -{ - ((KValueSelector*) QtSupport::getQt(env, obj))->updateContents(); - return; -} - diff --git a/kdejava/koala/kdejava/KValueSelector.h b/kdejava/koala/kdejava/KValueSelector.h deleted file mode 100644 index d4af1836..00000000 --- a/kdejava/koala/kdejava/KValueSelector.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KValueSelector__ -#define __org_kde_koala_KValueSelector__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KValueSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KValueSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KValueSelector_hue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_setHue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KValueSelector_saturation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_setSaturation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_updateContents (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_drawPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KValueSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KValueSelector__ */ diff --git a/kdejava/koala/kdejava/KWidgetAction.cpp b/kdejava/koala/kdejava/KWidgetAction.cpp deleted file mode 100644 index d5a9b2b2..00000000 --- a/kdejava/koala/kdejava/KWidgetAction.cpp +++ /dev/null @@ -1,194 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KWidgetAction.h> - -class KWidgetActionJBridge : public KWidgetAction -{ -public: - KWidgetActionJBridge(TQWidget* arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : KWidgetAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - void protected_slotToolbarDestroyed() { - KWidgetAction::slotToolbarDestroyed(); - return; - } - ~KWidgetActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KWidgetAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWidgetAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWidgetAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWidgetAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWidgetAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KWidgetAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KWidgetAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWidgetAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWidgetAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_newKWidgetAction(JNIEnv* env, jobject obj, jobject widget, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWidgetActionJBridge((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_setAutoSized(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KWidgetAction*) QtSupport::getQt(env, obj))->setAutoSized((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_slotToolbarDestroyed(JNIEnv* env, jobject obj) -{ - ((KWidgetActionJBridge*) QtSupport::getQt(env, obj))->protected_slotToolbarDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_unplug(JNIEnv* env, jobject obj, jobject w) -{ - ((KWidgetAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWidgetAction_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KWidgetAction.h b/kdejava/koala/kdejava/KWidgetAction.h deleted file mode 100644 index d9e15b35..00000000 --- a/kdejava/koala/kdejava/KWidgetAction.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWidgetAction__ -#define __org_kde_koala_KWidgetAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWidgetAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWidgetAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_newKWidgetAction (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWidgetAction_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_setAutoSized (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_unplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_slotToolbarDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWidgetAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWidgetAction__ */ diff --git a/kdejava/koala/kdejava/KWindowInfo.cpp b/kdejava/koala/kdejava/KWindowInfo.cpp deleted file mode 100644 index ac5782a4..00000000 --- a/kdejava/koala/kdejava/KWindowInfo.cpp +++ /dev/null @@ -1,257 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <twindowinfo.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KWindowInfo.h> - -class KWindowInfoJBridge : public KWindowInfo -{ -public: - KWindowInfoJBridge(TQWidget* arg1,const char* arg2) : KWindowInfo(arg1,arg2) {}; - KWindowInfoJBridge(TQWidget* arg1) : KWindowInfo(arg1) {}; - void protected_display(const TQString& arg1,const TQPixmap& arg2) { - KWindowInfo::display(arg1,arg2); - return; - } - void protected_save() { - KWindowInfo::save(); - return; - } - void protected_restore() { - KWindowInfo::restore(); - return; - } - ~KWindowInfoJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void restore() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWindowInfo","restore")) { - KWindowInfo::restore(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void save() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWindowInfo","save")) { - KWindowInfo::save(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWindowInfo",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWindowInfo_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KWindowInfo*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWindowInfo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWindowInfo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_display(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - ((KWindowInfoJBridge*) QtSupport::getQt(env, obj))->protected_display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWindowInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KWindowInfo*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KWindowInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWindowInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint timeout) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) timeout); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jint timeout) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (int) timeout); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWindowInfo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWindowInfo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_newKWindowInfo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWindowInfoJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_newKWindowInfo__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 KWindowInfoJBridge((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_KWindowInfo_permanent__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->permanent((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_permanent__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->permanent((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_restore(JNIEnv* env, jobject obj) -{ - ((KWindowInfoJBridge*) QtSupport::getQt(env, obj))->protected_restore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_save(JNIEnv* env, jobject obj) -{ - ((KWindowInfoJBridge*) QtSupport::getQt(env, obj))->protected_save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_setAutoDelete(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KWindowInfo*) QtSupport::getQt(env, obj))->setAutoDelete((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject window, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject window, jstring text, jint timeout) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) timeout); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject window, jstring text, jobject pix) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jclass cls, jobject window, jstring text, jobject pix, jint timeout) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (int) timeout); - return; -} - diff --git a/kdejava/koala/kdejava/KWindowInfo.h b/kdejava/koala/kdejava/KWindowInfo.h deleted file mode 100644 index 76d84aee..00000000 --- a/kdejava/koala/kdejava/KWindowInfo.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWindowInfo__ -#define __org_kde_koala_KWindowInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWindowInfo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWindowInfo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_newKWindowInfo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_newKWindowInfo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWindowInfo_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_permanent__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_permanent__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jclass, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_display (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_restore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWindowInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWindowInfo__ */ diff --git a/kdejava/koala/kdejava/KWizard.cpp b/kdejava/koala/kdejava/KWizard.cpp deleted file mode 100644 index 984a46ff..00000000 --- a/kdejava/koala/kdejava/KWizard.cpp +++ /dev/null @@ -1,479 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kwizard.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KWizard.h> - -class KWizardJBridge : public KWizard -{ -public: - KWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : KWizard(arg1,arg2,arg3,arg4) {}; - KWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KWizard(arg1,arg2,arg3) {}; - KWizardJBridge(TQWidget* arg1,const char* arg2) : KWizard(arg1,arg2) {}; - KWizardJBridge(TQWidget* arg1) : KWizard(arg1) {}; - KWizardJBridge() : KWizard() {}; - ~KWizardJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::removePage(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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void next() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","next")) { - TQWizard::next(); - } - 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","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")) { - TQDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void back() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","back")) { - TQWizard::back(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::showPage(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","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 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.KWizard","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","help")) { - TQWizard::help(); - } - return; - } - void layOutButtonRow(TQHBoxLayout* arg1) { - if (!QtSupport::eventDelegate(this,"layOutButtonRow",(void*)arg1,"org.kde.qt.TQHBoxLayout")) { - TQWizard::layOutButtonRow(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWizard_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWizard*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWizard_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KWizard*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KWizard*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWizard_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWizard_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWizard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__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 KWizardJBridge((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_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KWizard.h b/kdejava/koala/kdejava/KWizard.h deleted file mode 100644 index 7f1ebe41..00000000 --- a/kdejava/koala/kdejava/KWizard.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWizard__ -#define __org_kde_koala_KWizard__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWizard_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWizard_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWizard_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWizard__ */ diff --git a/kdejava/koala/kdejava/KWordWrap.cpp b/kdejava/koala/kdejava/KWordWrap.cpp deleted file mode 100644 index a1776ae5..00000000 --- a/kdejava/koala/kdejava/KWordWrap.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <kwordwrap.h> -#include <tqstring.h> -#include <tqfontmetrics.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KWordWrap.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWordWrap_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KWordWrap*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawFadeoutText(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint maxW, jstring t) -{ - (void) cls; -static TQString* _qstring_t = 0; - KWordWrap::drawFadeoutText((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) maxW, (const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2II(JNIEnv* env, jobject obj, jobject painter, jint x, jint y) -{ - ((KWordWrap*) QtSupport::getQt(env, obj))->drawText((TQPainter*) QtSupport::getQt(env, painter), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2III(JNIEnv* env, jobject obj, jobject painter, jint x, jint y, jint flags) -{ - ((KWordWrap*) QtSupport::getQt(env, obj))->drawText((TQPainter*) QtSupport::getQt(env, painter), (int) x, (int) y, (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawTruncateText(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint maxW, jstring t) -{ - (void) cls; -static TQString* _qstring_t = 0; - KWordWrap::drawTruncateText((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) maxW, (const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jobject fm, jobject r, jint flags, jstring str) -{ - (void) cls; -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KWordWrap::formatText((TQFontMetrics&)*(TQFontMetrics*) QtSupport::getQt(env, fm), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)), "org.kde.koala.KWordWrap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jclass cls, jobject fm, jobject r, jint flags, jstring str, jint len) -{ - (void) cls; -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KWordWrap::formatText((TQFontMetrics&)*(TQFontMetrics*) QtSupport::getQt(env, fm), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len), "org.kde.koala.KWordWrap"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWordWrap_truncatedString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KWordWrap*) QtSupport::getQt(env, obj))->truncatedString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWordWrap_truncatedString__Z(JNIEnv* env, jobject obj, jboolean dots) -{ - TQString _qstring; - _qstring = ((KWordWrap*) QtSupport::getQt(env, obj))->truncatedString((bool) dots); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWordWrap_wrappedString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KWordWrap*) QtSupport::getQt(env, obj))->wrappedString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KWordWrap.h b/kdejava/koala/kdejava/KWordWrap.h deleted file mode 100644 index 95d0ca00..00000000 --- a/kdejava/koala/kdejava/KWordWrap.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWordWrap__ -#define __org_kde_koala_KWordWrap__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWordWrap_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWordWrap_wrappedString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWordWrap_truncatedString__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWordWrap_truncatedString__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2I (JNIEnv *env, jclass, jobject, jobject, jint, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawFadeoutText (JNIEnv *env, jclass, jobject, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawTruncateText (JNIEnv *env, jclass, jobject, jint, jint, jint, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWordWrap__ */ diff --git a/kdejava/koala/kdejava/KWritePermsIcon.cpp b/kdejava/koala/kdejava/KWritePermsIcon.cpp deleted file mode 100644 index 0ed6ccb7..00000000 --- a/kdejava/koala/kdejava/KWritePermsIcon.cpp +++ /dev/null @@ -1,465 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kauthicon.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KWritePermsIcon.h> - -class KWritePermsIconJBridge : public KWritePermsIcon -{ -public: - KWritePermsIconJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KWritePermsIcon(arg1,arg2,arg3) {}; - KWritePermsIconJBridge(const TQString& arg1,TQWidget* arg2) : KWritePermsIcon(arg1,arg2) {}; - KWritePermsIconJBridge(const TQString& arg1) : KWritePermsIcon(arg1) {}; - ~KWritePermsIconJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","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.KWritePermsIcon","show")) { - TQWidget::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.KWritePermsIcon","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","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 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.KWritePermsIcon","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWritePermsIcon",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWritePermsIcon_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWritePermsIcon*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWritePermsIcon_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWritePermsIcon_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KWritePermsIcon*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KWritePermsIcon*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KWritePermsIcon*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWritePermsIcon_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWritePermsIcon_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWritePermsIcon*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWritePermsIconJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring fileName, jobject parent) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWritePermsIconJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jobject parent, jstring name) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWritePermsIconJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (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_KWritePermsIcon_setFileName(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((KWritePermsIcon*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWritePermsIcon_status(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KWritePermsIcon*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_updateStatus(JNIEnv* env, jobject obj) -{ - ((KWritePermsIcon*) QtSupport::getQt(env, obj))->updateStatus(); - return; -} - diff --git a/kdejava/koala/kdejava/KWritePermsIcon.h b/kdejava/koala/kdejava/KWritePermsIcon.h deleted file mode 100644 index 51ccde9d..00000000 --- a/kdejava/koala/kdejava/KWritePermsIcon.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWritePermsIcon__ -#define __org_kde_koala_KWritePermsIcon__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWritePermsIcon_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWritePermsIcon_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWritePermsIcon_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_setFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWritePermsIcon_fileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_updateStatus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWritePermsIcon_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWritePermsIcon__ */ diff --git a/kdejava/koala/kdejava/KXMLGUI.cpp b/kdejava/koala/kdejava/KXMLGUI.cpp deleted file mode 100644 index 9fe20e34..00000000 --- a/kdejava/koala/kdejava/KXMLGUI.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kxmlguifactory.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KXMLGUI.h> - diff --git a/kdejava/koala/kdejava/KXMLGUI.h b/kdejava/koala/kdejava/KXMLGUI.h deleted file mode 100644 index c040f3f4..00000000 --- a/kdejava/koala/kdejava/KXMLGUI.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUI__ -#define __org_kde_koala_KXMLGUI__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUI__ */ diff --git a/kdejava/koala/kdejava/KXMLGUIBuilder.cpp b/kdejava/koala/kdejava/KXMLGUIBuilder.cpp deleted file mode 100644 index da56d99f..00000000 --- a/kdejava/koala/kdejava/KXMLGUIBuilder.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdom.h> -#include <tqstringlist.h> -#include <kxmlguibuilder.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KXMLGUIBuilder.h> - -class KXMLGUIBuilderJBridge : public KXMLGUIBuilder -{ -public: - KXMLGUIBuilderJBridge(TQWidget* arg1) : KXMLGUIBuilder(arg1) {}; - ~KXMLGUIBuilderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_builderClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->builderClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_builderInstance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->builderInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_containerTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->containerTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_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*) 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_KXMLGUIBuilder_createCustomElement(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element) -{ - jint xret = (jint) ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->createCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_customTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->customTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXMLGUIBuilder_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KXMLGUIBuilder*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_finalizeGUI(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->finalizeGUI((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIBuilder_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_newKXMLGUIBuilder(JNIEnv* env, jobject obj, jobject widget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIBuilderJBridge((TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_removeContainer(JNIEnv* env, jobject obj, jobject container, jobject parent, jobject element, jint id) -{ - ((KXMLGUIBuilder*) 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_KXMLGUIBuilder_removeCustomElement(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->removeCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_setBuilderClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->setBuilderClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_setBuilderInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->setBuilderInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KXMLGUIBuilder.h b/kdejava/koala/kdejava/KXMLGUIBuilder.h deleted file mode 100644 index 8e8a82f6..00000000 --- a/kdejava/koala/kdejava/KXMLGUIBuilder.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUIBuilder__ -#define __org_kde_koala_KXMLGUIBuilder__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_newKXMLGUIBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_builderClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_setBuilderClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_builderInstance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_setBuilderInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_containerTags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_createContainer (JNIEnv *env, jobject, jobject, jint, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_removeContainer (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_customTags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIBuilder_createCustomElement (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_removeCustomElement (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_finalizeGUI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIBuilder_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUIBuilder__ */ diff --git a/kdejava/koala/kdejava/KXMLGUIClient.cpp b/kdejava/koala/kdejava/KXMLGUIClient.cpp deleted file mode 100644 index 8310ffd1..00000000 --- a/kdejava/koala/kdejava/KXMLGUIClient.cpp +++ /dev/null @@ -1,382 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kxmlguiclient.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqdom.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KXMLGUIClient.h> - -class KXMLGUIClientJBridge : public KXMLGUIClient -{ -public: - KXMLGUIClientJBridge() : KXMLGUIClient() {}; - KXMLGUIClientJBridge(KXMLGUIClient* arg1) : KXMLGUIClient(arg1) {}; - 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; - } - ~KXMLGUIClientJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*) 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_KXMLGUIClient_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*) 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_KXMLGUIClient_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_conserveMemory(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXMLGUIClient_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KXMLGUIClient*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIClient_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = KXMLGUIClientJBridge::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 void JNICALL -Java_org_kde_koala_KXMLGUIClient_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIClient_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIClient_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIClientJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIClientJBridge((KXMLGUIClient*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) 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_KXMLGUIClient_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) 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_KXMLGUIClient_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIClient_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KXMLGUIClient.h b/kdejava/koala/kdejava/KXMLGUIClient.h deleted file mode 100644 index ece99b6b..00000000 --- a/kdejava/koala/kdejava/KXMLGUIClient.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUIClient__ -#define __org_kde_koala_KXMLGUIClient__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIClient_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIClient_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIClient_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIClient_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUIClient__ */ diff --git a/kdejava/koala/kdejava/KXMLGUIFactory.cpp b/kdejava/koala/kdejava/KXMLGUIFactory.cpp deleted file mode 100644 index 99b9d836..00000000 --- a/kdejava/koala/kdejava/KXMLGUIFactory.cpp +++ /dev/null @@ -1,307 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqdom.h> -#include <kxmlguifactory.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KXMLGUIFactory.h> - -class KXMLGUIFactoryJBridge : public KXMLGUIFactory -{ -public: - KXMLGUIFactoryJBridge(KXMLGUIBuilder* arg1,TQObject* arg2,const char* arg3) : KXMLGUIFactory(arg1,arg2,arg3) {}; - KXMLGUIFactoryJBridge(KXMLGUIBuilder* arg1,TQObject* arg2) : KXMLGUIFactory(arg1,arg2) {}; - KXMLGUIFactoryJBridge(KXMLGUIBuilder* arg1) : KXMLGUIFactory(arg1) {}; - ~KXMLGUIFactoryJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KXMLGUIFactory",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_actionPropertiesElement(JNIEnv* env, jclass cls, jobject doc) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(KXMLGUIFactoryJBridge::actionPropertiesElement((TQDomDocument&)*(TQDomDocument*) QtSupport::getQt(env, doc))), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_addClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->addClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->configureShortcuts(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__Z(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts) -{ - jint xret = (jint) ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->configureShortcuts((bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__ZZ(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts, jboolean bSaveSettings) -{ - jint xret = (jint) ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->configureShortcuts((bool) bAllowLetterShortcuts, (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jstring containerName, jobject client) -{ -static TQString* _qstring_containerName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIFactory*) QtSupport::getQt(env, obj))->container((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName), (KXMLGUIClient*) QtSupport::getQt(env, client)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2Z(JNIEnv* env, jobject obj, jstring containerName, jobject client, jboolean useTagName) -{ -static TQString* _qstring_containerName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIFactory*) QtSupport::getQt(env, obj))->container((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName), (KXMLGUIClient*) QtSupport::getQt(env, client), (bool) useTagName), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXMLGUIFactory_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_documentToXML(JNIEnv* env, jclass cls, jobject doc) -{ - TQString _qstring; - (void) cls; - _qstring = KXMLGUIFactoryJBridge::documentToXML((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_elementToXML(JNIEnv* env, jclass cls, jobject elem) -{ - TQString _qstring; - (void) cls; - _qstring = KXMLGUIFactoryJBridge::elementToXML((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, elem)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KXMLGUIFactory*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KXMLGUIFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_findActionByName(JNIEnv* env, jclass cls, jobject elem, jstring sName, jboolean create) -{ - (void) cls; -static TQString* _qstring_sName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(KXMLGUIFactoryJBridge::findActionByName((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, elem), (const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (bool) create)), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIFactory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2(JNIEnv* env, jobject obj, jobject builder) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIFactoryJBridge((KXMLGUIBuilder*) QtSupport::getQt(env, builder))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject builder, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIFactoryJBridge((KXMLGUIBuilder*) QtSupport::getQt(env, builder), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject builder, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIFactoryJBridge((KXMLGUIBuilder*) QtSupport::getQt(env, builder), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring filename, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring filename, jboolean never_null) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) never_null); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring filename, jboolean never_null, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) never_null, (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_removeClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->removeClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_removeDOMComments(JNIEnv* env, jclass cls, jobject node) -{ - (void) cls; - KXMLGUIFactoryJBridge::removeDOMComments((TQDomNode&)*(TQDomNode*) QtSupport::getQt(env, node)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring containerName) -{ -static TQString* _qstring_containerName = 0; - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->resetContainer((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring containerName, jboolean useTagName) -{ -static TQString* _qstring_containerName = 0; - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->resetContainer((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName), (bool) useTagName); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_reset(JNIEnv* env, jobject obj) -{ - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject doc, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) KXMLGUIFactoryJBridge::saveConfigFile((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jobject doc, jstring filename, jobject instance) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) KXMLGUIFactoryJBridge::saveConfigFile((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_unplugActionList(JNIEnv* env, jobject obj, jobject client, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->unplugActionList((KXMLGUIClient*) QtSupport::getQt(env, client), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/KXMLGUIFactory.h b/kdejava/koala/kdejava/KXMLGUIFactory.h deleted file mode 100644 index 221d8cf5..00000000 --- a/kdejava/koala/kdejava/KXMLGUIFactory.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUIFactory__ -#define __org_kde_koala_KXMLGUIFactory__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_addClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_removeClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_unplugActionList (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jboolean, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_documentToXML (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_elementToXML (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_removeDOMComments (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_actionPropertiesElement (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_findActionByName (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUIFactory__ */ diff --git a/kdejava/koala/kdejava/KXYSelector.cpp b/kdejava/koala/kdejava/KXYSelector.cpp deleted file mode 100644 index 845988f3..00000000 --- a/kdejava/koala/kdejava/KXYSelector.cpp +++ /dev/null @@ -1,568 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeselect.h> -#include <tqrect.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KXYSelector.h> - -class KXYSelectorJBridge : public KXYSelector -{ -public: - KXYSelectorJBridge(TQWidget* arg1,const char* arg2) : KXYSelector(arg1,arg2) {}; - KXYSelectorJBridge(TQWidget* arg1) : KXYSelector(arg1) {}; - KXYSelectorJBridge() : KXYSelector() {}; - void protected_drawContents(TQPainter* arg1) { - KXYSelector::drawContents(arg1); - return; - } - void protected_drawCursor(TQPainter* arg1,int arg2,int arg3) { - KXYSelector::drawCursor(arg1,arg2,arg3); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KXYSelector::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KXYSelector::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KXYSelector::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KXYSelector::wheelEvent(arg1); - return; - } - void protected_valuesFromPosition(int arg1,int arg2,int& arg3,int& arg4) { - KXYSelector::valuesFromPosition(arg1,arg2,arg3,arg4); - return; - } - ~KXYSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KXYSelector::drawContents(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")) { - TQWidget::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","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.KXYSelector","show")) { - TQWidget::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.KXYSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KXYSelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","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")) { - KXYSelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KXYSelector::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.KXYSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KXYSelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KXYSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXYSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KXYSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXYSelector_contentsRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KXYSelector*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXYSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_drawCursor(JNIEnv* env, jobject obj, jobject p, jint xp, jint yp) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawCursor((TQPainter*) QtSupport::getQt(env, p), (int) xp, (int) yp); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KXYSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KXYSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXYSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXYSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXYSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_newKXYSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXYSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_newKXYSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXYSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_newKXYSelector__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 KXYSelectorJBridge((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_KXYSelector_paintEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setRange(JNIEnv* env, jobject obj, jint minX, jint minY, jint maxX, jint maxY) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setRange((int) minX, (int) minY, (int) maxX, (int) maxY); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setValues(JNIEnv* env, jobject obj, jint xPos, jint yPos) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setValues((int) xPos, (int) yPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setXValue(JNIEnv* env, jobject obj, jint xPos) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setXValue((int) xPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setYValue(JNIEnv* env, jobject obj, jint yPos) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setYValue((int) yPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_valuesFromPosition(JNIEnv* env, jobject obj, jint x, jint y, jintArray xVal, jintArray yVal) -{ - int* _int_xVal = QtSupport::toIntPtr(env, xVal); - int* _int_yVal = QtSupport::toIntPtr(env, yVal); - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_valuesFromPosition((int) x, (int) y, (int&) *_int_xVal, (int&) *_int_yVal); - env->SetIntArrayRegion(xVal, 0, 1, (jint *) _int_xVal); - env->SetIntArrayRegion(yVal, 0, 1, (jint *) _int_yVal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXYSelector_xValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KXYSelector*) QtSupport::getQt(env, obj))->xValue(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXYSelector_yValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KXYSelector*) QtSupport::getQt(env, obj))->yValue(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KXYSelector.h b/kdejava/koala/kdejava/KXYSelector.h deleted file mode 100644 index c45134a9..00000000 --- a/kdejava/koala/kdejava/KXYSelector.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXYSelector__ -#define __org_kde_koala_KXYSelector__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXYSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXYSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_newKXYSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_newKXYSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_newKXYSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setValues (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setXValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setYValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setRange (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXYSelector_xValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXYSelector_yValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXYSelector_contentsRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_drawCursor (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_valuesFromPosition (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXYSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXYSelector__ */ diff --git a/kdejava/koala/kdejava/KZip.cpp b/kdejava/koala/kdejava/KZip.cpp deleted file mode 100644 index 6dce2517..00000000 --- a/kdejava/koala/kdejava/KZip.cpp +++ /dev/null @@ -1,235 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kzip.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KZip.h> - -class KZipJBridge : public KZip -{ -public: - KZipJBridge(const TQString& arg1) : KZip(arg1) {}; - KZipJBridge(TQIODevice* arg1) : KZip(arg1) {}; - bool protected_openArchive(int arg1) { - return (bool) KZip::openArchive(arg1); - } - bool protected_closeArchive() { - return (bool) KZip::closeArchive(); - } - bool protected_writeDir(const TQString& arg1,const TQString& arg2,const TQString& arg3) { - return (bool) KZip::writeDir(arg1,arg2,arg3); - } - bool protected_writeData_impl(const char* arg1,uint arg2) { - return (bool) KZip::writeData_impl(arg1,arg2); - } - bool protected_prepareWriting_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,uint arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KZip::prepareWriting_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - bool protected_writeSymLink_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KZip::writeSymLink_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - ~KZipJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_closeArchive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_closeArchive(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KZip_compression(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KZip*) QtSupport::getQt(env, obj))->compression(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KZip_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KZip_extraField(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KZip*) QtSupport::getQt(env, obj))->extraField(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KZip_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KZip*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KZip*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_newKZip__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KZipJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_newKZip__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KZipJBridge((TQIODevice*) QtSupport::getQt(env, dev))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_openArchive(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_openArchive((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_prepareWriting_1impl(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_prepareWriting_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_setCompression(JNIEnv* env, jobject obj, jint c) -{ - ((KZip*) QtSupport::getQt(env, obj))->setCompression((KZip::Compression) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_setExtraField(JNIEnv* env, jobject obj, jint ef) -{ - ((KZip*) QtSupport::getQt(env, obj))->setExtraField((KZip::ExtraField) ef); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeData_1impl(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_writeData_impl((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeData(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeData((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeDir(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeSymLink_1impl(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_writeSymLink_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeSymLink(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeSymLink((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - diff --git a/kdejava/koala/kdejava/KZip.h b/kdejava/koala/kdejava/KZip.h deleted file mode 100644 index 1826ee3c..00000000 --- a/kdejava/koala/kdejava/KZip.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KZip__ -#define __org_kde_koala_KZip__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_newKZip__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_newKZip__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KZip_fileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_setExtraField (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KZip_extraField (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_setCompression (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KZip_compression (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeSymLink (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeData (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_doneWriting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_openArchive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_closeArchive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeDir (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeData_1impl (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_prepareWriting_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeSymLink_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KZip__ */ diff --git a/kdejava/koala/kdejava/KZipFileEntry.cpp b/kdejava/koala/kdejava/KZipFileEntry.cpp deleted file mode 100644 index 13e98dc8..00000000 --- a/kdejava/koala/kdejava/KZipFileEntry.cpp +++ /dev/null @@ -1,127 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqglobal.h> -#include <kzip.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KZipFileEntry.h> - -class KZipFileEntryJBridge : public KZipFileEntry -{ -public: - KZipFileEntryJBridge(KZip* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7,const TQString& arg8,TQ_LONG arg9,TQ_LONG arg10,int arg11,TQ_LONG arg12) : KZipFileEntry(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) {}; - ~KZipFileEntryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KZipFileEntry_compressedSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->compressedSize(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KZipFileEntry_crc32(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->crc32(); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KZipFileEntry_data(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KZipFileEntry*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KZipFileEntry_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KZipFileEntry*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KZipFileEntry_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KZipFileEntry_encoding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KZipFileEntry*) QtSupport::getQt(env, obj))->encoding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KZipFileEntry*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KZipFileEntry_headerStart(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->headerStart(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZipFileEntry_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_newKZipFileEntry(JNIEnv* env, jobject obj, jobject zip, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink, jstring path, jlong start, jlong uncompressedSize, jint encoding, jlong compressedSize) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KZipFileEntryJBridge((KZip*) QtSupport::getQt(env, zip), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQ_LONG) start, (TQ_LONG) uncompressedSize, (int) encoding, (TQ_LONG) compressedSize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KZipFileEntry_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KZipFileEntry*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_setCRC32(JNIEnv* env, jobject obj, jlong crc32) -{ - ((KZipFileEntry*) QtSupport::getQt(env, obj))->setCRC32((unsigned long) crc32); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_setCompressedSize(JNIEnv* env, jobject obj, jlong compressedSize) -{ - ((KZipFileEntry*) QtSupport::getQt(env, obj))->setCompressedSize((TQ_LONG) compressedSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_setHeaderStart(JNIEnv* env, jobject obj, jlong headerstart) -{ - ((KZipFileEntry*) QtSupport::getQt(env, obj))->setHeaderStart((TQ_LONG) headerstart); - return; -} - diff --git a/kdejava/koala/kdejava/KZipFileEntry.h b/kdejava/koala/kdejava/KZipFileEntry.h deleted file mode 100644 index 84a8b5d5..00000000 --- a/kdejava/koala/kdejava/KZipFileEntry.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KZipFileEntry__ -#define __org_kde_koala_KZipFileEntry__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_newKZipFileEntry (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring, jstring, jlong, jlong, jint, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KZipFileEntry_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KZipFileEntry_compressedSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_setCompressedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_setHeaderStart (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KZipFileEntry_headerStart (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KZipFileEntry_crc32 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_setCRC32 (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KZipFileEntry_path (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KZipFileEntry_data (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KZipFileEntry_device (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZipFileEntry_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KZipFileEntry__ */ diff --git a/kdejava/koala/kdejava/LinkStyle.cpp b/kdejava/koala/kdejava/LinkStyle.cpp deleted file mode 100644 index dfd12116..00000000 --- a/kdejava/koala/kdejava/LinkStyle.cpp +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_stylesheet.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/LinkStyle.h> - -class LinkStyleJBridge : public DOM::LinkStyle -{ -public: - LinkStyleJBridge() : DOM::LinkStyle() {}; - LinkStyleJBridge(const DOM::LinkStyle& arg1) : DOM::LinkStyle(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_LinkStyle_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::LinkStyle*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LinkStyle_newLinkStyle__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new LinkStyleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LinkStyle_newLinkStyle__Lorg_kde_koala_LinkStyle_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new LinkStyleJBridge((const DOM::LinkStyle&)*(const DOM::LinkStyle*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_LinkStyle_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::LinkStyle*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/LinkStyle.h b/kdejava/koala/kdejava/LinkStyle.h deleted file mode 100644 index c9d5190e..00000000 --- a/kdejava/koala/kdejava/LinkStyle.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_LinkStyle__ -#define __org_kde_koala_LinkStyle__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_LinkStyle_newLinkStyle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LinkStyle_newLinkStyle__Lorg_kde_koala_LinkStyle_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_LinkStyle_sheet (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_LinkStyle_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_LinkStyle__ */ diff --git a/kdejava/koala/kdejava/ListJob.cpp b/kdejava/koala/kdejava/ListJob.cpp deleted file mode 100644 index 7a57245d..00000000 --- a/kdejava/koala/kdejava/ListJob.cpp +++ /dev/null @@ -1,191 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/ListJob.h> - -class ListJobJBridge : public TDEIO::ListJob -{ -public: - ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,TQString arg4,bool arg5) : TDEIO::ListJob(arg1,arg2,arg3,arg4,arg5) {}; - ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,TQString arg4) : TDEIO::ListJob(arg1,arg2,arg3,arg4) {}; - ListJobJBridge(const KURL& arg1,bool arg2,bool arg3) : TDEIO::ListJob(arg1,arg2,arg3) {}; - ListJobJBridge(const KURL& arg1,bool arg2) : TDEIO::ListJob(arg1,arg2) {}; - void protected_slotFinished() { - TDEIO::ListJob::slotFinished(); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::ListJob::slotResult(arg1); - return; - } - void protected_slotRedirection(const KURL& arg1) { - TDEIO::ListJob::slotRedirection(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ListJob","slotFinished")) { - ListJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - ListJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - ListJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.ListJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ListJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ListJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::ListJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ListJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::ListJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive, (TQString)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix, jboolean includeHidden) -{ -static TQString* _qstring_prefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive, (TQString)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (bool) includeHidden)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ListJob_redirectionURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((TDEIO::ListJob*) QtSupport::getQt(env, obj))->redirectionURL(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_setUnrestricted(JNIEnv* env, jobject obj, jboolean unrestricted) -{ - ((TDEIO::ListJob*) QtSupport::getQt(env, obj))->setUnrestricted((bool) unrestricted); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::ListJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/ListJob.h b/kdejava/koala/kdejava/ListJob.h deleted file mode 100644 index cef3514b..00000000 --- a/kdejava/koala/kdejava/ListJob.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ListJob__ -#define __org_kde_koala_ListJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ListJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ListJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jboolean, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jboolean, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ListJob_redirectionURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_setUnrestricted (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_slotRedirection (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ListJob__ */ diff --git a/kdejava/koala/kdejava/LiveConnectExtension.cpp b/kdejava/koala/kdejava/LiveConnectExtension.cpp deleted file mode 100644 index f1c327e7..00000000 --- a/kdejava/koala/kdejava/LiveConnectExtension.cpp +++ /dev/null @@ -1,113 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/browserextension.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/LiveConnectExtension.h> - -class LiveConnectExtensionJBridge : public KParts::LiveConnectExtension -{ -public: - LiveConnectExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::LiveConnectExtension(arg1,arg2) {}; - LiveConnectExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::LiveConnectExtension(arg1) {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.LiveConnectExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_LiveConnectExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)LiveConnectExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.LiveConnectExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_LiveConnectExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_LiveConnectExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new LiveConnectExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_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 LiveConnectExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_LiveConnectExtension_put(JNIEnv* env, jobject obj, jlong objid, jstring field, jstring value) -{ -static TQString* _qstring_field = 0; -static TQString* _qstring_value = 0; - jboolean xret = (jboolean) ((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->put((const unsigned long) objid, (const TQString&)*(TQString*) QtSupport::toTQString(env, field, &_qstring_field), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LiveConnectExtension_unregister(JNIEnv* env, jobject obj, jlong objid) -{ - ((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->unregister((const unsigned long) objid); - return; -} - diff --git a/kdejava/koala/kdejava/LiveConnectExtension.h b/kdejava/koala/kdejava/LiveConnectExtension.h deleted file mode 100644 index f68f4fbf..00000000 --- a/kdejava/koala/kdejava/LiveConnectExtension.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_LiveConnectExtension__ -#define __org_kde_koala_LiveConnectExtension__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_LiveConnectExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_LiveConnectExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_LiveConnectExtension_put (JNIEnv *env, jobject, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LiveConnectExtension_unregister (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_LiveConnectExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_LiveConnectExtension__ */ diff --git a/kdejava/koala/kdejava/MainWindow.cpp b/kdejava/koala/kdejava/MainWindow.cpp deleted file mode 100644 index da122d92..00000000 --- a/kdejava/koala/kdejava/MainWindow.cpp +++ /dev/null @@ -1,646 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/mainwindow.h> -#include <tqstring.h> -#include <tdeparts/part.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/MainWindow.h> - -class MainWindowJBridge : public KParts::MainWindow -{ -public: - MainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KParts::MainWindow(arg1,arg2,arg3) {}; - MainWindowJBridge(TQWidget* arg1,const char* arg2) : KParts::MainWindow(arg1,arg2) {}; - MainWindowJBridge(TQWidget* arg1) : KParts::MainWindow(arg1) {}; - MainWindowJBridge(const char* arg1,TQt::WFlags arg2) : KParts::MainWindow(arg1,arg2) {}; - MainWindowJBridge(const char* arg1) : KParts::MainWindow(arg1) {}; - MainWindowJBridge() : KParts::MainWindow() {}; - MainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KParts::MainWindow(arg1,arg2,arg3,arg4) {}; - MainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3) : KParts::MainWindow(arg1,arg2,arg3) {}; - MainWindowJBridge(int arg1,TQWidget* arg2) : KParts::MainWindow(arg1,arg2) {}; - void protected_createShellGUI(bool arg1) { - KParts::MainWindow::createShellGUI(arg1); - return; - } - void protected_createShellGUI() { - KParts::MainWindow::createShellGUI(); - return; - } - void protected_createGUI(KParts::Part* arg1) { - KParts::MainWindow::createGUI(arg1); - return; - } - void protected_slotSetStatusBarText(const TQString& arg1) { - KParts::MainWindow::slotSetStatusBarText(arg1); - return; - } - void protected_saveNewToolbarConfig() { - KParts::MainWindow::saveNewToolbarConfig(); - return; - } - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - 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.MainWindow","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.MainWindow","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.MainWindow","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.MainWindow","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.MainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","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.MainWindow","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.MainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","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.MainWindow","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.MainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","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.MainWindow","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.MainWindow","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.MainWindow","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 showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::MainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_createGUI(JNIEnv* env, jobject obj, jobject part) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createGUI((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_createShellGUI__(JNIEnv* env, jobject obj) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_createShellGUI__Z(JNIEnv* env, jobject obj, jboolean create) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI((bool) create); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::MainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint cflags, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__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 MainWindowJBridge((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_MainWindow_newMainWindow__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 MainWindowJBridge((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_MainWindow_newMainWindow__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((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_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__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 MainWindowJBridge((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_MainWindow_newMainWindow__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 MainWindowJBridge((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 jobject JNICALL -Java_org_kde_koala_MainWindow_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*)(KParts::MainWindow*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_saveNewToolbarConfig(JNIEnv* env, jobject obj) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveNewToolbarConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*)(KParts::MainWindow*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_slotSetStatusBarText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_slotSetStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/MainWindow.h b/kdejava/koala/kdejava/MainWindow.h deleted file mode 100644 index 81c9ac81..00000000 --- a/kdejava/koala/kdejava/MainWindow.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MainWindow__ -#define __org_kde_koala_MainWindow__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_createShellGUI__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_createShellGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_createGUI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_slotSetStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_saveNewToolbarConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MainWindow_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MainWindow__ */ diff --git a/kdejava/koala/kdejava/Makefile.am b/kdejava/koala/kdejava/Makefile.am deleted file mode 100644 index 1deb3654..00000000 --- a/kdejava/koala/kdejava/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## -jniloc_LTLIBRARIES = libkdejava.la -jnilocdir = $(libdir)/jni - - -## INCLUDES were found outside tdevelop specific part - - -AM_LDFLAGS = - -libkdejava_la_SOURCES = StoredTransferJob.cpp BrowserRun.cpp BrowserHostExtension.cpp WindowArgs.cpp URLArgs.cpp PartManager.cpp KNamedCommand.cpp KSSLCertBox.cpp TextEvent.cpp StatusBarExtension.cpp SkipDlg.cpp SessionData.cpp RangeException.cpp Plugin.cpp PasswordDialog.cpp PartBase.cpp Notation.cpp MutationEvent.cpp MultiGetJob.cpp LiveConnectExtension.cpp LinkStyle.cpp KZipFileEntry.cpp KZip.cpp KXMLGUI.cpp KWindowInfo.cpp KWidgetAction.cpp KURLBarItemDialog.cpp KTempDir.cpp KSyntaxHighlighter.cpp KSSLSigners.cpp KSSLPKCS7.cpp KSSLKeyGen.cpp KSSLCertificateFactory.cpp KSSLCertificateCache.cpp KSSLCertDlg.cpp KSpellingHighlighter.cpp KSMIMECrypto.cpp KSimpleFileFilter.cpp KShell.cpp KServiceSeparator.cpp KRegExpEditorInterface.cpp KPluginSelector.cpp KPassivePopup.cpp KPanelAppMenu.cpp KOCRDialog.cpp KMountPoint.cpp KMimeTypeValidator.cpp KMimeTypeResolverHelper.cpp KMimeTypeResolverBase.cpp KMD5.cpp KKeyNative.cpp KIDNA.cpp TDEFontRequester.cpp KFileShare.cpp KFilePlugin.cpp KDockArea.cpp KDiskFreeSp.cpp KDCOPServiceStarter.cpp KCustomMenuEditor.cpp KCPUInfo.cpp TDEConfigGroup.cpp KCMultiDialog.cpp TDECModuleLoader.cpp TDECModuleInfo.cpp KCalendarSystemFactory.cpp KAr.cpp KActiveLabel.cpp TDEActionShortcutList.cpp TDEAccelShortcutList.cpp HTMLFormCollection.cpp HistoryProvider.cpp Factory.cpp EventException.cpp Entity.cpp DOMImplementation.cpp DOMException.cpp CSSValueList.cpp CSSUnknownRule.cpp CSSStyleRule.cpp CSSPageRule.cpp CSSMediaRule.cpp CSSImportRule.cpp CSSFontFaceRule.cpp CSSCharsetRule.cpp KInputDialog.cpp KAsyncIO.cpp Observer.cpp RenameDlg.cpp KDirLister.cpp TDEBufferedIO.cpp AuthInfo.cpp SlaveInterface.cpp SlaveBase.cpp KShellProcess.cpp KMimeMagicResult.cpp KMimeMagic.cpp KFloatValidator.cpp KEdit.cpp DefaultProgress.cpp KURLComboRequester.cpp TDEToggleToolBarAction.cpp KTimeWidget.cpp KTextEdit.cpp KTabWidget.cpp KTabBar.cpp KStringListValidator.cpp TDEPasteTextAction.cpp KMdiToolViewAccessor.cpp KMdiWin32IconButton.cpp KMdiViewCloseEvent.cpp KMdiTaskBar.cpp KMdiTaskBarButton.cpp KMdiMainFrm.cpp KMdi.cpp KMdiChildView.cpp KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmMoveEvent.cpp KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrm.cpp KMdiChildFrmCaption.cpp KMdiChildArea.cpp KKeyButton.cpp KDoubleValidator.cpp KCatalogue.cpp UIEvent.cpp PreviewJob.cpp Node.cpp MetaInfoJob.cpp KURLBarListBox.cpp KURLBarItem.cpp KURLBar.cpp TDEToggleFullScreenAction.cpp KSSLX509V3.cpp KSSLSession.cpp KSSLCertChain.cpp TDEShortcutList.cpp TDESharedConfig.cpp KMimeSourceFactory.cpp KFileMetaInfoGroup.cpp KCalendarSystem.cpp EventListener.cpp DomShared.cpp Document.cpp DavJob.cpp CustomNodeFilter.cpp CSSRuleList.cpp CSSRule.cpp AbstractView.cpp KReplaceDialog.cpp KReplace.cpp KProgressDialog.cpp KPrintAction.cpp KMultiTabBarTab.cpp KMultiTabBar.cpp KMultiTabBarButton.cpp KFindDialog.cpp KFind.cpp KDateTimeWidget.cpp KArrowButton.cpp TDERecentFilesAction.cpp TDEListAction.cpp KSSLCertDlgRet.cpp KDE.cpp KValueSelector.cpp KPaletteTable.cpp KHSSelector.cpp KColorPatch.cpp KColorDialog.cpp KColorCells.cpp KColor.cpp KURLPixmapProvider.cpp KDockWidget.cpp KDockTabGroup.cpp KDockManager.cpp KDockMainWindow.cpp KKeySequence.cpp ProgressBase.cpp StatusbarProgress.cpp Scheduler.cpp TDEIO.cpp KKey.cpp TDEShortcut.cpp KWordWrap.cpp KMultipleDrag.cpp KFileTreeViewToolTip.cpp KFileTreeViewItem.cpp KFileTreeView.cpp KFileTreeBranch.cpp KFileFilterCombo.cpp KEMailSettings.cpp KDirSelectDialog.cpp KDateWidget.cpp KDataToolInfo.cpp KDataToolAction.cpp KDataTool.cpp KStdGuiItem.cpp TDEIconViewItem.cpp KGuiItem.cpp KFileMetaInfoItem.cpp KFileMetaInfo.cpp KDialogBase.cpp KArchiveFile.cpp KArchiveEntry.cpp KSSLPKCS12.cpp KArchiveDirectory.cpp KTar.cpp KArchive.cpp TDEListViewItem.cpp KTipDialog.cpp KTipDatabase.cpp KDEJavaSlot.cpp TDEToolBarPopupAction.cpp KSqueezedTextLabel.cpp KScanDialog.cpp KPushButton.cpp KPreviewWidgetBase.cpp KPixmapSplitter.cpp KPanelExtension.cpp KMacroCommand.cpp TDEFontCombo.cpp KFilterDev.cpp KFilterBase.cpp KEditListBox.cpp KDialogQueue.cpp TDECompletionBox.cpp KCommandHistory.cpp KCommand.cpp KCodecs.cpp TDEAboutTranslator.cpp TDEAboutContributor.cpp Slave.cpp Connection.cpp TransferJob.cpp StatJob.cpp SimpleJob.cpp MimetypeJob.cpp ListJob.cpp KDirSize.cpp KDirNotify.cpp Job.cpp FileCopyJob.cpp DeleteJob.cpp CopyJob.cpp CharacterData.cpp TreeWalker.cpp Text.cpp Range.cpp ProcessingInstruction.cpp NodeIterator.cpp NodeFilter.cpp EntityReference.cpp Comment.cpp CDATASection.cpp MainWindow.cpp DockMainWindow.cpp Attr.cpp HTMLUListElement.cpp HTMLTitleElement.cpp HTMLTextAreaElement.cpp HTMLTableSectionElement.cpp HTMLTableRowElement.cpp HTMLTableElement.cpp HTMLTableColElement.cpp HTMLTableCellElement.cpp HTMLTableCaptionElement.cpp HTMLStyleElement.cpp HTMLSelectElement.cpp HTMLScriptElement.cpp HTMLQuoteElement.cpp HTMLPreElement.cpp HTMLParamElement.cpp HTMLParagraphElement.cpp HTMLOptionElement.cpp HTMLOptGroupElement.cpp HTMLObjectElement.cpp HTMLOListElement.cpp HTMLModElement.cpp HTMLMetaElement.cpp HTMLMenuElement.cpp HTMLMapElement.cpp HTMLLinkElement.cpp HTMLLegendElement.cpp HTMLLabelElement.cpp HTMLLIElement.cpp HTMLIsIndexElement.cpp HTMLInputElement.cpp HTMLImageElement.cpp HTMLIFrameElement.cpp HTMLHtmlElement.cpp HTMLHeadingElement.cpp HTMLHeadElement.cpp HTMLHRElement.cpp HTMLFrameSetElement.cpp HTMLFrameElement.cpp HTMLFormElement.cpp HTMLFontElement.cpp HTMLFieldSetElement.cpp HTMLElement.cpp HTMLDivElement.cpp HTMLDirectoryElement.cpp HTMLDListElement.cpp HTMLCollection.cpp HTMLButtonElement.cpp HTMLBodyElement.cpp HTMLBlockquoteElement.cpp HTMLBaseFontElement.cpp HTMLBaseElement.cpp HTMLBRElement.cpp HTMLAreaElement.cpp HTMLAppletElement.cpp HTMLAnchorElement.cpp Element.cpp Rect.cpp RGBColor.cpp Counter.cpp CSSValue.cpp CSSStyleDeclaration.cpp CSSPrimitiveValue.cpp CSSException.cpp StyleSheet.cpp CSSStyleSheet.cpp NamedNodeMap.cpp HTMLDocument.cpp DocumentType.cpp DocumentStyle.cpp DocumentFragment.cpp ReadWritePart.cpp PartSelectEvent.cpp PartActivateEvent.cpp OpenURLEvent.cpp MouseEvent.cpp GUIActivateEvent.cpp Event.cpp KDESupport.cpp NetAccess.cpp ReadOnlyPart.cpp Part.cpp KXYSelector.cpp KXMLGUIFactory.cpp KXMLGUIClient.cpp KXMLGUIBuilder.cpp KWritePermsIcon.cpp KWizard.cpp KUniqueApplication.cpp KURLRequesterDlg.cpp KURLRequester.cpp KURLLabel.cpp KURLDrag.cpp KURLCompletion.cpp KURLComboBox.cpp KURL.cpp KURIFilterPlugin.cpp KURIFilterData.cpp KURIFilter.cpp TDETrader.cpp TDEToolBarSeparator.cpp TDEToolBarRadioGroup.cpp TDEToolBarButton.cpp TDEToolBar.cpp TDEToggleAction.cpp KTextBrowser.cpp KTempFile.cpp KTabCtl.cpp KSystemTray.cpp KSycocaEntry.cpp KSycoca.cpp KStringHandler.cpp KStdAction.cpp TDEStdAccel.cpp KStatusBarLabel.cpp KStatusBar.cpp KStaticDeleterBase.cpp TDEStandardDirs.cpp KSpellDlg.cpp KSpellConfig.cpp KSpell.cpp KSimpleConfig.cpp KShred.cpp KShellCompletion.cpp TDEShared.cpp KSessionManaged.cpp KServiceTypeProfile.cpp KServiceType.cpp KServiceOffer.cpp KServiceGroup.cpp KService.cpp KSeparator.cpp TDESelector.cpp TDESelectAction.cpp KSaveFile.cpp KSSLX509Map.cpp KSSLSettings.cpp KSSLPeerInfo.cpp KSSLInfoDlg.cpp KSSLConnectionInfo.cpp KSSLCertificateHome.cpp KSSLCertificate.cpp KSSL.cpp KRun.cpp KRuler.cpp KRootProp.cpp KRootPixmap.cpp KRootPermsIcon.cpp KRestrictedLine.cpp TDERecentDocument.cpp KRandomSequence.cpp TDERadioAction.cpp KRFCDate.cpp KProtocolManager.cpp KProtocolInfo.cpp KProgress.cpp TDEProcessRunner.cpp TDEProcessController.cpp TDEProcess.cpp KProcIO.cpp TDEPopupTitle.cpp TDEPopupMenu.cpp TDEPopupFrame.cpp KPixmapProvider.cpp KPixmapIO.cpp KPixmapEffect.cpp KPixmap.cpp KPasswordEdit.cpp KPasswordDialog.cpp KPanelMenu.cpp KPanelApplet.cpp KPalette.cpp KOpenWithDlg.cpp KNumInput.cpp KNotifyClient.cpp KMimeType.cpp KMessageBox.cpp KMenuBar.cpp TDEMainWindow.cpp TDELocale.cpp TDEListView.cpp TDEListBox.cpp KLineEdit.cpp KLibLoader.cpp KLibFactory.cpp KLed.cpp KKeyDialog.cpp KKeyChooser.cpp KJanusWidget.cpp KIntValidator.cpp KIntSpinBox.cpp KIntNumInput.cpp TDEInstance.cpp KImageIO.cpp KImageEffect.cpp TDEIconView.cpp TDEIconLoader.cpp TDEIconEffect.cpp TDEIconDialog.cpp TDEIconCanvas.cpp TDEIconButton.cpp KIPC.cpp KHistoryCombo.cpp KHelpMenu.cpp TDEHTMLView.cpp TDEHTMLSettings.cpp TDEHTMLPart.cpp KGradientSelector.cpp TDEGlobal.cpp TDEGlobalSettings.cpp TDEGlobalAccel.cpp TDEFontSizeAction.cpp TDEFontDialog.cpp TDEFontChooser.cpp TDEFontAction.cpp KFolderType.cpp KFileViewSignaler.cpp KFileView.cpp KFilePreview.cpp KFileListViewItem.cpp KFileItem.cpp KFileIconViewItem.cpp KFileIconView.cpp KFileFilter.cpp KFileDialog.cpp KFileDetailView.cpp KFile.cpp KExecMimeType.cpp KEntryKey.cpp KEntry.cpp KEditToolbarWidget.cpp KEditToolbar.cpp KEdReplace.cpp KEdGotoLine.cpp KEdFind.cpp KDualColorButton.cpp KDoubleNumInput.cpp KDockWidgetHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetAbstractHeader.cpp KDirWatch.cpp KDirOperator.cpp KDialog.cpp KDesktopFile.cpp KDateValidator.cpp KDateTable.cpp KDatePicker.cpp KDEDesktopMimeType.cpp KDCOPPropertyProxy.cpp KDCOPActionProxy.cpp KCursor.cpp KContextMenuManager.cpp TDEConfigINIBackEnd.cpp TDEConfigGroupSaver.cpp TDEConfigBase.cpp TDEConfigBackEnd.cpp TDEConfig.cpp TDECompletionBase.cpp TDECompletion.cpp KComboBox.cpp KCombiView.cpp KColorDrag.cpp KColorCombo.cpp KColorButton.cpp TDECmdLineArgs.cpp KCharsets.cpp KCharSelectTable.cpp KCharSelect.cpp TDECModule.cpp KButtonBox.cpp KBugReport.cpp KAuthIcon.cpp KAudioPlayer.cpp TDEApplication.cpp KAnimWidget.cpp TDEActionSeparator.cpp TDEActionMenu.cpp TDEActionCollection.cpp TDEAction.cpp TDEAccel.cpp TDEAboutWidget.cpp TDEAboutPerson.cpp TDEAboutKDE.cpp TDEAboutDialog.cpp TDEAboutData.cpp TDEAboutContainer.cpp TDEAboutApplication.cpp DCOPObjectProxy.cpp DCOPObject.cpp DCOPClient.cpp BrowserExtension.cpp - - -EXTRA_DIST = BrowserExtension.h DCOPClient.h DCOPObject.h DCOPObjectInterface.h DCOPObjectProxy.h TDEAboutApplication.h TDEAboutContainer.h TDEAboutData.h TDEAboutDialog.h TDEAboutKDE.h TDEAboutPerson.h TDEAboutWidget.h TDEAccel.h TDEAction.h TDEActionCollection.h TDEActionMenu.h TDEActionSeparator.h KAnimWidget.h TDEApplication.h KAudioPlayer.h KAuthIcon.h KBugReport.h KButtonBox.h TDECModule.h KCharSelect.h KCharSelectTable.h KCharsets.h TDECmdLineArgs.h KColorButton.h KColorCombo.h KColorDrag.h KCombiView.h KComboBox.h TDECompletion.h TDECompletionBase.h TDECompletionBaseInterface.h TDEConfig.h TDEConfigBackEnd.h TDEConfigBase.h TDEConfigGroupSaver.h TDEConfigINIBackEnd.h KContextMenuManager.h KCursor.h KDCOPActionProxy.h KDCOPPropertyProxy.h KDEDesktopMimeType.h KDateInternalMonthPicker.h KDateInternalYearSelector.h KDatePicker.h KDateTable.h KDateValidator.h KDesktopFile.h KDialog.h KDialogBase.h KDirOperator.h KDirWatch.h KDockWidgetAbstractHeader.h KDockWidgetAbstractHeaderDrag.h KDockWidgetHeader.h KDockWidgetHeaderDrag.h KDoubleNumInput.h KDualColorButton.h KEdFind.h KEdGotoLine.h KEdReplace.h KEditToolbar.h KEditToolbarWidget.h KEntry.h KEntryKey.h KExecMimeType.h KFile.h KFileDetailView.h KFileDialog.h KFileFilter.h KFileIconView.h KFileIconViewItem.h KFileItem.h KFileListViewItem.h KFilePreview.h KFileView.h KFileViewInterface.h KFileViewSignaler.h KFolderType.h TDEFontAction.h TDEFontChooser.h TDEFontDialog.h TDEFontSizeAction.h TDEGlobal.h TDEGlobalAccel.h TDEGlobalSettings.h KGradientSelector.h TDEHTMLPart.h TDEHTMLSettings.h TDEHTMLView.h KHelpMenu.h KHistoryCombo.h KIPC.h TDEIconButton.h TDEIconCanvas.h TDEIconDialog.h TDEIconEffect.h TDEIconLoader.h TDEIconView.h KImageEffect.h KImageIO.h TDEInstance.h TDEInstanceInterface.h KIntNumInput.h KIntSpinBox.h KIntValidator.h KJanusWidget.h KKeyChooser.h KKeyDialog.h KLed.h KLibFactory.h KLibLoader.h KLineEdit.h TDEListBox.h TDEListView.h TDELocale.h TDEMainWindow.h KMenuBar.h KMessageBox.h KMimeType.h KNotifyClient.h KNumInput.h KOpenWithDlg.h KPalette.h KPanelApplet.h KPanelMenu.h KPasswordDialog.h KPasswordEdit.h KPixmap.h KPixmapEffect.h KPixmapIO.h KPixmapProvider.h TDEPopupFrame.h TDEPopupMenu.h TDEPopupTitle.h KProcIO.h TDEProcess.h TDEProcessController.h TDEProcessRunner.h KProgress.h KProtocolInfo.h KProtocolManager.h KRFCDate.h TDERadioAction.h KRandomSequence.h TDERecentDocument.h KRestrictedLine.h KRootPermsIcon.h KRootPixmap.h KRootProp.h KRuler.h KRun.h KSSL.h KSSLCertificate.h KSSLCertificateHome.h KSSLConnectionInfo.h KSSLInfoDlg.h KSSLPeerInfo.h KSSLSettings.h KSSLX509Map.h KSaveFile.h TDESelectAction.h TDESelector.h KSeparator.h KService.h KServiceGroup.h KServiceOffer.h KServiceType.h KServiceTypeProfile.h KSessionManaged.h TDEShared.h KShellCompletion.h KShred.h KSimpleConfig.h KSpell.h KSpellConfig.h KSpellDlg.h TDEStandardDirs.h KStaticDeleterBase.h KStatusBar.h KStatusBarLabel.h TDEStdAccel.h KStdAction.h KStringHandler.h KSycoca.h KSycocaEntry.h KSystemTray.h KTabCtl.h KTempFile.h KTextBrowser.h TDEToggleAction.h TDEToolBar.h TDEToolBarButton.h TDEToolBarRadioGroup.h TDEToolBarSeparator.h TDETrader.h KURIFilter.h KURIFilterData.h KURIFilterPlugin.h KURL.h KURLComboBox.h KURLCompletion.h KURLDrag.h KURLLabel.h KURLRequester.h KURLRequesterDlg.h KUniqueApplication.h KWizard.h KWritePermsIcon.h KXMLGUIBuilder.h KXMLGUIBuilderInterface.h KXMLGUIClient.h KXMLGUIClientInterface.h KXMLGUIFactory.h KXYSelector.h Part.h PartBaseInterface.h ReadOnlyPart.h BrowserExtension.cpp DCOPClient.cpp DCOPObject.cpp DCOPObjectProxy.cpp TDEAboutApplication.cpp TDEAboutContainer.cpp TDEAboutData.cpp TDEAboutDialog.cpp TDEAboutKDE.cpp TDEAboutPerson.cpp TDEAboutWidget.cpp TDEAccel.cpp TDEAction.cpp TDEActionCollection.cpp TDEActionMenu.cpp TDEActionSeparator.cpp KAnimWidget.cpp TDEApplication.cpp KAudioPlayer.cpp KAuthIcon.cpp KBugReport.cpp KButtonBox.cpp TDECModule.cpp KCharSelect.cpp KCharSelectTable.cpp KCharsets.cpp TDECmdLineArgs.cpp KColorButton.cpp KColorCombo.cpp KColorDrag.cpp KCombiView.cpp KComboBox.cpp TDECompletion.cpp TDECompletionBase.cpp TDEConfig.cpp TDEConfigBackEnd.cpp TDEConfigBase.cpp TDEConfigGroupSaver.cpp TDEConfigINIBackEnd.cpp KContextMenuManager.cpp KCursor.cpp KDCOPActionProxy.cpp KDCOPPropertyProxy.cpp KDEDesktopMimeType.cpp KDatePicker.cpp KDateTable.cpp KDateValidator.cpp KDesktopFile.cpp KDialog.cpp KDirOperator.cpp KDirWatch.cpp KDockWidgetAbstractHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetHeaderDrag.cpp KDoubleNumInput.cpp KDualColorButton.cpp KEdFind.cpp KEdGotoLine.cpp KEdReplace.cpp KEditToolbar.cpp KEditToolbarWidget.cpp KEntry.cpp KEntryKey.cpp KExecMimeType.cpp KFile.cpp KFileDetailView.cpp KFileDialog.cpp KFileFilter.cpp KFileIconView.cpp KFileIconViewItem.cpp KFileItem.cpp KFileListViewItem.cpp KFilePreview.cpp KFileView.cpp KFileViewSignaler.cpp KFolderType.cpp TDEFontAction.cpp TDEFontChooser.cpp TDEFontDialog.cpp TDEFontSizeAction.cpp TDEGlobal.cpp TDEGlobalAccel.cpp TDEGlobalSettings.cpp KGradientSelector.cpp TDEHTMLPart.cpp TDEHTMLSettings.cpp TDEHTMLView.cpp KHelpMenu.cpp KHistoryCombo.cpp KIPC.cpp TDEIconButton.cpp TDEIconCanvas.cpp TDEIconDialog.cpp TDEIconEffect.cpp TDEIconLoader.cpp TDEIconView.cpp KImageEffect.cpp KImageIO.cpp TDEInstance.cpp KIntNumInput.cpp KIntSpinBox.cpp KIntValidator.cpp KJanusWidget.cpp KKeyChooser.cpp KKeyDialog.cpp KLed.cpp KLibFactory.cpp KLibLoader.cpp KLineEdit.cpp TDEListBox.cpp TDEListView.cpp TDELocale.cpp TDEMainWindow.cpp KMenuBar.cpp KMessageBox.cpp KMimeType.cpp KNotifyClient.cpp KNumInput.cpp KOpenWithDlg.cpp KPalette.cpp KPanelApplet.cpp KPanelMenu.cpp KPasswordDialog.cpp KPasswordEdit.cpp KPixmap.cpp KPixmapEffect.cpp KPixmapIO.cpp KPixmapProvider.cpp TDEPopupFrame.cpp TDEPopupMenu.cpp TDEPopupTitle.cpp KProcIO.cpp TDEProcess.cpp TDEProcessController.cpp TDEProcessRunner.cpp KProgress.cpp KProtocolInfo.cpp KProtocolManager.cpp KRFCDate.cpp TDERadioAction.cpp KRandomSequence.cpp TDERecentDocument.cpp KRestrictedLine.cpp KRootPermsIcon.cpp KRootPixmap.cpp KRootProp.cpp KRuler.cpp KRun.cpp KSSL.cpp KSSLCertificate.cpp KSSLCertificateHome.cpp KSSLConnectionInfo.cpp KSSLInfoDlg.cpp KSSLPeerInfo.cpp KSSLSettings.cpp KSSLX509Map.cpp KSaveFile.cpp TDESelectAction.cpp TDESelector.cpp KSeparator.cpp KService.cpp KServiceGroup.cpp KServiceOffer.cpp KServiceType.cpp KServiceTypeProfile.cpp KSessionManaged.cpp TDEShared.cpp KShellCompletion.cpp KShred.cpp KSimpleConfig.cpp KSpell.cpp KSpellConfig.cpp KSpellDlg.cpp TDEStandardDirs.cpp KStaticDeleterBase.cpp KStatusBar.cpp KStatusBarLabel.cpp TDEStdAccel.cpp KStdAction.cpp KStringHandler.cpp KSycoca.cpp KSycocaEntry.cpp KSystemTray.cpp KTabCtl.cpp KTempFile.cpp KTextBrowser.cpp TDEToggleAction.cpp TDEToolBar.cpp TDEToolBarButton.cpp TDEToolBarRadioGroup.cpp TDEToolBarSeparator.cpp TDETrader.cpp KURIFilter.cpp KURIFilterData.cpp KURIFilterPlugin.cpp KURL.cpp KURLComboBox.cpp KURLCompletion.cpp KURLDrag.cpp KURLLabel.cpp KURLRequester.cpp KURLRequesterDlg.cpp KUniqueApplication.cpp KWizard.cpp KWritePermsIcon.cpp KXMLGUIBuilder.cpp KXMLGUIClient.cpp KXMLGUIFactory.cpp KXYSelector.cpp Part.cpp ReadOnlyPart.cpp NetAccess.cpp NetAccess.h KDESupport.cpp Event.cpp GUIActivateEvent.cpp MouseEvent.cpp OpenURLEvent.cpp PartActivateEvent.cpp PartSelectEvent.cpp ReadWritePart.cpp DocumentFragment.cpp DocumentStyle.cpp DocumentType.cpp HTMLDocument.cpp NamedNodeMap.cpp CSSStyleSheet.cpp StyleSheet.cpp CSSException.cpp CSSPrimitiveValue.cpp CSSStyleDeclaration.cpp CSSValue.cpp Counter.cpp RGBColor.cpp Rect.cpp Element.cpp HTMLAnchorElement.cpp HTMLAppletElement.cpp HTMLAreaElement.cpp HTMLBRElement.cpp HTMLBaseElement.cpp HTMLBaseFontElement.cpp HTMLBlockquoteElement.cpp HTMLBodyElement.cpp HTMLButtonElement.cpp HTMLCollection.cpp HTMLDListElement.cpp HTMLDirectoryElement.cpp HTMLDivElement.cpp HTMLElement.cpp HTMLFieldSetElement.cpp HTMLFontElement.cpp HTMLFormElement.cpp HTMLFrameElement.cpp HTMLFrameSetElement.cpp HTMLHRElement.cpp HTMLHeadElement.cpp HTMLHeadingElement.cpp HTMLHtmlElement.cpp HTMLIFrameElement.cpp HTMLImageElement.cpp HTMLInputElement.cpp HTMLIsIndexElement.cpp HTMLLIElement.cpp HTMLLabelElement.cpp HTMLLegendElement.cpp HTMLLinkElement.cpp HTMLMapElement.cpp HTMLMenuElement.cpp HTMLMetaElement.cpp HTMLModElement.cpp HTMLOListElement.cpp HTMLObjectElement.cpp HTMLOptGroupElement.cpp HTMLOptionElement.cpp HTMLParagraphElement.cpp HTMLParamElement.cpp HTMLPreElement.cpp HTMLQuoteElement.cpp HTMLScriptElement.cpp HTMLSelectElement.cpp HTMLStyleElement.cpp HTMLTableCaptionElement.cpp HTMLTableCellElement.cpp HTMLTableColElement.cpp HTMLTableElement.cpp HTMLTableRowElement.cpp HTMLTableSectionElement.cpp HTMLTextAreaElement.cpp HTMLTitleElement.cpp HTMLUListElement.cpp Attr.cpp Attr.h CSSException.h CSSPrimitiveValue.h CSSStyleDeclaration.h CSSStyleSheet.h CSSValue.h Counter.h DocumentFragment.h DocumentStyle.h DocumentType.h Element.h Event.h GUIActivateEvent.h HTMLAnchorElement.h HTMLAppletElement.h HTMLAreaElement.h HTMLBRElement.h HTMLBaseElement.h HTMLBaseFontElement.h HTMLBlockquoteElement.h HTMLBodyElement.h HTMLButtonElement.h HTMLCollection.h HTMLDListElement.h HTMLDirectoryElement.h HTMLDivElement.h HTMLDocument.h HTMLElement.h HTMLFieldSetElement.h HTMLFontElement.h HTMLFormElement.h HTMLFrameElement.h HTMLFrameSetElement.h HTMLHRElement.h HTMLHeadElement.h HTMLHeadingElement.h HTMLHtmlElement.h HTMLIFrameElement.h HTMLImageElement.h HTMLInputElement.h HTMLIsIndexElement.h HTMLLIElement.h HTMLLabelElement.h HTMLLegendElement.h HTMLLinkElement.h HTMLMapElement.h HTMLMenuElement.h HTMLMetaElement.h HTMLModElement.h HTMLOListElement.h HTMLObjectElement.h HTMLOptGroupElement.h HTMLOptionElement.h HTMLParagraphElement.h HTMLParamElement.h HTMLPreElement.h HTMLQuoteElement.h HTMLScriptElement.h HTMLSelectElement.h HTMLStyleElement.h HTMLTableCaptionElement.h HTMLTableCellElement.h HTMLTableColElement.h HTMLTableElement.h HTMLTableRowElement.h HTMLTableSectionElement.h HTMLTextAreaElement.h HTMLTitleElement.h HTMLUListElement.h MouseEvent.h NamedNodeMap.h OpenURLEvent.h PartActivateEvent.h PartSelectEvent.h RGBColor.h ReadWritePart.h Rect.h StyleSheet.h DockMainWindow.cpp MainWindow.cpp DockMainWindow.h MainWindow.h CDATASection.cpp Comment.cpp EntityReference.cpp NodeFilter.cpp NodeIterator.cpp ProcessingInstruction.cpp Range.cpp Text.cpp TreeWalker.cpp CharacterData.cpp CDATASection.h CharacterData.h Comment.h EntityReference.h NodeFilter.h NodeIterator.h ProcessingInstruction.h Range.h Text.h TreeWalker.h CopyJob.cpp DeleteJob.cpp FileCopyJob.cpp Job.cpp KDirNotify.cpp KDirSize.cpp ListJob.cpp MimetypeJob.cpp SimpleJob.cpp StatJob.cpp TransferJob.cpp Connection.cpp Slave.cpp Connection.h CopyJob.h DeleteJob.h FileCopyJob.h Job.h KDirNotify.h KDirSize.h ListJob.h MimetypeJob.h SimpleJob.h Slave.h StatJob.h TransferJob.h TDEAboutContributor.cpp TDEAboutContributor.h TDEAboutTranslator.cpp TDEAboutTranslator.h KCodecs.cpp KCodecs.h KCommand.cpp KCommand.h KCommandHistory.cpp KCommandHistory.h TDECompletionBox.cpp TDECompletionBox.h KDialogQueue.cpp KDialogQueue.h KEditListBox.cpp KEditListBox.h KFilterBase.cpp KFilterBase.h KFilterDev.cpp KFilterDev.h TDEFontCombo.cpp TDEFontCombo.h KMacroCommand.cpp KMacroCommand.h KPanelExtension.cpp KPanelExtension.h KPixmapSplitter.cpp KPixmapSplitter.h KPreviewWidgetBase.cpp KPreviewWidgetBase.h KPushButton.cpp KPushButton.h KScanDialog.cpp KScanDialog.h KSqueezedTextLabel.cpp KSqueezedTextLabel.h TDEToolBarPopupAction.cpp TDEToolBarPopupAction.h KDEJavaSlot.cpp KDEJavaSlot.h KTipDatabase.cpp KTipDialog.cpp KTipDatabase.h KTipDialog.h ASConsumer.java TDEListViewItem.cpp TDEListViewItem.h KArchive.cpp KArchive.h KTar.cpp KTar.h KArchiveDirectory.cpp KSSLPKCS12.cpp KArchiveDirectory.h KSSLPKCS12.h KArchiveEntry.cpp KArchiveFile.cpp KArchiveEntry.h KArchiveFile.h KDialogBase.cpp KFileMetaInfo.cpp KFileMetaInfo.h KFileMetaInfoItem.cpp KFileMetaInfoItem.h KGuiItem.cpp KGuiItem.h TDEIconViewItem.cpp TDEIconViewItem.h KStdGuiItem.cpp KStdGuiItem.h KDataTool.cpp KDataToolAction.cpp KDataToolInfo.cpp KDateWidget.cpp KDirSelectDialog.cpp KEMailSettings.cpp KFileFilterCombo.cpp KFileTreeBranch.cpp KFileTreeView.cpp KFileTreeViewItem.cpp KFileTreeViewToolTip.cpp KMultipleDrag.cpp KWordWrap.cpp KDataTool.h KDataToolAction.h KDataToolInfo.h KDateWidget.h KDirSelectDialog.h KFileTreeBranch.h KFileTreeView.h KFileTreeViewItem.h KFileTreeViewToolTip.h KEMailSettings.h KFileFilterCombo.h KMultipleDrag.h KWordWrap.h TDEShortcut.cpp KKey.cpp KKey.h TDEShortcut.h TDEIO.cpp TDEIO.h Scheduler.cpp Scheduler.h StatusbarProgress.cpp StatusbarProgress.h ProgressBase.cpp ProgressBase.h KKeySequence.cpp KKeySequence.h KDockMainWindow.cpp KDockMainWindow.h KDockManager.cpp KDockManager.h KDockTabGroup.cpp KDockTabGroup.h KDockWidget.cpp KDockWidget.h KURLPixmapProvider.cpp KURLPixmapProvider.h KColor.cpp KColor.h KColorCells.cpp KColorCells.h KColorDialog.cpp KColorDialog.h KColorPatch.cpp KColorPatch.h KHSSelector.cpp KHSSelector.h KPaletteTable.cpp KPaletteTable.h KValueSelector.cpp KValueSelector.h KDE.cpp KDE.h KSSLCertDlgRet.cpp KSSLCertDlgRet.h TDEListAction.cpp TDEListAction.h TDERecentFilesAction.cpp TDERecentFilesAction.h KArrowButton.cpp KArrowButton.h KDateTimeWidget.cpp KDateTimeWidget.h KFind.cpp KFindDialog.cpp KFindDialog.h KFind.h KMultiTabBarButton.cpp KMultiTabBarButton.h KMultiTabBar.cpp KMultiTabBar.h KMultiTabBarTab.cpp KMultiTabBarTab.h KPrintAction.cpp KPrintAction.h KProgressDialog.cpp KProgressDialog.h KReplace.cpp KReplaceDialog.cpp KReplaceDialog.h KReplace.h AbstractView.cpp AbstractView.h CSSRule.cpp CSSRule.h CSSRuleList.cpp CSSRuleList.h CustomNodeFilter.cpp CustomNodeFilter.h DavJob.cpp DavJob.h Document.cpp Document.h DomShared.cpp DomShared.h EventListener.cpp EventListener.h KCalendarSystem.cpp KCalendarSystem.h KFileMetaInfoGroup.cpp KFileMetaInfoGroup.h KMimeSourceFactory.cpp KMimeSourceFactory.h TDESharedConfig.cpp TDESharedConfig.h TDEShortcutList.cpp TDEShortcutList.h KSSLCertBox.h KSSLCertBox.java KSSLCertChain.cpp KSSLCertChain.h KSSLSession.cpp KSSLSession.h KSSLX509V3.cpp KSSLX509V3.h TDEToggleFullScreenAction.cpp TDEToggleFullScreenAction.h KURLBar.cpp KURLBar.h KURLBarItem.cpp KURLBarItem.h KURLBarListBox.cpp KURLBarListBox.h MetaInfoJob.cpp MetaInfoJob.h Node.cpp Node.h PreviewJob.cpp PreviewJob.h UIEvent.cpp UIEvent.h KCatalogue.cpp KCatalogue.h KDoubleValidator.cpp KDoubleValidator.h KKeyButton.cpp KKeyButton.h KMdiToolViewAccessor.cpp KMdiToolViewAccessor.h KMdiChildArea.cpp KMdiChildArea.h KMdiChildFrmCaption.cpp KMdiChildFrmCaption.h KMdiChildFrm.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrmDragBeginEvent.h KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragEndEvent.h KMdiChildFrm.h KMdiChildFrmMoveEvent.cpp KMdiChildFrmMoveEvent.h KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmResizeBeginEvent.h KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeEndEvent.h KMdiChildView.cpp KMdiChildView.h KMdi.cpp KMdi.h KMdiMainFrm.cpp KMdiMainFrm.h KMdiTaskBarButton.cpp KMdiTaskBarButton.h KMdiTaskBar.cpp KMdiTaskBar.h KMdiViewCloseEvent.cpp KMdiViewCloseEvent.h KMdiWin32IconButton.cpp KMdiWin32IconButton.h TDEPasteTextAction.cpp TDEPasteTextAction.h KStringListValidator.cpp KStringListValidator.h KTabBar.cpp KTabBar.h KTabWidget.cpp KTabWidget.h KTextEdit.cpp KTextEdit.h KTimeWidget.cpp KTimeWidget.h TDEToggleToolBarAction.cpp TDEToggleToolBarAction.h KURLComboRequester.cpp KURLComboRequester.h DefaultProgress.h SlaveBase.h DefaultProgress.cpp KEdit.cpp KEdit.h KFloatValidator.cpp KFloatValidator.h KMimeMagic.cpp KMimeMagic.h KMimeMagicResult.cpp KMimeMagicResult.h KShellProcess.cpp KShellProcess.h SlaveBase.cpp SlaveInterface.cpp SlaveInterface.h AuthInfo.cpp TDEBufferedIO.cpp KDirLister.cpp RenameDlg.cpp Observer.cpp KAsyncIO.cpp AuthInfo.h KAsyncIO.h TDEBufferedIO.h KDirLister.h Observer.h RenameDlg.h KInputDialog.cpp KInputDialog.h CSSCharsetRule.cpp CSSCharsetRule.h CSSFontFaceRule.cpp CSSFontFaceRule.h CSSImportRule.cpp CSSImportRule.h CSSMediaRule.cpp CSSMediaRule.h CSSPageRule.cpp CSSPageRule.h CSSStyleRule.cpp CSSStyleRule.h CSSUnknownRule.cpp CSSUnknownRule.h CSSValueList.cpp CSSValueList.h DOMException.cpp DOMException.h DOMImplementation.cpp DOMImplementation.h Entity.cpp Entity.h EventException.cpp EventException.h Factory.cpp Factory.h HistoryProvider.cpp HistoryProvider.h HTMLFormCollection.cpp HTMLFormCollection.h TDEAccelShortcutList.cpp TDEAccelShortcutList.h TDEActionShortcutList.cpp TDEActionShortcutList.h KActiveLabel.cpp KActiveLabel.h KAr.cpp KAr.h KCalendarSystemFactory.cpp KCalendarSystemFactory.h TDECModuleInfo.cpp TDECModuleInfo.h TDECModuleLoader.cpp TDECModuleLoader.h KCMultiDialog.cpp KCMultiDialog.h TDEConfigGroup.cpp TDEConfigGroup.h KCPUInfo.cpp KCPUInfo.h KCustomMenuEditor.cpp KCustomMenuEditor.h KDCOPServiceStarter.cpp KDCOPServiceStarter.h KDiskFreeSp.cpp KDiskFreeSp.h KDockArea.cpp KDockArea.h KFilePlugin.cpp KFilePlugin.h KFileShare.cpp KFileShare.h TDEFontRequester.cpp TDEFontRequester.h KIDNA.cpp KIDNA.h KKeyNative.cpp KKeyNative.h KMD5.cpp KMD5.h KMimeTypeResolverBase.cpp KMimeTypeResolverBase.h KMimeTypeResolverHelper.cpp KMimeTypeResolverHelper.h KMimeTypeValidator.cpp KMimeTypeValidator.h KMountPoint.cpp KMountPoint.h KOCRDialog.cpp KOCRDialog.h KPanelAppMenu.cpp KPanelAppMenu.h KPassivePopup.cpp KPassivePopup.h KPluginSelector.cpp KPluginSelector.h KRegExpEditorInterface.cpp KRegExpEditorInterface.h KServiceSeparator.cpp KServiceSeparator.h KShell.cpp KShell.h KSimpleFileFilter.cpp KSimpleFileFilter.h KSMIMECrypto.cpp KSMIMECrypto.h KSpellingHighlighter.cpp KSpellingHighlighter.h KSSLCertDlg.cpp KSSLCertDlg.h KSSLCertificateCache.cpp KSSLCertificateCache.h KSSLCertificateFactory.cpp KSSLCertificateFactory.h KSSLKeyGen.cpp KSSLKeyGen.h KSSLPKCS7.cpp KSSLPKCS7.h KSSLSigners.cpp KSSLSigners.h KSyntaxHighlighter.cpp KSyntaxHighlighter.h KTempDir.cpp KTempDir.h KURLBarItemDialog.cpp KURLBarItemDialog.h KWidgetAction.cpp KWidgetAction.h KWindowInfo.cpp KWindowInfo.h KXMLGUI.cpp KXMLGUI.h KZip.cpp KZipFileEntry.cpp KZipFileEntry.h KZip.h LinkStyle.cpp LinkStyle.h LiveConnectExtension.cpp LiveConnectExtension.h MultiGetJob.cpp MultiGetJob.h MutationEvent.cpp MutationEvent.h Notation.cpp Notation.h PartBase.cpp PartBase.h PasswordDialog.cpp PasswordDialog.h Plugin.cpp Plugin.h RangeException.cpp RangeException.h SessionData.cpp SessionData.h SkipDlg.cpp SkipDlg.h StatusBarExtension.cpp StatusBarExtension.h TextEvent.cpp TextEvent.h KSSLCertBox.cpp KNamedCommand.cpp KNamedCommand.h PartManager.cpp PartManager.h URLArgs.cpp UrlArgs.h WindowArgs.cpp WindowArgs.h BrowserHostExtension.cpp BrowserHostExtension.h BrowserRun.cpp BrowserRun.h StoredTransferJob.cpp StoredTransferJob.h - -####### tdevelop will overwrite this part!!! (end)############ - - - - - -INCLUDES = -I$(srcdir)/../../../qtjava/javalib -I$(srcdir)/.. $(jni_includes) $(all_includes) - -SOMAJOR = 1 -SOMINOR = 0 -SOSUBMINOR = 0 - -METASOURCES = AUTO - -# here you should add all header files, which contains the functionality -# of your shared lib (published for the users) -noinst_HEADERS = KDESupport.h KDEJavaSlot.h - -libkdejava_la_LDFLAGS = $(all_libraries) -no-undefined -version-info $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR) - -libkdejava_la_LIBADD = $(top_builddir)/qtjava/javalib/qtjava/libqtjavasupport.la -ltdemdi $(LIB_TDEHTML) $(LIB_TDESPELL) $(LIB_TDEIO) $(LIB_TDECORE) $(LIB_TDEPARTS) $(LIB_TDEUI) $(LIB_TDEUTILS) $(LIB_TDEPRINT) -lDCOP -ltdefx - -KDE_OPTIONS = qtonly nofinal diff --git a/kdejava/koala/kdejava/MetaInfoJob.cpp b/kdejava/koala/kdejava/MetaInfoJob.cpp deleted file mode 100644 index 2c0b8ffe..00000000 --- a/kdejava/koala/kdejava/MetaInfoJob.cpp +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/metainfojob.h> -#include <tdeparts/browserextension.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/MetaInfoJob.h> - -class MetaInfoJobJBridge : public TDEIO::MetaInfoJob -{ -public: - MetaInfoJobJBridge(const KFileItemList& arg1,bool arg2) : TDEIO::MetaInfoJob(arg1,arg2) {}; - MetaInfoJobJBridge(const KFileItemList& arg1) : TDEIO::MetaInfoJob(arg1) {}; - void protected_getMetaInfo() { - TDEIO::MetaInfoJob::getMetaInfo(); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::MetaInfoJob::slotResult(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - MetaInfoJob::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.MetaInfoJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MetaInfoJob_availablePlugins(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = MetaInfoJobJBridge::availablePlugins(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MetaInfoJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::MetaInfoJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_getMetaInfo(JNIEnv* env, jobject obj) -{ - ((MetaInfoJobJBridge*) QtSupport::getQt(env, obj))->protected_getMetaInfo(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MetaInfoJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::MetaInfoJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static KFileItemList* _qlist_items = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MetaInfoJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean deleteItems) -{ -static KFileItemList* _qlist_items = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MetaInfoJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (bool) deleteItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIO::MetaInfoJob*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((MetaInfoJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MetaInfoJob_supportedMimeTypes(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = MetaInfoJobJBridge::supportedMimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/MetaInfoJob.h b/kdejava/koala/kdejava/MetaInfoJob.h deleted file mode 100644 index 1d7b4759..00000000 --- a/kdejava/koala/kdejava/MetaInfoJob.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MetaInfoJob__ -#define __org_kde_koala_MetaInfoJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MetaInfoJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MetaInfoJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MetaInfoJob_availablePlugins (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MetaInfoJob_supportedMimeTypes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_getMetaInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_slotResult (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MetaInfoJob__ */ diff --git a/kdejava/koala/kdejava/MimetypeJob.cpp b/kdejava/koala/kdejava/MimetypeJob.cpp deleted file mode 100644 index a26fbaa0..00000000 --- a/kdejava/koala/kdejava/MimetypeJob.cpp +++ /dev/null @@ -1,147 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/MimetypeJob.h> - -class MimetypeJobJBridge : public TDEIO::MimetypeJob -{ -public: - MimetypeJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,bool arg4) : TDEIO::MimetypeJob(arg1,arg2,arg3,arg4) {}; - void protected_slotFinished() { - TDEIO::MimetypeJob::slotFinished(); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","slotFinished")) { - MimetypeJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - MimetypeJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.MimetypeJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MimetypeJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MimetypeJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MimetypeJob_mimetype(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->mimetype(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MimetypeJob_newMimetypeJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MimetypeJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MimetypeJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((MimetypeJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MimetypeJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/MimetypeJob.h b/kdejava/koala/kdejava/MimetypeJob.h deleted file mode 100644 index 538c9835..00000000 --- a/kdejava/koala/kdejava/MimetypeJob.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MimetypeJob__ -#define __org_kde_koala_MimetypeJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MimetypeJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MimetypeJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MimetypeJob_newMimetypeJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MimetypeJob_mimetype (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MimetypeJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MimetypeJob_slotFinished (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MimetypeJob__ */ diff --git a/kdejava/koala/kdejava/MouseEvent.cpp b/kdejava/koala/kdejava/MouseEvent.cpp deleted file mode 100644 index 00915e01..00000000 --- a/kdejava/koala/kdejava/MouseEvent.cpp +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom2_views.h> -#include <dom/dom2_events.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/MouseEvent.h> - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_altKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->altKey(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_MouseEvent_button(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->button(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_clientX(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->clientX(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_clientY(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->clientY(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_ctrlKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->ctrlKey(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MouseEvent_initMouseEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject viewArg, jlong detailArg, jlong screenXArg, jlong screenYArg, jlong clientXArg, jlong clientYArg, jboolean ctrlKeyArg, jboolean altKeyArg, jboolean shiftKeyArg, jboolean metaKeyArg, jshort buttonArg, jobject relatedTargetArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; - ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->initMouseEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, viewArg), (long) detailArg, (long) screenXArg, (long) screenYArg, (long) clientXArg, (long) clientYArg, (bool) ctrlKeyArg, (bool) altKeyArg, (bool) shiftKeyArg, (bool) metaKeyArg, (unsigned short) buttonArg, (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, relatedTargetArg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_metaKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->metaKey(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MouseEvent_relatedTarget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::MouseEvent*) QtSupport::getQt(env, obj))->relatedTarget()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_screenX(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->screenX(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_screenY(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->screenY(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_shiftKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->shiftKey(); - return xret; -} - diff --git a/kdejava/koala/kdejava/MouseEvent.h b/kdejava/koala/kdejava/MouseEvent.h deleted file mode 100644 index 32e6c8bd..00000000 --- a/kdejava/koala/kdejava/MouseEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MouseEvent__ -#define __org_kde_koala_MouseEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_screenX (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_screenY (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_clientX (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_clientY (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_ctrlKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_shiftKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_altKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_metaKey (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_MouseEvent_button (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MouseEvent_relatedTarget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MouseEvent_initMouseEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jlong, jlong, jlong, jlong, jlong, jboolean, jboolean, jboolean, jboolean, jshort, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MouseEvent__ */ diff --git a/kdejava/koala/kdejava/MultiGetJob.cpp b/kdejava/koala/kdejava/MultiGetJob.cpp deleted file mode 100644 index 7f856c96..00000000 --- a/kdejava/koala/kdejava/MultiGetJob.cpp +++ /dev/null @@ -1,174 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/MultiGetJob.h> - -class MultiGetJobJBridge : public TDEIO::MultiGetJob -{ -public: - MultiGetJobJBridge(const KURL& arg1,bool arg2) : TDEIO::MultiGetJob(arg1,arg2) {}; - void protected_slotRedirection(const KURL& arg1) { - TDEIO::MultiGetJob::slotRedirection(arg1); - return; - } - void protected_slotFinished() { - TDEIO::MultiGetJob::slotFinished(); - return; - } - void protected_slotData(const TQByteArray& arg1) { - TDEIO::MultiGetJob::slotData(arg1); - return; - } - void protected_slotMimetype(const TQString& arg1) { - TDEIO::MultiGetJob::slotMimetype(arg1); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - MultiGetJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","slotFinished")) { - MultiGetJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - MultiGetJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.MultiGetJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MultiGetJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::MultiGetJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MultiGetJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::MultiGetJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_newMultiGetJob(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MultiGetJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotMimetype(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotMimetype((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::MultiGetJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/MultiGetJob.h b/kdejava/koala/kdejava/MultiGetJob.h deleted file mode 100644 index dcfc1338..00000000 --- a/kdejava/koala/kdejava/MultiGetJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MultiGetJob__ -#define __org_kde_koala_MultiGetJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MultiGetJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MultiGetJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_newMultiGetJob (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotRedirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotMimetype (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MultiGetJob__ */ diff --git a/kdejava/koala/kdejava/MutationEvent.cpp b/kdejava/koala/kdejava/MutationEvent.cpp deleted file mode 100644 index 7f9b8cdd..00000000 --- a/kdejava/koala/kdejava/MutationEvent.cpp +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom2_events.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/MutationEvent.h> - -class MutationEventJBridge : public DOM::MutationEvent -{ -public: - MutationEventJBridge() : DOM::MutationEvent() {}; - MutationEventJBridge(const DOM::MutationEvent& arg1) : DOM::MutationEvent(arg1) {}; - MutationEventJBridge(const DOM::Event& arg1) : DOM::MutationEvent(arg1) {}; -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_MutationEvent_attrChange(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->attrChange(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MutationEvent_attrName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->attrName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_initMutationEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject relatedNodeArg, jstring prevValueArg, jstring newValueArg, jstring attrNameArg, jshort attrChangeArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; -static DOM::DOMString* _domstring_prevValueArg = 0; -static DOM::DOMString* _domstring_newValueArg = 0; -static DOM::DOMString* _domstring_attrNameArg = 0; - ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->initMutationEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, relatedNodeArg), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, prevValueArg, &_domstring_prevValueArg), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, newValueArg, &_domstring_newValueArg), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, attrNameArg, &_domstring_attrNameArg), (unsigned short) attrChangeArg); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_newMutationEvent__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MutationEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_Event_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MutationEventJBridge((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_MutationEvent_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MutationEventJBridge((const DOM::MutationEvent&)*(const DOM::MutationEvent*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MutationEvent_newValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->newValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MutationEvent_prevValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->prevValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MutationEvent_relatedNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::MutationEvent*) QtSupport::getQt(env, obj))->relatedNode()), "org.kde.koala.Node", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/MutationEvent.h b/kdejava/koala/kdejava/MutationEvent.h deleted file mode 100644 index 2b536003..00000000 --- a/kdejava/koala/kdejava/MutationEvent.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MutationEvent__ -#define __org_kde_koala_MutationEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_newMutationEvent__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_MutationEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_Event_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MutationEvent_relatedNode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MutationEvent_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MutationEvent_newValue (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MutationEvent_attrName (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_MutationEvent_attrChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_initMutationEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jstring, jstring, jstring, jshort); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MutationEvent__ */ diff --git a/kdejava/koala/kdejava/NamedNodeMap.cpp b/kdejava/koala/kdejava/NamedNodeMap.cpp deleted file mode 100644 index 26035ced..00000000 --- a/kdejava/koala/kdejava/NamedNodeMap.cpp +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/NamedNodeMap.h> - -class NamedNodeMapJBridge : public DOM::NamedNodeMap -{ -public: - NamedNodeMapJBridge() : DOM::NamedNodeMap() {}; - NamedNodeMapJBridge(const DOM::NamedNodeMap& arg1) : DOM::NamedNodeMap(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_getNamedItemNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->getNamedItemNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_getNamedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->getNamedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NamedNodeMap_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_NamedNodeMap_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NamedNodeMapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__Lorg_kde_koala_NamedNodeMap_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NamedNodeMapJBridge((const DOM::NamedNodeMap&)*(const DOM::NamedNodeMap*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_removeNamedItemNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItemNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_removeNamedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_setNamedItemNS(JNIEnv* env, jobject obj, jobject arg) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItemNS((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, arg))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_setNamedItem(JNIEnv* env, jobject obj, jobject arg) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItem((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, arg))), "org.kde.koala.Node", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/NamedNodeMap.h b/kdejava/koala/kdejava/NamedNodeMap.h deleted file mode 100644 index abc57986..00000000 --- a/kdejava/koala/kdejava/NamedNodeMap.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NamedNodeMap__ -#define __org_kde_koala_NamedNodeMap__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__Lorg_kde_koala_NamedNodeMap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_NamedNodeMap_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_getNamedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_setNamedItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_removeNamedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_getNamedItemNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_setNamedItemNS (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_removeNamedItemNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NamedNodeMap_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NamedNodeMap__ */ diff --git a/kdejava/koala/kdejava/NetAccess.cpp b/kdejava/koala/kdejava/NetAccess.cpp deleted file mode 100644 index c0b49db5..00000000 --- a/kdejava/koala/kdejava/NetAccess.cpp +++ /dev/null @@ -1,304 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/netaccess.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/NetAccess.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::NetAccess*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_copy(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_del(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::del((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::dircopy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target, jobject window) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::dircopy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_dircopy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::dircopy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_download(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; -static TQString* _qstring_target = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::download((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, target, &_qstring_target), (TQWidget*) QtSupport::getQt(env, window)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_target, target); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_exists(JNIEnv* env, jclass cls, jobject url, jboolean source, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::exists((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) source, (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject target) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions, jboolean overwrite) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions, (bool) overwrite); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions, (bool) overwrite, (bool) resume); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions, jboolean overwrite, jboolean resume, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions, (bool) overwrite, (bool) resume, (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_fish_1execute(JNIEnv* env, jclass cls, jobject url, jstring command, jobject window) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_command = 0; - _qstring = TDEIO::NetAccess::fish_execute((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQWidget*) QtSupport::getQt(env, window)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_lastErrorString(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::NetAccess::lastErrorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_NetAccess_lastError(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEIO::NetAccess::lastError(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NetAccess_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::NetAccess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_mimetype(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::NetAccess::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2I(JNIEnv* env, jclass cls, jobject url, jobject window, jint permissions) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (int) permissions); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NetAccess_mostLocalURL(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(TDEIO::NetAccess::mostLocalURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target, jobject window) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject target) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NetAccess_removeTempFile(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - TDEIO::NetAccess::removeTempFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject job, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::synchronousRun((TDEIO::Job*) QtSupport::getQt(env, job), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3B(JNIEnv* env, jclass cls, jobject job, jobject window, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::synchronousRun((TDEIO::Job*) QtSupport::getQt(env, job), (TQWidget*) QtSupport::getQt(env, window), (TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3BLorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject job, jobject window, jbyteArray data, jobject finalURL) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::synchronousRun((TDEIO::Job*) QtSupport::getQt(env, job), (TQWidget*) QtSupport::getQt(env, window), (TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (KURL*) QtSupport::getQt(env, finalURL)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_upload(JNIEnv* env, jclass cls, jstring src, jobject target, jobject window) -{ - (void) cls; -static TQString* _qstring_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::upload((const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - diff --git a/kdejava/koala/kdejava/NetAccess.h b/kdejava/koala/kdejava/NetAccess.h deleted file mode 100644 index ed3b412c..00000000 --- a/kdejava/koala/kdejava/NetAccess.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NetAccess__ -#define __org_kde_koala_NetAccess__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NetAccess_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_download (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NetAccess_removeTempFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_upload (JNIEnv *env, jclass, jstring, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_copy (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_dircopy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_exists (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NetAccess_mostLocalURL (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_del (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_fish_1execute (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3BLorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject, jbyteArray, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3B (JNIEnv *env, jclass, jobject, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_mimetype (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_lastErrorString (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_NetAccess_lastError (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NetAccess__ */ diff --git a/kdejava/koala/kdejava/Node.cpp b/kdejava/koala/kdejava/Node.cpp deleted file mode 100644 index 2540d3e8..00000000 --- a/kdejava/koala/kdejava/Node.cpp +++ /dev/null @@ -1,296 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <tqrect.h> -#include <tqglobal.h> -#include <dom/dom_node.h> -#include <dom/dom_doc.h> -#include <dom/dom2_events.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Node.h> - -class NodeJBridge : public DOM::Node -{ -public: - NodeJBridge() : DOM::Node() {}; - NodeJBridge(const DOM::Node& arg1) : DOM::Node(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_addEventListener(JNIEnv* env, jobject obj, jstring type, jobject listener, jboolean useCapture) -{ -static DOM::DOMString* _domstring_type = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->addEventListener((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, type, &_domstring_type), (DOM::EventListener*) QtSupport::getQt(env, listener), (const bool) useCapture); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_appendChild(JNIEnv* env, jobject obj, jobject newChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->appendChild((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_applyChanges(JNIEnv* env, jobject obj) -{ - ((DOM::Node*) QtSupport::getQt(env, obj))->applyChanges(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_attributes(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::Node*) QtSupport::getQt(env, obj))->attributes()), "org.kde.koala.NamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_childNodes(JNIEnv* env, jobject obj) -{ - DOM::NodeList _qlist; - _qlist = ((DOM::Node*) QtSupport::getQt(env, obj))->childNodes(); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_cloneNode(JNIEnv* env, jobject obj, jboolean deep) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->cloneNode((bool) deep)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_dispatchEvent(JNIEnv* env, jobject obj, jobject evt) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->dispatchEvent((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, evt)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Node_elementId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::Node*) QtSupport::getQt(env, obj))->elementId(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_firstChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_getRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((DOM::Node*) QtSupport::getQt(env, obj))->getRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_hasAttributes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->hasAttributes(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_hasChildNodes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->hasChildNodes(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Node_index(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::Node*) QtSupport::getQt(env, obj))->index(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_insertBefore(JNIEnv* env, jobject obj, jobject newChild, jobject refChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->insertBefore((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newChild), (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_isSupported(JNIEnv* env, jobject obj, jstring feature, jstring version) -{ -static DOM::DOMString* _domstring_feature = 0; -static DOM::DOMString* _domstring_version = 0; - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->isSupported((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, version, &_domstring_version)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_localName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->localName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_namespaceURI(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->namespaceURI(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_newNode__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_newNode__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_nextSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_nodeName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->nodeName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_Node_nodeType(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::Node*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_nodeValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->nodeValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_normalize(JNIEnv* env, jobject obj) -{ - ((DOM::Node*) QtSupport::getQt(env, obj))->normalize(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_op_1equals(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->operator==((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_op_1not_1equals(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->operator!=((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_ownerDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::Node*) QtSupport::getQt(env, obj))->ownerDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_parentNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_prefix(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->prefix(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_previousSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_removeChild(JNIEnv* env, jobject obj, jobject oldChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->removeChild((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, oldChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_removeEventListener(JNIEnv* env, jobject obj, jstring type, jobject listener, jboolean useCapture) -{ -static DOM::DOMString* _domstring_type = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->removeEventListener((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, type, &_domstring_type), (DOM::EventListener*) QtSupport::getQt(env, listener), (bool) useCapture); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_replaceChild(JNIEnv* env, jobject obj, jobject newChild, jobject oldChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->replaceChild((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newChild), (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, oldChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_setNodeValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->setNodeValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_setPrefix(JNIEnv* env, jobject obj, jstring prefix) -{ -static DOM::DOMString* _domstring_prefix = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->setPrefix((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, prefix, &_domstring_prefix)); - return; -} - diff --git a/kdejava/koala/kdejava/Node.h b/kdejava/koala/kdejava/Node.h deleted file mode 100644 index 6a814226..00000000 --- a/kdejava/koala/kdejava/Node.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Node__ -#define __org_kde_koala_Node__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_newNode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_newNode__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_nodeName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_nodeValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_setNodeValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_Node_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_parentNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_childNodes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_firstChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_previousSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_nextSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_attributes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_ownerDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_insertBefore (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_replaceChild (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_removeChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_appendChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_hasChildNodes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_cloneNode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_normalize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_isSupported (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_namespaceURI (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_prefix (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_localName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_hasAttributes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_addEventListener (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_removeEventListener (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_dispatchEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Node_elementId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Node_index (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_applyChanges (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_getRect (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Node__ */ diff --git a/kdejava/koala/kdejava/NodeFilter.cpp b/kdejava/koala/kdejava/NodeFilter.cpp deleted file mode 100644 index bb758c2c..00000000 --- a/kdejava/koala/kdejava/NodeFilter.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/dom2_traversal.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/NodeFilter.h> - -class NodeFilterJBridge : public DOM::NodeFilter -{ -public: - NodeFilterJBridge() : DOM::NodeFilter() {}; - NodeFilterJBridge(const DOM::NodeFilter& arg1) : DOM::NodeFilter(arg1) {}; -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_NodeFilter_acceptNode(JNIEnv* env, jobject obj, jobject n) -{ - jshort xret = (jshort) ((DOM::NodeFilter*) QtSupport::getQt(env, obj))->acceptNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeFilter_createCustom(JNIEnv* env, jclass cls, jobject custom) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeFilter(NodeFilterJBridge::createCustom((DOM::CustomNodeFilter*) QtSupport::getQt(env, custom))), "org.kde.koala.NodeFilter", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeFilter_customNodeFilter(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DOM::NodeFilter*) QtSupport::getQt(env, obj))->customNodeFilter(), "org.kde.koala.CustomNodeFilter"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NodeFilter_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NodeFilter*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeFilter_newNodeFilter__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeFilter_newNodeFilter__Lorg_kde_koala_NodeFilter_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeFilterJBridge((const DOM::NodeFilter&)*(const DOM::NodeFilter*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeFilter_setCustomNodeFilter(JNIEnv* env, jobject obj, jobject custom) -{ - ((DOM::NodeFilter*) QtSupport::getQt(env, obj))->setCustomNodeFilter((DOM::CustomNodeFilter*) QtSupport::getQt(env, custom)); - return; -} - diff --git a/kdejava/koala/kdejava/NodeFilter.h b/kdejava/koala/kdejava/NodeFilter.h deleted file mode 100644 index 7c88f3cc..00000000 --- a/kdejava/koala/kdejava/NodeFilter.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NodeFilter__ -#define __org_kde_koala_NodeFilter__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeFilter_newNodeFilter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeFilter_newNodeFilter__Lorg_kde_koala_NodeFilter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_NodeFilter_acceptNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NodeFilter_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeFilter_setCustomNodeFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeFilter_customNodeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeFilter_createCustom (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NodeFilter__ */ diff --git a/kdejava/koala/kdejava/NodeIterator.cpp b/kdejava/koala/kdejava/NodeIterator.cpp deleted file mode 100644 index cea120f1..00000000 --- a/kdejava/koala/kdejava/NodeIterator.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/dom2_traversal.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/NodeIterator.h> - -class NodeIteratorJBridge : public DOM::NodeIterator -{ -public: - NodeIteratorJBridge() : DOM::NodeIterator() {}; - NodeIteratorJBridge(const DOM::NodeIterator& arg1) : DOM::NodeIterator(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeIterator_detach(JNIEnv* env, jobject obj) -{ - ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NodeIterator_expandEntityReferences(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->expandEntityReferences(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_filter(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeFilter(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->filter()), "org.kde.koala.NodeFilter", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NodeIterator_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeIterator_newNodeIterator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeIteratorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeIterator_newNodeIterator__Lorg_kde_koala_NodeIterator_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeIteratorJBridge((const DOM::NodeIterator&)*(const DOM::NodeIterator*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_nextNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->nextNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_previousNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->previousNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_root(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->root()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_NodeIterator_whatToShow(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->whatToShow(); - return xret; -} - diff --git a/kdejava/koala/kdejava/NodeIterator.h b/kdejava/koala/kdejava/NodeIterator.h deleted file mode 100644 index 0744c000..00000000 --- a/kdejava/koala/kdejava/NodeIterator.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NodeIterator__ -#define __org_kde_koala_NodeIterator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeIterator_newNodeIterator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeIterator_newNodeIterator__Lorg_kde_koala_NodeIterator_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_root (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_NodeIterator_whatToShow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_filter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NodeIterator_expandEntityReferences (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_nextNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_previousNode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeIterator_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NodeIterator_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NodeIterator__ */ diff --git a/kdejava/koala/kdejava/Notation.cpp b/kdejava/koala/kdejava/Notation.cpp deleted file mode 100644 index 41394ddb..00000000 --- a/kdejava/koala/kdejava/Notation.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_xml.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Notation.h> - -class NotationJBridge : public DOM::Notation -{ -public: - NotationJBridge() : DOM::Notation() {}; - NotationJBridge(const DOM::Notation& arg1) : DOM::Notation(arg1) {}; - NotationJBridge(const DOM::Node& arg1) : DOM::Notation(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Notation_newNotation__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NotationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NotationJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Notation_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NotationJBridge((const DOM::Notation&)*(const DOM::Notation*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Notation_publicId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Notation*) QtSupport::getQt(env, obj))->publicId(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Notation_systemId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Notation*) QtSupport::getQt(env, obj))->systemId(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Notation.h b/kdejava/koala/kdejava/Notation.h deleted file mode 100644 index 8efe40b0..00000000 --- a/kdejava/koala/kdejava/Notation.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Notation__ -#define __org_kde_koala_Notation__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Notation_newNotation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Notation_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Notation_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Notation_systemId (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Notation__ */ diff --git a/kdejava/koala/kdejava/Observer.cpp b/kdejava/koala/kdejava/Observer.cpp deleted file mode 100644 index 7ace02a9..00000000 --- a/kdejava/koala/kdejava/Observer.cpp +++ /dev/null @@ -1,510 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/renamedlg.h> -#include <tdeio/global.h> -#include <tdeio/observer.h> -#include <dcopclient.h> -#include <tdeio/authinfo.h> -#include <tqstring.h> -#include <dcopobject.h> -#include <kurl.h> -#include <tdeio/skipdlg.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Observer.h> - -class ObserverJBridge : public Observer -{ -public: - ObserverJBridge() : Observer() {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Observer",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Observer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((Observer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)ObserverJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ObserverJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_jobFinished(JNIEnv* env, jobject obj, jint progressId) -{ - ((Observer*) QtSupport::getQt(env, obj))->jobFinished((int) progressId); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint progressId, jint type, jstring text, jstring caption, jstring buttonYes, jstring buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_buttonYes = 0; -static TQString* _qstring_buttonNo = 0; - jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonYes, &_qstring_buttonYes), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonNo, &_qstring_buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint progressId, jint type, jstring text, jstring caption, jstring buttonYes, jstring buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_buttonYes = 0; -static TQString* _qstring_buttonNo = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonYes, &_qstring_buttonYes), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonNo, &_qstring_buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((Observer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_mounting(JNIEnv* env, jobject obj, jobject arg1, jstring dev, jstring point) -{ -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - ((Observer*) QtSupport::getQt(env, obj))->mounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_newJob(JNIEnv* env, jobject obj, jobject job, jboolean showProgress) -{ - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->newJob((TDEIO::Job*) QtSupport::getQt(env, job), (bool) showProgress); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_newObserver(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ObserverJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Observer_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Observer_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = ObserverJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_openPassDlg(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((Observer*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1SkipDlg(JNIEnv* env, jobject obj, jobject job, jboolean multi, jstring error_text) -{ -static TQString* _qstring_error_text = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_SkipDlg((TDEIO::Job*) QtSupport::getQt(env, job), (bool) multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, error_text, &_qstring_error_text)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)ObserverJBridge::self(), "org.kde.koala.Observer"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotCanResume(JNIEnv* env, jobject obj, jobject arg1, jlong offset) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotCanResume((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotCopying(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotCopying((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, from), (const KURL&)*(const KURL*) QtSupport::getQt(env, to)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotCreatingDir(JNIEnv* env, jobject obj, jobject arg1, jobject dir) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotCreatingDir((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotDeleting(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotDeleting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotInfoMessage(JNIEnv* env, jobject obj, jobject arg1, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((Observer*) QtSupport::getQt(env, obj))->slotInfoMessage((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotMoving(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotMoving((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, from), (const KURL&)*(const KURL*) QtSupport::getQt(env, to)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotPercent(JNIEnv* env, jobject obj, jobject arg1, jlong percent) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotProcessedDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotProcessedDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotProcessedFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotProcessedFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong size) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotSpeed(JNIEnv* env, jobject obj, jobject arg1, jlong speed) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTotalDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTotalDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTotalFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTotalFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTotalSize(JNIEnv* env, jobject obj, jobject arg1, jlong size) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTransferring(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTransferring((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_stating(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((Observer*) QtSupport::getQt(env, obj))->stating((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_unmounting(JNIEnv* env, jobject obj, jobject arg1, jstring point) -{ -static TQString* _qstring_point = 0; - ((Observer*) QtSupport::getQt(env, obj))->unmounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - diff --git a/kdejava/koala/kdejava/Observer.h b/kdejava/koala/kdejava/Observer.h deleted file mode 100644 index ff0ef08e..00000000 --- a/kdejava/koala/kdejava/Observer.h +++ /dev/null @@ -1,69 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Observer__ -#define __org_kde_koala_Observer__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Observer_className (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_newJob (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_jobFinished (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_openPassDlg (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1SkipDlg (JNIEnv *env, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_stating (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_mounting (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_unmounting (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTotalFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTotalDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotProcessedFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotProcessedDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotInfoMessage (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotCopying (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotMoving (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotDeleting (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTransferring (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotCreatingDir (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotCanResume (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_self (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_newObserver (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Observer_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Observer_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Observer__ */ diff --git a/kdejava/koala/kdejava/OpenURLEvent.cpp b/kdejava/koala/kdejava/OpenURLEvent.cpp deleted file mode 100644 index 221137bc..00000000 --- a/kdejava/koala/kdejava/OpenURLEvent.cpp +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/browserextension.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/OpenURLEvent.h> - -class OpenURLEventJBridge : public KParts::OpenURLEvent -{ -public: - OpenURLEventJBridge(KParts::ReadOnlyPart* arg1,const KURL& arg2,const KParts::URLArgs& arg3) : KParts::OpenURLEvent(arg1,arg2,arg3) {}; - OpenURLEventJBridge(KParts::ReadOnlyPart* arg1,const KURL& arg2) : KParts::OpenURLEvent(arg1,arg2) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_OpenURLEvent_args(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KParts::URLArgs(((KParts::OpenURLEvent*) QtSupport::getQt(env, obj))->args()), "org.kde.koala.URLArgs", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject part, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new OpenURLEventJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2(JNIEnv* env, jobject obj, jobject part, jobject url, jobject args) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new OpenURLEventJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_OpenURLEvent_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::OpenURLEvent*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.ReadOnlyPart"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_OpenURLEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) OpenURLEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_OpenURLEvent_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KParts::OpenURLEvent*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/OpenURLEvent.h b/kdejava/koala/kdejava/OpenURLEvent.h deleted file mode 100644 index 483b93f7..00000000 --- a/kdejava/koala/kdejava/OpenURLEvent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_OpenURLEvent__ -#define __org_kde_koala_OpenURLEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_OpenURLEvent_part (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_OpenURLEvent_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_OpenURLEvent_args (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_OpenURLEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_OpenURLEvent__ */ diff --git a/kdejava/koala/kdejava/Part.cpp b/kdejava/koala/kdejava/Part.cpp deleted file mode 100644 index e62da8a6..00000000 --- a/kdejava/koala/kdejava/Part.cpp +++ /dev/null @@ -1,304 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqpoint.h> -#include <tdeparts/part.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Part.h> - -class PartJBridge : public KParts::Part -{ -public: - PartJBridge(TQObject* arg1,const char* arg2) : KParts::Part(arg1,arg2) {}; - PartJBridge(TQObject* arg1) : KParts::Part(arg1) {}; - PartJBridge() : KParts::Part() {}; - void protected_setWidget(TQWidget* arg1) { - KParts::Part::setWidget(arg1); - return; - } - void protected_customEvent(TQCustomEvent* arg1) { - KParts::Part::customEvent(arg1); - return; - } - void protected_partActivateEvent(KParts::PartActivateEvent* arg1) { - KParts::Part::partActivateEvent(arg1); - return; - } - void protected_partSelectEvent(KParts::PartSelectEvent* arg1) { - KParts::Part::partSelectEvent(arg1); - return; - } - void protected_guiActivateEvent(KParts::GUIActivateEvent* arg1) { - KParts::Part::guiActivateEvent(arg1); - return; - } - TQWidget* protected_hostContainer(const TQString& arg1) { - return (TQWidget*) KParts::Part::hostContainer(arg1); - } - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void partSelectEvent(KParts::PartSelectEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partSelectEvent",(void*)arg1,"org.kde.koala.PartSelectEvent")) { - Part::partSelectEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.Part","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - void setManager(KParts::PartManager* arg1) { - if (!QtSupport::eventDelegate(this,"setManager",(void*)arg1,"org.kde.koala.PartManager")) { - Part::setManager(arg1); - } - return; - } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - Part::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void embed(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"embed",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::embed(arg1); - } - return; - } - void partActivateEvent(KParts::PartActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partActivateEvent",(void*)arg1,"org.kde.koala.PartActivateEvent")) { - Part::partActivateEvent(arg1); - } - return; - } - void guiActivateEvent(KParts::GUIActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"guiActivateEvent",(void*)arg1,"org.kde.koala.GUIActivateEvent")) { - Part::guiActivateEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Part",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Part_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Part*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_customEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_embed(JNIEnv* env, jobject obj, jobject parentWidget) -{ - ((KParts::Part*) QtSupport::getQt(env, obj))->embed((TQWidget*) QtSupport::getQt(env, parentWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_guiActivateEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_guiActivateEvent((KParts::GUIActivateEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_hitTest(JNIEnv* env, jobject obj, jobject widget, jobject globalPos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->hitTest((TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_hostContainer(JNIEnv* env, jobject obj, jstring containerName) -{ -static TQString* _qstring_containerName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((PartJBridge*) QtSupport::getQt(env, obj))->protected_hostContainer((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Part_isSelectable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::Part*) QtSupport::getQt(env, obj))->isSelectable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_manager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->manager(), "org.kde.koala.PartManager"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_newPart__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_partActivateEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_partActivateEvent((KParts::PartActivateEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*)(KParts::Part*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_partSelectEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_partSelectEvent((KParts::PartSelectEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setManager(JNIEnv* env, jobject obj, jobject manager) -{ - ((KParts::Part*) QtSupport::getQt(env, obj))->setManager((KParts::PartManager*) QtSupport::getQt(env, manager)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*)(KParts::Part*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setSelectable(JNIEnv* env, jobject obj, jboolean selectable) -{ - ((KParts::Part*) QtSupport::getQt(env, obj))->setSelectable((bool) selectable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_setWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Part.h b/kdejava/koala/kdejava/Part.h deleted file mode 100644 index ec1a2e4a..00000000 --- a/kdejava/koala/kdejava/Part.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Part__ -#define __org_kde_koala_Part__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Part_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_newPart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_embed (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setManager (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_manager (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_hitTest (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setSelectable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Part_isSelectable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_customEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_partActivateEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_partSelectEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_guiActivateEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_hostContainer (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Part__ */ diff --git a/kdejava/koala/kdejava/PartActivateEvent.cpp b/kdejava/koala/kdejava/PartActivateEvent.cpp deleted file mode 100644 index fbb3cd20..00000000 --- a/kdejava/koala/kdejava/PartActivateEvent.cpp +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/event.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/PartActivateEvent.h> - -class PartActivateEventJBridge : public KParts::PartActivateEvent -{ -public: - PartActivateEventJBridge(bool arg1,KParts::Part* arg2,TQWidget* arg3) : KParts::PartActivateEvent(arg1,arg2,arg3) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartActivateEvent_activated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->activated(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartActivateEvent_newPartActivateEvent(JNIEnv* env, jobject obj, jboolean activated, jobject part, jobject widget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartActivateEventJBridge((bool) activated, (KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartActivateEvent_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartActivateEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) PartActivateEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartActivateEvent_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/PartActivateEvent.h b/kdejava/koala/kdejava/PartActivateEvent.h deleted file mode 100644 index ea93587c..00000000 --- a/kdejava/koala/kdejava/PartActivateEvent.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartActivateEvent__ -#define __org_kde_koala_PartActivateEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartActivateEvent_newPartActivateEvent (JNIEnv *env, jobject, jboolean, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartActivateEvent_activated (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartActivateEvent_part (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartActivateEvent_widget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartActivateEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartActivateEvent__ */ diff --git a/kdejava/koala/kdejava/PartBase.cpp b/kdejava/koala/kdejava/PartBase.cpp deleted file mode 100644 index 5d9b03e0..00000000 --- a/kdejava/koala/kdejava/PartBase.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/part.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/PartBase.h> - -class PartBaseJBridge : public KParts::PartBase -{ -public: - PartBaseJBridge() : KParts::PartBase() {}; - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((PartBaseJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_newPartBase(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartBaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartBase_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((PartBaseJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((PartBaseJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - diff --git a/kdejava/koala/kdejava/PartBase.h b/kdejava/koala/kdejava/PartBase.h deleted file mode 100644 index 48b042af..00000000 --- a/kdejava/koala/kdejava/PartBase.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartBase__ -#define __org_kde_koala_PartBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_newPartBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartBase_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartBase__ */ diff --git a/kdejava/koala/kdejava/PartManager.cpp b/kdejava/koala/kdejava/PartManager.cpp deleted file mode 100644 index 08c48f7c..00000000 --- a/kdejava/koala/kdejava/PartManager.cpp +++ /dev/null @@ -1,327 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/partmanager.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/PartManager.h> - -class PartManagerJBridge : public KParts::PartManager -{ -public: - PartManagerJBridge(TQWidget* arg1,const char* arg2) : KParts::PartManager(arg1,arg2) {}; - PartManagerJBridge(TQWidget* arg1) : KParts::PartManager(arg1) {}; - PartManagerJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : KParts::PartManager(arg1,arg2,arg3) {}; - PartManagerJBridge(TQWidget* arg1,TQObject* arg2) : KParts::PartManager(arg1,arg2) {}; - void protected_setActiveInstance(TDEInstance* arg1) { - KParts::PartManager::setActiveInstance(arg1); - return; - } - void protected_slotObjectDestroyed() { - KParts::PartManager::slotObjectDestroyed(); - return; - } - void protected_slotWidgetDestroyed() { - KParts::PartManager::slotWidgetDestroyed(); - return; - } - void protected_slotManagedTopLevelWidgetDestroyed() { - KParts::PartManager::slotManagedTopLevelWidgetDestroyed(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setActiveInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setActiveInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - PartManager::setActiveInstance(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void removePart(KParts::Part* arg1) { - if (!QtSupport::eventDelegate(this,"removePart",(void*)arg1,"org.kde.koala.Part")) { - PartManager::removePart(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.PartManager",object,event)) { - return PartManager::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_PartManager_activationButtonMask(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((KParts::PartManager*) QtSupport::getQt(env, obj))->activationButtonMask(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_activePart(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->activePart(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_activeWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->activeWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_addManagedTopLevelWidget(JNIEnv* env, jobject obj, jobject topLevel) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->addManagedTopLevelWidget((const TQWidget*) QtSupport::getQt(env, topLevel)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->addPart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2Z(JNIEnv* env, jobject obj, jobject part, jboolean setActive) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->addPart((KParts::Part*) QtSupport::getQt(env, part), (bool) setActive); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartManager_allowNestedParts(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartManager*) QtSupport::getQt(env, obj))->allowNestedParts(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PartManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::PartManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartManager_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject ev) -{ - jboolean xret = (jboolean) ((KParts::PartManager*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, ev)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartManager_ignoreScrollBars(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartManager*) QtSupport::getQt(env, obj))->ignoreScrollBars(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartManagerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_newPartManager__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 PartManagerJBridge((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_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject topLevel, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartManagerJBridge((TQWidget*) QtSupport::getQt(env, topLevel), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject topLevel, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartManagerJBridge((TQWidget*) QtSupport::getQt(env, topLevel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PartManager_reason(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KParts::PartManager*) QtSupport::getQt(env, obj))->reason(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_removeManagedTopLevelWidget(JNIEnv* env, jobject obj, jobject topLevel) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->removeManagedTopLevelWidget((const TQWidget*) QtSupport::getQt(env, topLevel)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_removePart(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->removePart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject oldPart, jobject newPart) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->replacePart((KParts::Part*) QtSupport::getQt(env, oldPart), (KParts::Part*) QtSupport::getQt(env, newPart)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2Z(JNIEnv* env, jobject obj, jobject oldPart, jobject newPart, jboolean setActive) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->replacePart((KParts::Part*) QtSupport::getQt(env, oldPart), (KParts::Part*) QtSupport::getQt(env, newPart), (bool) setActive); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_selectedPart(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->selectedPart(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_selectedWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->selectedWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActivationButtonMask(JNIEnv* env, jobject obj, jshort buttonMask) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setActivationButtonMask((short int) buttonMask); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActiveInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_setActiveInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setActivePart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject part, jobject widget) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setActivePart((KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setAllowNestedParts(JNIEnv* env, jobject obj, jboolean allow) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setAllowNestedParts((bool) allow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setIgnoreScrollBars(JNIEnv* env, jobject obj, jboolean ignore) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setIgnoreScrollBars((bool) ignore); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setSelectedPart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject part, jobject widget) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setSelectedPart((KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_slotManagedTopLevelWidgetDestroyed(JNIEnv* env, jobject obj) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_slotManagedTopLevelWidgetDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_slotObjectDestroyed(JNIEnv* env, jobject obj) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_slotObjectDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_slotWidgetDestroyed(JNIEnv* env, jobject obj) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_slotWidgetDestroyed(); - return; -} - diff --git a/kdejava/koala/kdejava/PartManager.h b/kdejava/koala/kdejava/PartManager.h deleted file mode 100644 index 06ff3064..00000000 --- a/kdejava/koala/kdejava/PartManager.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartManager__ -#define __org_kde_koala_PartManager__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PartManager_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setAllowNestedParts (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartManager_allowNestedParts (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setIgnoreScrollBars (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartManager_ignoreScrollBars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActivationButtonMask (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_PartManager_activationButtonMask (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartManager_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_removePart (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_activePart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_activeWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_selectedPart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_selectedWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_addManagedTopLevelWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_removeManagedTopLevelWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PartManager_reason (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActiveInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_slotObjectDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_slotWidgetDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_slotManagedTopLevelWidgetDestroyed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartManager__ */ diff --git a/kdejava/koala/kdejava/PartSelectEvent.cpp b/kdejava/koala/kdejava/PartSelectEvent.cpp deleted file mode 100644 index 1efabfe1..00000000 --- a/kdejava/koala/kdejava/PartSelectEvent.cpp +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/event.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/PartSelectEvent.h> - -class PartSelectEventJBridge : public KParts::PartSelectEvent -{ -public: - PartSelectEventJBridge(bool arg1,KParts::Part* arg2,TQWidget* arg3) : KParts::PartSelectEvent(arg1,arg2,arg3) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartSelectEvent_newPartSelectEvent(JNIEnv* env, jobject obj, jboolean selected, jobject part, jobject widget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartSelectEventJBridge((bool) selected, (KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartSelectEvent_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartSelectEvent*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartSelectEvent_selected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartSelectEvent*) QtSupport::getQt(env, obj))->selected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartSelectEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) PartSelectEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartSelectEvent_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartSelectEvent*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/PartSelectEvent.h b/kdejava/koala/kdejava/PartSelectEvent.h deleted file mode 100644 index d5be922f..00000000 --- a/kdejava/koala/kdejava/PartSelectEvent.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartSelectEvent__ -#define __org_kde_koala_PartSelectEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartSelectEvent_newPartSelectEvent (JNIEnv *env, jobject, jboolean, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartSelectEvent_selected (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartSelectEvent_part (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartSelectEvent_widget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartSelectEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartSelectEvent__ */ diff --git a/kdejava/koala/kdejava/PasswordDialog.cpp b/kdejava/koala/kdejava/PasswordDialog.cpp deleted file mode 100644 index 80791b50..00000000 --- a/kdejava/koala/kdejava/PasswordDialog.cpp +++ /dev/null @@ -1,662 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/passdlg.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/PasswordDialog.h> - -class PasswordDialogJBridge : public TDEIO::PasswordDialog -{ -public: - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4,TQWidget* arg5,const char* arg6) : TDEIO::PasswordDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4,TQWidget* arg5) : TDEIO::PasswordDialog(arg1,arg2,arg3,arg4,arg5) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4) : TDEIO::PasswordDialog(arg1,arg2,arg3,arg4) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3) : TDEIO::PasswordDialog(arg1,arg2,arg3) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2) : TDEIO::PasswordDialog(arg1,arg2) {}; - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","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 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.PasswordDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_addCommentLine(JNIEnv* env, jobject obj, jstring label, jstring comment) -{ -static TQString* _qstring_label = 0; -static TQString* _qstring_comment = 0; - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->addCommentLine((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PasswordDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3Z(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2Z(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly, jstring caption) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly, jstring caption, jstring comment) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_comment = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly, jstring caption, jstring comment, jstring label) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_comment = 0; -static TQString* _qstring_label = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PasswordDialog_keepPassword(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->keepPassword(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PasswordDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prompt, jstring user) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep, jboolean modal) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep, jboolean modal, jobject parent) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep, (bool) modal, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep, jboolean modal, jobject parent, jstring name) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep, (bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PasswordDialog_password(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setKeepPassword(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setKeepPassword((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setPassword(JNIEnv* env, jobject obj, jstring password) -{ -static TQString* _qstring_password = 0; - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setPrompt(JNIEnv* env, jobject obj, jstring prompt) -{ -static TQString* _qstring_prompt = 0; - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setPrompt((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setUserReadOnly(JNIEnv* env, jobject obj, jboolean readOnly) -{ - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setUserReadOnly((bool) readOnly); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PasswordDialog_username(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->username(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/PasswordDialog.h b/kdejava/koala/kdejava/PasswordDialog.h deleted file mode 100644 index 3a03d19c..00000000 --- a/kdejava/koala/kdejava/PasswordDialog.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PasswordDialog__ -#define __org_kde_koala_PasswordDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PasswordDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PasswordDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setPrompt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_addCommentLine (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PasswordDialog_password (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PasswordDialog_username (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PasswordDialog_keepPassword (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setKeepPassword (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setUserReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setPassword (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2Z (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3Z (JNIEnv *env, jclass, jobject, jobject, jbooleanArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PasswordDialog__ */ diff --git a/kdejava/koala/kdejava/Plugin.cpp b/kdejava/koala/kdejava/Plugin.cpp deleted file mode 100644 index 88fc1eab..00000000 --- a/kdejava/koala/kdejava/Plugin.cpp +++ /dev/null @@ -1,471 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kxmlguiclient.h> -#include <tdeparts/plugin.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqdom.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Plugin.h> - -class PluginJBridge : public KParts::Plugin -{ -public: - PluginJBridge(TQObject* arg1,const char* arg2) : KParts::Plugin(arg1,arg2) {}; - PluginJBridge(TQObject* arg1) : KParts::Plugin(arg1) {}; - PluginJBridge() : KParts::Plugin() {}; - void protected_setInstance(TDEInstance* arg1) { - KParts::Plugin::setInstance(arg1); - return; - } - static KParts::Plugin* protected_loadPlugin(TQObject* arg1,const char* arg2) { - return (KParts::Plugin*) KParts::Plugin::loadPlugin(arg1,arg2); - } - 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 removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.Plugin","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Plugin",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - Plugin::setInstance(arg1); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KParts::Plugin*) 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_Plugin_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KParts::Plugin*) 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_Plugin_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_conserveMemory(JNIEnv* env, jobject obj) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = PluginJBridge::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 void JNICALL -Java_org_kde_koala_Plugin_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_loadPlugin(JNIEnv* env, jclass cls, jobject parent, jstring libname) -{ - (void) cls; -static TQCString* _qstring_libname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)PluginJBridge::protected_loadPlugin((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, libname, &_qstring_libname)), "org.kde.koala.Plugin"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jobject parent, jobject instance) -{ - (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (const TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jobject parent, jobject parentGUIClient, jobject instance) -{ - (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jclass cls, jobject parent, jobject parentGUIClient, jobject instance, jboolean enableNewPluginsByDefault) -{ - (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance), (bool) enableNewPluginsByDefault); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Plugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_newPlugin__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PluginJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PluginJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PluginJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) 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_Plugin_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) 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_Plugin_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/Plugin.h b/kdejava/koala/kdejava/Plugin.h deleted file mode 100644 index 7b05ee91..00000000 --- a/kdejava/koala/kdejava/Plugin.h +++ /dev/null @@ -1,63 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Plugin__ -#define __org_kde_koala_Plugin__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_loadPlugin (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Plugin__ */ diff --git a/kdejava/koala/kdejava/PreviewJob.cpp b/kdejava/koala/kdejava/PreviewJob.cpp deleted file mode 100644 index abdfa85f..00000000 --- a/kdejava/koala/kdejava/PreviewJob.cpp +++ /dev/null @@ -1,183 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/browserextension.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdeio/previewjob.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/PreviewJob.h> - -class PreviewJobJBridge : public TDEIO::PreviewJob -{ -public: - PreviewJobJBridge(const KFileItemList& arg1,int arg2,int arg3,int arg4,int arg5,bool arg6,bool arg7,const TQStringList* arg8,bool arg9) : TDEIO::PreviewJob(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - PreviewJobJBridge(const KFileItemList& arg1,int arg2,int arg3,int arg4,int arg5,bool arg6,bool arg7,const TQStringList* arg8) : TDEIO::PreviewJob(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - void protected_getOrCreateThumbnail() { - TDEIO::PreviewJob::getOrCreateThumbnail(); - return; - } - bool protected_statResultThumbnail() { - return (bool) TDEIO::PreviewJob::statResultThumbnail(); - } - void protected_createThumbnail(TQString arg1) { - TDEIO::PreviewJob::createThumbnail(arg1); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::PreviewJob::slotResult(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - PreviewJob::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.PreviewJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PreviewJob_availablePlugins(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = PreviewJobJBridge::availablePlugins(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PreviewJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_createThumbnail(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_createThumbnail((TQString)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_getOrCreateThumbnail(JNIEnv* env, jobject obj) -{ - ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_getOrCreateThumbnail(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PreviewJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins) -{ -static KFileItemList* _qlist_items = 0; -static TQStringList* _qlist_enabledPlugins = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PreviewJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (const TQStringList*) QtSupport::toTQStringList(env, enabledPlugins, &_qlist_enabledPlugins))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins, jboolean deleteItems) -{ -static KFileItemList* _qlist_items = 0; -static TQStringList* _qlist_enabledPlugins = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PreviewJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (const TQStringList*) QtSupport::toTQStringList(env, enabledPlugins, &_qlist_enabledPlugins), (bool) deleteItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__(JNIEnv* env, jobject obj) -{ - ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__Z(JNIEnv* env, jobject obj, jboolean ignoreSize) -{ - ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize((bool) ignoreSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PreviewJob_statResultThumbnail(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_statResultThumbnail(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PreviewJob_supportedMimeTypes(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = PreviewJobJBridge::supportedMimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/PreviewJob.h b/kdejava/koala/kdejava/PreviewJob.h deleted file mode 100644 index 62b204a2..00000000 --- a/kdejava/koala/kdejava/PreviewJob.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PreviewJob__ -#define __org_kde_koala_PreviewJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PreviewJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PreviewJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jboolean, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jboolean, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PreviewJob_availablePlugins (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PreviewJob_supportedMimeTypes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_getOrCreateThumbnail (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PreviewJob_statResultThumbnail (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_createThumbnail (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_slotResult (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PreviewJob__ */ diff --git a/kdejava/koala/kdejava/ProcessingInstruction.cpp b/kdejava/koala/kdejava/ProcessingInstruction.cpp deleted file mode 100644 index 17c76a7a..00000000 --- a/kdejava/koala/kdejava/ProcessingInstruction.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_xml.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/css_stylesheet.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/ProcessingInstruction.h> - -class ProcessingInstructionJBridge : public DOM::ProcessingInstruction -{ -public: - ProcessingInstructionJBridge() : DOM::ProcessingInstruction() {}; - ProcessingInstructionJBridge(const DOM::ProcessingInstruction& arg1) : DOM::ProcessingInstruction(arg1) {}; - ProcessingInstructionJBridge(const DOM::Node& arg1) : DOM::ProcessingInstruction(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ProcessingInstruction_data(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->data(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProcessingInstructionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProcessingInstructionJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_ProcessingInstruction_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProcessingInstructionJBridge((const DOM::ProcessingInstruction&)*(const DOM::ProcessingInstruction*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_setData(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->setData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ProcessingInstruction_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ProcessingInstruction_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/ProcessingInstruction.h b/kdejava/koala/kdejava/ProcessingInstruction.h deleted file mode 100644 index 8362df12..00000000 --- a/kdejava/koala/kdejava/ProcessingInstruction.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ProcessingInstruction__ -#define __org_kde_koala_ProcessingInstruction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_ProcessingInstruction_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ProcessingInstruction_target (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ProcessingInstruction_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ProcessingInstruction_sheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ProcessingInstruction__ */ diff --git a/kdejava/koala/kdejava/ProgressBase.cpp b/kdejava/koala/kdejava/ProgressBase.cpp deleted file mode 100644 index ad277a57..00000000 --- a/kdejava/koala/kdejava/ProgressBase.cpp +++ /dev/null @@ -1,579 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tdeio/progressbase.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/ProgressBase.h> - -class ProgressBaseJBridge : public TDEIO::ProgressBase -{ -public: - ProgressBaseJBridge(TQWidget* arg1) : TDEIO::ProgressBase(arg1) {}; - void public_slotClean() { - TDEIO::ProgressBase::slotClean(); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TDEIO::ProgressBase::closeEvent(arg1); - return; - } - void protected_slotFinished(TDEIO::Job* arg1) { - TDEIO::ProgressBase::slotFinished(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")) { - TQWidget::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","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.ProgressBase","show")) { - TQWidget::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.ProgressBase","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","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")) { - ProgressBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","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 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.ProgressBase","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 slotClean() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","slotClean")) { - ProgressBase::slotClean(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.ProgressBase",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ProgressBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((ProgressBaseJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_finished(JNIEnv* env, jobject obj) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->finished(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ProgressBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_newProgressBase(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProgressBaseJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ProgressBase_onlyClean(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->onlyClean(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_CopyJob_2(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setJob((TDEIO::CopyJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_DeleteJob_2(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setJob((TDEIO::DeleteJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_Job_2(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setJob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setOnlyClean(JNIEnv* env, jobject obj, jboolean onlyClean) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setOnlyClean((bool) onlyClean); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setStopOnClose(JNIEnv* env, jobject obj, jboolean stopOnClose) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setStopOnClose((bool) stopOnClose); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotCanResume(JNIEnv* env, jobject obj, jobject job, jlong from) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotCanResume((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) from); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotClean(JNIEnv* env, jobject obj) -{ - ((ProgressBaseJBridge*) QtSupport::getQt(env, obj))->public_slotClean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotCopying(JNIEnv* env, jobject obj, jobject job, jobject src, jobject dest) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotCopying((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotCreatingDir(JNIEnv* env, jobject obj, jobject job, jobject dir) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotCreatingDir((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotDeleting(JNIEnv* env, jobject obj, jobject job, jobject url) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotDeleting((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotFinished(JNIEnv* env, jobject obj, jobject arg1) -{ - ((ProgressBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotMoving(JNIEnv* env, jobject obj, jobject job, jobject src, jobject dest) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotMoving((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotPercent(JNIEnv* env, jobject obj, jobject job, jlong percent) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotProcessedDirs(JNIEnv* env, jobject obj, jobject job, jlong dirs) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotProcessedDirs((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotProcessedFiles(JNIEnv* env, jobject obj, jobject job, jlong files) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotProcessedFiles((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotProcessedSize(JNIEnv* env, jobject obj, jobject job, jlong bytes) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) bytes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotSpeed(JNIEnv* env, jobject obj, jobject job, jlong speed) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotStop(JNIEnv* env, jobject obj) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotStop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotTotalDirs(JNIEnv* env, jobject obj, jobject job, jlong dirs) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotTotalDirs((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotTotalFiles(JNIEnv* env, jobject obj, jobject job, jlong files) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotTotalFiles((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotTotalSize(JNIEnv* env, jobject obj, jobject job, jlong size) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ProgressBase_stopOnClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->stopOnClose(); - return xret; -} - diff --git a/kdejava/koala/kdejava/ProgressBase.h b/kdejava/koala/kdejava/ProgressBase.h deleted file mode 100644 index 9d535fce..00000000 --- a/kdejava/koala/kdejava/ProgressBase.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ProgressBase__ -#define __org_kde_koala_ProgressBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ProgressBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ProgressBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_newProgressBase (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_Job_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_CopyJob_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_DeleteJob_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setStopOnClose (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ProgressBase_stopOnClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setOnlyClean (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ProgressBase_onlyClean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_finished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotStop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotClean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotTotalFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotTotalDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotProcessedFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotProcessedDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotCopying (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotMoving (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotDeleting (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotCreatingDir (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotCanResume (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotFinished (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ProgressBase__ */ diff --git a/kdejava/koala/kdejava/RGBColor.cpp b/kdejava/koala/kdejava/RGBColor.cpp deleted file mode 100644 index b6eb1788..00000000 --- a/kdejava/koala/kdejava/RGBColor.cpp +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> -#include <tqwindowdefs.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/RGBColor.h> - -class RGBColorJBridge : public DOM::RGBColor -{ -public: - RGBColorJBridge() : DOM::RGBColor() {}; - RGBColorJBridge(TQRgb arg1) : DOM::RGBColor(arg1) {}; - RGBColorJBridge(const DOM::RGBColor& arg1) : DOM::RGBColor(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RGBColor_blue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::RGBColor*) QtSupport::getQt(env, obj))->blue()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_RGBColor_color(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::RGBColor*) QtSupport::getQt(env, obj))->color(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RGBColor_green(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::RGBColor*) QtSupport::getQt(env, obj))->green()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RGBColor_newRGBColor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RGBColorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RGBColor_newRGBColor__I(JNIEnv* env, jobject obj, jint color) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RGBColorJBridge((TQRgb) color)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RGBColor_newRGBColor__Lorg_kde_koala_RGBColor_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RGBColorJBridge((const DOM::RGBColor&)*(const DOM::RGBColor*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RGBColor_red(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::RGBColor*) QtSupport::getQt(env, obj))->red()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/RGBColor.h b/kdejava/koala/kdejava/RGBColor.h deleted file mode 100644 index 7aa3f5e0..00000000 --- a/kdejava/koala/kdejava/RGBColor.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_RGBColor__ -#define __org_kde_koala_RGBColor__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_RGBColor_newRGBColor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RGBColor_newRGBColor__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RGBColor_newRGBColor__Lorg_kde_koala_RGBColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RGBColor_red (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RGBColor_green (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RGBColor_blue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_RGBColor_color (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_RGBColor__ */ diff --git a/kdejava/koala/kdejava/Range.cpp b/kdejava/koala/kdejava/Range.cpp deleted file mode 100644 index e017052f..00000000 --- a/kdejava/koala/kdejava/Range.cpp +++ /dev/null @@ -1,258 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom2_range.h> -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/dom_doc.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Range.h> - -class RangeJBridge : public DOM::Range -{ -public: - RangeJBridge() : DOM::Range() {}; - RangeJBridge(const DOM::Document arg1) : DOM::Range(arg1) {}; - RangeJBridge(const DOM::Range& arg1) : DOM::Range(arg1) {}; - RangeJBridge(const DOM::Node arg1,const long arg2,const DOM::Node arg3,const long arg4) : DOM::Range(arg1,arg2,arg3,arg4) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_boundaryPointsValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->boundaryPointsValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_cloneContents(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Range*) QtSupport::getQt(env, obj))->cloneContents()), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_cloneRange(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((DOM::Range*) QtSupport::getQt(env, obj))->cloneRange()), "org.kde.koala.Range", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_collapse(JNIEnv* env, jobject obj, jboolean toStart) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->collapse((bool) toStart); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_collapsed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->collapsed(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_commonAncestorContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Range*) QtSupport::getQt(env, obj))->commonAncestorContainer()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_createContextualFragment(JNIEnv* env, jobject obj, jstring html) -{ -static DOM::DOMString* _domstring_html = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Range*) QtSupport::getQt(env, obj))->createContextualFragment((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, html, &_domstring_html))), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_deleteContents(JNIEnv* env, jobject obj) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->deleteContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_detach(JNIEnv* env, jobject obj) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_endContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Range*) QtSupport::getQt(env, obj))->endContainer()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Range_endOffset(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::Range*) QtSupport::getQt(env, obj))->endOffset(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_extractContents(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Range*) QtSupport::getQt(env, obj))->extractContents()), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_insertNode(JNIEnv* env, jobject obj, jobject newNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->insertNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newNode)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_isDetached(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->isDetached(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Document_2(JNIEnv* env, jobject obj, jobject rootContainer) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge((const DOM::Document)*(const DOM::Document*) QtSupport::getQt(env, rootContainer))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject startContainer, jlong startOffset, jobject endContainer, jlong endOffset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge((const DOM::Node)*(const DOM::Node*) QtSupport::getQt(env, startContainer), (const long) startOffset, (const DOM::Node)*(const DOM::Node*) QtSupport::getQt(env, endContainer), (const long) endOffset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Range_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge((const DOM::Range&)*(const DOM::Range*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_selectNodeContents(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->selectNodeContents((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_selectNode(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->selectNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setEndAfter(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setEndAfter((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setEndBefore(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setEndBefore((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setEnd(JNIEnv* env, jobject obj, jobject refNode, jlong offset) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setEnd((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode), (long) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setStartAfter(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setStartAfter((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setStartBefore(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setStartBefore((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setStart(JNIEnv* env, jobject obj, jobject refNode, jlong offset) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setStart((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode), (long) offset); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_startContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Range*) QtSupport::getQt(env, obj))->startContainer()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Range_startOffset(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::Range*) QtSupport::getQt(env, obj))->startOffset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_surroundContents(JNIEnv* env, jobject obj, jobject newParent) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->surroundContents((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newParent)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Range_toHTML(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Range*) QtSupport::getQt(env, obj))->toHTML(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Range_toString(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Range*) QtSupport::getQt(env, obj))->toString(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Range.h b/kdejava/koala/kdejava/Range.h deleted file mode 100644 index e942043b..00000000 --- a/kdejava/koala/kdejava/Range.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Range__ -#define __org_kde_koala_Range__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Document_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Range_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J (JNIEnv *env, jobject, jobject, jlong, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_startContainer (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Range_startOffset (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_endContainer (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Range_endOffset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_collapsed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_commonAncestorContainer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setStart (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setEnd (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setStartBefore (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setStartAfter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setEndBefore (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setEndAfter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_collapse (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_selectNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_selectNodeContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_boundaryPointsValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_deleteContents (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_extractContents (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_cloneContents (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_insertNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_surroundContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_cloneRange (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Range_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Range_toHTML (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_createContextualFragment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_isDetached (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Range__ */ diff --git a/kdejava/koala/kdejava/RangeException.cpp b/kdejava/koala/kdejava/RangeException.cpp deleted file mode 100644 index 333fc4cc..00000000 --- a/kdejava/koala/kdejava/RangeException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom2_range.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/RangeException.h> - -class RangeExceptionJBridge : public DOM::RangeException -{ -public: - RangeExceptionJBridge(unsigned short arg1) : DOM::RangeException(arg1) {}; - RangeExceptionJBridge(const DOM::RangeException& arg1) : DOM::RangeException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_RangeException_newRangeException__Lorg_kde_koala_RangeException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeExceptionJBridge((const DOM::RangeException&)*(const DOM::RangeException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RangeException_newRangeException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/RangeException.h b/kdejava/koala/kdejava/RangeException.h deleted file mode 100644 index af62956e..00000000 --- a/kdejava/koala/kdejava/RangeException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_RangeException__ -#define __org_kde_koala_RangeException__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_RangeException_newRangeException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RangeException_newRangeException__Lorg_kde_koala_RangeException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_RangeException__ */ diff --git a/kdejava/koala/kdejava/ReadOnlyPart.cpp b/kdejava/koala/kdejava/ReadOnlyPart.cpp deleted file mode 100644 index db8a1870..00000000 --- a/kdejava/koala/kdejava/ReadOnlyPart.cpp +++ /dev/null @@ -1,90 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeparts/part.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/ReadOnlyPart.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ReadOnlyPart_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_closeStream(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->closeStream(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_closeURL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->closeURL(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_isProgressInfoEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->isProgressInfoEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ReadOnlyPart_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_openStream(JNIEnv* env, jobject obj, jstring mimeType, jobject url) -{ -static TQString* _qstring_mimeType = 0; - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->openStream((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_openURL(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadOnlyPart_setProgressInfoEnabled(JNIEnv* env, jobject obj, jboolean show) -{ - ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->setProgressInfoEnabled((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadOnlyPart_showProgressInfo(JNIEnv* env, jobject obj, jboolean show) -{ - ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->showProgressInfo((bool) show); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ReadOnlyPart_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_writeStream(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->writeStream((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/kdejava/koala/kdejava/ReadOnlyPart.h b/kdejava/koala/kdejava/ReadOnlyPart.h deleted file mode 100644 index b47e5ee8..00000000 --- a/kdejava/koala/kdejava/ReadOnlyPart.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ReadOnlyPart__ -#define __org_kde_koala_ReadOnlyPart__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ReadOnlyPart_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ReadOnlyPart_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadOnlyPart_setProgressInfoEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_isProgressInfoEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadOnlyPart_showProgressInfo (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ReadOnlyPart_url (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_closeURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_openStream (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_writeStream (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_closeStream (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_openURL (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ReadOnlyPart__ */ diff --git a/kdejava/koala/kdejava/ReadWritePart.cpp b/kdejava/koala/kdejava/ReadWritePart.cpp deleted file mode 100644 index 890ace43..00000000 --- a/kdejava/koala/kdejava/ReadWritePart.cpp +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/part.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/ReadWritePart.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ReadWritePart_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_closeURL__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->closeURL(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_closeURL__Z(JNIEnv* env, jobject obj, jboolean promptToSave) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->closeURL((bool) promptToSave); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_isReadWrite(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->isReadWrite(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ReadWritePart_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_queryClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->queryClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_saveAs(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->saveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setModified__(JNIEnv* env, jobject obj) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setModified(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setModified__Z(JNIEnv* env, jobject obj, jboolean modified) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setModified((bool) modified); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setReadWrite__(JNIEnv* env, jobject obj) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setReadWrite(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setReadWrite__Z(JNIEnv* env, jobject obj, jboolean readwrite) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setReadWrite((bool) readwrite); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_waitSaveComplete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->waitSaveComplete(); - return xret; -} - diff --git a/kdejava/koala/kdejava/ReadWritePart.h b/kdejava/koala/kdejava/ReadWritePart.h deleted file mode 100644 index 06847ece..00000000 --- a/kdejava/koala/kdejava/ReadWritePart.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ReadWritePart__ -#define __org_kde_koala_ReadWritePart__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ReadWritePart_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ReadWritePart_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_isReadWrite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setReadWrite__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setReadWrite__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_queryClose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_closeURL__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_closeURL__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_saveAs (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setModified__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setModified__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_save (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_waitSaveComplete (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ReadWritePart__ */ diff --git a/kdejava/koala/kdejava/Rect.cpp b/kdejava/koala/kdejava/Rect.cpp deleted file mode 100644 index 2c03b27d..00000000 --- a/kdejava/koala/kdejava/Rect.cpp +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/css_value.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Rect.h> - -class RectJBridge : public DOM::Rect -{ -public: - RectJBridge() : DOM::Rect() {}; - RectJBridge(const DOM::Rect& arg1) : DOM::Rect(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_bottom(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->bottom()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Rect_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Rect*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_left(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->left()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Rect_newRect__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Rect_newRect__Lorg_kde_koala_Rect_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RectJBridge((const DOM::Rect&)*(const DOM::Rect*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_right(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->right()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_top(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->top()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/Rect.h b/kdejava/koala/kdejava/Rect.h deleted file mode 100644 index 5b874c54..00000000 --- a/kdejava/koala/kdejava/Rect.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Rect__ -#define __org_kde_koala_Rect__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Rect_newRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Rect_newRect__Lorg_kde_koala_Rect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_top (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_right (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_left (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Rect_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Rect__ */ diff --git a/kdejava/koala/kdejava/RenameDlg.cpp b/kdejava/koala/kdejava/RenameDlg.cpp deleted file mode 100644 index 6d8edff4..00000000 --- a/kdejava/koala/kdejava/RenameDlg.cpp +++ /dev/null @@ -1,567 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/renamedlg.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/RenameDlg.h> - -class RenameDlgJBridge : public TDEIO::RenameDlg -{ -public: - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9,time_t arg10,time_t arg11,bool arg12) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9,time_t arg10,time_t arg11) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9,time_t arg10) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5) {}; - void protected_enableRenameButton(const TQString& arg1) { - TDEIO::RenameDlg::enableRenameButton(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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","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")) { - TQDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","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 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.RenameDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b0Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b0Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b1Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b1Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b2Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b2Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b3Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b3Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b4Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b4Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b5Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b5Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b6Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b6Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b7Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b7Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b8Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b8Pressed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_RenameDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_enableRenameButton(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((RenameDlgJBridge*) QtSupport::getQt(env, obj))->protected_enableRenameButton((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RenameDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RenameDlg_newDestURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->newDestURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJI(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJII(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIII(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIII(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIIIZ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_RenameDlg_suggestName(JNIEnv* env, jclass cls, jobject baseURL, jstring oldName) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_oldName = 0; - _qstring = RenameDlgJBridge::suggestName((const KURL&)*(const KURL*) QtSupport::getQt(env, baseURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, oldName, &_qstring_oldName)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/RenameDlg.h b/kdejava/koala/kdejava/RenameDlg.h deleted file mode 100644 index 8959a2dd..00000000 --- a/kdejava/koala/kdejava/RenameDlg.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_RenameDlg__ -#define __org_kde_koala_RenameDlg__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RenameDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_RenameDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIIIZ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJI (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RenameDlg_newDestURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b0Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b1Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b2Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b3Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b4Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b5Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b6Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b7Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b8Pressed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_RenameDlg_suggestName (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_enableRenameButton (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_RenameDlg__ */ diff --git a/kdejava/koala/kdejava/Scheduler.cpp b/kdejava/koala/kdejava/Scheduler.cpp deleted file mode 100644 index 85b27f7e..00000000 --- a/kdejava/koala/kdejava/Scheduler.cpp +++ /dev/null @@ -1,484 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tdeio/scheduler.h> -#include <dcopclient.h> -#include <tqstring.h> -#include <dcopobject.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <qtjava/JavaSlot.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Scheduler.h> - -class SchedulerJBridge : public TDEIO::Scheduler -{ -public: - void protected_setupSlave(TDEIO::Slave* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,bool arg5) { - TDEIO::Scheduler::setupSlave(arg1,arg2,arg3,arg4,arg5); - return; - } - bool protected_startJobDirect() { - return (bool) TDEIO::Scheduler::startJobDirect(); - } - SchedulerJBridge() : TDEIO::Scheduler() {}; - void protected_startStep() { - TDEIO::Scheduler::startStep(); - return; - } - void protected_slotCleanIdleSlaves() { - TDEIO::Scheduler::slotCleanIdleSlaves(); - return; - } - void protected_slotSlaveConnected() { - TDEIO::Scheduler::slotSlaveConnected(); - return; - } - void protected_slotSlaveError(int arg1,const TQString& arg2) { - TDEIO::Scheduler::slotSlaveError(arg1,arg2); - return; - } - void protected_slotScheduleCoSlave() { - TDEIO::Scheduler::slotScheduleCoSlave(); - return; - } - void protected_slotUnregisterWindow(TQObject* arg1) { - TDEIO::Scheduler::slotUnregisterWindow(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Scheduler",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_assignJobToSlave(JNIEnv* env, jclass cls, jobject slave, jobject job) -{ - (void) cls; - jboolean xret = (jboolean) SchedulerJBridge::assignJobToSlave((TDEIO::Slave*) QtSupport::getQt(env, slave), (TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_cancelJob(JNIEnv* env, jclass cls, jobject job) -{ - (void) cls; - SchedulerJBridge::cancelJob((TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_checkSlaveOnHold(JNIEnv* env, jclass cls, jboolean b) -{ - (void) cls; - (void) env; - SchedulerJBridge::checkSlaveOnHold((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Scheduler_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject sender, jstring signal, jobject receiver, jstring member) -{ - (void) cls; -static TQCString* _qstring_signal = 0; - jboolean xret = (jboolean) SchedulerJBridge::connect((const TQObject*) QtSupport::getQt(env, sender), (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_debug_1info(JNIEnv* env, jobject obj) -{ - ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->debug_info(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_disconnectSlave(JNIEnv* env, jclass cls, jobject slave) -{ - (void) cls; - jboolean xret = (jboolean) SchedulerJBridge::disconnectSlave((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_doJob(JNIEnv* env, jclass cls, jobject job) -{ - (void) cls; - SchedulerJBridge::doJob((TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)SchedulerJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_getConnectedSlave(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)SchedulerJBridge::getConnectedSlave((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.Slave"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) SchedulerJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_jobFinished(JNIEnv* env, jclass cls, jobject job, jobject slave) -{ - (void) cls; - SchedulerJBridge::jobFinished((TDEIO::SimpleJob*) QtSupport::getQt(env, job), (TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_newScheduler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SchedulerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Scheduler_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Scheduler_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = SchedulerJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_publishSlaveOnHold(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - SchedulerJBridge::publishSlaveOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_putSlaveOnHold(JNIEnv* env, jclass cls, jobject job, jobject url) -{ - (void) cls; - SchedulerJBridge::putSlaveOnHold((TDEIO::SimpleJob*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_registerWindow(JNIEnv* env, jclass cls, jobject wid) -{ - (void) cls; - SchedulerJBridge::registerWindow((TQWidget*) QtSupport::getQt(env, wid)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_removeSlaveOnHold(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - SchedulerJBridge::removeSlaveOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_scheduleJob(JNIEnv* env, jclass cls, jobject job) -{ - (void) cls; - SchedulerJBridge::scheduleJob((TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_setupSlave(JNIEnv* env, jobject obj, jobject slave, jobject url, jstring protocol, jstring proxy, jboolean newSlave) -{ -static TQString* _qstring_protocol = 0; -static TQString* _qstring_proxy = 0; - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_setupSlave((TDEIO::Slave*) QtSupport::getQt(env, slave), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (const TQString&)*(TQString*) QtSupport::toTQString(env, proxy, &_qstring_proxy), (bool) newSlave); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotCleanIdleSlaves(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotCleanIdleSlaves(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotScheduleCoSlave(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotScheduleCoSlave(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveConnected(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotSlaveConnected(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveDied(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->slotSlaveDied((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveError(JNIEnv* env, jobject obj, jint error, jstring errorMsg) -{ -static TQString* _qstring_errorMsg = 0; - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotSlaveError((int) error, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorMsg, &_qstring_errorMsg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveStatus(JNIEnv* env, jobject obj, jint pid, jstring protocol, jstring host, jboolean connected) -{ -static TQCString* _qcstring_protocol = 0; -static TQString* _qstring_host = 0; - ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->slotSlaveStatus((pid_t) pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, protocol, &_qcstring_protocol), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) connected); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotUnregisterWindow(JNIEnv* env, jobject obj, jobject arg1) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotUnregisterWindow((TQObject*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_startJobDirect(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_startJobDirect(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_startStep(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_startStep(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_unregisterWindow(JNIEnv* env, jclass cls, jobject wid) -{ - (void) cls; - SchedulerJBridge::unregisterWindow((TQObject*) QtSupport::getQt(env, wid)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring signal, jobject receiver, jstring member) -{ - (void) cls; - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - TQString qtSignalName(javaSlot->javaToQtSignalName(env, signal, 0)); - jboolean xret = (jboolean) SchedulerJBridge::connect((const char*) qtSignalName, (const TQObject*) javaSlot, javaSlot->javaToQtSlotName(env, member, qtSignalName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject sender, jstring signal, jstring member) -{ - return QtSupport::connect(env, sender, signal, obj, member); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_disconnect(JNIEnv *env, jclass cls, jobject sender, jstring signal, jobject receiver, jstring member) -{ - (void) cls; - return QtSupport::disconnect(env, sender, signal, receiver, member); -} - diff --git a/kdejava/koala/kdejava/Scheduler.h b/kdejava/koala/kdejava/Scheduler.h deleted file mode 100644 index 608f6ea8..00000000 --- a/kdejava/koala/kdejava/Scheduler.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Scheduler__ -#define __org_kde_koala_Scheduler__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Scheduler_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_debug_1info (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveDied (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveStatus (JNIEnv *env, jobject, jint, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_doJob (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_scheduleJob (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_cancelJob (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_jobFinished (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_putSlaveOnHold (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_removeSlaveOnHold (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_publishSlaveOnHold (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_getConnectedSlave (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_assignJobToSlave (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_disconnectSlave (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_registerWindow (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_unregisterWindow (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_disconnect (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_checkSlaveOnHold (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_setupSlave (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_startJobDirect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_newScheduler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_startStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotCleanIdleSlaves (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveConnected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveError (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotScheduleCoSlave (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotUnregisterWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Scheduler_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Scheduler_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Scheduler__ */ diff --git a/kdejava/koala/kdejava/SessionData.cpp b/kdejava/koala/kdejava/SessionData.cpp deleted file mode 100644 index 0ffa30c1..00000000 --- a/kdejava/koala/kdejava/SessionData.cpp +++ /dev/null @@ -1,112 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/sessiondata.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/SessionData.h> - -class SessionDataJBridge : public TDEIO::SessionData -{ -public: - SessionDataJBridge() : TDEIO::SessionData() {}; - void public_reset() { - TDEIO::SessionData::reset(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reset() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SessionData","reset")) { - SessionData::reset(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.SessionData",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SessionData_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SessionData*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SessionData_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SessionData*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_newSessionData(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SessionDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_reset(JNIEnv* env, jobject obj) -{ - ((SessionDataJBridge*) QtSupport::getQt(env, obj))->public_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_slotAuthData(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jboolean arg3) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_arg2 = 0; - ((TDEIO::SessionData*) QtSupport::getQt(env, obj))->slotAuthData((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg2, &_qcstring_arg2), (bool) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_slotDelAuthData(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qcstring_arg1 = 0; - ((TDEIO::SessionData*) QtSupport::getQt(env, obj))->slotDelAuthData((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/SessionData.h b/kdejava/koala/kdejava/SessionData.h deleted file mode 100644 index e90b35ad..00000000 --- a/kdejava/koala/kdejava/SessionData.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SessionData__ -#define __org_kde_koala_SessionData__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SessionData_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SessionData_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_newSessionData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_slotAuthData (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_slotDelAuthData (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SessionData__ */ diff --git a/kdejava/koala/kdejava/SimpleJob.cpp b/kdejava/koala/kdejava/SimpleJob.cpp deleted file mode 100644 index 664e948a..00000000 --- a/kdejava/koala/kdejava/SimpleJob.cpp +++ /dev/null @@ -1,282 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/SimpleJob.h> - -class SimpleJobJBridge : public TDEIO::SimpleJob -{ -public: - SimpleJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,bool arg4) : TDEIO::SimpleJob(arg1,arg2,arg3,arg4) {}; - void public_kill() { - TDEIO::SimpleJob::kill(); - return; - } - void public_putOnHold() { - TDEIO::SimpleJob::putOnHold(); - return; - } - void protected_storeSSLSessionFromJob(const KURL& arg1) { - TDEIO::SimpleJob::storeSSLSessionFromJob(arg1); - return; - } - void protected_slotFinished() { - TDEIO::SimpleJob::slotFinished(); - return; - } - void protected_slotWarning(const TQString& arg1) { - TDEIO::SimpleJob::slotWarning(arg1); - return; - } - void protected_slotInfoMessage(const TQString& arg1) { - TDEIO::SimpleJob::slotInfoMessage(arg1); - return; - } - void protected_slotConnected() { - TDEIO::SimpleJob::slotConnected(); - return; - } - void protected_slotProcessedSize(TDEIO::filesize_t arg1) { - TDEIO::SimpleJob::slotProcessedSize(arg1); - return; - } - void protected_slotSpeed(unsigned long arg1) { - TDEIO::SimpleJob::slotSpeed(arg1); - return; - } - void protected_slotNeedProgressId() { - TDEIO::SimpleJob::slotNeedProgressId(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SimpleJob","slotFinished")) { - SimpleJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - Job::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - SimpleJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.SimpleJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SimpleJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SimpleJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SimpleJob_command(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->command(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_kill__(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->public_kill(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_kill__Z(JNIEnv* env, jobject obj, jboolean quietly) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->kill((bool) quietly); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SimpleJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_newSimpleJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SimpleJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_putOnHold(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->public_putOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_removeOnHold(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - SimpleJobJBridge::removeOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slaveDone(JNIEnv* env, jobject obj) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slaveDone(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SimpleJob_slave(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slave(), "org.kde.koala.Slave"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotConnected(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotConnected(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotError(JNIEnv* env, jobject obj, jint arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slotError((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotInfoMessage(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotInfoMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotNeedProgressId(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotNeedProgressId(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotProcessedSize(JNIEnv* env, jobject obj, jlong data_size) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotProcessedSize((TDEIO::filesize_t) data_size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotSpeed(JNIEnv* env, jobject obj, jlong speed) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotSpeed((unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotTotalSize(JNIEnv* env, jobject obj, jlong data_size) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::filesize_t) data_size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotWarning(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotWarning((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_storeSSLSessionFromJob(JNIEnv* env, jobject obj, jobject m_redirectionURL) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_storeSSLSessionFromJob((const KURL&)*(const KURL*) QtSupport::getQt(env, m_redirectionURL)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SimpleJob_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - diff --git a/kdejava/koala/kdejava/SimpleJob.h b/kdejava/koala/kdejava/SimpleJob.h deleted file mode 100644 index 0c4a441e..00000000 --- a/kdejava/koala/kdejava/SimpleJob.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SimpleJob__ -#define __org_kde_koala_SimpleJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SimpleJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SimpleJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_newSimpleJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SimpleJob_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_kill__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_kill__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_putOnHold (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slaveDone (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SimpleJob_slave (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SimpleJob_command (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotTotalSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotError (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_removeOnHold (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_storeSSLSessionFromJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotWarning (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotInfoMessage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotConnected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotProcessedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotSpeed (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotNeedProgressId (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SimpleJob__ */ diff --git a/kdejava/koala/kdejava/SkipDlg.cpp b/kdejava/koala/kdejava/SkipDlg.cpp deleted file mode 100644 index 1dc06ee3..00000000 --- a/kdejava/koala/kdejava/SkipDlg.cpp +++ /dev/null @@ -1,406 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeio/skipdlg.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/SkipDlg.h> - -class SkipDlgJBridge : public TDEIO::SkipDlg -{ -public: - SkipDlgJBridge(TQWidget* arg1,bool arg2,const TQString& arg3,bool arg4) : TDEIO::SkipDlg(arg1,arg2,arg3,arg4) {}; - SkipDlgJBridge(TQWidget* arg1,bool arg2,const TQString& arg3) : TDEIO::SkipDlg(arg1,arg2,arg3) {}; - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","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")) { - KDialog::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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","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 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.SkipDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","reject")) { - TQDialog::reject(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_b0Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->b0Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_b1Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->b1Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_b2Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->b2Pressed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SkipDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SkipDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jboolean _multi, jstring _error_text) -{ -static TQString* _qstring__error_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SkipDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) _multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, _error_text, &_qstring__error_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jboolean _multi, jstring _error_text, jboolean _modal) -{ -static TQString* _qstring__error_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SkipDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) _multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, _error_text, &_qstring__error_text), (bool) _modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/SkipDlg.h b/kdejava/koala/kdejava/SkipDlg.h deleted file mode 100644 index da0b677e..00000000 --- a/kdejava/koala/kdejava/SkipDlg.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SkipDlg__ -#define __org_kde_koala_SkipDlg__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SkipDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SkipDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_b0Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_b1Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_b2Pressed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SkipDlg__ */ diff --git a/kdejava/koala/kdejava/Slave.cpp b/kdejava/koala/kdejava/Slave.cpp deleted file mode 100644 index 5a4c8e3e..00000000 --- a/kdejava/koala/kdejava/Slave.cpp +++ /dev/null @@ -1,247 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/slave.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Slave.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Slave_createSlave(JNIEnv* env, jclass cls, jstring protocol, jobject url, jintArray error, jobject error_text) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - int* _int_error = QtSupport::toIntPtr(env, error); -static TQString* _qstring_error_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::Slave::createSlave((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int&) *_int_error, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, error_text, &_qstring_error_text)), "org.kde.koala.Slave"); - env->SetIntArrayRegion(error, 0, 1, (jint *) _int_error); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error_text, error_text); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_deref(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_gotInput(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->gotInput(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Slave_holdSlave(JNIEnv* env, jclass cls, jstring protocol, jobject url) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::Slave::holdSlave((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.Slave"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_hold(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->hold((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_host(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->host(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Slave_idleTime(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->idleTime(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Slave_isAlive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->isAlive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Slave_isConnected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->isConnected(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_kill(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->kill(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Slave_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Slave*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_passwd(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->passwd(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Slave_port(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_protocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->protocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_ref(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_resetHost(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->resetHost(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_resume(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_send__I(JNIEnv* env, jobject obj, jint cmd) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->send((int) cmd); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_send__I_3B(JNIEnv* env, jobject obj, jint cmd, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->send((int) cmd, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setConnected(JNIEnv* env, jobject obj, jboolean c) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setConnected((bool) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setHost(JNIEnv* env, jobject obj, jstring host, jint port, jstring user, jstring passwd) -{ -static TQString* _qstring_host = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_passwd = 0; - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, passwd, &_qstring_passwd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setIdle(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setIdle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setPID(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setPID((pid_t) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setProtocol(JNIEnv* env, jobject obj, jstring protocol) -{ -static TQString* _qstring_protocol = 0; - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_slaveProtocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->slaveProtocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Slave_slave_1pid(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->slave_pid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_suspend(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Slave_suspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->suspended(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_timeout(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->timeout(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Slave.h b/kdejava/koala/kdejava/Slave.h deleted file mode 100644 index f101c42b..00000000 --- a/kdejava/koala/kdejava/Slave.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Slave__ -#define __org_kde_koala_Slave__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Slave_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setPID (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Slave_slave_1pid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_kill (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Slave_isAlive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setHost (JNIEnv *env, jobject, jstring, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_resetHost (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_protocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setProtocol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_slaveProtocol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_host (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Slave_port (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_user (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_passwd (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Slave_suspended (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_send__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_send__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_hold (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Slave_idleTime (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setIdle (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Slave_isConnected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setConnected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_gotInput (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_timeout (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Slave_createSlave (JNIEnv *env, jclass, jstring, jobject, jintArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Slave_holdSlave (JNIEnv *env, jclass, jstring, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Slave__ */ diff --git a/kdejava/koala/kdejava/SlaveBase.cpp b/kdejava/koala/kdejava/SlaveBase.cpp deleted file mode 100644 index 4c586a86..00000000 --- a/kdejava/koala/kdejava/SlaveBase.cpp +++ /dev/null @@ -1,534 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/global.h> -#include <tdeio/authinfo.h> -#include <tdeio/slavebase.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/SlaveBase.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_canResume__(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->canResume(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_canResume__J(JNIEnv* env, jobject obj, jlong offset) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->canResume((TDEIO::filesize_t) offset); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_chmod(JNIEnv* env, jobject obj, jobject url, jint permissions) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->chmod((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_closeConnection(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->closeConnection(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveBase_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfigBase"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_connectSlave(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connectSlave((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_connectTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connectTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_connected(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connected(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveBase_connection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connection(), "org.kde.koala.Connection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_copy(JNIEnv* env, jobject obj, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dataReq(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dataReq(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_data(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->data((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveBase_dcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_del(JNIEnv* env, jobject obj, jobject url, jboolean isfile) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->del((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) isfile); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_disconnectSlave(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->disconnectSlave(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dispatchLoop(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatchLoop(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_dispatch__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatch(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dispatch__I_3B(JNIEnv* env, jobject obj, jint command, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatch((int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dropNetwork__(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dropNetwork(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dropNetwork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dropNetwork((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_errorPage(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->errorPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_error(JNIEnv* env, jobject obj, jint _errid, jstring _text) -{ -static TQString* _qstring__text = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->error((int) _errid, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_exit(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->exit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_finished(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->finished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_get(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->get((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_hasMetaData(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->hasMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_infoMessage(JNIEnv* env, jobject obj, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->infoMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_listDir(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SlaveBase_metaData(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQString* _qstring_key = 0; - _qstring = ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->metaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_mimeType(JNIEnv* env, jobject obj, jstring _type) -{ -static TQString* _qstring__type = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_mimetype(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_mkdir(JNIEnv* env, jobject obj, jobject url, jint permissions) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_multiGet(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->multiGet((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_needSubURLData(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->needSubURLData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_openConnection(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openConnection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject info, jstring errorMsg) -{ -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, errorMsg, &_qstring_errorMsg)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_processedPercent(JNIEnv* env, jobject obj, jfloat percent) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->processedPercent((float) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_processedSize(JNIEnv* env, jobject obj, jlong _bytes) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->processedSize((TDEIO::filesize_t) _bytes); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_proxyConnectTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->proxyConnectTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_put(JNIEnv* env, jobject obj, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_readData(JNIEnv* env, jobject obj, jbyteArray buffer) -{ -static TQByteArray* _qbyteArray_buffer = 0; - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->readData((TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buffer, &_qbyteArray_buffer)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_readTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->readTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_redirection(JNIEnv* env, jobject obj, jobject _url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->redirection((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_rename(JNIEnv* env, jobject obj, jobject src, jobject dest, jboolean overwrite) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->rename((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_reparseConfiguration(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->reparseConfiguration(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_requestNetwork__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->requestNetwork(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_requestNetwork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->requestNetwork((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_responseTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->responseTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_sendMetaData(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->sendMetaData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setConnection(JNIEnv* env, jobject obj, jobject connection) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setConnection((TDEIO::Connection*) QtSupport::getQt(env, connection)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setHost(JNIEnv* env, jobject obj, jstring host, jint port, jstring user, jstring pass) -{ -static TQString* _qstring_host = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setKillFlag(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setKillFlag(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setMetaData(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setSubURL(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setSubURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I(JNIEnv* env, jobject obj, jint timeout) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setTimeoutSpecialCommand((int) timeout); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I_3B(JNIEnv* env, jobject obj, jint timeout, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setTimeoutSpecialCommand((int) timeout, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_sigpipe_1handler(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TDEIO::SlaveBase::sigpipe_handler((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_sigsegv_1handler(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TDEIO::SlaveBase::sigsegv_handler((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_slaveStatus(JNIEnv* env, jobject obj, jstring host, jboolean connected) -{ -static TQString* _qstring_host = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->slaveStatus((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) connected); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_slave_1status(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->slave_status(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_special(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->special((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_speed(JNIEnv* env, jobject obj, jlong _bytes_per_second) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->speed((unsigned long) _bytes_per_second); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_stat(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_symlink(JNIEnv* env, jobject obj, jstring target, jobject dest, jboolean overwrite) -{ -static TQString* _qstring_target = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_totalSize(JNIEnv* env, jobject obj, jlong _bytes) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->totalSize((TDEIO::filesize_t) _bytes); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B(JNIEnv* env, jobject obj, jint expected1, jint expected2, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->waitForAnswer((int) expected1, (int) expected2, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B_3I(JNIEnv* env, jobject obj, jint expected1, jint expected2, jbyteArray data, jintArray pCmd) -{ -static TQByteArray* _qbyteArray_data = 0; - int* _int_pCmd = QtSupport::toIntPtr(env, pCmd); - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->waitForAnswer((int) expected1, (int) expected2, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (int*) _int_pCmd); - env->SetIntArrayRegion(pCmd, 0, 1, (jint *) _int_pCmd); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_warning(JNIEnv* env, jobject obj, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->warning((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_wasKilled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->wasKilled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/SlaveBase.h b/kdejava/koala/kdejava/SlaveBase.h deleted file mode 100644 index ac0d616d..00000000 --- a/kdejava/koala/kdejava/SlaveBase.h +++ /dev/null @@ -1,88 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SlaveBase__ -#define __org_kde_koala_SlaveBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_exit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dispatchLoop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setConnection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveBase_connection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_data (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dataReq (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_error (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_connected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_finished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_needSubURLData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_slaveStatus (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_canResume__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_canResume__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_totalSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_processedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_processedPercent (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_speed (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_redirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_errorPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_mimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_warning (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_infoMessage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setMetaData (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_hasMetaData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SlaveBase_metaData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveBase_config (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setHost (JNIEnv *env, jobject, jstring, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setSubURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_openConnection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_closeConnection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_get (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_put (JNIEnv *env, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_stat (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_mimetype (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_listDir (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_mkdir (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_rename (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_symlink (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_chmod (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_copy (JNIEnv *env, jobject, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_del (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_special (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_multiGet (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_slave_1status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_reparseConfiguration (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_connectTimeout (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_proxyConnectTimeout (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_responseTimeout (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_readTimeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_dispatch__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dispatch__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_readData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_connectSlave (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_disconnectSlave (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_requestNetwork__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_requestNetwork__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dropNetwork__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dropNetwork__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveBase_dcopClient (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B_3I (JNIEnv *env, jobject, jint, jint, jbyteArray, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B (JNIEnv *env, jobject, jint, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_sendMetaData (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_wasKilled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setKillFlag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_sigsegv_1handler (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_sigpipe_1handler (JNIEnv *env, jclass, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SlaveBase__ */ diff --git a/kdejava/koala/kdejava/SlaveInterface.cpp b/kdejava/koala/kdejava/SlaveInterface.cpp deleted file mode 100644 index 9e944a51..00000000 --- a/kdejava/koala/kdejava/SlaveInterface.cpp +++ /dev/null @@ -1,75 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/slaveinterface.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/SlaveInterface.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SlaveInterface_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveInterface_connection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->connection(), "org.kde.koala.Connection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveInterface_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_SlaveInterface_offset(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveInterface_progressId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->progressId(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_sendResumeAnswer(JNIEnv* env, jobject obj, jboolean resume) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->sendResumeAnswer((bool) resume); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_setConnection(JNIEnv* env, jobject obj, jobject connection) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->setConnection((TDEIO::Connection*) QtSupport::getQt(env, connection)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_setOffset(JNIEnv* env, jobject obj, jlong offset) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->setOffset((TDEIO::filesize_t) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_setProgressId(JNIEnv* env, jobject obj, jint id) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->setProgressId((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/SlaveInterface.h b/kdejava/koala/kdejava/SlaveInterface.h deleted file mode 100644 index 4f75a6e6..00000000 --- a/kdejava/koala/kdejava/SlaveInterface.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SlaveInterface__ -#define __org_kde_koala_SlaveInterface__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveInterface_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SlaveInterface_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_setConnection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveInterface_connection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_setProgressId (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveInterface_progressId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_sendResumeAnswer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_setOffset (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_SlaveInterface_offset (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SlaveInterface__ */ diff --git a/kdejava/koala/kdejava/StatJob.cpp b/kdejava/koala/kdejava/StatJob.cpp deleted file mode 100644 index f1a439a2..00000000 --- a/kdejava/koala/kdejava/StatJob.cpp +++ /dev/null @@ -1,146 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/StatJob.h> - -class StatJobJBridge : public TDEIO::StatJob -{ -public: - StatJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,bool arg4) : TDEIO::StatJob(arg1,arg2,arg3,arg4) {}; - void protected_slotRedirection(const KURL& arg1) { - TDEIO::StatJob::slotRedirection(arg1); - return; - } - void protected_slotFinished() { - TDEIO::StatJob::slotFinished(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatJob","slotFinished")) { - StatJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - Job::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - StatJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StatJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StatJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::StatJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_newStatJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_setDetails(JNIEnv* env, jobject obj, jshort details) -{ - ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->setDetails((short int) details); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_setSide(JNIEnv* env, jobject obj, jboolean source) -{ - ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->setSide((bool) source); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((StatJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((StatJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/StatJob.h b/kdejava/koala/kdejava/StatJob.h deleted file mode 100644 index 57569ea8..00000000 --- a/kdejava/koala/kdejava/StatJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StatJob__ -#define __org_kde_koala_StatJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StatJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_newStatJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_setSide (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_setDetails (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_slotRedirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_slotFinished (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StatJob__ */ diff --git a/kdejava/koala/kdejava/StatusBarExtension.cpp b/kdejava/koala/kdejava/StatusBarExtension.cpp deleted file mode 100644 index b92234e7..00000000 --- a/kdejava/koala/kdejava/StatusBarExtension.cpp +++ /dev/null @@ -1,130 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/statusbarextension.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/StatusBarExtension.h> - -class StatusBarExtensionJBridge : public KParts::StatusBarExtension -{ -public: - StatusBarExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::StatusBarExtension(arg1,arg2) {}; - StatusBarExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::StatusBarExtension(arg1) {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StatusBarExtension",object,event)) { - return StatusBarExtension::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_addStatusBarItem(JNIEnv* env, jobject obj, jobject widget, jint stretch, jboolean permanent) -{ - ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->addStatusBarItem((TQWidget*) QtSupport::getQt(env, widget), (int) stretch, (bool) permanent); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusBarExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)StatusBarExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.StatusBarExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StatusBarExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StatusBarExtension_eventFilter(JNIEnv* env, jobject obj, jobject watched, jobject ev) -{ - jboolean xret = (jboolean) ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, watched), (TQEvent*) QtSupport::getQt(env, ev)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusBarExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatusBarExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_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 StatusBarExtensionJBridge((KParts::ReadOnlyPart*) 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_StatusBarExtension_removeStatusBarItem(JNIEnv* env, jobject obj, jobject widget) -{ - ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->removeStatusBarItem((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_setStatusBar(JNIEnv* env, jobject obj, jobject status) -{ - ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->setStatusBar((KStatusBar*) QtSupport::getQt(env, status)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusBarExtension_statusBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.koala.KStatusBar"); - return xret; -} - diff --git a/kdejava/koala/kdejava/StatusBarExtension.h b/kdejava/koala/kdejava/StatusBarExtension.h deleted file mode 100644 index 26841ef8..00000000 --- a/kdejava/koala/kdejava/StatusBarExtension.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StatusBarExtension__ -#define __org_kde_koala_StatusBarExtension__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusBarExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StatusBarExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_addStatusBarItem (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_removeStatusBarItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusBarExtension_statusBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_setStatusBar (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StatusBarExtension_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusBarExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StatusBarExtension__ */ diff --git a/kdejava/koala/kdejava/StatusbarProgress.cpp b/kdejava/koala/kdejava/StatusbarProgress.cpp deleted file mode 100644 index 62065af3..00000000 --- a/kdejava/koala/kdejava/StatusbarProgress.cpp +++ /dev/null @@ -1,462 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/statusbarprogress.h> -#include <tdeio/global.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/StatusbarProgress.h> - -class StatusbarProgressJBridge : public TDEIO::StatusbarProgress -{ -public: - StatusbarProgressJBridge(TQWidget* arg1,bool arg2) : TDEIO::StatusbarProgress(arg1,arg2) {}; - StatusbarProgressJBridge(TQWidget* arg1) : TDEIO::StatusbarProgress(arg1) {}; - void public_slotClean() { - TDEIO::StatusbarProgress::slotClean(); - return; - } - void protected_setMode() { - TDEIO::StatusbarProgress::setMode(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEIO::StatusbarProgress::eventFilter(arg1,arg2); - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","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.StatusbarProgress","show")) { - TQWidget::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.StatusbarProgress","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","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")) { - ProgressBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","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 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.StatusbarProgress","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 slotClean() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","slotClean")) { - StatusbarProgress::slotClean(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StatusbarProgress",object,event)) { - return StatusbarProgress::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StatusbarProgress_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StatusbarProgress_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((StatusbarProgressJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusbarProgress_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatusbarProgressJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parent, jboolean button) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatusbarProgressJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) button)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_setJob(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->setJob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_setMode(JNIEnv* env, jobject obj) -{ - ((StatusbarProgressJBridge*) QtSupport::getQt(env, obj))->protected_setMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotClean(JNIEnv* env, jobject obj) -{ - ((StatusbarProgressJBridge*) QtSupport::getQt(env, obj))->public_slotClean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotPercent(JNIEnv* env, jobject obj, jobject job, jlong percent) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotSpeed(JNIEnv* env, jobject obj, jobject job, jlong speed) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotTotalSize(JNIEnv* env, jobject obj, jobject job, jlong size) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) size); - return; -} - diff --git a/kdejava/koala/kdejava/StatusbarProgress.h b/kdejava/koala/kdejava/StatusbarProgress.h deleted file mode 100644 index 6e97bf54..00000000 --- a/kdejava/koala/kdejava/StatusbarProgress.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StatusbarProgress__ -#define __org_kde_koala_StatusbarProgress__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusbarProgress_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StatusbarProgress_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_setJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotClean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_setMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StatusbarProgress_eventFilter (JNIEnv *env, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StatusbarProgress__ */ diff --git a/kdejava/koala/kdejava/StoredTransferJob.cpp b/kdejava/koala/kdejava/StoredTransferJob.cpp deleted file mode 100644 index cf1abfd5..00000000 --- a/kdejava/koala/kdejava/StoredTransferJob.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/StoredTransferJob.h> - -class StoredTransferJobJBridge : public TDEIO::StoredTransferJob -{ -public: - StoredTransferJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,const TQByteArray& arg4,bool arg5) : TDEIO::StoredTransferJob(arg1,arg2,arg3,arg4,arg5) {}; - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","slotFinished")) { - TransferJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - TransferJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StoredTransferJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StoredTransferJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_StoredTransferJob_data(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StoredTransferJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StoredTransferJob_newStoredTransferJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jbyteArray _staticData, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; -static TQByteArray* _qbyteArray__staticData = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StoredTransferJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, _staticData, &_qbyteArray__staticData), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StoredTransferJob_setData(JNIEnv* env, jobject obj, jbyteArray arr) -{ -static TQByteArray* _qbyteArray_arr = 0; - ((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->setData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr)); - return; -} - diff --git a/kdejava/koala/kdejava/StoredTransferJob.h b/kdejava/koala/kdejava/StoredTransferJob.h deleted file mode 100644 index 7829661c..00000000 --- a/kdejava/koala/kdejava/StoredTransferJob.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StoredTransferJob__ -#define __org_kde_koala_StoredTransferJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StoredTransferJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StoredTransferJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StoredTransferJob_newStoredTransferJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StoredTransferJob_setData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_StoredTransferJob_data (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StoredTransferJob__ */ diff --git a/kdejava/koala/kdejava/StyleSheet.cpp b/kdejava/koala/kdejava/StyleSheet.cpp deleted file mode 100644 index 3dc614d4..00000000 --- a/kdejava/koala/kdejava/StyleSheet.cpp +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom_node.h> -#include <dom/css_stylesheet.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/StyleSheet.h> - -class StyleSheetJBridge : public DOM::StyleSheet -{ -public: - StyleSheetJBridge() : DOM::StyleSheet() {}; - StyleSheetJBridge(const DOM::StyleSheet& arg1) : DOM::StyleSheet(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StyleSheet_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StyleSheet_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StyleSheet_isCSSStyleSheet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->isCSSStyleSheet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StyleSheet_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StyleSheet_media(JNIEnv* env, jobject obj) -{ - DOM::MediaList _qlist; - _qlist = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->media(); - return (jobject) KDESupport::arrayWithMediaList(env, (DOM::MediaList *) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StyleSheet_newStyleSheet__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StyleSheetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StyleSheet_newStyleSheet__Lorg_kde_koala_StyleSheet_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StyleSheetJBridge((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StyleSheet_ownerNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::StyleSheet*) QtSupport::getQt(env, obj))->ownerNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StyleSheet_parentStyleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::StyleSheet*) QtSupport::getQt(env, obj))->parentStyleSheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StyleSheet_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StyleSheet_title(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->title(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StyleSheet_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/StyleSheet.h b/kdejava/koala/kdejava/StyleSheet.h deleted file mode 100644 index ec45f165..00000000 --- a/kdejava/koala/kdejava/StyleSheet.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StyleSheet__ -#define __org_kde_koala_StyleSheet__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_StyleSheet_newStyleSheet__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StyleSheet_newStyleSheet__Lorg_kde_koala_StyleSheet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StyleSheet_type (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StyleSheet_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StyleSheet_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StyleSheet_ownerNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StyleSheet_parentStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StyleSheet_href (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StyleSheet_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StyleSheet_media (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StyleSheet_isCSSStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StyleSheet_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StyleSheet__ */ diff --git a/kdejava/koala/kdejava/TDEAboutApplication.cpp b/kdejava/koala/kdejava/TDEAboutApplication.cpp deleted file mode 100644 index 804797c8..00000000 --- a/kdejava/koala/kdejava/TDEAboutApplication.cpp +++ /dev/null @@ -1,556 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeaboutapplication.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutApplication.h> - -class TDEAboutApplicationJBridge : public TDEAboutApplication -{ -public: - TDEAboutApplicationJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEAboutApplication(arg1,arg2,arg3) {}; - TDEAboutApplicationJBridge(TQWidget* arg1,const char* arg2) : TDEAboutApplication(arg1,arg2) {}; - TDEAboutApplicationJBridge(TQWidget* arg1) : TDEAboutApplication(arg1) {}; - TDEAboutApplicationJBridge() : TDEAboutApplication() {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1,TQWidget* arg2,const char* arg3,bool arg4) : TDEAboutApplication(arg1,arg2,arg3,arg4) {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1,TQWidget* arg2,const char* arg3) : TDEAboutApplication(arg1,arg2,arg3) {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1,TQWidget* arg2) : TDEAboutApplication(arg1,arg2) {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1) : TDEAboutApplication(arg1) {}; - void protected_buildDialog(const TDEAboutData* arg1) { - TDEAboutApplication::buildDialog(arg1); - return; - } - ~TDEAboutApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - 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 dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","accept")) { - TQDialog::accept(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotCancel")) { - KDialogBase::slotCancel(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotNo")) { - KDialogBase::slotNo(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"show",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAboutDialog::show(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","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 setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(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.TDEAboutApplication","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(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 slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","reject")) { - TQDialog::reject(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","polish")) { - KDialog::polish(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_buildDialog(JNIEnv* env, jobject obj, jobject aboutData) -{ - ((TDEAboutApplicationJBridge*) QtSupport::getQt(env, obj))->protected_buildDialog((const TDEAboutData*) QtSupport::getQt(env, aboutData)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutApplication_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutApplication*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutApplication*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutApplication_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject aboutData, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject aboutData, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData), (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_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject aboutData, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__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 TDEAboutApplicationJBridge((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_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutApplication.h b/kdejava/koala/kdejava/TDEAboutApplication.h deleted file mode 100644 index 3d4cceba..00000000 --- a/kdejava/koala/kdejava/TDEAboutApplication.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutApplication__ -#define __org_kde_koala_TDEAboutApplication__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_buildDialog (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutApplication_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutApplication__ */ diff --git a/kdejava/koala/kdejava/TDEAboutContainer.cpp b/kdejava/koala/kdejava/TDEAboutContainer.cpp deleted file mode 100644 index 61f255b9..00000000 --- a/kdejava/koala/kdejava/TDEAboutContainer.cpp +++ /dev/null @@ -1,623 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqstring.h> -#include <tdeaboutdialog.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutContainer.h> - -class TDEAboutContainerJBridge : public TDEAboutContainer -{ -public: - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3,int arg4,int arg5,int arg6) : TDEAboutContainer(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3,int arg4,int arg5) : TDEAboutContainer(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3,int arg4) : TDEAboutContainer(arg1,arg2,arg3,arg4) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3) : TDEAboutContainer(arg1,arg2,arg3) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2) : TDEAboutContainer(arg1,arg2) {}; - TDEAboutContainerJBridge(TQWidget* arg1) : TDEAboutContainer(arg1) {}; - TDEAboutContainerJBridge() : TDEAboutContainer() {}; - void protected_childEvent(TQChildEvent* arg1) { - TDEAboutContainer::childEvent(arg1); - return; - } - ~TDEAboutContainerJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TDEAboutContainer::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - 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.TDEAboutContainer","show")) { - TQWidget::show(); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","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 setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void 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.TDEAboutContainer","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(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 imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAboutContainer",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - 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.TDEAboutContainer","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - 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 frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addImage((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint alignment) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addImage((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task, jboolean showHeader) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task), (bool) showHeader); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task, jboolean showHeader, jboolean showframe) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task), (bool) showHeader, (bool) showframe); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task, jboolean showHeader, jboolean showframe, jboolean showBold) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task), (bool) showHeader, (bool) showframe, (bool) showBold); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jint alignment) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring title, jint alignment, jboolean showframe) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) alignment, (bool) showframe); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZZ(JNIEnv* env, jobject obj, jstring title, jint alignment, jboolean showframe, jboolean showBold) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) alignment, (bool) showframe, (bool) showBold); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEAboutContainerJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContainer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutContainer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutContainer_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutContainer*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutContainer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutContainer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContainer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutContainer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContainer_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEAboutContainer*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__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 TDEAboutContainerJBridge((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_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin, jint spacing) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2III(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin, jint spacing, jint childAlignment) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin, (int) spacing, (int) childAlignment)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin, jint spacing, jint childAlignment, jint innerAlignment) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin, (int) spacing, (int) childAlignment, (int) innerAlignment)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContainer_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEAboutContainer*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEAboutContainer.h b/kdejava/koala/kdejava/TDEAboutContainer.h deleted file mode 100644 index 2f2a096d..00000000 --- a/kdejava/koala/kdejava/TDEAboutContainer.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutContainer__ -#define __org_kde_koala_TDEAboutContainer__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContainer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContainer_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2IIII (JNIEnv *env, jobject, jobject, jstring, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2III (JNIEnv *env, jobject, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZZ (JNIEnv *env, jobject, jstring, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContainer_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContainer_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutContainer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutContainer__ */ diff --git a/kdejava/koala/kdejava/TDEAboutContributor.cpp b/kdejava/koala/kdejava/TDEAboutContributor.cpp deleted file mode 100644 index c2bca12b..00000000 --- a/kdejava/koala/kdejava/TDEAboutContributor.cpp +++ /dev/null @@ -1,736 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqfont.h> -#include <tqsize.h> -#include <tqstring.h> -#include <tdeaboutdialog.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutContributor.h> - -class TDEAboutContributorJBridge : public TDEAboutContributor -{ -public: - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6,bool arg7,bool arg8,bool arg9) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6,bool arg7,bool arg8) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6,bool arg7) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4) : TDEAboutContributor(arg1,arg2,arg3,arg4) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : TDEAboutContributor(arg1,arg2,arg3) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2) : TDEAboutContributor(arg1,arg2) {}; - TDEAboutContributorJBridge(TQWidget* arg1) : TDEAboutContributor(arg1) {}; - TDEAboutContributorJBridge() : TDEAboutContributor() {}; - void protected_fontChange(const TQFont& arg1) { - TDEAboutContributor::fontChange(arg1); - return; - } - void protected_urlClickedSlot(const TQString& arg1) { - TDEAboutContributor::urlClickedSlot(arg1); - return; - } - void protected_emailClickedSlot(const TQString& arg1) { - TDEAboutContributor::emailClickedSlot(arg1); - return; - } - ~TDEAboutContributorJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - 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.TDEAboutContributor","show")) { - TQWidget::show(); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","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 setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEAboutContributor::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.TDEAboutContributor","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(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 imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAboutContributor",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - 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.TDEAboutContributor","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - 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 frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutContributor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_emailClickedSlot(JNIEnv* env, jobject obj, jstring emailaddress) -{ -static TQString* _qstring_emailaddress = 0; - ((TDEAboutContributorJBridge*) QtSupport::getQt(env, obj))->protected_emailClickedSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, emailaddress, &_qstring_emailaddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutContributor*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutContributor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_fontChange(JNIEnv* env, jobject obj, jobject oldFont) -{ - ((TDEAboutContributorJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, oldFont)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getEmail(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getEmail(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getWork(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getWork(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutContributor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContributor_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutContributor*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__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 TDEAboutContributorJBridge((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_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work, jboolean showHeader) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work), (bool) showHeader)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work, jboolean showHeader, jboolean showFrame) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work), (bool) showHeader, (bool) showFrame)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work, jboolean showHeader, jboolean showFrame, jboolean showBold) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work), (bool) showHeader, (bool) showFrame, (bool) showBold)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setWork((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setWork((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setWork((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContributor_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEAboutContributor*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_urlClickedSlot(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAboutContributorJBridge*) QtSupport::getQt(env, obj))->protected_urlClickedSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutContributor.h b/kdejava/koala/kdejava/TDEAboutContributor.h deleted file mode 100644 index 4fb31884..00000000 --- a/kdejava/koala/kdejava/TDEAboutContributor.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutContributor__ -#define __org_kde_koala_TDEAboutContributor__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContributor_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getEmail (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getWork (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContributor_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_urlClickedSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_emailClickedSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutContributor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutContributor__ */ diff --git a/kdejava/koala/kdejava/TDEAboutData.cpp b/kdejava/koala/kdejava/TDEAboutData.cpp deleted file mode 100644 index 2d9788b5..00000000 --- a/kdejava/koala/kdejava/TDEAboutData.cpp +++ /dev/null @@ -1,474 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqimage.h> -#include <tqstring.h> -#include <tdeaboutdata.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutData.h> - -class TDEAboutDataJBridge : public TDEAboutData -{ -public: - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8,const char* arg9) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5) : TDEAboutData(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4) : TDEAboutData(arg1,arg2,arg3,arg4) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3) : TDEAboutData(arg1,arg2,arg3) {}; - ~TDEAboutDataJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_aboutTranslationTeam(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEAboutDataJBridge::aboutTranslationTeam(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; -static TQCString* _qstring_webAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; -static TQCString* _qstring_webAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_appName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->appName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_bugAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->bugAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_copyrightStatement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->copyrightStatement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_customAuthorPlainText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorPlainText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_customAuthorRichText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorRichText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutData_customAuthorTextEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorTextEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutData_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAboutData*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_homepage(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->homepage(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutData_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_license(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->license(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; -static TQCString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; -static TQCString* _qstring_text = 0; -static TQCString* _qstring_homePageAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress, jstring bugsEmailAddress) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; -static TQCString* _qstring_text = 0; -static TQCString* _qstring_homePageAddress = 0; -static TQCString* _qstring_bugsEmailAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress), (const char*) QtSupport::toCharString(env, bugsEmailAddress, &_qstring_bugsEmailAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_otherText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->otherText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_productName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->productName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutData_programLogo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEAboutData*) QtSupport::getQt(env, obj))->programLogo()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_programName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->programName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setAppName(JNIEnv* env, jobject obj, jstring appName) -{ -static TQCString* _qstring_appName = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setAppName((const char*) QtSupport::toCharString(env, appName, &_qstring_appName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setBugAddress(JNIEnv* env, jobject obj, jstring bugAddress) -{ -static TQCString* _qstring_bugAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setBugAddress((const char*) QtSupport::toCharString(env, bugAddress, &_qstring_bugAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setCopyrightStatement(JNIEnv* env, jobject obj, jstring copyrightStatement) -{ -static TQCString* _qstring_copyrightStatement = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setCopyrightStatement((const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setCustomAuthorText(JNIEnv* env, jobject obj, jstring plainText, jstring richText) -{ -static TQString* _qstring_plainText = 0; -static TQString* _qstring_richText = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setCustomAuthorText((const TQString&)*(TQString*) QtSupport::toTQString(env, plainText, &_qstring_plainText), (const TQString&)*(TQString*) QtSupport::toTQString(env, richText, &_qstring_richText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setHomepage(JNIEnv* env, jobject obj, jstring homepage) -{ -static TQCString* _qstring_homepage = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setHomepage((const char*) QtSupport::toCharString(env, homepage, &_qstring_homepage)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setLicenseTextFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setLicenseTextFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setLicenseText(JNIEnv* env, jobject obj, jstring license) -{ -static TQCString* _qstring_license = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setLicenseText((const char*) QtSupport::toCharString(env, license, &_qstring_license)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setLicense(JNIEnv* env, jobject obj, jint licenseKey) -{ - ((TDEAboutData*) QtSupport::getQt(env, obj))->setLicense((TDEAboutData::LicenseKey) licenseKey); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setOtherText(JNIEnv* env, jobject obj, jstring otherText) -{ -static TQCString* _qstring_otherText = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setOtherText((const char*) QtSupport::toCharString(env, otherText, &_qstring_otherText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setProductName(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setProductName((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setProgramLogo(JNIEnv* env, jobject obj, jobject image) -{ - ((TDEAboutData*) QtSupport::getQt(env, obj))->setProgramLogo((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setProgramName(JNIEnv* env, jobject obj, jstring programName) -{ -static TQCString* _qstring_programName = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setProgramName((const char*) QtSupport::toCharString(env, programName, &_qstring_programName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setShortDescription(JNIEnv* env, jobject obj, jstring shortDescription) -{ -static TQCString* _qstring_shortDescription = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setShortDescription((const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setTranslator(JNIEnv* env, jobject obj, jstring name, jstring emailAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_emailAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setTranslator((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setVersion(JNIEnv* env, jobject obj, jstring version) -{ -static TQCString* _qstring_version = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setVersion((const char*) QtSupport::toCharString(env, version, &_qstring_version)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_shortDescription(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->shortDescription(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_unsetCustomAuthorText(JNIEnv* env, jobject obj) -{ - ((TDEAboutData*) QtSupport::getQt(env, obj))->unsetCustomAuthorText(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_version(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->version(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAboutData.h b/kdejava/koala/kdejava/TDEAboutData.h deleted file mode 100644 index e436e10e..00000000 --- a/kdejava/koala/kdejava/TDEAboutData.h +++ /dev/null @@ -1,67 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutData__ -#define __org_kde_koala_TDEAboutData__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setTranslator (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setLicenseText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setLicenseTextFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setAppName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setProgramName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setProgramLogo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setVersion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setShortDescription (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setLicense (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setCopyrightStatement (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setOtherText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setHomepage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setBugAddress (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setProductName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_appName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_productName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_programName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutData_programLogo (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_version (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_shortDescription (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_homepage (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_bugAddress (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_otherText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_license (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_copyrightStatement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_customAuthorPlainText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_customAuthorRichText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutData_customAuthorTextEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setCustomAuthorText (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_unsetCustomAuthorText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_aboutTranslationTeam (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutData_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutData__ */ diff --git a/kdejava/koala/kdejava/TDEAboutDialog.cpp b/kdejava/koala/kdejava/TDEAboutDialog.cpp deleted file mode 100644 index f6f01300..00000000 --- a/kdejava/koala/kdejava/TDEAboutDialog.cpp +++ /dev/null @@ -1,910 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdialogbase.h> -#include <tqstring.h> -#include <tqcolor.h> -#include <tdeaboutdialog.h> -#include <tqpixmap.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutDialog.h> - -class TDEAboutDialogJBridge : public TDEAboutDialog -{ -public: - TDEAboutDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEAboutDialog(arg1,arg2,arg3) {}; - TDEAboutDialogJBridge(TQWidget* arg1,const char* arg2) : TDEAboutDialog(arg1,arg2) {}; - TDEAboutDialogJBridge(TQWidget* arg1) : TDEAboutDialog(arg1) {}; - TDEAboutDialogJBridge() : TDEAboutDialog() {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const TQString& arg9,const TQString& arg10,const TQString& arg11) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const TQString& arg9,const TQString& arg10) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const TQString& arg9) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4) : TDEAboutDialog(arg1,arg2,arg3,arg4) {}; - void public_show() { - TDEAboutDialog::show(); - return; - } - void protected_sendEmailSlot(const TQString& arg1,const TQString& arg2) { - TDEAboutDialog::sendEmailSlot(arg1,arg2); - return; - } - void protected_openURLSlot(const TQString& arg1) { - TDEAboutDialog::openURLSlot(arg1); - return; - } - void protected_mouseTrackSlot(int arg1,const TQMouseEvent* arg2) { - TDEAboutDialog::mouseTrackSlot(arg1,arg2); - return; - } - ~TDEAboutDialogJBridge() {QtSupport::qtKeyDeleted(this);} - 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 dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","accept")) { - TQDialog::accept(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotNo")) { - KDialogBase::slotNo(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"show",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAboutDialog::show(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","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 setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(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.TDEAboutDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(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 slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","reject")) { - TQDialog::reject(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(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")) { - TQDialog::contextMenuEvent(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.TDEAboutDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","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 slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jint childAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring title, jint childAlignment, jint innerAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment, (int) innerAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainer(JNIEnv* env, jobject obj, jint childAlignment, jint innerAlignment) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainer((int) childAlignment, (int) innerAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_addContributor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContributor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jstring text) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addLicensePage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jstring text, jint numLines) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addLicensePage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) numLines), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addPage(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addScrolledContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jint childAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addScrolledContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring title, jint childAlignment, jint innerAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addScrolledContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment, (int) innerAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jstring text) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addTextPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring title, jstring text, jboolean richText) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addTextPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) richText), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring title, jstring text, jboolean richText, jint numLines) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addTextPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) richText, (int) numLines), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_adjust(JNIEnv* env, jobject obj) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->adjust(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_imageURL(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring path, jobject imageColor, jstring url) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_path = 0; -static TQString* _qstring_url = 0; - TDEAboutDialogJBridge::imageURL((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, imageColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_mouseTrackSlot(JNIEnv* env, jobject obj, jint mode, jobject e) -{ - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->protected_mouseTrackSlot((int) mode, (const TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2II(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (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_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jstring user1) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_user1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const TQString&)*(TQString*) QtSupport::toTQString(env, user1, &_qstring_user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jstring user1, jstring user2) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_user1 = 0; -static TQString* _qstring_user2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const TQString&)*(TQString*) QtSupport::toTQString(env, user1, &_qstring_user1), (const TQString&)*(TQString*) QtSupport::toTQString(env, user2, &_qstring_user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jstring user1, jstring user2, jstring user3) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_user1 = 0; -static TQString* _qstring_user2 = 0; -static TQString* _qstring_user3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const TQString&)*(TQString*) QtSupport::toTQString(env, user1, &_qstring_user1), (const TQString&)*(TQString*) QtSupport::toTQString(env, user2, &_qstring_user2), (const TQString&)*(TQString*) QtSupport::toTQString(env, user3, &_qstring_user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__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 TDEAboutDialogJBridge((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_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_openURLSlot(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->protected_openURLSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_sendEmailSlot(JNIEnv* env, jobject obj, jstring name, jstring email) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->protected_sendEmailSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setAuthor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setAuthor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setImageBackgroundColor(JNIEnv* env, jobject obj, jobject color) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setImageBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setImageFrame(JNIEnv* env, jobject obj, jboolean state) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setImageFrame((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setImage(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setImage((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setLogo(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setLogo((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setMaintainer(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setMaintainer((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setProduct(JNIEnv* env, jobject obj, jstring appName, jstring version, jstring author, jstring year) -{ -static TQString* _qstring_appName = 0; -static TQString* _qstring_version = 0; -static TQString* _qstring_author = 0; -static TQString* _qstring_year = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setProduct((const TQString&)*(TQString*) QtSupport::toTQString(env, appName, &_qstring_appName), (const TQString&)*(TQString*) QtSupport::toTQString(env, version, &_qstring_version), (const TQString&)*(TQString*) QtSupport::toTQString(env, author, &_qstring_author), (const TQString&)*(TQString*) QtSupport::toTQString(env, year, &_qstring_year)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setProgramLogo((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setProgramLogo((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setTitle(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setVersion(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setVersion((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_show__(JNIEnv* env, jobject obj) -{ - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_show__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject centerParent) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->show((TQWidget*) QtSupport::getQt(env, centerParent)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutDialog.h b/kdejava/koala/kdejava/TDEAboutDialog.h deleted file mode 100644 index 8843d55f..00000000 --- a/kdejava/koala/kdejava/TDEAboutDialog.h +++ /dev/null @@ -1,67 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutDialog__ -#define __org_kde_koala_TDEAboutDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2II (JNIEnv *env, jobject, jint, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_adjust (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_show__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_show__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setImage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setImageBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setImageFrame (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setProduct (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jstring, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainer (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addPage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setLogo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setAuthor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setMaintainer (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_addContributor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setVersion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_imageURL (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_sendEmailSlot (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_openURLSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_mouseTrackSlot (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutDialog__ */ diff --git a/kdejava/koala/kdejava/TDEAboutKDE.cpp b/kdejava/koala/kdejava/TDEAboutKDE.cpp deleted file mode 100644 index ba3d19d3..00000000 --- a/kdejava/koala/kdejava/TDEAboutKDE.cpp +++ /dev/null @@ -1,499 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeabouttde.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutKDE.h> - -class TDEAboutKDEJBridge : public TDEAboutKDE -{ -public: - TDEAboutKDEJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEAboutKDE(arg1,arg2,arg3) {}; - TDEAboutKDEJBridge(TQWidget* arg1,const char* arg2) : TDEAboutKDE(arg1,arg2) {}; - TDEAboutKDEJBridge(TQWidget* arg1) : TDEAboutKDE(arg1) {}; - TDEAboutKDEJBridge() : TDEAboutKDE() {}; - ~TDEAboutKDEJBridge() {QtSupport::qtKeyDeleted(this);} - 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 dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","accept")) { - TQDialog::accept(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotCancel")) { - KDialogBase::slotCancel(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotNo")) { - KDialogBase::slotNo(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"show",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAboutDialog::show(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","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 setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(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.TDEAboutKDE","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(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 slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","reject")) { - TQDialog::reject(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(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")) { - TQDialog::contextMenuEvent(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.TDEAboutKDE","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","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 slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutKDE_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutKDE*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutKDE*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutKDE_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutKDEJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutKDEJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__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 TDEAboutKDEJBridge((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_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutKDEJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutKDE.h b/kdejava/koala/kdejava/TDEAboutKDE.h deleted file mode 100644 index 1934a5e4..00000000 --- a/kdejava/koala/kdejava/TDEAboutKDE.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutKDE__ -#define __org_kde_koala_TDEAboutKDE__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutKDE_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutKDE__ */ diff --git a/kdejava/koala/kdejava/TDEAboutPerson.cpp b/kdejava/koala/kdejava/TDEAboutPerson.cpp deleted file mode 100644 index e4c79ce0..00000000 --- a/kdejava/koala/kdejava/TDEAboutPerson.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeaboutdata.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutPerson.h> - -class TDEAboutPersonJBridge : public TDEAboutPerson -{ -public: - TDEAboutPersonJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4) : TDEAboutPerson(arg1,arg2,arg3,arg4) {}; - TDEAboutPersonJBridge() : TDEAboutPerson() {}; - ~TDEAboutPersonJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutPerson_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_emailAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->emailAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAboutPerson*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutPerson_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutPersonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; -static TQCString* _qstring_webAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutPersonJBridge((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_task(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->task(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_webAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->webAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAboutPerson.h b/kdejava/koala/kdejava/TDEAboutPerson.h deleted file mode 100644 index 0e2fb3dd..00000000 --- a/kdejava/koala/kdejava/TDEAboutPerson.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutPerson__ -#define __org_kde_koala_TDEAboutPerson__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_task (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_emailAddress (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_webAddress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutPerson_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutPerson__ */ diff --git a/kdejava/koala/kdejava/TDEAboutTranslator.cpp b/kdejava/koala/kdejava/TDEAboutTranslator.cpp deleted file mode 100644 index 19f78f53..00000000 --- a/kdejava/koala/kdejava/TDEAboutTranslator.cpp +++ /dev/null @@ -1,89 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeaboutdata.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutTranslator.h> - -class TDEAboutTranslatorJBridge : public TDEAboutTranslator -{ -public: - TDEAboutTranslatorJBridge(const TQString& arg1,const TQString& arg2) : TDEAboutTranslator(arg1,arg2) {}; - TDEAboutTranslatorJBridge(const TQString& arg1) : TDEAboutTranslator(arg1) {}; - TDEAboutTranslatorJBridge() : TDEAboutTranslator() {}; - ~TDEAboutTranslatorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutTranslator_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutTranslator_emailAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutTranslator*) QtSupport::getQt(env, obj))->emailAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAboutTranslator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutTranslator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutTranslator_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutTranslator*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring emailAddress) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_emailAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, emailAddress, &_qstring_emailAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutTranslator.h b/kdejava/koala/kdejava/TDEAboutTranslator.h deleted file mode 100644 index 1b2abfcf..00000000 --- a/kdejava/koala/kdejava/TDEAboutTranslator.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutTranslator__ -#define __org_kde_koala_TDEAboutTranslator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutTranslator_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutTranslator_emailAddress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutTranslator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutTranslator__ */ diff --git a/kdejava/koala/kdejava/TDEAboutWidget.cpp b/kdejava/koala/kdejava/TDEAboutWidget.cpp deleted file mode 100644 index c6e11bc5..00000000 --- a/kdejava/koala/kdejava/TDEAboutWidget.cpp +++ /dev/null @@ -1,524 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeaboutdialog.h> -#include <tqpixmap.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAboutWidget.h> - -class TDEAboutWidgetJBridge : public TDEAboutWidget -{ -public: - TDEAboutWidgetJBridge(TQWidget* arg1,const char* arg2) : TDEAboutWidget(arg1,arg2) {}; - TDEAboutWidgetJBridge(TQWidget* arg1) : TDEAboutWidget(arg1) {}; - TDEAboutWidgetJBridge() : TDEAboutWidget() {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEAboutWidget::resizeEvent(arg1); - return; - } - void protected_sendEmailSlot(const TQString& arg1,const TQString& arg2) { - TDEAboutWidget::sendEmailSlot(arg1,arg2); - return; - } - void protected_openURLSlot(const TQString& arg1) { - TDEAboutWidget::openURLSlot(arg1); - return; - } - ~TDEAboutWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - 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 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 setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEAboutWidget::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; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - 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.TDEAboutWidget","show")) { - TQWidget::show(); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","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 setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void 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.TDEAboutWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(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 imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAboutWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - 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.TDEAboutWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - 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; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_addContributor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->addContributor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_adjust(JNIEnv* env, jobject obj) -{ - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->adjust(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__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 TDEAboutWidgetJBridge((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_TDEAboutWidget_openURLSlot(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEAboutWidgetJBridge*) QtSupport::getQt(env, obj))->protected_openURLSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEAboutWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_sendEmailSlot(JNIEnv* env, jobject obj, jstring name, jstring email) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; - ((TDEAboutWidgetJBridge*) QtSupport::getQt(env, obj))->protected_sendEmailSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setAuthor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setAuthor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setLogo(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setLogo((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setMaintainer(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setMaintainer((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setVersion(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setVersion((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutWidget.h b/kdejava/koala/kdejava/TDEAboutWidget.h deleted file mode 100644 index 6864c40e..00000000 --- a/kdejava/koala/kdejava/TDEAboutWidget.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutWidget__ -#define __org_kde_koala_TDEAboutWidget__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_adjust (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setLogo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setAuthor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setMaintainer (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_addContributor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setVersion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_sendEmailSlot (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_openURLSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutWidget__ */ diff --git a/kdejava/koala/kdejava/TDEAccel.cpp b/kdejava/koala/kdejava/TDEAccel.cpp deleted file mode 100644 index 67c66611..00000000 --- a/kdejava/koala/kdejava/TDEAccel.cpp +++ /dev/null @@ -1,361 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdestdaccel.h> -#include <tdeaccel.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAccel.h> - -class TDEAccelJBridge : public TDEAccel -{ -public: - TDEAccelJBridge(TQWidget* arg1,const char* arg2) : TDEAccel(arg1,arg2) {}; - TDEAccelJBridge(TQWidget* arg1) : TDEAccel(arg1) {}; - TDEAccelJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TDEAccel(arg1,arg2,arg3) {}; - TDEAccelJBridge(TQWidget* arg1,TQObject* arg2) : TDEAccel(arg1,arg2) {}; - ~TDEAccelJBridge() {QtSupport::qtKeyDeleted(this);} - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_actions(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEAccelActions *) &((TDEAccel*) QtSupport::getQt(env, obj))->actions(), "org.kde.koala.TDEAccelActions"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAccel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccel_configGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAccel*) QtSupport::getQt(env, obj))->configGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAccel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_emitKeycodeChanged(JNIEnv* env, jobject obj) -{ - ((TDEAccel*) QtSupport::getQt(env, obj))->emitKeycodeChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEAccel*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEAccel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pParent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->readSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_remove(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setAutoUpdate(JNIEnv* env, jobject obj, jboolean bAuto) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) bAuto); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setEnabled__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnabled); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_setEnabled__Z(JNIEnv* env, jobject obj, jboolean bEnabled) -{ - ((TDEAccel*) QtSupport::getQt(env, obj))->setEnabled((bool) bEnabled); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_updateConnections(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->updateConnections(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEAccel.h b/kdejava/koala/kdejava/TDEAccel.h deleted file mode 100644 index 5097810a..00000000 --- a/kdejava/koala/kdejava/TDEAccel.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAccel__ -#define __org_kde_koala_TDEAccel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_actions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_setEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_updateConnections (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_shortcut (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setEnabled__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccel_configGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_setConfigGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_writeSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_emitKeycodeChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAccel__ */ diff --git a/kdejava/koala/kdejava/TDEAccelShortcutList.cpp b/kdejava/koala/kdejava/TDEAccelShortcutList.cpp deleted file mode 100644 index 82c80160..00000000 --- a/kdejava/koala/kdejava/TDEAccelShortcutList.cpp +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqvariant.h> -#include <tdeshortcutlist.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAccelShortcutList.h> - -class TDEAccelShortcutListJBridge : public TDEAccelShortcutList -{ -public: - TDEAccelShortcutListJBridge(TDEAccel* arg1) : TDEAccelShortcutList(arg1) {}; - TDEAccelShortcutListJBridge(TDEGlobalAccel* arg1) : TDEAccelShortcutList(arg1) {}; - TDEAccelShortcutListJBridge(TDEAccelActions& arg1,bool arg2) : TDEAccelShortcutList(arg1,arg2) {}; - ~TDEAccelShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAccelShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAccelShortcutList_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAccelShortcutList*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccelShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccelShortcutList_label(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccelShortcutList_name(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccelActions_2Z(JNIEnv* env, jobject obj, jobject actions, jboolean bGlobal) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEAccelActions&)*(TDEAccelActions*) QtSupport::getQt(env, actions), (bool) bGlobal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jobject obj, jobject accel) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEAccel*) QtSupport::getQt(env, accel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject accel) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEGlobalAccel*) QtSupport::getQt(env, accel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccelShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccelShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccelShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAccelShortcutList.h b/kdejava/koala/kdejava/TDEAccelShortcutList.h deleted file mode 100644 index 3d856c17..00000000 --- a/kdejava/koala/kdejava/TDEAccelShortcutList.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAccelShortcutList__ -#define __org_kde_koala_TDEAccelShortcutList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccelActions_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAccelShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isGlobal (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAccelShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEAction.cpp b/kdejava/koala/kdejava/TDEAction.cpp deleted file mode 100644 index ef5b93e0..00000000 --- a/kdejava/koala/kdejava/TDEAction.cpp +++ /dev/null @@ -1,778 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeaction.h> -#include <tqiconset.h> -#include <kicontheme.h> -#include <tqstring.h> -#include <kguiitem.h> -#include <tdeshortcut.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEAction.h> - -class TDEActionJBridge : public TDEAction -{ -public: - TDEActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEActionJBridge(const KGuiItem& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void public_activate() { - TDEAction::activate(); - return; - } - TDEToolBar* protected_toolBar(int arg1) { - return (TDEToolBar*) TDEAction::toolBar(arg1); - } - TQPopupMenu* protected_popupMenu(int arg1) { - return (TQPopupMenu*) TDEAction::popupMenu(arg1); - } - void protected_removeContainer(int arg1) { - TDEAction::removeContainer(arg1); - return; - } - int protected_findContainer(const TQWidget* arg1) { - return (int) TDEAction::findContainer(arg1); - } - int protected_findContainer(int arg1) { - return (int) TDEAction::findContainer(arg1); - } - void protected_plugMainWindowAccel(TQWidget* arg1) { - TDEAction::plugMainWindowAccel(arg1); - return; - } - void protected_addContainer(TQWidget* arg1,int arg2) { - TDEAction::addContainer(arg1,arg2); - return; - } - void protected_addContainer(TQWidget* arg1,TQWidget* arg2) { - TDEAction::addContainer(arg1,arg2); - return; - } - void protected_updateShortcut(int arg1) { - TDEAction::updateShortcut(arg1); - return; - } - void protected_updateShortcut(TQPopupMenu* arg1,int arg2) { - TDEAction::updateShortcut(arg1,arg2); - return; - } - void protected_updateGroup(int arg1) { - TDEAction::updateGroup(arg1); - return; - } - void protected_updateText(int arg1) { - TDEAction::updateText(arg1); - return; - } - void protected_updateEnabled(int arg1) { - TDEAction::updateEnabled(arg1); - return; - } - void protected_updateIconSet(int arg1) { - TDEAction::updateIconSet(arg1); - return; - } - void protected_updateIcon(int arg1) { - TDEAction::updateIcon(arg1); - return; - } - void protected_updateToolTip(int arg1) { - TDEAction::updateToolTip(arg1); - return; - } - void protected_updateWhatsThis(int arg1) { - TDEAction::updateWhatsThis(arg1); - return; - } - TQString protected_whatsThisWithIcon() { - return (TQString) TDEAction::whatsThisWithIcon(); - } - const KGuiItem& protected_guiItem() { - return (const KGuiItem&) TDEAction::guiItem(); - } - void protected_slotDestroyed() { - TDEAction::slotDestroyed(); - return; - } - void protected_slotKeycodeChanged() { - TDEAction::slotKeycodeChanged(); - return; - } - void protected_slotActivated() { - TDEAction::slotActivated(); - return; - } - void protected_slotPopupActivated() { - TDEAction::slotPopupActivated(); - return; - } - void protected_slotButtonClicked(int arg1,TQt::ButtonState arg2) { - TDEAction::slotButtonClicked(arg1,arg2); - return; - } - ~TDEActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","activate")) { - TDEAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_activate(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->public_activate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject representative) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, representative)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_containerCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->containerCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_container(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->container((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_findContainer__I(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_findContainer__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((const TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_getToolButtonID(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEActionJBridge::getToolButtonID(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_guiItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KGuiItem *) &((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_guiItem(), "org.kde.koala.KGuiItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_hasIconSet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->hasIconSet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_hasIcon(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->hasIcon(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_iconSet__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_iconSet__I(JNIEnv* env, jobject obj, jint group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject container, jint id) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container, jobject _representative) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (const TQWidget*) QtSupport::getQt(env, _representative)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isShortcutConfigurable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isShortcutConfigurable(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_itemId(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->itemId((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_tdeaccelCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->tdeaccelCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_parentCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->parentCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_plainText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->plainText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_plugMainWindowAccel(JNIEnv* env, jobject obj, jobject w) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_plugMainWindowAccel((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_popupMenu(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_popupMenu((int) index), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_removeContainer(JNIEnv* env, jobject obj, jint index) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_removeContainer((int) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_representative(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->representative((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setDisabled(JNIEnv* env, jobject obj, jboolean disable) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setDisabled((bool) disable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setGroup(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setIconSet(JNIEnv* env, jobject obj, jobject iconSet) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setShortcutConfigurable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setShortcutConfigurable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setShortcutText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setShortcutText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_setShortcut(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setWhatsThis(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_shortcutDefault(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcutDefault(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_shortcutText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->shortcutText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_shortcut(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotButtonClicked(JNIEnv* env, jobject obj, jint arg1, jint state) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotButtonClicked((int) arg1, (TQt::ButtonState) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotDestroyed(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotKeycodeChanged(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotKeycodeChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotPopupActivated(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotPopupActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_statusText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->statusText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_toolBar(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_toolBar((int) index), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_unplugAll(JNIEnv* env, jobject obj) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->unplugAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_unplug(JNIEnv* env, jobject obj, jobject w) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateEnabled(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateEnabled((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateGroup(JNIEnv* env, jobject obj, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateGroup((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateIconSet(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIconSet((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateIcon(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIcon((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateShortcut__I(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject menu, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((TQPopupMenu*) QtSupport::getQt(env, menu), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateText(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateText((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateToolTip(JNIEnv* env, jobject obj, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateToolTip((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateWhatsThis(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateWhatsThis((int) i); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_whatsThisWithIcon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_whatsThisWithIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_whatsThis(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->whatsThis(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAction.h b/kdejava/koala/kdejava/TDEAction.h deleted file mode 100644 index 0c77b831..00000000 --- a/kdejava/koala/kdejava/TDEAction.h +++ /dev/null @@ -1,95 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAction__ -#define __org_kde_koala_TDEAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_unplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_container (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_itemId (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_representative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_containerCount (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_tdeaccelCount (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_hasIcon (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_hasIconSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_plainText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_shortcut (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_shortcutDefault (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_shortcutText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setShortcutText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isShortcutConfigurable (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_group (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_parentCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_unplugAll (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_statusText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_setShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setShortcutConfigurable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_activate (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_getToolButtonID (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_toolBar (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_popupMenu (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_removeContainer (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_findContainer__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_findContainer__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_plugMainWindowAccel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateShortcut__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateGroup (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateIconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateIcon (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateToolTip (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateWhatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_whatsThisWithIcon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_guiItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotKeycodeChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotPopupActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotButtonClicked (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAction__ */ diff --git a/kdejava/koala/kdejava/TDEActionCollection.cpp b/kdejava/koala/kdejava/TDEActionCollection.cpp deleted file mode 100644 index 38055ffa..00000000 --- a/kdejava/koala/kdejava/TDEActionCollection.cpp +++ /dev/null @@ -1,437 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactioncollection.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEActionCollection.h> - -class TDEActionCollectionJBridge : public TDEActionCollection -{ -public: - TDEActionCollectionJBridge(TQWidget* arg1,const char* arg2,TDEInstance* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; - TDEActionCollectionJBridge(TQWidget* arg1,const char* arg2) : TDEActionCollection(arg1,arg2) {}; - TDEActionCollectionJBridge(TQWidget* arg1) : TDEActionCollection(arg1) {}; - TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3,TDEInstance* arg4) : TDEActionCollection(arg1,arg2,arg3,arg4) {}; - TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; - TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2) : TDEActionCollection(arg1,arg2) {}; - TDEActionCollectionJBridge(const TDEActionCollection& arg1) : TDEActionCollection(arg1) {}; - TDEActionCollectionJBridge(TQObject* arg1,const char* arg2,TDEInstance* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; - TDEActionCollectionJBridge(TQObject* arg1,const char* arg2) : TDEActionCollection(arg1,arg2) {}; - TDEActionCollectionJBridge(TQObject* arg1) : TDEActionCollection(arg1) {}; - ~TDEActionCollectionJBridge() {QtSupport::qtKeyDeleted(this);} - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEActionCollection::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionCollection",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_action__I(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((int) index), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring classname) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_addDocCollection(JNIEnv* env, jobject obj, jobject pDoc) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->addDocCollection((TDEActionCollection*) QtSupport::getQt(env, pDoc)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_builderTDEAccel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->builderTDEAccel(), "org.kde.koala.TDEAccel"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionCollection_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEActionCollection*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_clear(JNIEnv* env, jobject obj) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_connectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->connectHighlight((TQWidget*) QtSupport::getQt(env, container), (TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionCollection_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEActionCollection*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_disconnectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->disconnectHighlight((TQWidget*) QtSupport::getQt(env, container), (TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionCollection_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionCollection*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEActionCollection*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_groups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEActionCollection*) QtSupport::getQt(env, obj))->groups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_highlightingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->highlightingEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_insert(JNIEnv* env, jobject obj, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_isAutoConnectShortcuts(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->isAutoConnectShortcuts(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_tdeaccel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->tdeaccel(), "org.kde.koala.TDEAccel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject copy) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, copy))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEActionCollection *) &((TDEActionCollection*) QtSupport::getQt(env, obj))->operator+=((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, arg1)), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_op_1plus(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEActionCollection(((TDEActionCollection*) QtSupport::getQt(env, obj))->operator+((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, arg1))), "org.kde.koala.TDEActionCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_parentGUIClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->parentGUIClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_readShortcutSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_remove(JNIEnv* env, jobject obj, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->remove((TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setAutoConnectShortcuts(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setAutoConnectShortcuts((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setHighlightingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setHighlightingEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_take(JNIEnv* env, jobject obj, jobject action) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->take((TDEAction*) QtSupport::getQt(env, action)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEActionCollection.h b/kdejava/koala/kdejava/TDEActionCollection.h deleted file mode 100644 index ffbcdf57..00000000 --- a/kdejava/koala/kdejava/TDEActionCollection.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionCollection__ -#define __org_kde_koala_TDEActionCollection__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionCollection_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setAutoConnectShortcuts (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isAutoConnectShortcuts (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_addDocCollection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_tdeaccel (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_builderTDEAccel (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionCollection_count (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_groups (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_instance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setHighlightingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_highlightingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_connectHighlight (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_disconnectHighlight (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_parentGUIClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_insert (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_take (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_op_1plus (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_op_1plus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionCollection__ */ diff --git a/kdejava/koala/kdejava/TDEActionMenu.cpp b/kdejava/koala/kdejava/TDEActionMenu.cpp deleted file mode 100644 index 5ee4bd99..00000000 --- a/kdejava/koala/kdejava/TDEActionMenu.cpp +++ /dev/null @@ -1,367 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqiconset.h> -#include <tdeactionclasses.h> -#include <tqstring.h> -#include <tqpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEActionMenu.h> - -class TDEActionMenuJBridge : public TDEActionMenu -{ -public: - TDEActionMenuJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; - TDEActionMenuJBridge(const TQString& arg1,TQObject* arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(const TQString& arg1) : TDEActionMenu(arg1) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3,const char* arg4) : TDEActionMenu(arg1,arg2,arg3,arg4) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : TDEActionMenu(arg1,arg2,arg3,arg4) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(TQObject* arg1,const char* arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(TQObject* arg1) : TDEActionMenu(arg1) {}; - TDEActionMenuJBridge() : TDEActionMenu() {}; - ~TDEActionMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","activate")) { - TDEAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void remove(TDEAction* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.TDEAction")) { - TDEActionMenu::remove(arg1); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEActionMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionMenu_delayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionMenu*) QtSupport::getQt(env, obj))->delayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionMenu*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEActionMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionMenu_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionMenu*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_popup(JNIEnv* env, jobject obj, jobject global) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, global)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_remove(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->remove((TDEAction*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_setDelayed(JNIEnv* env, jobject obj, jboolean _delayed) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->setDelayed((bool) _delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionMenu_stickyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionMenu*) QtSupport::getQt(env, obj))->stickyMenu(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEActionMenu.h b/kdejava/koala/kdejava/TDEActionMenu.h deleted file mode 100644 index 717eda01..00000000 --- a/kdejava/koala/kdejava/TDEActionMenu.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionMenu__ -#define __org_kde_koala_TDEActionMenu__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionMenu_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_popup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_delayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_setDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_stickyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_setStickyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionMenu__ */ diff --git a/kdejava/koala/kdejava/TDEActionSeparator.cpp b/kdejava/koala/kdejava/TDEActionSeparator.cpp deleted file mode 100644 index 0e65699a..00000000 --- a/kdejava/koala/kdejava/TDEActionSeparator.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEActionSeparator.h> - -class TDEActionSeparatorJBridge : public TDEActionSeparator -{ -public: - TDEActionSeparatorJBridge(TQObject* arg1,const char* arg2) : TDEActionSeparator(arg1,arg2) {}; - TDEActionSeparatorJBridge(TQObject* arg1) : TDEActionSeparator(arg1) {}; - TDEActionSeparatorJBridge() : TDEActionSeparator() {}; - ~TDEActionSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","activate")) { - TDEAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionSeparator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionSeparator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEActionSeparator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionSeparator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEActionSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionSeparator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEActionSeparator.h b/kdejava/koala/kdejava/TDEActionSeparator.h deleted file mode 100644 index fdd2f483..00000000 --- a/kdejava/koala/kdejava/TDEActionSeparator.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionSeparator__ -#define __org_kde_koala_TDEActionSeparator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionSeparator__ */ diff --git a/kdejava/koala/kdejava/TDEActionShortcutList.cpp b/kdejava/koala/kdejava/TDEActionShortcutList.cpp deleted file mode 100644 index 586e5ab1..00000000 --- a/kdejava/koala/kdejava/TDEActionShortcutList.cpp +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionshortcutlist.h> -#include <tqstring.h> -#include <tqvariant.h> -#include <tdeshortcutlist.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEActionShortcutList.h> - -class TDEActionShortcutListJBridge : public TDEActionShortcutList -{ -public: - TDEActionShortcutListJBridge(TDEActionCollection* arg1) : TDEActionShortcutList(arg1) {}; - ~TDEActionShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_action(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionShortcutList*) QtSupport::getQt(env, obj))->action((uint) arg1), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionShortcutList_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionShortcutList_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionShortcutList_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEActionShortcutList*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEActionShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionShortcutList_label(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->label((uint) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionShortcutList_name(JNIEnv* env, jobject obj, jint i) -{ - TQString _qstring; - _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->name((uint) i); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionShortcutList_newTDEActionShortcutList(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionShortcutListJBridge((TDEActionCollection*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_setShortcut(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) arg1, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEActionShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) arg1), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_shortcut(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEActionShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) arg1), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionShortcutList_whatsThis(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEActionShortcutList.h b/kdejava/koala/kdejava/TDEActionShortcutList.h deleted file mode 100644 index b2d3a82a..00000000 --- a/kdejava/koala/kdejava/TDEActionShortcutList.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionShortcutList__ -#define __org_kde_koala_TDEActionShortcutList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_newTDEActionShortcutList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_action (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEApplication.cpp b/kdejava/koala/kdejava/TDEApplication.cpp deleted file mode 100644 index 58fc80b6..00000000 --- a/kdejava/koala/kdejava/TDEApplication.cpp +++ /dev/null @@ -1,1636 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeapplication.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqsessionmanager.h> -#include <kinstance.h> -#include <kurl.h> -#include <tqpalette.h> -#include <tqnamespace.h> -#include <tqcstring.h> -#include <tqpixmap.h> - -#include <qtjava/QtSupport.h> -#include <qtjava/JavaSlot.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEApplication.h> - -class TDEApplicationJBridge : public TDEApplication -{ -public: - TDEApplicationJBridge(bool arg1,bool arg2) : TDEApplication(arg1,arg2) {}; - TDEApplicationJBridge(bool arg1) : TDEApplication(arg1) {}; - TDEApplicationJBridge() : TDEApplication() {}; - TDEApplicationJBridge(bool arg1,bool arg2,TDEInstance* arg3) : TDEApplication(arg1,arg2,arg3) {}; - void protected_invokeEditSlot(const char* arg1) { - TDEApplication::invokeEditSlot(arg1); - return; - } - ~TDEApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setConfigName(const TQString& arg1) { - TDEInstance::setConfigName(arg1); - return; - } - void processOneEvent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEApplication","processOneEvent")) { - TQApplication::processOneEvent(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void polish(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::polish(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setMainWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::setMainWidget(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEApplication",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_aboutData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->aboutData(), "org.kde.koala.TDEAboutData"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_addCmdLineOptions(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::addCmdLineOptions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_addKipcEventMask(JNIEnv* env, jobject obj, jint id) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->addKipcEventMask((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_allowURLAction(JNIEnv* env, jobject obj, jstring action, jobject _baseURL, jobject _destURL) -{ -static TQString* _qstring_action = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->allowURLAction((const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action), (const KURL&)*(const KURL*) QtSupport::getQt(env, _baseURL), (const KURL&)*(const KURL*) QtSupport::getQt(env, _destURL)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorizeControlModule(JNIEnv* env, jobject obj, jstring menuId) -{ -static TQString* _qstring_menuId = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeControlModule((const TQString&)*(TQString*) QtSupport::toTQString(env, menuId, &_qstring_menuId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_authorizeControlModules(JNIEnv* env, jobject obj, jobjectArray menuIds) -{ - TQStringList _qlist; -static TQStringList* _qlist_menuIds = 0; - _qlist = ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeControlModules((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, menuIds, &_qlist_menuIds)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorizeTDEAction(JNIEnv* env, jobject obj, jstring action) -{ -static TQCString* _qstring_action = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeTDEAction((const char*) QtSupport::toCharString(env, action, &_qstring_action)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorizeURLAction(JNIEnv* env, jobject obj, jstring action, jobject baseURL, jobject destURL) -{ -static TQString* _qstring_action = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeURLAction((const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action), (const KURL&)*(const KURL*) QtSupport::getQt(env, baseURL), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorize(JNIEnv* env, jobject obj, jstring genericAction) -{ -static TQString* _qstring_genericAction = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorize((const TQString&)*(TQString*) QtSupport::toTQString(env, genericAction, &_qstring_genericAction)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_checkRecoverFile(JNIEnv* env, jobject obj, jstring pFilename, jboolean bRecover) -{ - TQString _qstring; -static TQString* _qstring_pFilename = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->checkRecoverFile((const TQString&)*(TQString*) QtSupport::toTQString(env, pFilename, &_qstring_pFilename), (bool&) bRecover); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_clear(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_commitData(JNIEnv* env, jobject obj, jobject sm) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_copy(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->copy(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_createApplicationPalette__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TDEApplicationJBridge::createApplicationPalette()), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_createApplicationPalette__Lorg_kde_koala_TDEConfig_2I(JNIEnv* env, jclass cls, jobject config, jint contrast) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TDEApplicationJBridge::createApplicationPalette((TDEConfig*) QtSupport::getQt(env, config), (int) contrast)), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_cut(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->cut(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_dcopClient(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEApplicationJBridge::dcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_deref(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->deref(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_dirs(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.TDEStandardDirs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_disableAutoDcopRegistration(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::disableAutoDcopRegistration(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_disableSessionManagement(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->disableSessionManagement(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_disableStyles(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->disableStyles(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEApplication_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_enableSessionManagement(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->enableSessionManagement(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_enableStyles(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->enableStyles(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEApplication*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEApplication*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_geometryArgument(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->geometryArgument(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_guiEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEApplicationJBridge::guiEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_iconLoader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.TDEIconLoader"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_icon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEApplication*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_installKDEPropertyMap(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->installKDEPropertyMap(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_installSigpipeHandler(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::installSigpipeHandler(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_installX11EventFilter(JNIEnv* env, jobject obj, jobject filter) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->installX11EventFilter((TQWidget*) QtSupport::getQt(env, filter)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_instanceName(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->instanceName(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring startup_id) -{ -static TQString* _qstring_url = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeEditSlot(JNIEnv* env, jobject obj, jstring slot) -{ -static TQCString* _qstring_slot = 0; - ((TDEApplicationJBridge*) QtSupport::getQt(env, obj))->protected_invokeEditSlot((const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor) -{ -static TQString* _qstring_anchor = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname) -{ -static TQString* _qstring_anchor = 0; -static TQString* _qstring_appname = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname, jstring startup_id) -{ -static TQString* _qstring_anchor = 0; -static TQString* _qstring_appname = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address, jstring subject) -{ -static TQString* _qstring_address = 0; -static TQString* _qstring_subject = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address, jstring subject, jstring startup_id) -{ -static TQString* _qstring_address = 0; -static TQString* _qstring_subject = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; -static TQString* _qstring_messageFile = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile, jobjectArray attachURLs) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; -static TQString* _qstring_messageFile = 0; -static TQStringList* _qlist_attachURLs = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, attachURLs, &_qlist_attachURLs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile, jobjectArray attachURLs, jstring startup_id) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; -static TQString* _qstring_messageFile = 0; -static TQStringList* _qlist_attachURLs = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, attachURLs, &_qlist_attachURLs), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject mailtoURL) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject mailtoURL, jstring startup_id) -{ -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject mailtoURL, jstring startup_id, jboolean allowAttachments) -{ -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) allowAttachments); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_isRestored(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->isRestored(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_kApplication(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEApplicationJBridge::kApplication(), "org.kde.koala.TDEApplication"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_keyboardMouseState(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEApplicationJBridge::keyboardMouseState(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_launcher(JNIEnv* env, jclass cls) -{ - TQCString _qstring; - (void) cls; - _qstring = TDEApplicationJBridge::launcher(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring userCaption) -{ - TQString _qstring; -static TQString* _qstring_userCaption = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring userCaption, jboolean withAppName) -{ - TQString _qstring; -static TQString* _qstring_userCaption = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption), (bool) withAppName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring userCaption, jboolean withAppName, jboolean modified) -{ - TQString _qstring; -static TQString* _qstring_userCaption = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption), (bool) withAppName, (bool) modified); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_mimeSourceFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.koala.KMimeSourceFactory"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_miniIconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->miniIconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_miniIcon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEApplication*) QtSupport::getQt(env, obj))->miniIcon()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newIconLoader(JNIEnv* env, jobject obj) -{ - ((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->newIconLoader(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__Z(JNIEnv* env, jobject obj, jboolean allowStyles) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__ZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles, (bool) GUIenabled)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__ZZLorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled, jobject _instance) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles, (bool) GUIenabled, (TDEInstance*) QtSupport::getQt(env, _instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_notify(JNIEnv* env, jobject obj, jobject receiver, jobject event) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->notify((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_paste(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->paste(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_propagateSessionManager(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->propagateSessionManager(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_randomString(JNIEnv* env, jclass cls, jint length) -{ - TQString _qstring; - (void) cls; - _qstring = TDEApplicationJBridge::randomString((int) length); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_random(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEApplicationJBridge::random(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_ref(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_removeKipcEventMask(JNIEnv* env, jobject obj, jint id) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->removeKipcEventMask((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_removeX11EventFilter(JNIEnv* env, jobject obj, jobject filter) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->removeX11EventFilter((const TQWidget*) QtSupport::getQt(env, filter)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__I(JNIEnv* env, jobject obj, jint confirm) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__II(JNIEnv* env, jobject obj, jint confirm, jint sdtype) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm, (TDEApplication::ShutdownType) sdtype); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__III(JNIEnv* env, jobject obj, jint confirm, jint sdtype, jint sdmode) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm, (TDEApplication::ShutdownType) sdtype, (TDEApplication::ShutdownMode) sdmode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_saveState(JNIEnv* env, jobject obj, jobject sm) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_selectAll(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_sessionConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEApplication*) QtSupport::getQt(env, obj))->sessionConfig(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_sessionSaving(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->sessionSaving(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setConfigName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEApplicationJBridge*) QtSupport::getQt(env, obj))->protected_setConfigName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setStartupId(JNIEnv* env, jobject obj, jstring startup_id) -{ -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->setStartupId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setTopWidget(JNIEnv* env, jobject obj, jobject topWidget) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->setTopWidget((TQWidget*) QtSupport::getQt(env, topWidget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_sharedConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->sharedConfig(), "org.kde.koala.TDESharedConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_startKdeinit(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::startKdeinit(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name) -{ - (void) cls; -static TQString* _qstring__name = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name) -{ - (void) cls; -static TQString* _qstring__name = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name) -{ - (void) cls; -static TQString* _qstring__name = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_startupId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->startupId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_tempSaveName(JNIEnv* env, jobject obj, jstring pFilename) -{ - TQString _qstring; -static TQString* _qstring_pFilename = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->tempSaveName((const TQString&)*(TQString*) QtSupport::toTQString(env, pFilename, &_qstring_pFilename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dcopId) -{ -static TQCString* _qcstring_dcopId = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, dcopId, &_qcstring_dcopId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring dcopId, jlong time) -{ -static TQCString* _qcstring_dcopId = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, dcopId, &_qcstring_dcopId), (unsigned long) time); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateUserTimestamp__(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->updateUserTimestamp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateUserTimestamp__J(JNIEnv* env, jobject obj, jlong time) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->updateUserTimestamp((unsigned long) time); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEApplication_userTimestamp(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TDEApplication*) QtSupport::getQt(env, obj))->userTimestamp(); - return xret; -} - -#include <kdejava/KDEJavaSlot.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setJavaSlotFactory(JNIEnv* env, jclass cls) -{ - (void) env; - (void) cls; - JavaSlot::setJavaSlotFactory(new KDEJavaSlotFactory()); - return; -} - diff --git a/kdejava/koala/kdejava/TDEApplication.h b/kdejava/koala/kdejava/TDEApplication.h deleted file mode 100644 index 8d38bcf0..00000000 --- a/kdejava/koala/kdejava/TDEApplication.h +++ /dev/null @@ -1,167 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEApplication__ -#define __org_kde_koala_TDEApplication__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sessionConfig (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isRestored (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableSessionManagement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableSessionManagement (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_propagateSessionManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_commitData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_sessionSaving (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_miniIcon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_miniIconName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setTopWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_caption (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_tempSaveName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_checkRecoverFile (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableStyles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableStyles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installX11EventFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_removeX11EventFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_addKipcEventMask (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_removeKipcEventMask (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_startupId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setStartupId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEApplication_userTimestamp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_geometryArgument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installKDEPropertyMap (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorize (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeTDEAction (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_allowURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModule (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModules (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_notify (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_cut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_paste (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_addCmdLineOptions (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_kApplication (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dcopClient (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableAutoDcopRegistration (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_launcher (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_random (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_randomString (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_keyboardMouseState (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_startKdeinit (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_createApplicationPalette__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_createApplicationPalette__Lorg_kde_koala_TDEConfig_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installSigpipeHandler (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_guiEnabled (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ZZLorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeEditSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dirs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_config (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sharedConfig (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_iconLoader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newIconLoader (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_aboutData (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_instanceName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_mimeSourceFactory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setConfigName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setJavaSlotFactory (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEApplication__ */ diff --git a/kdejava/koala/kdejava/TDEBufferedIO.cpp b/kdejava/koala/kdejava/TDEBufferedIO.cpp deleted file mode 100644 index acc25106..00000000 --- a/kdejava/koala/kdejava/TDEBufferedIO.cpp +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kbufferedio.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEBufferedIO.h> - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_bytesAvailable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->bytesAvailable(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_bytesToWrite(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->bytesToWrite(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEBufferedIO_canReadLine(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->canReadLine(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEBufferedIO_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEBufferedIO*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEBufferedIO_closeNow(JNIEnv* env, jobject obj) -{ - ((TDEBufferedIO*) QtSupport::getQt(env, obj))->closeNow(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEBufferedIO_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEBufferedIO*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_peekBlock(JNIEnv* env, jobject obj, jstring data, jint maxlen) -{ -static TQCString* _qstring_data = 0; - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->peekBlock((char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) maxlen); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEBufferedIO_setBufferSize__I(JNIEnv* env, jobject obj, jint rsize) -{ - jboolean xret = (jboolean) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->setBufferSize((int) rsize); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEBufferedIO_setBufferSize__II(JNIEnv* env, jobject obj, jint rsize, jint wsize) -{ - jboolean xret = (jboolean) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->setBufferSize((int) rsize, (int) wsize); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_unreadBlock(JNIEnv* env, jobject obj, jstring data, jint len) -{ -static TQCString* _qstring_data = 0; - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->unreadBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_waitForMore(JNIEnv* env, jobject obj, jint msec) -{ - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->waitForMore((int) msec); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEBufferedIO.h b/kdejava/koala/kdejava/TDEBufferedIO.h deleted file mode 100644 index 768eafa7..00000000 --- a/kdejava/koala/kdejava/TDEBufferedIO.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEBufferedIO__ -#define __org_kde_koala_TDEBufferedIO__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEBufferedIO_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEBufferedIO_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEBufferedIO_closeNow (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEBufferedIO_setBufferSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEBufferedIO_setBufferSize__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_bytesAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_waitForMore (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_bytesToWrite (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEBufferedIO_canReadLine (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_peekBlock (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_unreadBlock (JNIEnv *env, jobject, jstring, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEBufferedIO__ */ diff --git a/kdejava/koala/kdejava/TDECModule.cpp b/kdejava/koala/kdejava/TDECModule.cpp deleted file mode 100644 index 1aa8fb88..00000000 --- a/kdejava/koala/kdejava/TDECModule.cpp +++ /dev/null @@ -1,688 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdecmodule.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDECModule.h> - -class TDECModuleJBridge : public TDECModule -{ -public: - TDECModuleJBridge(TQWidget* arg1,const char* arg2,const TQStringList& arg3) : TDECModule(arg1,arg2,arg3) {}; - TDECModuleJBridge(TQWidget* arg1,const char* arg2) : TDECModule(arg1,arg2) {}; - TDECModuleJBridge(TQWidget* arg1) : TDECModule(arg1) {}; - TDECModuleJBridge() : TDECModule() {}; - TDECModuleJBridge(TDEInstance* arg1,TQWidget* arg2,const TQStringList& arg3) : TDECModule(arg1,arg2,arg3) {}; - TDECModuleJBridge(TDEInstance* arg1,TQWidget* arg2) : TDECModule(arg1,arg2) {}; - TDECModuleJBridge(TDEInstance* arg1) : TDECModule(arg1) {}; - void public_load() { - TDECModule::load(); - return; - } - void public_save() { - TDECModule::save(); - return; - } - void public_defaults() { - TDECModule::defaults(); - return; - } - void public_sysdefaults() { - TDECModule::sysdefaults(); - return; - } - void protected_setQuickHelp(const TQString& arg1) { - TDECModule::setQuickHelp(arg1); - return; - } - void protected_setButtons(int arg1) { - TDECModule::setButtons(arg1); - return; - } - void protected_setRootOnlyMsg(const TQString& arg1) { - TDECModule::setRootOnlyMsg(arg1); - return; - } - void protected_setUseRootOnlyMsg(bool arg1) { - TDECModule::setUseRootOnlyMsg(arg1); - return; - } - bool protected_managedWidgetChangeState() { - return (bool) TDECModule::managedWidgetChangeState(); - } - void protected_unmanagedWidgetChangeState(bool arg1) { - TDECModule::unmanagedWidgetChangeState(arg1); - return; - } - void protected_changed() { - TDECModule::changed(); - return; - } - void protected_widgetChanged() { - TDECModule::widgetChanged(); - return; - } - ~TDECModuleJBridge() {QtSupport::qtKeyDeleted(this);} - void load() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","load")) { - TDECModule::load(); - } - 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")) { - TQWidget::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; - } - void sysdefaults() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","sysdefaults")) { - TDECModule::sysdefaults(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","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.TDECModule","show")) { - TQWidget::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.TDECModule","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","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 mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void save() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","save")) { - TDECModule::save(); - } - 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.TDECModule","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void defaults() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","defaults")) { - TDECModule::defaults(); - } - 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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDECModule",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModule_aboutData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECModule*) QtSupport::getQt(env, obj))->aboutData(), "org.kde.koala.TDEAboutData"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECModule_buttons(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECModule*) QtSupport::getQt(env, obj))->buttons(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_changed(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_changed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModule_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDECModule*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_defaults(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_defaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECModule_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDECModule*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDECModule*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModule_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECModule*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModule_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_load(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_load(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModule_managedWidgetChangeState(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_managedWidgetChangeState(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModule_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECModule*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject instance, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TDEInstance*) QtSupport::getQt(env, instance), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject instance, jobject parent, jobjectArray args) -{ -static TQStringList* _qlist_args = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TDEInstance*) QtSupport::getQt(env, instance), (TQWidget*) QtSupport::getQt(env, parent), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__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 TDECModuleJBridge((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_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobjectArray args) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModule_quickHelp(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModule*) QtSupport::getQt(env, obj))->quickHelp(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModule_rootOnlyMsg(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModule*) QtSupport::getQt(env, obj))->rootOnlyMsg(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_save(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setAboutData(JNIEnv* env, jobject obj, jobject about) -{ - ((TDECModule*) QtSupport::getQt(env, obj))->setAboutData((TDEAboutData*) QtSupport::getQt(env, about)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setButtons(JNIEnv* env, jobject obj, jint btn) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setButtons((int) btn); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setQuickHelp(JNIEnv* env, jobject obj, jstring help) -{ -static TQString* _qstring_help = 0; - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setQuickHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, help, &_qstring_help)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setRootOnlyMsg(JNIEnv* env, jobject obj, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setRootOnlyMsg((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setUseRootOnlyMsg(JNIEnv* env, jobject obj, jboolean on) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setUseRootOnlyMsg((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_sysdefaults(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_sysdefaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_unmanagedWidgetChangeState(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_unmanagedWidgetChangeState((bool) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModule_useRootOnlyMsg(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModule*) QtSupport::getQt(env, obj))->useRootOnlyMsg(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_widgetChanged(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_widgetChanged(); - return; -} - diff --git a/kdejava/koala/kdejava/TDECModule.h b/kdejava/koala/kdejava/TDECModule.h deleted file mode 100644 index 3d3a5a2a..00000000 --- a/kdejava/koala/kdejava/TDECModule.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECModule__ -#define __org_kde_koala_TDECModule__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModule_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModule_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_load (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_defaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_sysdefaults (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModule_quickHelp (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModule_aboutData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setAboutData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECModule_buttons (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModule_rootOnlyMsg (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModule_useRootOnlyMsg (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModule_instance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setQuickHelp (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setButtons (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setRootOnlyMsg (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setUseRootOnlyMsg (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModule_managedWidgetChangeState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_unmanagedWidgetChangeState (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_changed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_widgetChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModule_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECModule__ */ diff --git a/kdejava/koala/kdejava/TDECModuleInfo.cpp b/kdejava/koala/kdejava/TDECModuleInfo.cpp deleted file mode 100644 index 7ebbe62f..00000000 --- a/kdejava/koala/kdejava/TDECModuleInfo.cpp +++ /dev/null @@ -1,308 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kservice.h> -#include <tdecmoduleinfo.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDECModuleInfo.h> - -class TDECModuleInfoJBridge : public TDECModuleInfo -{ -public: - TDECModuleInfoJBridge(const TQString& arg1) : TDECModuleInfo(arg1) {}; - TDECModuleInfoJBridge(const TDECModuleInfo& arg1) : TDECModuleInfo(arg1) {}; - TDECModuleInfoJBridge() : TDECModuleInfo() {}; - void protected_setKeywords(const TQStringList& arg1) { - TDECModuleInfo::setKeywords(arg1); - return; - } - void protected_setName(const TQString& arg1) { - TDECModuleInfo::setName(arg1); - return; - } - void protected_setComment(const TQString& arg1) { - TDECModuleInfo::setComment(arg1); - return; - } - void protected_setIcon(const TQString& arg1) { - TDECModuleInfo::setIcon(arg1); - return; - } - void protected_setLibrary(const TQString& arg1) { - TDECModuleInfo::setLibrary(arg1); - return; - } - void protected_setHandle(const TQString& arg1) { - TDECModuleInfo::setHandle(arg1); - return; - } - void protected_setWeight(int arg1) { - TDECModuleInfo::setWeight(arg1); - return; - } - void protected_setNeedsTest(bool arg1) { - TDECModuleInfo::setNeedsTest(arg1); - return; - } - void protected_setNeedsRootPrivileges(bool arg1) { - TDECModuleInfo::setNeedsRootPrivileges(arg1); - return; - } - void protected_setDocPath(const TQString& arg1) { - TDECModuleInfo::setDocPath(arg1); - return; - } - void protected_loadAll() { - TDECModuleInfo::loadAll(); - return; - } - ~TDECModuleInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECModuleInfo_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_docPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->docPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_factoryName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->factoryName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDECModuleInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_handle(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->handle(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleInfo_keywords(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->keywords(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_library(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->library(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_loadAll(JNIEnv* env, jobject obj) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_loadAll(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_moduleName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->moduleName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_needsRootPrivileges(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->needsRootPrivileges(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_needsTest(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->needsTest(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring desktopFile) -{ -static TQString* _qstring_desktopFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, desktopFile, &_qstring_desktopFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Lorg_kde_koala_TDECModuleInfo_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleInfoJBridge((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_op_1equals(JNIEnv* env, jobject obj, jobject rhs) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->operator==((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_op_1not_1equals(JNIEnv* env, jobject obj, jobject rhs) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->operator!=((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setComment(JNIEnv* env, jobject obj, jstring comment) -{ -static TQString* _qstring_comment = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setComment((const TQString&)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setDocPath(JNIEnv* env, jobject obj, jstring p) -{ -static TQString* _qstring_p = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setDocPath((const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setHandle(JNIEnv* env, jobject obj, jstring handle) -{ -static TQString* _qstring_handle = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setHandle((const TQString&)*(TQString*) QtSupport::toTQString(env, handle, &_qstring_handle)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setKeywords(JNIEnv* env, jobject obj, jobjectArray keyword) -{ -static TQStringList* _qlist_keyword = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setKeywords((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, keyword, &_qlist_keyword)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setLibrary(JNIEnv* env, jobject obj, jstring lib) -{ -static TQString* _qstring_lib = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setLibrary((const TQString&)*(TQString*) QtSupport::toTQString(env, lib, &_qstring_lib)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setNeedsRootPrivileges(JNIEnv* env, jobject obj, jboolean needsRootPrivileges) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setNeedsRootPrivileges((bool) needsRootPrivileges); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setNeedsTest(JNIEnv* env, jobject obj, jboolean val) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setNeedsTest((bool) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setWeight(JNIEnv* env, jobject obj, jint weight) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setWeight((int) weight); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECModuleInfo_weight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->weight(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDECModuleInfo.h b/kdejava/koala/kdejava/TDECModuleInfo.h deleted file mode 100644 index 5ea85bd2..00000000 --- a/kdejava/koala/kdejava/TDECModuleInfo.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECModuleInfo__ -#define __org_kde_koala_TDECModuleInfo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Lorg_kde_koala_TDECModuleInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleInfo_keywords (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_factoryName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_moduleName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_comment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_docPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_library (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_handle (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECModuleInfo_weight (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_needsRootPrivileges (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_needsTest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setKeywords (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setComment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setLibrary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setHandle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setWeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setNeedsTest (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setNeedsRootPrivileges (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setDocPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_loadAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECModuleInfo__ */ diff --git a/kdejava/koala/kdejava/TDECModuleLoader.cpp b/kdejava/koala/kdejava/TDECModuleLoader.cpp deleted file mode 100644 index 56729287..00000000 --- a/kdejava/koala/kdejava/TDECModuleLoader.cpp +++ /dev/null @@ -1,167 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdecmoduleinfo.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdecmoduleloader.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDECModuleLoader.h> - -class TDECModuleLoaderJBridge : public TDECModuleLoader -{ -public: - TDECModuleLoaderJBridge() : TDECModuleLoader() {}; - ~TDECModuleLoaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECModuleLoader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDECModuleLoader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleLoader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring module, jint report) -{ - (void) cls; -static TQString* _qstring_module = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent) -{ - (void) cls; -static TQString* _qstring_module = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_module = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name, jobjectArray args) -{ - (void) cls; -static TQString* _qstring_module = 0; -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2I(JNIEnv* env, jclass cls, jobject module, jint report) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZ(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name, jobjectArray args) -{ - (void) cls; -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_newTDECModuleLoader(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleLoaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_reportError(JNIEnv* env, jclass cls, jint report, jstring text, jstring details, jobject parent) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::reportError((TDECModuleLoader::ErrorReporting) report, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQString)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleLoader_testModule__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module) -{ - (void) cls; -static TQString* _qstring_module = 0; - jboolean xret = (jboolean) TDECModuleLoaderJBridge::testModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleLoader_testModule__Lorg_kde_koala_TDECModuleInfo_2(JNIEnv* env, jclass cls, jobject module) -{ - (void) cls; - jboolean xret = (jboolean) TDECModuleLoaderJBridge::testModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_unloadModule(JNIEnv* env, jclass cls, jobject mod) -{ - (void) cls; - TDECModuleLoaderJBridge::unloadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, mod)); - return; -} - diff --git a/kdejava/koala/kdejava/TDECModuleLoader.h b/kdejava/koala/kdejava/TDECModuleLoader.h deleted file mode 100644 index 29d48315..00000000 --- a/kdejava/koala/kdejava/TDECModuleLoader.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECModuleLoader__ -#define __org_kde_koala_TDECModuleLoader__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_newTDECModuleLoader (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jboolean, jobject, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jint, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZ (JNIEnv *env, jclass, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jint, jobject, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jint, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_unloadModule (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleLoader_testModule__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleLoader_testModule__Lorg_kde_koala_TDECModuleInfo_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_reportError (JNIEnv *env, jclass, jint, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleLoader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECModuleLoader__ */ diff --git a/kdejava/koala/kdejava/TDECmdLineArgs.cpp b/kdejava/koala/kdejava/TDECmdLineArgs.cpp deleted file mode 100644 index 70f507ed..00000000 --- a/kdejava/koala/kdejava/TDECmdLineArgs.cpp +++ /dev/null @@ -1,290 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdecmdlineargs.h> -#include <dcopclient.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqdatastream.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDECmdLineArgs.h> - -class TDECmdLineArgsJBridge : public TDECmdLineArgs -{ -public: - TDECmdLineArgsJBridge(const TDECmdLineOptions* arg1,const char* arg2,const char* arg3) : TDECmdLineArgs(arg1,arg2,arg3) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options) -{ - (void) cls; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options, jstring name, jstring id) -{ - (void) cls; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_id = 0; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, id, &_qstring_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options, jstring name, jstring id, jstring afterId) -{ - (void) cls; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_id = 0; -static TQCString* _qstring_afterId = 0; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, id, &_qstring_id), (const char*) QtSupport::toCharString(env, afterId, &_qstring_afterId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addTempFileOption(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::addTempFileOption(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_appName(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = TDECmdLineArgsJBridge::appName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_arg(JNIEnv* env, jobject obj, jint n) -{ - const char* _qstring; - _qstring = ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->arg((int) n); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_clear(JNIEnv* env, jobject obj) -{ - ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECmdLineArgs_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_cwd(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDECmdLineArgsJBridge::cwd(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_enable_1i18n(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::enable_i18n(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_getOptionList(JNIEnv* env, jobject obj, jstring option) -{ - QCStringList _qlist; -static TQCString* _qstring_option = 0; - _qlist = ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->getOptionList((const char*) QtSupport::toCharString(env, option, &_qstring_option)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_getOption(JNIEnv* env, jobject obj, jstring option) -{ - TQCString _qstring; -static TQCString* _qstring_option = 0; - _qstring = ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->getOption((const char*) QtSupport::toCharString(env, option, &_qstring_option)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init__Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jclass cls, jobject about) -{ - (void) cls; - TDECmdLineArgsJBridge::init((const TDEAboutData*) QtSupport::getQt(env, about)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECmdLineArgs_isSet(JNIEnv* env, jobject obj, jstring option) -{ -static TQCString* _qstring_option = 0; - jboolean xret = (jboolean) ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->isSet((const char*) QtSupport::toCharString(env, option, &_qstring_option)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECmdLineArgs_isTempFileSet(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDECmdLineArgsJBridge::isTempFileSet(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_loadAppArgs(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TDECmdLineArgsJBridge::loadAppArgs((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_makeURL(JNIEnv* env, jclass cls, jstring urlArg) -{ - (void) cls; -static TQCString* _qstring_urlArg = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(TDECmdLineArgsJBridge::makeURL((const char*) QtSupport::toCharString(env, urlArg, &_qstring_urlArg))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_newTDECmdLineArgs(JNIEnv* env, jobject obj, jobjectArray _options, jstring _name, jstring _id) -{ -static TQCString* _qstring__name = 0; -static TQCString* _qstring__id = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECmdLineArgsJBridge((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, _options), (const char*) QtSupport::toCharString(env, _name, &_qstring__name), (const char*) QtSupport::toCharString(env, _id, &_qstring__id))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_parsedArgs__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECmdLineArgsJBridge::parsedArgs(), "org.kde.koala.TDECmdLineArgs"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_parsedArgs__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring id) -{ - (void) cls; -static TQCString* _qstring_id = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECmdLineArgsJBridge::parsedArgs((const char*) QtSupport::toCharString(env, id, &_qstring_id)), "org.kde.koala.TDECmdLineArgs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_reset(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_setCwd(JNIEnv* env, jclass cls, jstring cwd) -{ - (void) cls; -static TQCString* _qstring_cwd = 0; - TDECmdLineArgsJBridge::setCwd((char*) QtSupport::toCharString(env, cwd, &_qstring_cwd)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_url(JNIEnv* env, jobject obj, jint n) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDECmdLineArgs*) QtSupport::getQt(env, obj))->url((int) n)), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_usage__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::usage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_usage__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring id) -{ - (void) cls; -static TQCString* _qstring_id = 0; - TDECmdLineArgsJBridge::usage((const char*) QtSupport::toCharString(env, id, &_qstring_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray args, jstring _appname, jstring programName, jstring _description, jstring _version) -{ - (void) cls; -static TQCString* _qstring__appname = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring__description = 0; -static TQCString* _qstring__version = 0; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init((int) argc+1, (char**) QtSupport::toArgv(env, args), (const char*) QtSupport::toCharString(env, _appname, &_qstring__appname), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, _description, &_qstring__description), (const char*) QtSupport::toCharString(env, _version, &_qstring__version)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobjectArray args, jstring _appname, jstring programName, jstring _description, jstring _version, jboolean noKApp) -{ - (void) cls; -static TQCString* _qstring__appname = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring__description = 0; -static TQCString* _qstring__version = 0; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init(argc+1, (char**) QtSupport::toArgv(env, args), (const char*) QtSupport::toCharString(env, _appname, &_qstring__appname), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, _description, &_qstring__description), (const char*) QtSupport::toCharString(env, _version, &_qstring__version), (bool) noKApp); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jclass cls, jobjectArray args, jobject about) -{ - (void) cls; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init(argc+1, (char**) QtSupport::toArgv(env, args), (const TDEAboutData*) QtSupport::getQt(env, about)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2Z(JNIEnv* env, jclass cls, jobjectArray args, jobject about, jboolean noKApp) -{ - (void) cls; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init(argc+1, (char**) QtSupport::toArgv(env, args), (const TDEAboutData*) QtSupport::getQt(env, about), (bool) noKApp); - return; -} - diff --git a/kdejava/koala/kdejava/TDECmdLineArgs.h b/kdejava/koala/kdejava/TDECmdLineArgs.h deleted file mode 100644 index d47496cf..00000000 --- a/kdejava/koala/kdejava/TDECmdLineArgs.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECmdLineArgs__ -#define __org_kde_koala_TDECmdLineArgs__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_getOption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_getOptionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECmdLineArgs_isSet (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECmdLineArgs_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_arg (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_url (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2Z (JNIEnv *env, jclass, jobjectArray, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init__Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_parsedArgs__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_parsedArgs__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_cwd (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_appName (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_usage__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_usage__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_enable_1i18n (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_makeURL (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_setCwd (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_reset (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_loadAppArgs (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addTempFileOption (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECmdLineArgs_isTempFileSet (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_newTDECmdLineArgs (JNIEnv *env, jobject, jobjectArray, jstring, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECmdLineArgs__ */ diff --git a/kdejava/koala/kdejava/TDECompletion.cpp b/kdejava/koala/kdejava/TDECompletion.cpp deleted file mode 100644 index 86d8c78e..00000000 --- a/kdejava/koala/kdejava/TDECompletion.cpp +++ /dev/null @@ -1,343 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeglobalsettings.h> -#include <kcompletion.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDECompletion.h> - -class TDECompletionJBridge : public TDECompletion -{ -public: - TDECompletionJBridge() : TDECompletion() {}; - void public_clear() { - TDECompletion::clear(); - return; - } - void protected_postProcessMatch(TQString* arg1) { - TDECompletion::postProcessMatch(arg1); - return; - } - void protected_postProcessMatches(TQStringList* arg1) { - TDECompletion::postProcessMatches(arg1); - return; - } - ~TDECompletionJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletion","clear")) { - TDECompletion::clear(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDECompletion",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring item, jint weight) -{ -static TQString* _qstring_item = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (uint) weight); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_allMatches__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->allMatches(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_allMatches__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring string) -{ - TQStringList _qlist; -static TQString* _qstring_string = 0; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->allMatches((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_clear(JNIEnv* env, jobject obj) -{ - ((TDECompletionJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECompletion_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletion*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECompletion_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDECompletion*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDECompletion*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_hasMultipleMatches(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->hasMultipleMatches(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_ignoreCase(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->ignoreCase(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_insertItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_isSoundsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->isSoundsEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_lastMatch(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->lastMatch(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_makeCompletion(JNIEnv* env, jobject obj, jstring string) -{ - TQString _qstring; -static TQString* _qstring_string = 0; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletion*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_newTDECompletion(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECompletionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_nextMatch(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->nextMatch(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECompletion_order(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletion*) QtSupport::getQt(env, obj))->order(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_postProcessMatch(JNIEnv* env, jobject obj, jobject match) -{ -static TQString* _qstring_match = 0; - ((TDECompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatch((TQString*) QtSupport::toTQStringFromStringBuffer(env, match, &_qstring_match)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_match, match); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_postProcessMatches(JNIEnv* env, jobject obj, jobjectArray matches) -{ -static TQStringList* _qlist_matches = 0; - ((TDECompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatches((TQStringList*) QtSupport::toTQStringList(env, matches, &_qlist_matches)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_previousMatch(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->previousMatch(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_removeItem(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->removeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setEnableSounds(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setEnableSounds((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setIgnoreCase(JNIEnv* env, jobject obj, jboolean ignoreCase) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setIgnoreCase((bool) ignoreCase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setItems(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setOrder(JNIEnv* env, jobject obj, jint order) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setOrder((TDECompletion::CompOrder) order); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_slotMakeCompletion(JNIEnv* env, jobject obj, jstring string) -{ -static TQString* _qstring_string = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->slotMakeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_slotNextMatch(JNIEnv* env, jobject obj) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->slotNextMatch(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_slotPreviousMatch(JNIEnv* env, jobject obj) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->slotPreviousMatch(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_substringCompletion(JNIEnv* env, jobject obj, jstring string) -{ - TQStringList _qlist; -static TQString* _qstring_string = 0; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->substringCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/TDECompletion.h b/kdejava/koala/kdejava/TDECompletion.h deleted file mode 100644 index 460a168e..00000000 --- a/kdejava/koala/kdejava/TDECompletion.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECompletion__ -#define __org_kde_koala_TDECompletion__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_newTDECompletion (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_substringCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_previousMatch (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_nextMatch (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_lastMatch (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_items (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECompletion_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setOrder (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECompletion_order (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setIgnoreCase (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_ignoreCase (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_allMatches__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_allMatches__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setEnableSounds (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_isSoundsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_hasMultipleMatches (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_slotMakeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_slotPreviousMatch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_slotNextMatch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_insertItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_removeItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_postProcessMatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_postProcessMatches (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECompletion__ */ diff --git a/kdejava/koala/kdejava/TDECompletionBase.cpp b/kdejava/koala/kdejava/TDECompletionBase.cpp deleted file mode 100644 index fab40c49..00000000 --- a/kdejava/koala/kdejava/TDECompletionBase.cpp +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeglobalsettings.h> -#include <kcompletion.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDECompletionBase.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_compObj(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECompletionBase_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletionBase*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_completionObject__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_emitSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->emitSignals(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_getKeyBinding(JNIEnv* env, jobject obj, jint item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_handleSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->handleSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletedItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletedText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject compObj) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject compObj, jboolean hsig) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj), (bool) hsig); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_useGlobalKeyBindings(JNIEnv* env, jobject obj) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->useGlobalKeyBindings(); - return; -} - diff --git a/kdejava/koala/kdejava/TDECompletionBase.h b/kdejava/koala/kdejava/TDECompletionBase.h deleted file mode 100644 index 6f58807e..00000000 --- a/kdejava/koala/kdejava/TDECompletionBase.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECompletionBase__ -#define __org_kde_koala_TDECompletionBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_completionObject__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_completionObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setHandleSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_isCompletionObjectAutoDeleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setAutoDeleteCompletionObject (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setEnableSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_handleSignals (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_emitSignals (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECompletionBase_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_setKeyBinding (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_getKeyBinding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_useGlobalKeyBindings (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletedText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletedItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_compObj (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECompletionBase__ */ diff --git a/kdejava/koala/kdejava/TDECompletionBox.cpp b/kdejava/koala/kdejava/TDECompletionBox.cpp deleted file mode 100644 index 6d18bb3c..00000000 --- a/kdejava/koala/kdejava/TDECompletionBox.cpp +++ /dev/null @@ -1,798 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqrect.h> -#include <tqstring.h> -#include <tdecompletionbox.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDECompletionBox.h> - -class TDECompletionBoxJBridge : public TDECompletionBox -{ -public: - TDECompletionBoxJBridge(TQWidget* arg1,const char* arg2) : TDECompletionBox(arg1,arg2) {}; - TDECompletionBoxJBridge(TQWidget* arg1) : TDECompletionBox(arg1) {}; - void public_popup() { - TDECompletionBox::popup(); - return; - } - void public_show() { - TDECompletionBox::show(); - return; - } - void public_hide() { - TDECompletionBox::hide(); - return; - } - TQRect protected_calculateGeometry() { - return (TQRect) TDECompletionBox::calculateGeometry(); - } - void protected_sizeAndPosition() { - TDECompletionBox::sizeAndPosition(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDECompletionBox::eventFilter(arg1,arg2); - } - void protected_slotActivated(TQListBoxItem* arg1) { - TDECompletionBox::slotActivated(arg1); - return; - } - ~TDECompletionBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListBox::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQListBox::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","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.TDECompletionBox","show")) { - TDECompletionBox::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","ensureCurrentVisible")) { - TQListBox::ensureCurrentVisible(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","hide")) { - TDECompletionBox::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","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")) { - TQListBox::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","clearSelection")) { - TQListBox::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void slotActivated(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"slotActivated",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TDECompletionBox::slotActivated(arg1); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListBox::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","invertSelection")) { - TQListBox::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEListBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","popup")) { - TDECompletionBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TQListBox::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQListBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDECompletionBox",object,event)) { - return TDECompletionBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListBox::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_activateOnSelect(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBox*) QtSupport::getQt(env, obj))->activateOnSelect(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_calculateGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_calculateGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletionBox_cancelledText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletionBox*) QtSupport::getQt(env, obj))->cancelledText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletionBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDECompletionBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECompletionBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_down(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->down(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_end(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->end(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDECompletionBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDECompletionBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_hide(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_home(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->home(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray items, jint index) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_isTabHandling(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBox*) QtSupport::getQt(env, obj))->isTabHandling(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECompletionBox*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECompletionBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__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 TDECompletionBoxJBridge((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_TDECompletionBox_pageDown(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->pageDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_pageUp(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->pageUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_popup(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->public_popup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setActivateOnSelect(JNIEnv* env, jobject obj, jboolean state) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setActivateOnSelect((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setCancelledText(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setCancelledText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setTabHandling(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setTabHandling((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_show(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_sizeAndPosition(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_sizeAndPosition(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDECompletionBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_slotActivated(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_up(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->up(); - return; -} - diff --git a/kdejava/koala/kdejava/TDECompletionBox.h b/kdejava/koala/kdejava/TDECompletionBox.h deleted file mode 100644 index 64f82173..00000000 --- a/kdejava/koala/kdejava/TDECompletionBox.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECompletionBox__ -#define __org_kde_koala_TDECompletionBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletionBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_activateOnSelect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_popup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setTabHandling (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_isTabHandling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setCancelledText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletionBox_cancelledText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setActivateOnSelect (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_down (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_up (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_pageDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_pageUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_home (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_end (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_calculateGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_sizeAndPosition (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_slotActivated (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECompletionBox__ */ diff --git a/kdejava/koala/kdejava/TDEConfig.cpp b/kdejava/koala/kdejava/TDEConfig.cpp deleted file mode 100644 index cdefbcfe..00000000 --- a/kdejava/koala/kdejava/TDEConfig.cpp +++ /dev/null @@ -1,318 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeconfigdata.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdeconfig.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEConfig.h> - -class TDEConfigJBridge : public TDEConfig -{ -public: - TDEConfigJBridge(const TQString& arg1,bool arg2,bool arg3,const char* arg4) : TDEConfig(arg1,arg2,arg3,arg4) {}; - TDEConfigJBridge(const TQString& arg1,bool arg2,bool arg3) : TDEConfig(arg1,arg2,arg3) {}; - TDEConfigJBridge(const TQString& arg1,bool arg2) : TDEConfig(arg1,arg2) {}; - TDEConfigJBridge(const TQString& arg1) : TDEConfig(arg1) {}; - TDEConfigJBridge() : TDEConfig() {}; - TDEConfigJBridge(TDEConfigBackEnd* arg1,bool arg2) : TDEConfig(arg1,arg2) {}; - TDEConfigJBridge(TDEConfigBackEnd* arg1) : TDEConfig(arg1) {}; - void public_rollback() { - TDEConfig::rollback(); - return; - } - void public_reparseConfiguration() { - TDEConfig::reparseConfiguration(); - return; - } - bool protected_internalHasGroup(const TQCString& arg1) { - return (bool) TDEConfig::internalHasGroup(arg1); - } - void protected_putData(const KEntryKey& arg1,const KEntry& arg2,bool arg3) { - TDEConfig::putData(arg1,arg2,arg3); - return; - } - void protected_putData(const KEntryKey& arg1,const KEntry& arg2) { - TDEConfig::putData(arg1,arg2); - return; - } - KEntry protected_lookupData(const KEntryKey& arg1) { - return (KEntry) TDEConfig::lookupData(arg1); - } - ~TDEConfigJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reparseConfiguration() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfig","reparseConfiguration")) { - TDEConfig::reparseConfiguration(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfig","sync")) { - TDEConfigBase::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfig","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEConfig",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_checkUpdate(JNIEnv* env, jobject obj, jstring id, jstring updateFile) -{ -static TQString* _qstring_id = 0; -static TQString* _qstring_updateFile = 0; - ((TDEConfig*) QtSupport::getQt(env, obj))->checkUpdate((const TQString&)*(TQString*) QtSupport::toTQString(env, id, &_qstring_id), (const TQString&)*(TQString*) QtSupport::toTQString(env, updateFile, &_qstring_updateFile)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfig_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEConfig*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfig*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jstring file, jobject config) -{ -static TQString* _qstring_file = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfig*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (TDEConfig*) QtSupport::getQt(env, config)), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfig_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEConfig*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEConfig*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfig_forceGlobal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfig*) QtSupport::getQt(env, obj))->forceGlobal(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_groupList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEConfig*) QtSupport::getQt(env, obj))->groupList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfig_internalHasGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQCString* _qcstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_internalHasGroup((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, group, &_qcstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfig_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_lookupData(JNIEnv* env, jobject obj, jobject _key) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KEntry(((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_lookupData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key))), "org.kde.koala.KEntry", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfig*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly, jboolean bUseKDEGlobals) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly, (bool) bUseKDEGlobals)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly, jboolean bUseKDEGlobals, jstring resType) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly, (bool) bUseKDEGlobals, (const char*) QtSupport::toCharString(env, resType, &_qstring_resType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2(JNIEnv* env, jobject obj, jobject backEnd) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z(JNIEnv* env, jobject obj, jobject backEnd, jboolean bReadOnly) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2(JNIEnv* env, jobject obj, jobject _key, jobject _data) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z(JNIEnv* env, jobject obj, jobject _key, jobject _data, jboolean _checkGroup) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data), (bool) _checkGroup); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_reparseConfiguration(JNIEnv* env, jobject obj) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->public_reparseConfiguration(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_rollback__(JNIEnv* env, jobject obj) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->public_rollback(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_rollback__Z(JNIEnv* env, jobject obj, jboolean bDeep) -{ - ((TDEConfig*) QtSupport::getQt(env, obj))->rollback((bool) bDeep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_setFileWriteMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEConfig*) QtSupport::getQt(env, obj))->setFileWriteMode((int) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_setForceGlobal(JNIEnv* env, jobject obj, jboolean force) -{ - ((TDEConfig*) QtSupport::getQt(env, obj))->setForceGlobal((bool) force); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfig.h b/kdejava/koala/kdejava/TDEConfig.h deleted file mode 100644 index b8420762..00000000 --- a/kdejava/koala/kdejava/TDEConfig.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfig__ -#define __org_kde_koala_TDEConfig__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfig_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jboolean, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_rollback__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_rollback__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_groupList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_reparseConfiguration (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_setFileWriteMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_setForceGlobal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfig_forceGlobal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_checkUpdate (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfig_internalHasGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_lookupData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfig_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfig__ */ diff --git a/kdejava/koala/kdejava/TDEConfigBackEnd.cpp b/kdejava/koala/kdejava/TDEConfigBackEnd.cpp deleted file mode 100644 index 521d96e4..00000000 --- a/kdejava/koala/kdejava/TDEConfigBackEnd.cpp +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeconfigbase.h> -#include <tqcstring.h> -#include <tdeconfigbackend.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEConfigBackEnd.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_changeFileName(JNIEnv* env, jobject obj, jstring _fileName, jstring _resType, jboolean _useKDEGlobals) -{ -static TQString* _qstring__fileName = 0; -static TQCString* _qstring__resType = 0; - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->changeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, _fileName, &_qstring__fileName), (const char*) QtSupport::toCharString(env, _resType, &_qstring__resType), (bool) _useKDEGlobals); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBackEnd_checkConfigFilesWritable(JNIEnv* env, jobject obj, jboolean warnUser) -{ - jboolean xret = (jboolean) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->checkConfigFilesWritable((bool) warnUser); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBackEnd_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBackEnd_getConfigState(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->getConfigState(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBackEnd_parseConfigFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->parseConfigFiles(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBackEnd_resource(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->resource(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_setFileWriteMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->setFileWriteMode((int) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_setLocaleString(JNIEnv* env, jobject obj, jstring _localeString) -{ -static TQCString* _qcstring__localeString = 0; - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->setLocaleString((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _localeString, &_qcstring__localeString)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_sync__(JNIEnv* env, jobject obj) -{ - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->sync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_sync__Z(JNIEnv* env, jobject obj, jboolean bMerge) -{ - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->sync((bool) bMerge); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigBackEnd.h b/kdejava/koala/kdejava/TDEConfigBackEnd.h deleted file mode 100644 index a537a4b8..00000000 --- a/kdejava/koala/kdejava/TDEConfigBackEnd.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigBackEnd__ -#define __org_kde_koala_TDEConfigBackEnd__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBackEnd_parseConfigFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_sync__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_sync__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_changeFileName (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBackEnd_getConfigState (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBackEnd_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBackEnd_resource (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_setLocaleString (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_setFileWriteMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBackEnd_checkConfigFilesWritable (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigBackEnd__ */ diff --git a/kdejava/koala/kdejava/TDEConfigBase.cpp b/kdejava/koala/kdejava/TDEConfigBase.cpp deleted file mode 100644 index 73fcf72c..00000000 --- a/kdejava/koala/kdejava/TDEConfigBase.cpp +++ /dev/null @@ -1,1201 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqfont.h> -#include <tqdatetime.h> -#include <tqrect.h> -#include <tqglobal.h> -#include <tqstring.h> -#include <tqstrlist.h> -#include <tdeconfigbase.h> -#include <tqpoint.h> -#include <tqvariant.h> -#include <tqstringlist.h> -#include <tqcolor.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEConfigBase.h> - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_checkConfigFilesWritable(JNIEnv* env, jobject obj, jboolean warnUser) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->checkConfigFilesWritable((bool) warnUser); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bNLS, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bNLS, (bool) bGlobal); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring group, jboolean bDeep) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (bool) bDeep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring group, jboolean bDeep, jboolean bGlobal) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (bool) bDeep, (bool) bGlobal); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_entryIsImmutable(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->entryIsImmutable((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_getConfigState(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->getConfigState(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_groupIsImmutable(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->groupIsImmutable((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_groupList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->groupList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_hasDefault(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->hasDefault((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_hasGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->hasGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_hasKey(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->hasKey((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isDirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isDirty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isDollarExpansion(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isDollarExpansion(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isImmutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isImmutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_locale(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->locale(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfigBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jboolean bDefault) -{ -static TQString* _qstring_pKey = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bDefault); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEConfigBase*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEConfigBase*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQDateTime _qdate; -static TQString* _qstring_pKey = 0; - _qdate = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDateTimeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ - TQDateTime _qdate; -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_pDefault = 0; - _qdate = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDateTimeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime*) QtSupport::toTQDateTime(env, pDefault, &_qdate_pDefault)); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_readDefaults(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDefaults(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jdouble xret = (jdouble) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDoubleNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring pKey, jdouble nDefault) -{ -static TQString* _qstring_pKey = 0; - jdouble xret = (jdouble) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDoubleNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nDefault); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntryUntranslated((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring aDefault) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; -static TQString* _qstring_aDefault = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntryUntranslated((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, aDefault, &_qstring_aDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring aDefault) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; -static TQString* _qstring_aDefault = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, aDefault, &_qstring_aDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEConfigBase*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEConfigBase*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_koala_TDEConfigBase_readIntListEntry(JNIEnv* env, jobject obj, jstring pKey) -{ - TQValueList<int> _qintArray; -static TQString* _qstring_pKey = 0; - _qintArray = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readIntListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jchar sep) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (char) sep); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jobjectArray aDefault) -{ - TQStringList _qlist; -static TQCString* _qstring_pKey = 0; -static TQStringList* _qlist_aDefault = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const char*) QtSupport::toCharString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, aDefault, &_qlist_aDefault)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jobjectArray aDefault, jchar sep) -{ - TQStringList _qlist; -static TQCString* _qstring_pKey = 0; -static TQStringList* _qlist_aDefault = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const char*) QtSupport::toCharString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, aDefault, &_qlist_aDefault), (char) sep); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nDefault); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (TQ_INT64) nDefault); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring pKey, jint nDefault) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nDefault); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring aDefault) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; -static TQString* _qstring_aDefault = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, aDefault, &_qstring_aDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jchar sep) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (char) sep); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TDEConfigBase*) QtSupport::getQt(env, obj))->readPointEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TDEConfigBase*) QtSupport::getQt(env, obj))->readPointEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPropertyEntry(JNIEnv* env, jobject obj, jstring pKey, jobject aDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEConfigBase*) QtSupport::getQt(env, obj))->readPropertyEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, aDefault))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEConfigBase*) QtSupport::getQt(env, obj))->readRectEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEConfigBase*) QtSupport::getQt(env, obj))->readRectEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEConfigBase*) QtSupport::getQt(env, obj))->readSizeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEConfigBase*) QtSupport::getQt(env, obj))->readSizeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (unsigned long) nDefault); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (TQ_UINT64) nDefault); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring pKey, jint nDefault) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (unsigned int) nDefault); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_reparseConfiguration(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->reparseConfiguration(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_revertToDefault(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->revertToDefault((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_rollback__(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->rollback(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_rollback__Z(JNIEnv* env, jobject obj, jboolean bDeep) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->rollback((bool) bDeep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setDesktopGroup(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setDesktopGroup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setDollarExpansion__(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setDollarExpansion(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setDollarExpansion__Z(JNIEnv* env, jobject obj, jboolean _bExpand) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setDollarExpansion((bool) _bExpand); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setReadDefaults(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setReadDefaults((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setReadOnly(JNIEnv* env, jobject obj, jboolean _ro) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setReadOnly((bool) _ro); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_sync(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->sync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZ(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZ(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZC(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal, jchar format) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal, (char) format); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCI(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal, jchar format, jint precision) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal, (char) format, (int) precision); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCIZ(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal, jchar format, jint precision, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal, (char) format, (int) precision, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring pKey, jint nValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring pKey, jint nValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZ(JNIEnv* env, jobject obj, jstring pKey, jint nValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZZ(JNIEnv* env, jobject obj, jstring pKey, jint nValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZ(JNIEnv* env, jobject obj, jstring pKey, jlong nValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZ(JNIEnv* env, jobject obj, jstring pKey, jlong nValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZZ(JNIEnv* env, jobject obj, jstring pKey, jlong nValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring pValue) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jstring pValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jstring pValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jstring pValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring pKey, jobject rColor) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rColor, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rColor, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rColor, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring pKey, jobject rFont) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rFont, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rFont, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rFont, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3I(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue) -{ -static TQString* _qstring_pKey = 0; -static TQValueList<int>* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList<int>&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZ(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQValueList<int>* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList<int>&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZ(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQValueList<int>* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList<int>&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZZ(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQValueList<int>* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList<int>&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring path) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jstring path, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jstring path, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jstring path, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigBase.h b/kdejava/koala/kdejava/TDEConfigBase.h deleted file mode 100644 index abfb85d2..00000000 --- a/kdejava/koala/kdejava/TDEConfigBase.h +++ /dev/null @@ -1,162 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigBase__ -#define __org_kde_koala_TDEConfigBase__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setDesktopGroup (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_group (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_hasGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_groupList (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_locale (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPropertyEntry (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jintArray JNICALL Java_org_kde_koala_TDEConfigBase_readIntListEntry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZZ (JNIEnv *env, jobject, jstring, jintArray, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZ (JNIEnv *env, jobject, jstring, jintArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZ (JNIEnv *env, jobject, jstring, jintArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3I (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZZ (JNIEnv *env, jobject, jstring, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZ (JNIEnv *env, jobject, jstring, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZZ (JNIEnv *env, jobject, jstring, jlong, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZ (JNIEnv *env, jobject, jstring, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZ (JNIEnv *env, jobject, jstring, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCIZ (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean, jchar, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCI (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean, jchar, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZC (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZ (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZ (JNIEnv *env, jobject, jstring, jdouble, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setDollarExpansion__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setDollarExpansion__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isDollarExpansion (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_rollback__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_rollback__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_sync (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isDirty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_hasKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_reparseConfiguration (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isImmutable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_groupIsImmutable (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_entryIsImmutable (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_getConfigState (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_checkConfigFilesWritable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setReadDefaults (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_readDefaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_revertToDefault (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_hasDefault (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigBase__ */ diff --git a/kdejava/koala/kdejava/TDEConfigGroup.cpp b/kdejava/koala/kdejava/TDEConfigGroup.cpp deleted file mode 100644 index 3ab3d917..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroup.cpp +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeconfigdata.h> -#include <tqstring.h> -#include <tdeconfigbase.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEConfigGroup.h> - -class TDEConfigGroupJBridge : public TDEConfigGroup -{ -public: - TDEConfigGroupJBridge(TDEConfigBase* arg1,const TQCString& arg2) : TDEConfigGroup(arg1,arg2) {}; - void public_sync() { - TDEConfigGroup::sync(); - return; - } - ~TDEConfigGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfigGroup","sync")) { - TDEConfigGroup::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfigGroup","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEConfigGroup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_deleteGroup__(JNIEnv* env, jobject obj) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->deleteGroup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_deleteGroup__Z(JNIEnv* env, jobject obj, jboolean bGlobal) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->deleteGroup((bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfigGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEConfigGroup*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEConfigGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigGroup_groupIsImmutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigGroup*) QtSupport::getQt(env, obj))->groupIsImmutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigGroup_lookupData(JNIEnv* env, jobject obj, jobject _key) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KEntry(((TDEConfigGroup*) QtSupport::getQt(env, obj))->lookupData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key))), "org.kde.koala.KEntry", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_newTDEConfigGroup(JNIEnv* env, jobject obj, jobject master, jstring group) -{ -static TQCString* _qcstring_group = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigGroupJBridge((TDEConfigBase*) QtSupport::getQt(env, master), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, group, &_qcstring_group))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2(JNIEnv* env, jobject obj, jobject _key, jobject _data) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z(JNIEnv* env, jobject obj, jobject _key, jobject _data, jboolean _checkGroup) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data), (bool) _checkGroup); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_setDirty(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->setDirty((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_sync(JNIEnv* env, jobject obj) -{ - ((TDEConfigGroupJBridge*) QtSupport::getQt(env, obj))->public_sync(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigGroup.h b/kdejava/koala/kdejava/TDEConfigGroup.h deleted file mode 100644 index 7c795fa2..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroup.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigGroup__ -#define __org_kde_koala_TDEConfigGroup__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_newTDEConfigGroup (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_deleteGroup__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_deleteGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigGroup_groupIsImmutable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_setDirty (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigGroup_lookupData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigGroup__ */ diff --git a/kdejava/koala/kdejava/TDEConfigGroupSaver.cpp b/kdejava/koala/kdejava/TDEConfigGroupSaver.cpp deleted file mode 100644 index 42f01c8c..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroupSaver.cpp +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeconfigbase.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEConfigGroupSaver.h> - -class TDEConfigGroupSaverJBridge : public TDEConfigGroupSaver -{ -public: - TDEConfigGroupSaverJBridge(TDEConfigBase* arg1,TQString arg2) : TDEConfigGroupSaver(arg1,arg2) {}; - ~TDEConfigGroupSaverJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfigGroupSaver*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfigBase"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfigGroupSaver_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEConfigGroupSaver*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_newTDEConfigGroupSaver(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigGroupSaverJBridge((TDEConfigBase*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigGroupSaver.h b/kdejava/koala/kdejava/TDEConfigGroupSaver.h deleted file mode 100644 index 14a06868..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroupSaver.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigGroupSaver__ -#define __org_kde_koala_TDEConfigGroupSaver__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroupSaver_newTDEConfigGroupSaver (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigGroupSaver_config (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroupSaver_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroupSaver_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigGroupSaver_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigGroupSaver__ */ diff --git a/kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp b/kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp deleted file mode 100644 index 2a6136a1..00000000 --- a/kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqfile.h> -#include <tdeconfigdata.h> -#include <tqstring.h> -#include <tdeconfigbackend.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEConfigINIBackEnd.h> - -class TDEConfigINIBackEndJBridge : public TDEConfigINIBackEnd -{ -public: - TDEConfigINIBackEndJBridge(TDEConfigBase* arg1,const TQString& arg2,const char* arg3,bool arg4) : TDEConfigINIBackEnd(arg1,arg2,arg3,arg4) {}; - TDEConfigINIBackEndJBridge(TDEConfigBase* arg1,const TQString& arg2,const char* arg3) : TDEConfigINIBackEnd(arg1,arg2,arg3) {}; - void public_sync() { - TDEConfigINIBackEnd::sync(); - return; - } - void protected_parseSingleConfigFile(TQFile& arg1) { - TDEConfigINIBackEnd::parseSingleConfigFile(arg1); - return; - } - bool protected_writeConfigFile(TQString arg1,bool arg2,bool arg3) { - return (bool) TDEConfigINIBackEnd::writeConfigFile(arg1,arg2,arg3); - } - bool protected_writeConfigFile(TQString arg1,bool arg2) { - return (bool) TDEConfigINIBackEnd::writeConfigFile(arg1,arg2); - } - bool protected_writeConfigFile(TQString arg1) { - return (bool) TDEConfigINIBackEnd::writeConfigFile(arg1); - } - ~TDEConfigINIBackEndJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfigINIBackEnd_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEConfigINIBackEnd*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _config, jstring _fileName, jstring _resType) -{ -static TQString* _qstring__fileName = 0; -static TQCString* _qstring__resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigINIBackEndJBridge((TDEConfigBase*) QtSupport::getQt(env, _config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _fileName, &_qstring__fileName), (const char*) QtSupport::toCharString(env, _resType, &_qstring__resType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject _config, jstring _fileName, jstring _resType, jboolean _useKDEGlobals) -{ -static TQString* _qstring__fileName = 0; -static TQCString* _qstring__resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigINIBackEndJBridge((TDEConfigBase*) QtSupport::getQt(env, _config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _fileName, &_qstring__fileName), (const char*) QtSupport::toCharString(env, _resType, &_qstring__resType), (bool) _useKDEGlobals)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_parseConfigFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigINIBackEnd*) QtSupport::getQt(env, obj))->parseConfigFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_parseSingleConfigFile(JNIEnv* env, jobject obj, jobject rFile) -{ - ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_parseSingleConfigFile((TQFile&)*(TQFile*) QtSupport::getQt(env, rFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_sync__(JNIEnv* env, jobject obj) -{ - ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->public_sync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_sync__Z(JNIEnv* env, jobject obj, jboolean bMerge) -{ - ((TDEConfigINIBackEnd*) QtSupport::getQt(env, obj))->sync((bool) bMerge); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_writeConfigFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filename, jboolean bGlobal) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_writeConfigFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) bGlobal); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring filename, jboolean bGlobal, jboolean bMerge) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_writeConfigFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) bGlobal, (bool) bMerge); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEConfigINIBackEnd.h b/kdejava/koala/kdejava/TDEConfigINIBackEnd.h deleted file mode 100644 index 2e5127dc..00000000 --- a/kdejava/koala/kdejava/TDEConfigINIBackEnd.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigINIBackEnd__ -#define __org_kde_koala_TDEConfigINIBackEnd__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_parseConfigFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_sync__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_sync__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_parseSingleConfigFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigINIBackEnd__ */ diff --git a/kdejava/koala/kdejava/TDEFontAction.cpp b/kdejava/koala/kdejava/TDEFontAction.cpp deleted file mode 100644 index 93a1eca0..00000000 --- a/kdejava/koala/kdejava/TDEFontAction.cpp +++ /dev/null @@ -1,539 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEFontAction.h> - -class TDEFontActionJBridge : public TDEFontAction -{ -public: - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(const TQString& arg1) : TDEFontAction(arg1) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4,TQObject* arg5,const char* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4,TQObject* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(TQObject* arg1,const char* arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(TQObject* arg1) : TDEFontAction(arg1) {}; - TDEFontActionJBridge() : TDEFontAction() {}; - ~TDEFontActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","slotActivated")) { - TDESelectAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEFontAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEFontAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontAction_font(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontAction*) QtSupport::getQt(env, obj))->font(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TDEFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - jint xret = (jint) ((TDEFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_setFont(JNIEnv* env, jobject obj, jstring family) -{ -static TQString* _qstring_family = 0; - ((TDEFontAction*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEFontAction.h b/kdejava/koala/kdejava/TDEFontAction.h deleted file mode 100644 index 6dedc5b8..00000000 --- a/kdejava/koala/kdejava/TDEFontAction.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontAction__ -#define __org_kde_koala_TDEFontAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontAction_font (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_setFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontAction__ */ diff --git a/kdejava/koala/kdejava/TDEFontChooser.cpp b/kdejava/koala/kdejava/TDEFontChooser.cpp deleted file mode 100644 index c710c368..00000000 --- a/kdejava/koala/kdejava/TDEFontChooser.cpp +++ /dev/null @@ -1,633 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tdefontdialog.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqbutton.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEFontChooser.h> - -class TDEFontChooserJBridge : public TDEFontChooser -{ -public: - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7,TQButton::ToggleState* arg8) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4) : TDEFontChooser(arg1,arg2,arg3,arg4) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontChooser(arg1,arg2,arg3) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2) : TDEFontChooser(arg1,arg2) {}; - TDEFontChooserJBridge(TQWidget* arg1) : TDEFontChooser(arg1) {}; - TDEFontChooserJBridge() : TDEFontChooser() {}; - ~TDEFontChooserJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","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.TDEFontChooser","show")) { - TQWidget::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.TDEFontChooser","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","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 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 adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontChooser",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_backgroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEFontChooser*) QtSupport::getQt(env, obj))->backgroundColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontChooser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontChooser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEFontChooser*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontChooser_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_enableColumn(JNIEnv* env, jobject obj, jint column, jboolean state) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->enableColumn((int) column, (bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontChooser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontChooser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontChooser_fontDiffFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontChooser*) QtSupport::getQt(env, obj))->fontDiffFlags(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontChooser*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_getFontList(JNIEnv* env, jclass cls, jobjectArray list, jint fontListCriteria) -{ - (void) cls; -static TQStringList* _qlist_list = 0; - TDEFontChooserJBridge::getFontList((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (uint) fontListCriteria); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontChooser_getXLFD(JNIEnv* env, jclass cls, jobject theFont) -{ - TQString _qstring; - (void) cls; - _qstring = TDEFontChooserJBridge::getXLFD((const TQFont&)*(const TQFont*) QtSupport::getQt(env, theFont)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontChooser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontChooser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff, jint sizeIsRelativeState) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontChooser_sampleText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontChooser*) QtSupport::getQt(env, obj))->sampleText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setBackgroundColor(JNIEnv* env, jobject obj, jobject col) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setSampleBoxVisible(JNIEnv* env, jobject obj, jboolean visible) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSampleBoxVisible((bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setSampleText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEFontChooser*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontChooser_sizeIsRelative(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontChooser*) QtSupport::getQt(env, obj))->sizeIsRelative(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEFontChooser.h b/kdejava/koala/kdejava/TDEFontChooser.h deleted file mode 100644 index b7bd13d9..00000000 --- a/kdejava/koala/kdejava/TDEFontChooser.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontChooser__ -#define __org_kde_koala_TDEFontChooser__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_enableColumn (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontChooser_fontDiffFlags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_font (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_backgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSizeIsRelative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontChooser_sizeIsRelative (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_sampleText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSampleText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSampleBoxVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_getXLFD (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_getFontList (JNIEnv *env, jclass, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontChooser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontChooser__ */ diff --git a/kdejava/koala/kdejava/TDEFontCombo.cpp b/kdejava/koala/kdejava/TDEFontCombo.cpp deleted file mode 100644 index 0b5e46dd..00000000 --- a/kdejava/koala/kdejava/TDEFontCombo.cpp +++ /dev/null @@ -1,585 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdefontcombo.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEFontCombo.h> - -class TDEFontComboJBridge : public TDEFontCombo -{ -public: - TDEFontComboJBridge(TQWidget* arg1,const char* arg2) : TDEFontCombo(arg1,arg2) {}; - TDEFontComboJBridge(TQWidget* arg1) : TDEFontCombo(arg1) {}; - TDEFontComboJBridge(const TQStringList& arg1,TQWidget* arg2,const char* arg3) : TDEFontCombo(arg1,arg2,arg3) {}; - TDEFontComboJBridge(const TQStringList& arg1,TQWidget* arg2) : TDEFontCombo(arg1,arg2) {}; - void protected_updateFonts() { - TDEFontCombo::updateFonts(); - return; - } - void protected_slotModified(int arg1) { - TDEFontCombo::slotModified(arg1); - return; - } - ~TDEFontComboJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","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.TDEFontCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","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")) { - TQComboBox::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQComboBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","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")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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.TDEFontCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontCombo",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_bold(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->bold(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontCombo_currentFont(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontCombo*) QtSupport::getQt(env, obj))->currentFont(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_displayFonts(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEFontComboJBridge::displayFonts(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontCombo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_italic(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->italic(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontComboJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent) -{ -static TQStringList* _qlist_fonts = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent, jstring name) -{ -static TQStringList* _qlist_fonts = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontCombo_pointSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontCombo*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setBold(JNIEnv* env, jobject obj, jboolean bold) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setBold((bool) bold); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setCurrentFont(JNIEnv* env, jobject obj, jstring family) -{ -static TQString* _qstring_family = 0; - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setCurrentFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setCurrentItem(JNIEnv* env, jobject obj, jint i) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setCurrentItem((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setFonts(JNIEnv* env, jobject obj, jobjectArray fonts) -{ -static TQStringList* _qlist_fonts = 0; - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setFonts((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setItalic(JNIEnv* env, jobject obj, jboolean italic) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setItalic((bool) italic); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setStrikeOut(JNIEnv* env, jobject obj, jboolean strikeOut) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setStrikeOut((bool) strikeOut); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setUnderline(JNIEnv* env, jobject obj, jboolean underline) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setUnderline((bool) underline); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_slotModified(JNIEnv* env, jobject obj, jint i) -{ - ((TDEFontComboJBridge*) QtSupport::getQt(env, obj))->protected_slotModified((int) i); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_strikeOut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->strikeOut(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_underline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->underline(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_updateFonts(JNIEnv* env, jobject obj) -{ - ((TDEFontComboJBridge*) QtSupport::getQt(env, obj))->protected_updateFonts(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEFontCombo.h b/kdejava/koala/kdejava/TDEFontCombo.h deleted file mode 100644 index 28b850de..00000000 --- a/kdejava/koala/kdejava/TDEFontCombo.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontCombo__ -#define __org_kde_koala_TDEFontCombo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setFonts (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setCurrentFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontCombo_currentFont (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setBold (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_bold (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setItalic (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_italic (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setUnderline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_underline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setStrikeOut (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_strikeOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontCombo_pointSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_displayFonts (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_updateFonts (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_slotModified (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontCombo__ */ diff --git a/kdejava/koala/kdejava/TDEFontDialog.cpp b/kdejava/koala/kdejava/TDEFontDialog.cpp deleted file mode 100644 index 823cacec..00000000 --- a/kdejava/koala/kdejava/TDEFontDialog.cpp +++ /dev/null @@ -1,751 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefontdialog.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqbutton.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEFontDialog.h> - -class TDEFontDialogJBridge : public TDEFontDialog -{ -public: - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7,TQButton::ToggleState* arg8) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : TDEFontDialog(arg1,arg2,arg3,arg4) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontDialog(arg1,arg2,arg3) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2) : TDEFontDialog(arg1,arg2) {}; - TDEFontDialogJBridge(TQWidget* arg1) : TDEFontDialog(arg1) {}; - TDEFontDialogJBridge() : TDEFontDialog() {}; - ~TDEFontDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","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 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.TDEFontDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontDialog_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontDialog*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject theFont) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff, jint sizeIsRelativeState) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) -{ - ((TDEFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) -{ - ((TDEFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) -{ - ((TDEFontDialog*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_sizeIsRelative(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontDialog*) QtSupport::getQt(env, obj))->sizeIsRelative(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEFontDialog.h b/kdejava/koala/kdejava/TDEFontDialog.h deleted file mode 100644 index c74783c1..00000000 --- a/kdejava/koala/kdejava/TDEFontDialog.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontDialog__ -#define __org_kde_koala_TDEFontDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontDialog_font (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setSizeIsRelative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_sizeIsRelative (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ (JNIEnv *env, jclass, jobject, jintArray, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I (JNIEnv *env, jclass, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontDialog__ */ diff --git a/kdejava/koala/kdejava/TDEFontRequester.cpp b/kdejava/koala/kdejava/TDEFontRequester.cpp deleted file mode 100644 index 1b2d6214..00000000 --- a/kdejava/koala/kdejava/TDEFontRequester.cpp +++ /dev/null @@ -1,558 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdefontrequester.h> -#include <tqfont.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEFontRequester.h> - -class TDEFontRequesterJBridge : public TDEFontRequester -{ -public: - TDEFontRequesterJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontRequester(arg1,arg2,arg3) {}; - TDEFontRequesterJBridge(TQWidget* arg1,const char* arg2) : TDEFontRequester(arg1,arg2) {}; - TDEFontRequesterJBridge(TQWidget* arg1) : TDEFontRequester(arg1) {}; - TDEFontRequesterJBridge() : TDEFontRequester() {}; - void protected_displaySampleText() { - TDEFontRequester::displaySampleText(); - return; - } - void protected_setToolTip() { - TDEFontRequester::setToolTip(); - return; - } - void protected_buttonClicked() { - TDEFontRequester::buttonClicked(); - return; - } - ~TDEFontRequesterJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","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.TDEFontRequester","show")) { - TQWidget::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.TDEFontRequester","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void buttonClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","buttonClicked")) { - TDEFontRequester::buttonClicked(); - } - 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")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","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 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.TDEFontRequester","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontRequester",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_buttonClicked(JNIEnv* env, jobject obj) -{ - ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_button(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontRequester_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_displaySampleText(JNIEnv* env, jobject obj) -{ - ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_displaySampleText(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontRequester_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontRequester*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontRequester*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontRequester_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontRequester_isFixedOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontRequester*) QtSupport::getQt(env, obj))->isFixedOnly(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_label(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->label(), "org.kde.qt.TQLabel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontRequesterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontRequester_sampleText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->sampleText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) -{ - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) -{ - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setSampleText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setTitle(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setToolTip(JNIEnv* env, jobject obj) -{ - ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_setToolTip(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontRequester_title(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->title(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEFontRequester.h b/kdejava/koala/kdejava/TDEFontRequester.h deleted file mode 100644 index 91ad40b8..00000000 --- a/kdejava/koala/kdejava/TDEFontRequester.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontRequester__ -#define __org_kde_koala_TDEFontRequester__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_font (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontRequester_isFixedOnly (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_sampleText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_label (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_button (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setSampleText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_displaySampleText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setToolTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_buttonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontRequester_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontRequester__ */ diff --git a/kdejava/koala/kdejava/TDEFontSizeAction.cpp b/kdejava/koala/kdejava/TDEFontSizeAction.cpp deleted file mode 100644 index 13f978de..00000000 --- a/kdejava/koala/kdejava/TDEFontSizeAction.cpp +++ /dev/null @@ -1,455 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEFontSizeAction.h> - -class TDEFontSizeActionJBridge : public TDEFontSizeAction -{ -public: - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(const TQString& arg1) : TDEFontSizeAction(arg1) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontSizeActionJBridge(TQObject* arg1,const char* arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(TQObject* arg1) : TDEFontSizeAction(arg1) {}; - TDEFontSizeActionJBridge() : TDEFontSizeAction() {}; - void protected_slotActivated(int arg1) { - TDEFontSizeAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - TDEFontSizeAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - TDEFontSizeAction::slotActivated(); - return; - } - ~TDEFontSizeActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","slotActivated")) { - TDEFontSizeAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontSizeAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontSizeAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontSizeAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEFontSizeAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEFontSizeAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontSizeAction_fontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->fontSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontSizeAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontSizeAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontSizeAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_setFontSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->setFontSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEFontSizeAction.h b/kdejava/koala/kdejava/TDEFontSizeAction.h deleted file mode 100644 index 4ee30794..00000000 --- a/kdejava/koala/kdejava/TDEFontSizeAction.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontSizeAction__ -#define __org_kde_koala_TDEFontSizeAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontSizeAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontSizeAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontSizeAction_fontSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontSizeAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontSizeAction__ */ diff --git a/kdejava/koala/kdejava/TDEGlobal.cpp b/kdejava/koala/kdejava/TDEGlobal.cpp deleted file mode 100644 index 52f536a1..00000000 --- a/kdejava/koala/kdejava/TDEGlobal.cpp +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeglobal.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEGlobal.h> - -class TDEGlobalJBridge : public TDEGlobal -{ -public: - TDEGlobalJBridge() : TDEGlobal() {}; - ~TDEGlobalJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_activeInstance(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::activeInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_charsets(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::charsets(), "org.kde.koala.KCharsets"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_config(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_deleteStaticDeleters(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEGlobalJBridge::deleteStaticDeleters(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_dirs(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::dirs(), "org.kde.koala.TDEStandardDirs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEGlobal_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEGlobal*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_iconLoader(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::iconLoader(), "org.kde.koala.TDEIconLoader"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_instance(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobal_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_locale(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::locale(), "org.kde.koala.TDELocale"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_newTDEGlobal(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_registerStaticDeleter(JNIEnv* env, jclass cls, jobject d) -{ - (void) cls; - TDEGlobalJBridge::registerStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_setActiveInstance(JNIEnv* env, jclass cls, jobject d) -{ - (void) cls; - TDEGlobalJBridge::setActiveInstance((TDEInstance*) QtSupport::getQt(env, d)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_sharedConfig(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::sharedConfig(), "org.kde.koala.TDESharedConfig"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobal_staticQString(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_str = 0; - _qstring = TDEGlobalJBridge::staticQString((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_unregisterStaticDeleter(JNIEnv* env, jclass cls, jobject d) -{ - (void) cls; - TDEGlobalJBridge::unregisterStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEGlobal.h b/kdejava/koala/kdejava/TDEGlobal.h deleted file mode 100644 index 299715d1..00000000 --- a/kdejava/koala/kdejava/TDEGlobal.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEGlobal__ -#define __org_kde_koala_TDEGlobal__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_newTDEGlobal (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_instance (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_dirs (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_config (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_sharedConfig (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_iconLoader (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_locale (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_charsets (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobal_staticQString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_registerStaticDeleter (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_unregisterStaticDeleter (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_deleteStaticDeleters (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_setActiveInstance (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_activeInstance (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobal_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEGlobal__ */ diff --git a/kdejava/koala/kdejava/TDEGlobalAccel.cpp b/kdejava/koala/kdejava/TDEGlobalAccel.cpp deleted file mode 100644 index 38d55158..00000000 --- a/kdejava/koala/kdejava/TDEGlobalAccel.cpp +++ /dev/null @@ -1,291 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kglobalaccel.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEGlobalAccel.h> - -class TDEGlobalAccelJBridge : public TDEGlobalAccel -{ -public: - TDEGlobalAccelJBridge(TQObject* arg1,const char* arg2) : TDEGlobalAccel(arg1,arg2) {}; - TDEGlobalAccelJBridge(TQObject* arg1) : TDEGlobalAccel(arg1) {}; - ~TDEGlobalAccelJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEGlobalAccel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_blockShortcuts(JNIEnv* env, jclass cls, jboolean block) -{ - (void) cls; - (void) env; - TDEGlobalAccelJBridge::blockShortcuts((bool) block); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalAccel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalAccel_configGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->configGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_disableBlocking(JNIEnv* env, jobject obj, jboolean disable) -{ - ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->disableBlocking((bool) disable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEGlobalAccel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEGlobalAccel*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEGlobalAccel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName, jstring sLabel) -{ -static TQString* _qstring_sName = 0; -static TQString* _qstring_sLabel = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel)), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalAccel_label(JNIEnv* env, jobject obj, jstring sAction) -{ - TQString _qstring; -static TQString* _qstring_sAction = 0; - _qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->label((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject pParent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->readSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_remove(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_setActionEnabled(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnable) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnable); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring cg) -{ -static TQString* _qstring_cg = 0; - ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, cg, &_qstring_cg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEGlobalAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_updateConnections(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->updateConnections(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_useFourModifierKeys(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalAccelJBridge::useFourModifierKeys(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2Z(JNIEnv* env, jobject obj, jobject pConfig, jboolean bGlobal) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bGlobal); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEGlobalAccel.h b/kdejava/koala/kdejava/TDEGlobalAccel.h deleted file mode 100644 index 5ec63286..00000000 --- a/kdejava/koala/kdejava/TDEGlobalAccel.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEGlobalAccel__ -#define __org_kde_koala_TDEGlobalAccel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_updateConnections (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_shortcut (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setActionEnabled (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_label (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_configGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_setConfigGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_disableBlocking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_useFourModifierKeys (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_blockShortcuts (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEGlobalAccel__ */ diff --git a/kdejava/koala/kdejava/TDEGlobalSettings.cpp b/kdejava/koala/kdejava/TDEGlobalSettings.cpp deleted file mode 100644 index 35f2864f..00000000 --- a/kdejava/koala/kdejava/TDEGlobalSettings.cpp +++ /dev/null @@ -1,459 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeglobalsettings.h> -#include <tqrect.h> -#include <tqfont.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <kurl.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEGlobalSettings.h> - -class TDEGlobalSettingsJBridge : public TDEGlobalSettings -{ -public: - TDEGlobalSettingsJBridge() : TDEGlobalSettings() {}; - ~TDEGlobalSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_activeTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::activeTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_activeTitleColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::activeTitleColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_alternateBackgroundColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::alternateBackgroundColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_autoSelectDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::autoSelectDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_autostartPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::autostartPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_baseColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::baseColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_buttonBackground(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::buttonBackground()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_buttonLayout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::buttonLayout(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_buttonTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::buttonTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_calculateAlternateBackgroundColor(JNIEnv* env, jclass cls, jobject base) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::calculateAlternateBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, base))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_changeCursorOverIcon(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::changeCursorOverIcon(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_completionMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::completionMode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_contextMenuKey(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::contextMenuKey(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_contrast(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::contrast(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject point) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::desktopGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject w) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::desktopGeometry((TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_desktopPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::desktopPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEGlobalSettings_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_dndEventDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::dndEventDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_documentPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::documentPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEGlobalSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_fixedFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::fixedFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_generalFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::generalFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_highlightColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::highlightColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_highlightedTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::highlightedTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_inactiveTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::inactiveTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_inactiveTitleColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::inactiveTitleColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_insertTearOffHandle(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::insertTearOffHandle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_isMultiHead(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::isMultiHead(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_largeFont__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::largeFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_largeFont__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::largeFont((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_linkColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::linkColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_menuFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::menuFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalSettings_newTDEGlobalSettings(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_opaqueResize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::opaqueResize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_shadeSortColumn(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::shadeSortColumn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_showContextMenusOnPress(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showContextMenusOnPress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_showFilePreview(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showFilePreview((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_showIconsOnPushButtons(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showIconsOnPushButtons(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_singleClick(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::singleClick(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_splashScreenDesktopGeometry(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::splashScreenDesktopGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_taskbarFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::taskbarFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_textColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::textColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_toolBarFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::toolBarFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_toolBarHighlightColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::toolBarHighlightColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_trashPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::trashPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_visitedLinkColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::visitedLinkColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_visualActivateSpeed(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::visualActivateSpeed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_visualActivate(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::visualActivate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_wheelMouseZooms(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::wheelMouseZooms(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_windowTitleFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::windowTitleFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEGlobalSettings.h b/kdejava/koala/kdejava/TDEGlobalSettings.h deleted file mode 100644 index 2c2dc2cd..00000000 --- a/kdejava/koala/kdejava/TDEGlobalSettings.h +++ /dev/null @@ -1,70 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEGlobalSettings__ -#define __org_kde_koala_TDEGlobalSettings__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_newTDEGlobalSettings (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_dndEventDelay (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_singleClick (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_insertTearOffHandle (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_changeCursorOverIcon (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_visualActivate (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_visualActivateSpeed (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_autoSelectDelay (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_contextMenuKey (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showContextMenusOnPress (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_completionMode (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_autostartPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_trashPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_documentPath (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_toolBarHighlightColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_inactiveTitleColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_inactiveTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_activeTitleColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_activeTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_contrast (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonBackground (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_baseColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_textColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_linkColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_visitedLinkColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_highlightedTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_highlightColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_alternateBackgroundColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_calculateAlternateBackgroundColor (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_shadeSortColumn (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_generalFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_fixedFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_toolBarFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_menuFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_windowTitleFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_taskbarFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_largeFont__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_largeFont__ (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_isMultiHead (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_wheelMouseZooms (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_splashScreenDesktopGeometry (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showIconsOnPushButtons (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showFilePreview (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_opaqueResize (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonLayout (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEGlobalSettings__ */ diff --git a/kdejava/koala/kdejava/TDEHTMLPart.cpp b/kdejava/koala/kdejava/TDEHTMLPart.cpp deleted file mode 100644 index 7184f044..00000000 --- a/kdejava/koala/kdejava/TDEHTMLPart.cpp +++ /dev/null @@ -1,1364 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/html_document.h> -#include <dom/dom2_range.h> -#include <tqcursor.h> -#include <tqrect.h> -#include <tdeparts/browserextension.h> -#include <tqdatastream.h> -#include <dom/dom_node.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tqstringlist.h> -#include <tqvariant.h> -#include <tdehtml_part.h> -#include <dom/dom_doc.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEHTMLPart.h> - -class TDEHTMLPartJBridge : public TDEHTMLPart -{ -public: - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,TDEHTMLPart::GUIProfile arg5) : TDEHTMLPart(arg1,arg2,arg3,arg4,arg5) {}; - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4) : TDEHTMLPart(arg1,arg2,arg3,arg4) {}; - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3) : TDEHTMLPart(arg1,arg2,arg3) {}; - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2) : TDEHTMLPart(arg1,arg2) {}; - TDEHTMLPartJBridge(TQWidget* arg1) : TDEHTMLPart(arg1) {}; - TDEHTMLPartJBridge() : TDEHTMLPart() {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2,const char* arg3,TDEHTMLPart::GUIProfile arg4) : TDEHTMLPart(arg1,arg2,arg3,arg4) {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2,const char* arg3) : TDEHTMLPart(arg1,arg2,arg3) {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2) : TDEHTMLPart(arg1,arg2) {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1) : TDEHTMLPart(arg1) {}; - void public_begin() { - TDEHTMLPart::begin(); - return; - } - void public_end() { - TDEHTMLPart::end(); - return; - } - KURL protected_completeURL(const TQString& arg1) { - return (KURL) TDEHTMLPart::completeURL(arg1); - } - void protected_htmlError(int arg1,const TQString& arg2,const KURL& arg3) { - TDEHTMLPart::htmlError(arg1,arg2,arg3); - return; - } - void protected_customEvent(TQCustomEvent* arg1) { - TDEHTMLPart::customEvent(arg1); - return; - } - void protected_guiActivateEvent(KParts::GUIActivateEvent* arg1) { - TDEHTMLPart::guiActivateEvent(arg1); - return; - } - bool protected_openFile() { - return (bool) TDEHTMLPart::openFile(); - } - void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4,KParts::URLArgs arg5) { - TDEHTMLPart::urlSelected(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4) { - TDEHTMLPart::urlSelected(arg1,arg2,arg3,arg4); - return; - } - KParts::ReadOnlyPart* protected_createPart(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,const TQString& arg5,TQString& arg6,TQStringList& arg7,const TQStringList& arg8) { - return (KParts::ReadOnlyPart*) TDEHTMLPart::createPart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - bool protected_pluginPageQuestionAsked(const TQString& arg1) { - return (bool) TDEHTMLPart::pluginPageQuestionAsked(arg1); - } - void protected_setPluginPageQuestionAsked(const TQString& arg1) { - TDEHTMLPart::setPluginPageQuestionAsked(arg1); - return; - } - bool protected_doOpenStream(const TQString& arg1) { - return (bool) TDEHTMLPart::doOpenStream(arg1); - } - bool protected_doWriteStream(const TQByteArray& arg1) { - return (bool) TDEHTMLPart::doWriteStream(arg1); - } - bool protected_doCloseStream() { - return (bool) TDEHTMLPart::doCloseStream(); - } - ~TDEHTMLPartJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - bool doCloseStream() { - return QtSupport::booleanDelegate(this,"doCloseStream"); - } - void restoreState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"restoreState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - TDEHTMLPart::restoreState(arg1); - } - return; - } - void partSelectEvent(KParts::PartSelectEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partSelectEvent",(void*)arg1,"org.kde.koala.PartSelectEvent")) { - Part::partSelectEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLPart","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - void end() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLPart","end")) { - TDEHTMLPart::end(); - } - return; - } - void setManager(KParts::PartManager* arg1) { - if (!QtSupport::eventDelegate(this,"setManager",(void*)arg1,"org.kde.koala.PartManager")) { - Part::setManager(arg1); - } - return; - } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TDEHTMLPart::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void showError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"showError",(void*)arg1,"org.kde.koala.Job")) { - TDEHTMLPart::showError(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void embed(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"embed",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::embed(arg1); - } - return; - } - bool closeURL() { - return QtSupport::booleanDelegate(this,"closeURL"); - } - void partActivateEvent(KParts::PartActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partActivateEvent",(void*)arg1,"org.kde.koala.PartActivateEvent")) { - Part::partActivateEvent(arg1); - } - return; - } - void guiActivateEvent(KParts::GUIActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"guiActivateEvent",(void*)arg1,"org.kde.koala.GUIActivateEvent")) { - TDEHTMLPart::guiActivateEvent(arg1); - } - return; - } - void saveState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - TDEHTMLPart::saveState(arg1); - } - return; - } - bool openFile() { - return QtSupport::booleanDelegate(this,"openFile"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEHTMLPart",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_activeNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->activeNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_autoloadImages__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_autoloadImages__Z(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages((bool) e); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_backgroundURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->backgroundURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_baseTarget(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->baseTarget(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_baseURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->baseURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_begin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint xOffset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject url, jint xOffset, jint yOffset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset, (int) yOffset); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_browserExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->browserExtension(), "org.kde.koala.BrowserExtension"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_browserHostExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->browserHostExtension(), "org.kde.koala.BrowserHostExtension"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLPart_caretDisplayPolicyNonFocused(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->caretDisplayPolicyNonFocused(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_closeURL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->closeURL(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_completeURL(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_completeURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_createPart(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring mimetype, jobject serviceName, jobjectArray serviceTypes, jobjectArray params) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_mimetype = 0; -static TQString* _qstring_serviceName = 0; -static TQStringList* _qlist_serviceTypes = 0; -static TQStringList* _qlist_params = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, serviceName, &_qstring_serviceName), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, serviceTypes, &_qlist_serviceTypes), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, params, &_qlist_params)), "org.kde.koala.ReadOnlyPart"); - QtSupport::fromTQStringToStringBuffer(env, _qstring_serviceName, serviceName); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_currentFrame(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->currentFrame(), "org.kde.koala.ReadOnlyPart"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_customEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_dcopObjectId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->dcopObjectId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEHTMLPart_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_dndEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->dndEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_doCloseStream(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doCloseStream(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_doOpenStream(JNIEnv* env, jobject obj, jstring mimeType) -{ -static TQString* _qstring_mimeType = 0; - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doOpenStream((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_doWriteStream(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doWriteStream((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_documentSource(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->documentSource(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_document(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((TDEHTMLPart*) QtSupport::getQt(env, obj))->document()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enableJScript(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableJScript((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enableJava(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableJava((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enableMetaRefresh(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableMetaRefresh((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enablePlugins(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enablePlugins((bool) e); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_encoding(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->encoding(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_end(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_end(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_executeScript(JNIEnv* env, jobject obj, jobject n, jstring script) -{ -static TQString* _qstring_script = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEHTMLPart*) QtSupport::getQt(env, obj))->executeScript((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEHTMLPart*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEHTMLPart*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_findFrameParent(JNIEnv* env, jobject obj, jobject callingPart, jstring f) -{ -static TQString* _qstring_f = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFrameParent((KParts::ReadOnlyPart*) QtSupport::getQt(env, callingPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_findFramePart(JNIEnv* env, jobject obj, jstring f) -{ -static TQString* _qstring_f = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFramePart((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.ReadOnlyPart"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_findFrame(JNIEnv* env, jobject obj, jstring f) -{ -static TQString* _qstring_f = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFrame((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findTextBegin(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextBegin(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_findTextNext__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextNext(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_findTextNext__Z(JNIEnv* env, jobject obj, jboolean reverse) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextNext((bool) reverse); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring str, jlong options) -{ -static TQString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent) -{ -static TQString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_koala_KFindDialog_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent, jobject findDialog) -{ -static TQString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent), (KFindDialog*) QtSupport::getQt(env, findDialog)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLPart_formNotification(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->formNotification(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_frameExists(JNIEnv* env, jobject obj, jstring frameName) -{ -static TQString* _qstring_frameName = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->frameExists((const TQString&)*(TQString*) QtSupport::toTQString(env, frameName, &_qstring_frameName)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_frameNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->frameNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_gotoAnchor(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->gotoAnchor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_guiActivateEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_guiActivateEvent((KParts::GUIActivateEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_hasSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->hasSelection(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_hide(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_htmlDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLDocument(((TDEHTMLPart*) QtSupport::getQt(env, obj))->htmlDocument()), "org.kde.koala.HTMLDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_htmlError(JNIEnv* env, jobject obj, jint errorCode, jstring text, jobject reqUrl) -{ -static TQString* _qstring_text = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_htmlError((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KURL&)*(const KURL*) QtSupport::getQt(env, reqUrl)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_inProgress(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->inProgress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isCaretMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isCaretMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_jScriptEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jScriptEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_javaEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->javaEnabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_jsDefaultStatusBarText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jsDefaultStatusBarText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_jsStatusBarText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jsStatusBarText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_lastModified(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->lastModified(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_metaRefreshEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->metaRefreshEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2(JNIEnv* env, jobject obj, jobject view) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject view, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name, jint prof) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEHTMLPart::GUIProfile) prof)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname) -{ -static TQCString* _qstring_widgetname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent) -{ -static TQCString* _qstring_widgetname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name) -{ -static TQCString* _qstring_widgetname = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name, jint prof) -{ -static TQCString* _qstring_widgetname = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEHTMLPart::GUIProfile) prof)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_nextAnchor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->nextAnchor(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_nodeUnderMouse(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->nodeUnderMouse()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_nonSharedNodeUnderMouse(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->nonSharedNodeUnderMouse()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_onlyLocalReferences(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->onlyLocalReferences(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_openFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_openFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_openURL(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_pageReferrer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->pageReferrer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I_3Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3, jbooleanArray arg4) -{ - bool* _bool_arg4 = QtSupport::toBooleanPtr(env, arg4); - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3, (bool*) _bool_arg4); - env->SetBooleanArrayRegion(arg4, 0, 1, (jboolean*) _bool_arg4); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_parentPart(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->parentPart(), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_partManager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->partManager(), "org.kde.koala.PartManager"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_pluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_pluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_pluginsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->pluginsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_preloadScript(JNIEnv* env, jobject obj, jstring url, jstring script) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_script = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->preloadScript((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_preloadStyleSheet(JNIEnv* env, jobject obj, jstring url, jstring stylesheet) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_stylesheet = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->preloadStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, stylesheet, &_qstring_stylesheet)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_prevAnchor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->prevAnchor(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_referrer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->referrer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_restoreState(JNIEnv* env, jobject obj, jobject stream) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->restoreState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_restored(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->restored(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_saveState(JNIEnv* env, jobject obj, jobject stream) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->saveState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint delay, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2Z(JNIEnv* env, jobject obj, jint delay, jstring url, jboolean lockHistory) -{ -static TQString* _qstring_url = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (bool) lockHistory); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_selectAll(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectAll(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_selectedTextAsHTML(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectedTextAsHTML(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_selectedText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectedText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_selection__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((TDEHTMLPart*) QtSupport::getQt(env, obj))->selection()), "org.kde.koala.Range", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_selection__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject startNode, jlong startOffset, jobject endNode, jlong endOffset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selection((DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, startNode), (long&) startOffset, (DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, endNode), (long&) endOffset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setActiveNode(JNIEnv* env, jobject obj, jobject node) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setActiveNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, node)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setAutoloadImages(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setAutoloadImages((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretDisplayPolicyNonFocused(JNIEnv* env, jobject obj, jint policy) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretDisplayPolicyNonFocused((TDEHTMLPart::CaretDisplayPolicy) policy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretMode(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretMode((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject node, jlong offset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2JZ(JNIEnv* env, jobject obj, jobject node, jlong offset, jboolean extendSelection) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset, (bool) extendSelection); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretVisible(JNIEnv* env, jobject obj, jboolean show) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretVisible((bool) show); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_setCharset(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCharset((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setDNDEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setDNDEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setEditable(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEditable((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean override) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) override); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setFixedFont(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setFixedFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setFormNotification(JNIEnv* env, jobject obj, jint fn) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setFormNotification((TDEHTMLPart::FormNotification) fn); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJSDefaultStatusBarText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJSDefaultStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJSStatusBarText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJSStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJScriptEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJScriptEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJavaEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJavaEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setMetaRefreshEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setMetaRefreshEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setOnlyLocalReferences(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setOnlyLocalReferences((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setPluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_setPluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setPluginsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setPluginsEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setSelection(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setSelection((const DOM::Range&)*(const DOM::Range*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setStandardFont(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setStandardFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setStatusMessagesEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setStatusMessagesEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setSuppressedPopupIndicator(JNIEnv* env, jobject obj, jboolean enable, jobject originPart) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setSuppressedPopupIndicator((bool) enable, (TDEHTMLPart*) QtSupport::getQt(env, originPart)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setURLCursor(JNIEnv* env, jobject obj, jobject c) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setURLCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring styleSheet) -{ -static TQString* _qstring_styleSheet = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, styleSheet, &_qstring_styleSheet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setZoomFactor(JNIEnv* env, jobject obj, jint percent) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setZoomFactor((int) percent); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_settings(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->settings(), "org.kde.koala.TDEHTMLSettings"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_showError(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->showError((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_show(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_statusMessagesEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->statusMessagesEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_stopAnimations(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->stopAnimations(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target) -{ -static TQCString* _qstring_action = 0; -static TQString* _qstring_url = 0; -static TQByteArray* _qbyteArray_formData = 0; -static TQString* _qstring_target = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType) -{ -static TQCString* _qstring_action = 0; -static TQString* _qstring_url = 0; -static TQByteArray* _qbyteArray_formData = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_contentType = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType, jstring boundary) -{ -static TQCString* _qstring_action = 0; -static TQString* _qstring_url = 0; -static TQByteArray* _qbyteArray_formData = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_contentType = 0; -static TQString* _qstring_boundary = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType), (const TQString&)*(TQString*) QtSupport::toTQString(env, boundary, &_qstring_boundary)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_toplevelURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->toplevelURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_urlCursor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(((TDEHTMLPart*) QtSupport::getQt(env, obj))->urlCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring__target = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2Lorg_kde_koala_URLArgs_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target, jobject args) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring__target = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target), (KParts::URLArgs)*(KParts::URLArgs*) QtSupport::getQt(env, args)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.TDEHTMLView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQCString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint len) -{ -static TQCString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str), (int) len); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLPart_zoomFactor(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->zoomFactor(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEHTMLPart.h b/kdejava/koala/kdejava/TDEHTMLPart.h deleted file mode 100644 index ee8431ed..00000000 --- a/kdejava/koala/kdejava/TDEHTMLPart.h +++ /dev/null @@ -1,168 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEHTMLPart__ -#define __org_kde_koala_TDEHTMLPart__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_openURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_closeURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_showError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_htmlDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_document (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_documentSource (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_activeNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_browserExtension (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_browserHostExtension (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_view (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJScriptEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_jScriptEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setStatusMessagesEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_statusMessagesEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setMetaRefreshEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_metaRefreshEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_executeScript (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setDNDEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_dndEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJavaEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_javaEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setPluginsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_pluginsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setAutoloadImages (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_autoloadImages__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setOnlyLocalReferences (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_onlyLocalReferences (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isCaretMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2JZ (JNIEnv *env, jobject, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2J (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLPart_caretDisplayPolicyNonFocused (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretDisplayPolicyNonFocused (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enableJScript (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enableJava (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enablePlugins (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_autoloadImages__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enableMetaRefresh (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_setCharset (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_baseURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_baseTarget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_backgroundURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_end (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I_3Z (JNIEnv *env, jobject, jobject, jobject, jint, jbooleanArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_encoding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setStandardFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setFixedFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_gotoAnchor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_nextAnchor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_prevAnchor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setURLCursor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_urlCursor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_koala_KFindDialog_2 (JNIEnv *env, jobject, jstring, jlong, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jlong, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findTextBegin (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_findTextNext__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_findTextNext__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setZoomFactor (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLPart_zoomFactor (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_selectedText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_selectedTextAsHTML (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_selection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_selection__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J (JNIEnv *env, jobject, jobject, jlong, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setSelection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_hasSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_partManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_restoreState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_nodeUnderMouse (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_nonSharedNodeUnderMouse (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_settings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_parentPart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_frameNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_findFrame (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_findFrameParent (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_currentFrame (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_frameExists (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_findFramePart (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJSStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJSDefaultStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_jsStatusBarText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_jsDefaultStatusBarText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_referrer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_pageReferrer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_lastModified (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_preloadStyleSheet (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_preloadScript (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_restored (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setFormNotification (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLPart_formNotification (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_toplevelURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isModified (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setSuppressedPopupIndicator (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_inProgress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setActiveNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_stopAnimations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_dcopObjectId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_completeURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_htmlError (JNIEnv *env, jobject, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_customEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_guiActivateEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_openFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2Lorg_kde_koala_URLArgs_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_createPart (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jstring, jobject, jobjectArray, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_pluginPageQuestionAsked (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setPluginPageQuestionAsked (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_doOpenStream (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_doWriteStream (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_doCloseStream (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEHTMLPart__ */ diff --git a/kdejava/koala/kdejava/TDEHTMLSettings.cpp b/kdejava/koala/kdejava/TDEHTMLSettings.cpp deleted file mode 100644 index 1c696513..00000000 --- a/kdejava/koala/kdejava/TDEHTMLSettings.cpp +++ /dev/null @@ -1,562 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqcolor.h> -#include <tdehtml_settings.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEHTMLSettings.h> - -class TDEHTMLSettingsJBridge : public TDEHTMLSettings -{ -public: - TDEHTMLSettingsJBridge() : TDEHTMLSettings() {}; - TDEHTMLSettingsJBridge(const TDEHTMLSettings& arg1) : TDEHTMLSettings(arg1) {}; - ~TDEHTMLSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_accessKeysEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->accessKeysEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_addAdFilter(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->addAdFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_adviceToStr(JNIEnv* env, jclass cls, jint _advice) -{ - const char* _qstring; - (void) cls; - _qstring = TDEHTMLSettingsJBridge::adviceToStr((TDEHTMLSettings::KJavaScriptAdvice) _advice); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_allowTabulation(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->allowTabulation(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_autoLoadImages(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->autoLoadImages(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_autoSpellCheck(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->autoSpellCheck(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_availableFamilies(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEHTMLSettingsJBridge::availableFamilies(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_baseColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->baseColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_changeCursor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->changeCursor(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_cursiveFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->cursiveFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEHTMLSettings_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_encoding(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->encoding(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_fantasyFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->fantasyFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEHTMLSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_fixedFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->fixedFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_followSystemColors(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->followSystemColors(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_hoverLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->hoverLink(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_init__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->init(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->init((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2Z(JNIEnv* env, jobject obj, jobject config, jboolean reset) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->init((TDEConfig*) QtSupport::getQt(env, config), (bool) reset); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isAdFilterEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isAdFilterEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isAdFiltered(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isAdFiltered((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isAutoDelayedActionsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isAutoDelayedActionsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isBackRightClickEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isBackRightClickEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isFormCompletionEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isFormCompletionEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isHideAdsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isHideAdsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptDebugEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptDebugEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptErrorReportingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptErrorReportingEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isOpenMiddleClickEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isOpenMiddleClickEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isPluginsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isPluginsEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_jsErrorsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->jsErrorsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_jsPopupBlockerPassivePopup(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->jsPopupBlockerPassivePopup(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_linkColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->linkColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_maxFormCompletionItems(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->maxFormCompletionItems(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_mediumFontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->mediumFontSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_minFontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->minFontSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__Lorg_kde_koala_TDEHTMLSettings_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLSettingsJBridge((const TDEHTMLSettings&)*(const TDEHTMLSettings*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_sansSerifFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->sansSerifFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_serifFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->serifFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setFixedFontName(JNIEnv* env, jobject obj, jstring n) -{ -static TQString* _qstring_n = 0; - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setFixedFontName((const TQString&)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setJSErrorsEnabled(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setJSErrorsEnabled((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setJSPopupBlockerPassivePopup(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setJSPopupBlockerPassivePopup((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setStdFontName(JNIEnv* env, jobject obj, jstring n) -{ -static TQString* _qstring_n = 0; - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setStdFontName((const TQString&)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_settingsToCSS(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->settingsToCSS(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_showAnimations(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->showAnimations(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_splitDomainAdvice(JNIEnv* env, jclass cls, jstring configStr, jobject domain, jint javaAdvice, jint javaScriptAdvice) -{ - (void) cls; -static TQString* _qstring_configStr = 0; -static TQString* _qstring_domain = 0; - TDEHTMLSettingsJBridge::splitDomainAdvice((const TQString&)*(TQString*) QtSupport::toTQString(env, configStr, &_qstring_configStr), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, domain, &_qstring_domain), (TDEHTMLSettings::KJavaScriptAdvice&) javaAdvice, (TDEHTMLSettings::KJavaScriptAdvice&) javaScriptAdvice); - QtSupport::fromTQStringToStringBuffer(env, _qstring_domain, domain); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_stdFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->stdFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_strToAdvice(JNIEnv* env, jclass cls, jstring _str) -{ - (void) cls; -static TQString* _qstring__str = 0; - jint xret = (jint) TDEHTMLSettingsJBridge::strToAdvice((const TQString&)*(TQString*) QtSupport::toTQString(env, _str, &_qstring__str)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_textColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->textColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_underlineLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->underlineLink(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_unfinishedImageFrame(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->unfinishedImageFrame(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_userStyleSheet(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->userStyleSheet(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_vLinkColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->vLinkColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowFocusPolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowFocusPolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowMovePolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowMovePolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowOpenPolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowOpenPolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowResizePolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowResizePolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowStatusPolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowStatusPolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEHTMLSettings.h b/kdejava/koala/kdejava/TDEHTMLSettings.h deleted file mode 100644 index a8e05461..00000000 --- a/kdejava/koala/kdejava/TDEHTMLSettings.h +++ /dev/null @@ -1,91 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEHTMLSettings__ -#define __org_kde_koala_TDEHTMLSettings__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__Lorg_kde_koala_TDEHTMLSettings_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_init__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_changeCursor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_underlineLink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_hoverLink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_allowTabulation (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_autoSpellCheck (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_showAnimations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_stdFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_fixedFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_serifFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_sansSerifFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_cursiveFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_fantasyFontName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setStdFontName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setFixedFontName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_minFontSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_mediumFontSize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_jsErrorsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setJSErrorsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_followSystemColors (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_textColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_baseColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_linkColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_vLinkColor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_autoLoadImages (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_unfinishedImageFrame (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isOpenMiddleClickEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isBackRightClickEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isAdFiltered (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isAdFilterEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isHideAdsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_addAdFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_accessKeysEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_settingsToCSS (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_userStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isFormCompletionEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_maxFormCompletionItems (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isAutoDelayedActionsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_fallbackAccessKeysAssignments (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setJSPopupBlockerPassivePopup (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_jsPopupBlockerPassivePopup (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_strToAdvice (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_splitDomainAdvice (JNIEnv *env, jclass, jstring, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_adviceToStr (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_availableFamilies (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEHTMLSettings__ */ diff --git a/kdejava/koala/kdejava/TDEHTMLView.cpp b/kdejava/koala/kdejava/TDEHTMLView.cpp deleted file mode 100644 index 1a7caba3..00000000 --- a/kdejava/koala/kdejava/TDEHTMLView.cpp +++ /dev/null @@ -1,921 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqscrollview.h> -#include <tdehtmlview.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEHTMLView.h> - -class TDEHTMLViewJBridge : public TDEHTMLView -{ -public: - TDEHTMLViewJBridge(TDEHTMLPart* arg1,TQWidget* arg2,const char* arg3) : TDEHTMLView(arg1,arg2,arg3) {}; - TDEHTMLViewJBridge(TDEHTMLPart* arg1,TQWidget* arg2) : TDEHTMLView(arg1,arg2) {}; - void protected_clear() { - TDEHTMLView::clear(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEHTMLView::resizeEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TDEHTMLView::showEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TDEHTMLView::hideEvent(arg1); - return; - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TDEHTMLView::focusNextPrevChild(arg1); - } - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TDEHTMLView::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_drawContents(TQPainter* arg1) { - TDEHTMLView::drawContents(arg1); - return; - } - void protected_viewportMousePressEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMousePressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TDEHTMLView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEHTMLView::focusOutEvent(arg1); - return; - } - void protected_viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMouseDoubleClickEvent(arg1); - return; - } - void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMouseMoveEvent(arg1); - return; - } - void protected_viewportMouseReleaseEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMouseReleaseEvent(arg1); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TDEHTMLView::viewportResizeEvent(arg1); - return; - } - void protected_viewportWheelEvent(TQWheelEvent* arg1) { - TDEHTMLView::viewportWheelEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TDEHTMLView::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - TDEHTMLView::dropEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TDEHTMLView::closeEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEHTMLView::eventFilter(arg1,arg2); - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEHTMLView::keyPressEvent(arg1); - return; - } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TDEHTMLView::keyReleaseEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TDEHTMLView::contentsContextMenuEvent(arg1); - return; - } - void protected_doAutoScroll() { - TDEHTMLView::doAutoScroll(); - return; - } - void protected_timerEvent(TQTimerEvent* arg1) { - TDEHTMLView::timerEvent(arg1); - return; - } - void protected_slotPaletteChanged() { - TDEHTMLView::slotPaletteChanged(); - return; - } - void protected_slotScrollBarMoved() { - TDEHTMLView::slotScrollBarMoved(); - return; - } - ~TDEHTMLViewJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TDEHTMLView::drawContents(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")) { - TDEHTMLView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEHTMLView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEHTMLView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TDEHTMLView::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEHTMLView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEHTMLView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TDEHTMLView::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","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")) { - TDEHTMLView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEHTMLView::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 setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TDEHTMLView::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TDEHTMLView::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEHTMLView::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEHTMLView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEHTMLView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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")) { - TDEHTMLView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEHTMLView::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEHTMLView",object,event)) { - return TDEHTMLView::eventFilter(object,event); - } else { - return TRUE; - } - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TDEHTMLView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEHTMLView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEHTMLView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_clear(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject _ce) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, _ce)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_displayAccessKeys(JNIEnv* env, jobject obj) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->displayAccessKeys(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEHTMLView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_doAutoScroll(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2IIII(JNIEnv* env, jobject obj, jobject p, jint clipx, jint clipy, jint clipw, jint cliph) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) clipx, (int) clipy, (int) clipw, (int) cliph); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEHTMLView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEHTMLView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLView_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLView_frameWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLView*) QtSupport::getQt(env, obj))->frameWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_keyPressEvent(JNIEnv* env, jobject obj, jobject _ke) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, _ke)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_keyReleaseEvent(JNIEnv* env, jobject obj, jobject _ke) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, _ke)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLView_marginHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLView*) QtSupport::getQt(env, obj))->marginHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLView_marginWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLView*) QtSupport::getQt(env, obj))->marginWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject part, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLViewJBridge((TDEHTMLPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject part, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLViewJBridge((TDEHTMLPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLView_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLView*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_print__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->print(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_print__Z(JNIEnv* env, jobject obj, jboolean quick) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->print((bool) quick); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_resizeEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setHScrollBarMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TQScrollView::ScrollBarMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setMarginHeight(JNIEnv* env, jobject obj, jint y) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setMarginHeight((int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setMarginWidth(JNIEnv* env, jobject obj, jint x) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setMarginWidth((int) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setVScrollBarMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TQScrollView::ScrollBarMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_slotPaletteChanged(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_slotPaletteChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_slotScrollBarMoved(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_slotScrollBarMoved(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_timerEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_updateLayout(JNIEnv* env, jobject obj) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->layout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEHTMLView.h b/kdejava/koala/kdejava/TDEHTMLView.h deleted file mode 100644 index 98a2d3de..00000000 --- a/kdejava/koala/kdejava/TDEHTMLView.h +++ /dev/null @@ -1,63 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEHTMLView__ -#define __org_kde_koala_TDEHTMLView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLView_part (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLView_frameWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setMarginWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLView_marginWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setMarginHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLView_marginHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setVScrollBarMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setHScrollBarMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_print__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_print__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_updateLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_displayAccessKeys (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLView_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_keyReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_doAutoScroll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_timerEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_slotPaletteChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_slotScrollBarMoved (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEHTMLView__ */ diff --git a/kdejava/koala/kdejava/TDEIO.cpp b/kdejava/koala/kdejava/TDEIO.cpp deleted file mode 100644 index cd13baec..00000000 --- a/kdejava/koala/kdejava/TDEIO.cpp +++ /dev/null @@ -1,1196 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/renamedlg.h> -#include <tdeio/global.h> -#include <tdeparts/browserextension.h> -#include <tqdatastream.h> -#include <tdeio/authinfo.h> -#include <tqstring.h> -#include <tqdom.h> -#include <tdeparts/part.h> -#include <kurl.h> -#include <tdeio/skipdlg.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIO.h> -#include <tdeio/job.h> -#include <tdeio/davjob.h> -#include <tdeio/metainfojob.h> -#include <tdeio/previewjob.h> -#include <tdeio/paste.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_buildErrorString(JNIEnv* env, jclass cls, jint errorCode, jstring errorText) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_errorText = 0; - _qstring = TDEIO::buildErrorString((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_chmod(JNIEnv* env, jclass cls, jobject url, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::chmod((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSeconds(JNIEnv* env, jclass cls, jint seconds) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSeconds((unsigned int) seconds); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSizeFromKB(JNIEnv* env, jclass cls, jlong kbSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSizeFromKB((TDEIO::filesize_t) kbSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSizeWithBytes(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSizeWithBytes((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSize(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSize((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copyAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copyAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject dest) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jobject properties, jstring depth) -{ - (void) cls; -static TQString* _qstring_depth = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropFind((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (TQString)*(TQString*) QtSupport::toTQString(env, depth, &_qstring_depth)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject url, jobject properties, jstring depth, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_depth = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropFind((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (TQString)*(TQString*) QtSupport::toTQString(env, depth, &_qstring_depth), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jclass cls, jobject url, jobject properties) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropPatch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jclass cls, jobject url, jobject properties, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropPatch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring nsURI, jstring qName, jstring query) -{ - (void) cls; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; -static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davSearch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject url, jstring nsURI, jstring qName, jstring query, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; -static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davSearch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_decodeFileName(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = TDEIO::decodeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray src) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray src, jboolean shred) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2ZZ(JNIEnv* env, jclass cls, jobjectArray src, jboolean shred, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean shred) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) shred), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject src, jboolean shred, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_encodeFileName(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = TDEIO::encodeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_fileMetaInfo(JNIEnv* env, jclass cls, jobjectArray items) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::fileMetaInfo((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items)), "org.kde.koala.MetaInfoJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2I(JNIEnv* env, jclass cls, jobjectArray items, jint width) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2II(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2III(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIII(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZ(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; -static TQStringList* _qlist_enabledPlugins = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (const TQStringList*) QtSupport::toTQStringList(env, enabledPlugins, &_qlist_enabledPlugins)), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_delete((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_delete((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_findDeviceMountPoint(JNIEnv* env, jclass cls, jstring device) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_device = 0; - _qstring = TDEIO::findDeviceMountPoint((const TQString&)*(TQString*) QtSupport::toTQString(env, device, &_qstring_device)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_findPathMountPoint(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = TDEIO::findPathMountPoint((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_getCacheControlString(JNIEnv* env, jclass cls, jint cacheControl) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::getCacheControlString((TDEIO::CacheControl) cacheControl); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean reload) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean reload, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload, (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject url, jbyteArray postData) -{ - (void) cls; -static TQByteArray* _qbyteArray_postData = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_post((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, postData, &_qbyteArray_postData)), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3BZ(JNIEnv* env, jclass cls, jobject url, jbyteArray postData, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_postData = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_post((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, postData, &_qbyteArray_postData), (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1update_1cache(JNIEnv* env, jclass cls, jobject url, jboolean no_cache, jint expireDate) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_update_cache((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) no_cache, (time_t) expireDate), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_isClipboardEmpty(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEIO::isClipboardEmpty(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_itemsSummaryString(JNIEnv* env, jclass cls, jint items, jint files, jint dirs, jlong size, jboolean showSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::itemsSummaryString((uint) items, (uint) files, (uint) dirs, (TDEIO::filesize_t) size, (bool) showSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::linkAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::linkAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject destDir) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject destDir, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject destDir) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject destDir, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_manually_1mounted(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::manually_mounted((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.MimetypeJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.MimetypeJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject url, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jboolean ro, jstring fstype, jstring dev, jstring point) -{ - (void) cls; -static TQCString* _qstring_fstype = 0; -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mount((bool) ro, (const char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jboolean ro, jstring fstype, jstring dev, jstring point, jboolean showProgressInfo) -{ - (void) cls; -static TQCString* _qstring_fstype = 0; -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mount((bool) ro, (const char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::moveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::moveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject dest) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_number(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::number((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_op_1read(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &TDEIO::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_op_1write(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &TDEIO::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const TDEIO::AuthInfo&)*(const TDEIO::AuthInfo*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1SkipDlg__Z(JNIEnv* env, jclass cls, jboolean _multi) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEIO::open_SkipDlg((bool) _multi); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1SkipDlg__ZLjava_lang_String_2(JNIEnv* env, jclass cls, jboolean _multi, jstring _error_text) -{ - (void) cls; -static TQString* _qstring__error_text = 0; - jint xret = (jint) TDEIO::open_SkipDlg((bool) _multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, _error_text, &_qstring__error_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_parseCacheControl(JNIEnv* env, jclass cls, jstring cacheControl) -{ - (void) cls; -static TQString* _qstring_cacheControl = 0; - jint xret = (jint) TDEIO::parseCacheControl((const TQString&)*(TQString*) QtSupport::toTQString(env, cacheControl, &_qstring_cacheControl)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_pasteActionText(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::pasteActionText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject destURL) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteClipboard((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL)), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject destURL, jboolean move) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteClipboard((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (bool) move), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteDataAsync((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3BLjava_lang_String_2(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data, jstring dialogText) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteDataAsync((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIO_pasteData(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - TDEIO::pasteData((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject data, jobject destURL, jstring dialogText, jobject widget) -{ - (void) cls; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteMimeSource((TQMimeSource*) QtSupport::mimeSource(env, data), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText), (TQWidget*) QtSupport::getQt(env, widget)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject data, jobject destURL, jstring dialogText, jobject widget, jboolean clipboard) -{ - (void) cls; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteMimeSource((TQMimeSource*) QtSupport::mimeSource(env, data), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText), (TQWidget*) QtSupport::getQt(env, widget), (bool) clipboard), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_probably_1slow_1mounted(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::probably_slow_mounted((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint errorCode, jstring errorText) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText), (const KURL*) QtSupport::getQt(env, reqUrl)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl, jint method) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText), (const KURL*) QtSupport::getQt(env, reqUrl), (int) method); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_rename(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::rename((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_rmdir(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::rmdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject url, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::special((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3BZ(JNIEnv* env, jclass cls, jobject url, jbyteArray data, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::special((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZS(JNIEnv* env, jclass cls, jobject url, jboolean sideIsSource, jshort details) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZSZ(JNIEnv* env, jclass cls, jobject url, jboolean sideIsSource, jshort details, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details, (bool) showProgressInfo), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean reload) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean reload, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload, (bool) showProgressInfo), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jbyteArray arr, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; -static TQByteArray* _qbyteArray_arr = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedPut((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jbyteArray arr, jobject url, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_arr = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedPut((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jstring target, jobject dest, jboolean overwrite) -{ - (void) cls; -static TQString* _qstring_target = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jstring target, jobject dest, jboolean overwrite, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_target = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite, (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_testFileSystemFlag(JNIEnv* env, jclass cls, jstring filename, jint flag) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::testFileSystemFlag((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TDEIO::FileSystemFlag) flag); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray src) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray src, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring point) -{ - (void) cls; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::unmount((const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring point, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::unmount((const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_unsupportedActionErrorString(JNIEnv* env, jclass cls, jstring protocol, jint cmd) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = TDEIO::unsupportedActionErrorString((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (int) cmd); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEIO.h b/kdejava/koala/kdejava/TDEIO.h deleted file mode 100644 index c164b6da..00000000 --- a/kdejava/koala/kdejava/TDEIO.h +++ /dev/null @@ -1,150 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIO__ -#define __org_kde_koala_TDEIO__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1SkipDlg__ZLjava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1SkipDlg__Z (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_op_1write (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_op_1read (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSize (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSizeWithBytes (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_number (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSizeFromKB (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSeconds (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_itemsSummaryString (JNIEnv *env, jclass, jint, jint, jint, jlong, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_encodeFileName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_decodeFileName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_buildErrorString (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jint, jstring, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jint, jstring, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_unsupportedActionErrorString (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_parseCacheControl (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_getCacheControlString (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_findDeviceMountPoint (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_findPathMountPoint (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_probably_1slow_1mounted (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_manually_1mounted (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_testFileSystemFlag (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean, jboolean, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZ (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIII (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2III (JNIEnv *env, jclass, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_fileMetaInfo (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_rmdir (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_chmod (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_rename (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3BZ (JNIEnv *env, jclass, jobject, jbyteArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3B (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jboolean, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_http_1update_1cache (JNIEnv *env, jclass, jobject, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZSZ (JNIEnv *env, jclass, jobject, jboolean, jshort, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZS (JNIEnv *env, jclass, jobject, jboolean, jshort); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3BZ (JNIEnv *env, jclass, jobject, jbyteArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3B (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jbyteArray, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jbyteArray, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIO_pasteData (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3B (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3BLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jbyteArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_isClipboardEmpty (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_pasteActionText (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIO__ */ diff --git a/kdejava/koala/kdejava/TDEIconButton.cpp b/kdejava/koala/kdejava/TDEIconButton.cpp deleted file mode 100644 index a462babd..00000000 --- a/kdejava/koala/kdejava/TDEIconButton.cpp +++ /dev/null @@ -1,515 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kicondialog.h> -#include <kicontheme.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIconButton.h> - -class TDEIconButtonJBridge : public TDEIconButton -{ -public: - TDEIconButtonJBridge(TQWidget* arg1,const char* arg2) : TDEIconButton(arg1,arg2) {}; - TDEIconButtonJBridge(TQWidget* arg1) : TDEIconButton(arg1) {}; - TDEIconButtonJBridge() : TDEIconButton() {}; - TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconButton(arg1,arg2,arg3) {}; - TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconButton(arg1,arg2) {}; - ~TDEIconButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::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; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","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.TDEIconButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","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")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","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")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEIconButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconButton_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconButton_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconButton*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__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 TDEIconButtonJBridge((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_TDEIconButton_resetIcon(JNIEnv* env, jobject obj) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->resetIcon(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconType__II(JNIEnv* env, jobject obj, jint group, jint context) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconType__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean user) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) user); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconButton_strictIconSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconButton*) QtSupport::getQt(env, obj))->strictIconSize(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconButton.h b/kdejava/koala/kdejava/TDEIconButton.h deleted file mode 100644 index d745067f..00000000 --- a/kdejava/koala/kdejava/TDEIconButton.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconButton__ -#define __org_kde_koala_TDEIconButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setStrictIconSize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_strictIconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_resetIcon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_iconName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconButton_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconButton__ */ diff --git a/kdejava/koala/kdejava/TDEIconCanvas.cpp b/kdejava/koala/kdejava/TDEIconCanvas.cpp deleted file mode 100644 index f8a1d13d..00000000 --- a/kdejava/koala/kdejava/TDEIconCanvas.cpp +++ /dev/null @@ -1,671 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kicondialog.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIconCanvas.h> - -class TDEIconCanvasJBridge : public TDEIconCanvas -{ -public: - TDEIconCanvasJBridge(TQWidget* arg1,const char* arg2) : TDEIconCanvas(arg1,arg2) {}; - TDEIconCanvasJBridge(TQWidget* arg1) : TDEIconCanvas(arg1) {}; - TDEIconCanvasJBridge() : TDEIconCanvas() {}; - ~TDEIconCanvasJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clear")) { - TQIconView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEIconView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","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")) { - TQIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clearSelection")) { - TQIconView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TDEIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEIconView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TDEIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","invertSelection")) { - TQIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQIconView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQIconView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconCanvas_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconCanvas_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconCanvas*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconCanvas*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconCanvas_getCurrent(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->getCurrent(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconCanvas_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_loadFiles(JNIEnv* env, jobject obj, jobjectArray files) -{ -static TQStringList* _qlist_files = 0; - ((TDEIconCanvas*) QtSupport::getQt(env, obj))->loadFiles((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconCanvas_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconCanvasJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconCanvasJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__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 TDEIconCanvasJBridge((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_TDEIconCanvas_stopLoading(JNIEnv* env, jobject obj) -{ - ((TDEIconCanvas*) QtSupport::getQt(env, obj))->stopLoading(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEIconCanvas.h b/kdejava/koala/kdejava/TDEIconCanvas.h deleted file mode 100644 index bdb5349e..00000000 --- a/kdejava/koala/kdejava/TDEIconCanvas.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconCanvas__ -#define __org_kde_koala_TDEIconCanvas__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconCanvas_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_loadFiles (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_getCurrent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_stopLoading (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconCanvas_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconCanvas__ */ diff --git a/kdejava/koala/kdejava/TDEIconDialog.cpp b/kdejava/koala/kdejava/TDEIconDialog.cpp deleted file mode 100644 index 5fc14ec4..00000000 --- a/kdejava/koala/kdejava/TDEIconDialog.cpp +++ /dev/null @@ -1,703 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kicondialog.h> -#include <kicontheme.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIconDialog.h> - -class TDEIconDialogJBridge : public TDEIconDialog -{ -public: - TDEIconDialogJBridge(TQWidget* arg1,const char* arg2) : TDEIconDialog(arg1,arg2) {}; - TDEIconDialogJBridge(TQWidget* arg1) : TDEIconDialog(arg1) {}; - TDEIconDialogJBridge() : TDEIconDialog() {}; - TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconDialog(arg1,arg2,arg3) {}; - TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconDialog(arg1,arg2) {}; - TDEIconDialogJBridge(TDEIconLoader* arg1) : TDEIconDialog(arg1) {}; - void protected_slotOk() { - TDEIconDialog::slotOk(); - return; - } - ~TDEIconDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - 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")) { - TQDialog::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; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - 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 slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","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")) { - KDialogBase::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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","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 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.TDEIconDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__I(JNIEnv* env, jclass cls, jint group) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__II(JNIEnv* env, jclass cls, jint group, jint context) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZI(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconDialog_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconDialog*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__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 TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_openDialog(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->openDialog(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setCustomLocation(JNIEnv* env, jobject obj, jstring location) -{ -static TQString* _qstring_location = 0; - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setCustomLocation((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__I(JNIEnv* env, jobject obj, jint group) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__II(JNIEnv* env, jobject obj, jint group, jint context) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZI(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jboolean lockUser, jboolean lockCustomDir) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (bool) lockUser, (bool) lockCustomDir); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_showDialog(JNIEnv* env, jobject obj) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->showDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((TDEIconDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconDialog_strictIconSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconDialog*) QtSupport::getQt(env, obj))->strictIconSize(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconDialog.h b/kdejava/koala/kdejava/TDEIconDialog.h deleted file mode 100644 index e9afbd72..00000000 --- a/kdejava/koala/kdejava/TDEIconDialog.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconDialog__ -#define __org_kde_koala_TDEIconDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setStrictIconSize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_strictIconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setCustomLocation (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconDialog_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_openDialog (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_showDialog (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZI (JNIEnv *env, jclass, jint, jint, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZ (JNIEnv *env, jclass, jint, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconDialog__ */ diff --git a/kdejava/koala/kdejava/TDEIconEffect.cpp b/kdejava/koala/kdejava/TDEIconEffect.cpp deleted file mode 100644 index 7b8c8ac5..00000000 --- a/kdejava/koala/kdejava/TDEIconEffect.cpp +++ /dev/null @@ -1,195 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kiconeffect.h> -#include <tqrect.h> -#include <tqpixmap.h> -#include <tqimage.h> -#include <tqstring.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIconEffect.h> - -class TDEIconEffectJBridge : public TDEIconEffect -{ -public: - TDEIconEffectJBridge() : TDEIconEffect() {}; - ~TDEIconEffectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_colorize(JNIEnv* env, jclass cls, jobject image, jobject col, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::colorize((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_deSaturate(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::deSaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconEffect_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_doublePixels(JNIEnv* env, jobject obj, jobject src) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->doublePixels((TQImage)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEIconEffect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconEffect_fingerprint(JNIEnv* env, jobject obj, jint group, jint state) -{ - TQString _qstring; - _qstring = ((TDEIconEffect*) QtSupport::getQt(env, obj))->fingerprint((int) group, (int) state); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconEffect_hasEffect(JNIEnv* env, jobject obj, jint group, jint state) -{ - jboolean xret = (jboolean) ((TDEIconEffect*) QtSupport::getQt(env, obj))->hasEffect((int) group, (int) state); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_init(JNIEnv* env, jobject obj) -{ - ((TDEIconEffect*) QtSupport::getQt(env, obj))->init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconEffect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_newTDEIconEffect(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconEffectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_overlay(JNIEnv* env, jclass cls, jobject src, jobject overlay) -{ - (void) cls; - TDEIconEffectJBridge::overlay((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, overlay)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - TDEIconEffectJBridge::semiTransparent((TQImage&)*(TQImage*) QtSupport::getQt(env, image)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - TDEIconEffectJBridge::semiTransparent((TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toGamma(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toGamma((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toGray(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toMonochrome(JNIEnv* env, jclass cls, jobject image, jobject black, jobject white, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toMonochrome((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, black), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, white), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_visualActivate(JNIEnv* env, jclass cls, jobject widget, jobject rect) -{ - (void) cls; - TDEIconEffectJBridge::visualActivate((TQWidget*) QtSupport::getQt(env, widget), (TQRect)*(TQRect*) QtSupport::getQt(env, rect)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEIconEffect.h b/kdejava/koala/kdejava/TDEIconEffect.h deleted file mode 100644 index 08f329e0..00000000 --- a/kdejava/koala/kdejava/TDEIconEffect.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconEffect__ -#define __org_kde_koala_TDEIconEffect__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_newTDEIconEffect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_init (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_hasEffect (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconEffect_fingerprint (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_doublePixels (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_visualActivate (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGray (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_colorize (JNIEnv *env, jclass, jobject, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toMonochrome (JNIEnv *env, jclass, jobject, jobject, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_deSaturate (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGamma (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_overlay (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconEffect__ */ diff --git a/kdejava/koala/kdejava/TDEIconLoader.cpp b/kdejava/koala/kdejava/TDEIconLoader.cpp deleted file mode 100644 index 4e2c4a73..00000000 --- a/kdejava/koala/kdejava/TDEIconLoader.cpp +++ /dev/null @@ -1,330 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqmovie.h> -#include <tqpixmap.h> -#include <tqiconset.h> -#include <kicontheme.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kiconloader.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIconLoader.h> - -class TDEIconLoaderJBridge : public TDEIconLoader -{ -public: - TDEIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : TDEIconLoader(arg1,arg2) {}; - TDEIconLoaderJBridge(const TQString& arg1) : TDEIconLoader(arg1) {}; - TDEIconLoaderJBridge() : TDEIconLoader() {}; - ~TDEIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname) -{ -static TQString* _qstring_appname = 0; - ((TDEIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj) -{ - ((TDEIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconLoader_currentSize(JNIEnv* env, jobject obj, jint group) -{ - jint xret = (jint) ((TDEIconLoader*) QtSupport::getQt(env, obj))->currentSize((TDEIcon::Group) group); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconLoader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEIconLoader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_iconEffect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.TDEIconEffect"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean canReturnNull) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size, (bool) canReturnNull); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ - TQStringList _qlist; -static TQString* _qstring_name = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ - TQStringList _qlist; -static TQString* _qstring_name = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull, jboolean immediateExistenceCheck) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull, (bool) immediateExistenceCheck)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store, jboolean canReturnNull) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store), (bool) canReturnNull)), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQMovie", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQMovie", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname) -{ -static TQString* _qstring_appname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs) -{ -static TQString* _qstring_appname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (TDEIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir) -{ - TQStringList _qlist; -static TQString* _qstring_iconsDir = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (TDEIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs) -{ -static TQString* _qstring__appname = 0; - ((TDEIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_unknown(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TDEIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconLoader.h b/kdejava/koala/kdejava/TDEIconLoader.h deleted file mode 100644 index d6154a2c..00000000 --- a/kdejava/koala/kdejava/TDEIconLoader.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconLoader__ -#define __org_kde_koala_TDEIconLoader__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addAppDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconLoader_currentSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_iconEffect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_reconfigure (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_unknown (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconLoader__ */ diff --git a/kdejava/koala/kdejava/TDEIconView.cpp b/kdejava/koala/kdejava/TDEIconView.cpp deleted file mode 100644 index 78b547ab..00000000 --- a/kdejava/koala/kdejava/TDEIconView.cpp +++ /dev/null @@ -1,890 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kiconview.h> -#include <tqfont.h> -#include <tqpoint.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIconView.h> - -class TDEIconViewJBridge : public TDEIconView -{ -public: - TDEIconViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEIconView(arg1,arg2,arg3) {}; - TDEIconViewJBridge(TQWidget* arg1,const char* arg2) : TDEIconView(arg1,arg2) {}; - TDEIconViewJBridge(TQWidget* arg1) : TDEIconView(arg1) {}; - TDEIconViewJBridge() : TDEIconView() {}; - void protected_emitExecute(TQIconViewItem* arg1,const TQPoint& arg2) { - TDEIconView::emitExecute(arg1,arg2); - return; - } - void protected_updateDragHoldItem(TQDropEvent* arg1) { - TDEIconView::updateDragHoldItem(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEIconView::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEIconView::leaveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TDEIconView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TDEIconView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TDEIconView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TDEIconView::contentsDropEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TDEIconView::wheelEvent(arg1); - return; - } - void protected_cancelPendingHeldSignal() { - TDEIconView::cancelPendingHeldSignal(); - return; - } - void protected_slotOnItem(TQIconViewItem* arg1) { - TDEIconView::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - TDEIconView::slotOnViewport(); - return; - } - void protected_slotSettingsChanged(int arg1) { - TDEIconView::slotSettingsChanged(arg1); - return; - } - void protected_slotAutoSelect() { - TDEIconView::slotAutoSelect(); - return; - } - ~TDEIconViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clear")) { - TQIconView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEIconView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","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")) { - TQIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clearSelection")) { - TQIconView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TDEIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEIconView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TDEIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","invertSelection")) { - TQIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQIconView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQIconView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_cancelPendingHeldSignal(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQIconViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconView_iconTextHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->iconTextHeight(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconView_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_newTDEIconView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_newTDEIconView__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 TDEIconViewJBridge((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_TDEIconView_newTDEIconView__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 TDEIconViewJBridge((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_TDEIconView_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_setIconTextHeight(JNIEnv* env, jobject obj, jint n) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setIconTextHeight((int) n); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setMode((TDEIconView::Mode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_takeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_updateDragHoldItem(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_updateDragHoldItem((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEIconView.h b/kdejava/koala/kdejava/TDEIconView.h deleted file mode 100644 index b1f8fdfe..00000000 --- a/kdejava/koala/kdejava/TDEIconView.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconView__ -#define __org_kde_koala_TDEIconView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setIconTextHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_iconTextHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_emitExecute (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_updateDragHoldItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconView__ */ diff --git a/kdejava/koala/kdejava/TDEIconViewItem.cpp b/kdejava/koala/kdejava/TDEIconViewItem.cpp deleted file mode 100644 index 84133e1a..00000000 --- a/kdejava/koala/kdejava/TDEIconViewItem.cpp +++ /dev/null @@ -1,226 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpicture.h> -#include <kiconview.h> -#include <tqsize.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqpalette.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIconViewItem.h> - -class TDEIconViewItemJBridge : public TDEIconViewItem -{ -public: - TDEIconViewItemJBridge(TQIconView* arg1) : TDEIconViewItem(arg1) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TDEIconViewItem(arg1,arg2) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TDEIconViewItem(arg1,arg2) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; - void protected_init() { - TDEIconViewItem::init(); - return; - } - void protected_calcRect(const TQString& arg1) { - TDEIconViewItem::calcRect(arg1); - return; - } - void protected_calcRect() { - TDEIconViewItem::calcRect(); - return; - } - void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintItem(arg1,arg2); - return; - } - KWordWrap* protected_wordWrap() { - return (KWordWrap*) TDEIconViewItem::wordWrap(); - } - void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintPixmap(arg1,arg2); - return; - } - void protected_paintText(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintText(arg1,arg2); - return; - } - ~TDEIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_calcRect__(JNIEnv* env, jobject obj) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_) -{ -static TQString* _qstring_text_ = 0; - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconViewItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TDEIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { - delete (TDEIconViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_init(JNIEnv* env, jobject obj) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject picture) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject picture) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintPixmap((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintText((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconViewItem_pixmapSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_setPixmapSize(JNIEnv* env, jobject obj, jobject size) -{ - ((TDEIconViewItem*) QtSupport::getQt(env, obj))->setPixmapSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconViewItem_wordWrap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_wordWrap(), "org.kde.koala.KWordWrap"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconViewItem.h b/kdejava/koala/kdejava/TDEIconViewItem.h deleted file mode 100644 index 851b57e9..00000000 --- a/kdejava/koala/kdejava/TDEIconViewItem.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconViewItem__ -#define __org_kde_koala_TDEIconViewItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_setPixmapSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_pixmapSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_wordWrap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintPixmap (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintText (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconViewItem__ */ diff --git a/kdejava/koala/kdejava/TDEInstance.cpp b/kdejava/koala/kdejava/TDEInstance.cpp deleted file mode 100644 index b3bc3655..00000000 --- a/kdejava/koala/kdejava/TDEInstance.cpp +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kinstance.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEInstance.h> - -class TDEInstanceJBridge : public TDEInstance -{ -public: - TDEInstanceJBridge(const TQCString& arg1) : TDEInstance(arg1) {}; - TDEInstanceJBridge(const TDEAboutData* arg1) : TDEInstance(arg1) {}; - TDEInstanceJBridge(TDEInstance* arg1) : TDEInstance(arg1) {}; - void protected_setConfigName(const TQString& arg1) { - TDEInstance::setConfigName(arg1); - return; - } - ~TDEInstanceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_aboutData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->aboutData(), "org.kde.koala.TDEAboutData"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_dirs(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.TDEStandardDirs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEInstance_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEInstance*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_iconLoader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.TDEIconLoader"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEInstance_instanceName(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEInstance*) QtSupport::getQt(env, obj))->instanceName(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEInstance_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_mimeSourceFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.koala.KMimeSourceFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newIconLoader(JNIEnv* env, jobject obj) -{ - ((TDEInstance*) QtSupport::getQt(env, obj))->newIconLoader(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newTDEInstance__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName) -{ -static TQCString* _qcstring_instanceName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEInstanceJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, instanceName, &_qcstring_instanceName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEInstanceJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject src) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEInstanceJBridge((TDEInstance*) QtSupport::getQt(env, src))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_setConfigName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEInstanceJBridge*) QtSupport::getQt(env, obj))->protected_setConfigName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_sharedConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->sharedConfig(), "org.kde.koala.TDESharedConfig"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEInstance.h b/kdejava/koala/kdejava/TDEInstance.h deleted file mode 100644 index a75ee4c8..00000000 --- a/kdejava/koala/kdejava/TDEInstance.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEInstance__ -#define __org_kde_koala_TDEInstance__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newTDEInstance__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_dirs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_config (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_sharedConfig (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_iconLoader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newIconLoader (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_aboutData (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEInstance_instanceName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_mimeSourceFactory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_setConfigName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEInstance_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEInstance__ */ diff --git a/kdejava/koala/kdejava/TDEListAction.cpp b/kdejava/koala/kdejava/TDEListAction.cpp deleted file mode 100644 index fbce565d..00000000 --- a/kdejava/koala/kdejava/TDEListAction.cpp +++ /dev/null @@ -1,429 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEListAction.h> - -class TDEListActionJBridge : public TDEListAction -{ -public: - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEListAction(arg1,arg2,arg3) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(const TQString& arg1) : TDEListAction(arg1) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEListAction(arg1,arg2,arg3) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEListAction(arg1,arg2,arg3) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListActionJBridge(TQObject* arg1,const char* arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(TQObject* arg1) : TDEListAction(arg1) {}; - TDEListActionJBridge() : TDEListAction() {}; - ~TDEListActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","slotActivated")) { - TDESelectAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEListAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEListAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListAction_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListAction*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListAction_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEListAction*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEListAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEListAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) -{ - ((TDEListAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListAction.h b/kdejava/koala/kdejava/TDEListAction.h deleted file mode 100644 index 88a2a799..00000000 --- a/kdejava/koala/kdejava/TDEListAction.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListAction__ -#define __org_kde_koala_TDEListAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListAction_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListAction_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListAction__ */ diff --git a/kdejava/koala/kdejava/TDEListBox.cpp b/kdejava/koala/kdejava/TDEListBox.cpp deleted file mode 100644 index bacb2636..00000000 --- a/kdejava/koala/kdejava/TDEListBox.cpp +++ /dev/null @@ -1,704 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpoint.h> -#include <tdelistbox.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEListBox.h> - -class TDEListBoxJBridge : public TDEListBox -{ -public: - TDEListBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEListBox(arg1,arg2,arg3) {}; - TDEListBoxJBridge(TQWidget* arg1,const char* arg2) : TDEListBox(arg1,arg2) {}; - TDEListBoxJBridge(TQWidget* arg1) : TDEListBox(arg1) {}; - TDEListBoxJBridge() : TDEListBox() {}; - void protected_emitExecute(TQListBoxItem* arg1,const TQPoint& arg2) { - TDEListBox::emitExecute(arg1,arg2); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEListBox::keyPressEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEListBox::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEListBox::leaveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TDEListBox::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_slotOnItem(TQListBoxItem* arg1) { - TDEListBox::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - TDEListBox::slotOnViewport(); - return; - } - void protected_slotSettingsChanged(int arg1) { - TDEListBox::slotSettingsChanged(arg1); - return; - } - void protected_slotAutoSelect() { - TDEListBox::slotAutoSelect(); - return; - } - ~TDEListBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListBox::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQListBox::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","ensureCurrentVisible")) { - TQListBox::ensureCurrentVisible(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","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")) { - TQListBox::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","clearSelection")) { - TQListBox::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListBox::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","invertSelection")) { - TQListBox::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEListBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TQListBox::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQListBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListBox::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEListBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListBoxItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEListBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_newTDEListBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListBoxItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListBox.h b/kdejava/koala/kdejava/TDEListBox.h deleted file mode 100644 index b88375c0..00000000 --- a/kdejava/koala/kdejava/TDEListBox.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListBox__ -#define __org_kde_koala_TDEListBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_emitExecute (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListBox__ */ diff --git a/kdejava/koala/kdejava/TDEListView.cpp b/kdejava/koala/kdejava/TDEListView.cpp deleted file mode 100644 index 54faf678..00000000 --- a/kdejava/koala/kdejava/TDEListView.cpp +++ /dev/null @@ -1,1486 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tdelistview.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEListView.h> - -class TDEListViewJBridge : public TDEListView -{ -public: - TDEListViewJBridge(TQWidget* arg1,const char* arg2) : TDEListView(arg1,arg2) {}; - TDEListViewJBridge(TQWidget* arg1) : TDEListView(arg1) {}; - TDEListViewJBridge() : TDEListView() {}; - bool protected_below(const TQRect& arg1,const TQPoint& arg2) { - return (bool) TDEListView::below(arg1,arg2); - } - bool protected_below(TQListViewItem* arg1,const TQPoint& arg2) { - return (bool) TDEListView::below(arg1,arg2); - } - bool protected_event(TQEvent* arg1) { - return (bool) TDEListView::event(arg1); - } - void protected_emitExecute(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - TDEListView::emitExecute(arg1,arg2,arg3); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TDEListView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEListView::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEListView::leaveEvent(arg1); - return; - } - TQString protected_tooltip(TQListViewItem* arg1,int arg2) { - return (TQString) TDEListView::tooltip(arg1,arg2); - } - bool protected_showTooltip(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - return (bool) TDEListView::showTooltip(arg1,arg2,arg3); - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TDEListView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TDEListView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TDEListView::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TDEListView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TDEListView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TDEListView::contentsDropEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TDEListView::contentsDragEnterEvent(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TDEListView::dragObject(); - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) TDEListView::acceptDrag(arg1); - } - TQRect protected_drawDropVisualizer(TQPainter* arg1,TQListViewItem* arg2,TQListViewItem* arg3) { - return (TQRect) TDEListView::drawDropVisualizer(arg1,arg2,arg3); - } - TQRect protected_drawItemHighlighter(TQPainter* arg1,TQListViewItem* arg2) { - return (TQRect) TDEListView::drawItemHighlighter(arg1,arg2); - } - void protected_startDrag() { - TDEListView::startDrag(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEListView::keyPressEvent(arg1); - return; - } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - TDEListView::viewportPaintEvent(arg1); - return; - } - void protected_activateAutomaticSelection() { - TDEListView::activateAutomaticSelection(); - return; - } - void protected_deactivateAutomaticSelection() { - TDEListView::deactivateAutomaticSelection(); - return; - } - bool protected_automaticSelection() { - return (bool) TDEListView::automaticSelection(); - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TDEListView::viewportResizeEvent(arg1); - return; - } - void protected_disableAutoSelection() { - TDEListView::disableAutoSelection(); - return; - } - void protected_resetAutoSelection() { - TDEListView::resetAutoSelection(); - return; - } - void protected_movableDropEvent(TQListViewItem* arg1,TQListViewItem* arg2) { - TDEListView::movableDropEvent(arg1,arg2); - return; - } - void protected_findDrop(const TQPoint& arg1,TQListViewItem*& arg2,TQListViewItem*& arg3) { - TDEListView::findDrop(arg1,arg2,arg3); - return; - } - void protected_fileManagerKeyPressEvent(TQKeyEvent* arg1) { - TDEListView::fileManagerKeyPressEvent(arg1); - return; - } - int protected_depthToPixels(int arg1) { - return (int) TDEListView::depthToPixels(arg1); - } - void protected_slotSettingsChanged(int arg1) { - TDEListView::slotSettingsChanged(arg1); - return; - } - void protected_slotMouseButtonClicked(int arg1,TQListViewItem* arg2,const TQPoint& arg3,int arg4) { - TDEListView::slotMouseButtonClicked(arg1,arg2,arg3,arg4); - return; - } - void protected_doneEditing(TQListViewItem* arg1,int arg2) { - TDEListView::doneEditing(arg1,arg2); - return; - } - void protected_cleanDropVisualizer() { - TDEListView::cleanDropVisualizer(); - return; - } - void protected_cleanItemHighlighter() { - TDEListView::cleanItemHighlighter(); - return; - } - void protected_emitContextMenu(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - TDEListView::emitContextMenu(arg1,arg2,arg3); - return; - } - void protected_emitContextMenu(TDEListView* arg1,TQListViewItem* arg2) { - TDEListView::emitContextMenu(arg1,arg2); - return; - } - void protected_slotOnItem(TQListViewItem* arg1) { - TDEListView::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - TDEListView::slotOnViewport(); - return; - } - void protected_slotAutoSelect() { - TDEListView::slotAutoSelect(); - return; - } - void protected_slotDragExpand() { - TDEListView::slotDragExpand(); - return; - } - void protected_slotHeaderChanged() { - TDEListView::slotHeaderChanged(); - return; - } - ~TDEListViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEListView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEListView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::insertItem(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","sort")) { - TQListView::sort(); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","clear")) { - TQListView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEListView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQListView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TDEListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","clearSelection")) { - TQListView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TDEListView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","startDrag")) { - TDEListView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void fileManagerKeyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::fileManagerKeyPressEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TDEListView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","invertSelection")) { - TQListView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEListView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_acceptDrag(JNIEnv* env, jobject obj, jobject event) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_activateAutomaticSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_activateAutomaticSelection(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint width) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject iconset, jstring label, jint width) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_alternateBackground(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEListView*) QtSupport::getQt(env, obj))->alternateBackground(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_ascendingSort(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->ascendingSort(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_autoOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->autoOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_automaticSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_automaticSelection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject i, jobject p) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((TQListViewItem*) QtSupport::getQt(env, i), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject rect, jobject p) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEListView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_cleanDropVisualizer(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanDropVisualizer(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_cleanItemHighlighter(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanItemHighlighter(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_columnSorted(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->columnSorted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_deactivateAutomaticSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_deactivateAutomaticSelection(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_depthToPixels(JNIEnv* env, jobject obj, jint depth) -{ - jint xret = (jint) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_depthToPixels((int) depth); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_disableAutoSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_disableAutoSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_doneEditing(JNIEnv* env, jobject obj, jobject item, jint row) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_doneEditing((TQListViewItem*) QtSupport::getQt(env, item), (int) row); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_drawDropVisualizer(JNIEnv* env, jobject obj, jobject p, jobject parent, jobject after) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawDropVisualizer((TQPainter*) QtSupport::getQt(env, p), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_drawItemHighlighter(JNIEnv* env, jobject obj, jobject painter, jobject item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawItemHighlighter((TQPainter*) QtSupport::getQt(env, painter), (TQListViewItem*) QtSupport::getQt(env, item))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_dropHighlighter(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dropHighlighter(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_dropVisualizerWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->dropVisualizerWidth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_dropVisualizer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dropVisualizer(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_koala_TDEListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((TDEListView*) QtSupport::getQt(env, arg1), (TQListViewItem*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((TQListViewItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2), (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos, jint c) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_fileManagerKeyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_fileManagerKeyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEListView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_findDrop(JNIEnv* env, jobject obj, jobject pos, jobject parent, jobject after) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_findDrop((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_focusInEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_fullWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->fullWidth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isExecuteArea__I(JNIEnv* env, jobject obj, jint x) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isExecuteArea((int) x); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isExecuteArea__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isExecuteArea((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isRenameable(JNIEnv* env, jobject obj, jint column) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isRenameable((int) column); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_itemAtIndex(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->itemAtIndex((int) index), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_itemIndex(JNIEnv* env, jobject obj, jobject item) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->itemIndex((const TQListViewItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_itemsMovable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->itemsMovable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_itemsRenameable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->itemsRenameable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->lastChild(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_lastItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_movableDropEvent(JNIEnv* env, jobject obj, jobject parent, jobject afterme) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_movableDropEvent((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, afterme)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_moveItem(JNIEnv* env, jobject obj, jobject item, jobject parent, jobject after) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->moveItem((TQListViewItem*) QtSupport::getQt(env, item), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_newTDEListView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_removeColumn(JNIEnv* env, jobject obj, jint index) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_renameLineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->renameLineEdit(), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_rename(JNIEnv* env, jobject obj, jobject item, jint c) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->rename((TQListViewItem*) QtSupport::getQt(env, item), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_resetAutoSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_resetAutoSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_restoreLayout(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((TDEListView*) QtSupport::getQt(env, obj))->restoreLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_saveLayout(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((TDEListView*) QtSupport::getQt(env, obj))->saveLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_selectionModeExt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->selectionModeExt(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setAlternateBackground(JNIEnv* env, jobject obj, jobject c) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setAlternateBackground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setAutoOpen(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setAutoOpen((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDropHighlighter(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDropHighlighter((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDropVisualizerWidth(JNIEnv* env, jobject obj, jint w) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDropVisualizerWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDropVisualizer(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDropVisualizer((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setFullWidth(JNIEnv* env, jobject obj, jboolean fullWidth) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setFullWidth((bool) fullWidth); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setItemsMovable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setItemsMovable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setItemsRenameable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setItemsRenameable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setRenameable__I(JNIEnv* env, jobject obj, jint column) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setRenameable((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setRenameable__IZ(JNIEnv* env, jobject obj, jint column, jboolean yesno) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setRenameable((int) column, (bool) yesno); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setSelectionModeExt(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setSelectionModeExt((TDEListView::SelectionModeExt) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setShadeSortColumn(JNIEnv* env, jobject obj, jboolean shadeSortColumn) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setShadeSortColumn((bool) shadeSortColumn); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setSorting__I(JNIEnv* env, jobject obj, jint column) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setSorting((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setSorting__IZ(JNIEnv* env, jobject obj, jint column, jboolean ascending) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setTabOrderedRenaming(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setTabOrderedRenaming((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setTooltipColumn(JNIEnv* env, jobject obj, jint column) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setTooltipColumn((int) column); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_shadeSortColumn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->shadeSortColumn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_showTooltip(JNIEnv* env, jobject obj, jobject item, jobject pos, jint column) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_showTooltip((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) column); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotDragExpand(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotDragExpand(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotHeaderChanged(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotHeaderChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotMouseButtonClicked(JNIEnv* env, jobject obj, jint btn, jobject item, jobject pos, jint c) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotMouseButtonClicked((int) btn, (TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_startDrag(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_tabOrderedRenaming(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->tabOrderedRenaming(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_takeItem(JNIEnv* env, jobject obj, jobject i) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_tooltipColumn(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->tooltipColumn(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListView_tooltip(JNIEnv* env, jobject obj, jobject item, jint column) -{ - TQString _qstring; - _qstring = ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_tooltip((TQListViewItem*) QtSupport::getQt(env, item), (int) column); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListView.h b/kdejava/koala/kdejava/TDEListView.h deleted file mode 100644 index 430f8aae..00000000 --- a/kdejava/koala/kdejava/TDEListView.h +++ /dev/null @@ -1,123 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListView__ -#define __org_kde_koala_TDEListView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isExecuteArea__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isExecuteArea__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_moveItem (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_lastItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_renameLineEdit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_itemsMovable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_itemsRenameable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_autoOpen (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isRenameable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dropVisualizer (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_tooltipColumn (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dropHighlighter (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_dropVisualizerWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_selectionModeExt (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_itemIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_itemAtIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setFullWidth (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_fullWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_removeColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAlternateBackground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_alternateBackground (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_saveLayout (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_restoreLayout (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSorting__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSorting__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_columnSorted (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_ascendingSort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setShadeSortColumn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_shadeSortColumn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_rename (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setRenameable__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setRenameable__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setItemsMovable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setItemsRenameable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAutoOpen (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropVisualizer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropVisualizerWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setTooltipColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropHighlighter (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSelectionModeExt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setTabOrderedRenaming (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_tabOrderedRenaming (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitExecute (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListView_tooltip (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_showTooltip (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_drawDropVisualizer (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_drawItemHighlighter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_viewportPaintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_activateAutomaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_deactivateAutomaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_automaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_disableAutoSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_resetAutoSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_movableDropEvent (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_findDrop (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_fileManagerKeyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_depthToPixels (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotMouseButtonClicked (JNIEnv *env, jobject, jint, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_doneEditing (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_cleanDropVisualizer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_cleanItemHighlighter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_koala_TDEListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotDragExpand (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotHeaderChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListView__ */ diff --git a/kdejava/koala/kdejava/TDEListViewItem.cpp b/kdejava/koala/kdejava/TDEListViewItem.cpp deleted file mode 100644 index ec497c5c..00000000 --- a/kdejava/koala/kdejava/TDEListViewItem.cpp +++ /dev/null @@ -1,614 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdelistview.h> -#include <tqcolor.h> -#include <tqpalette.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEListViewItem.h> - -class TDEListViewItemJBridge : public TDEListViewItem -{ -public: - TDEListViewItemJBridge(TQListView* arg1) : TDEListViewItem(arg1) {}; - TDEListViewItemJBridge(TQListViewItem* arg1) : TDEListViewItem(arg1) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - ~TDEListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListViewItem_backgroundColor(JNIEnv* env, jobject obj, jint column) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEListViewItem*) QtSupport::getQt(env, obj))->backgroundColor((int) column)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListViewItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(TDEListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(TDEListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (TDEListViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_insertItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListViewItem*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListViewItem_isAlternate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListViewItem*) QtSupport::getQt(env, obj))->isAlternate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; -static TQString* _qstring_arg10 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; -static TQString* _qstring_arg10 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_paintCell(JNIEnv* env, jobject obj, jobject p, jobject cg, jint column, jint width, jint alignment) -{ - ((TDEListViewItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_takeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListViewItem*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListViewItem.h b/kdejava/koala/kdejava/TDEListViewItem.h deleted file mode 100644 index 87cab4e7..00000000 --- a/kdejava/koala/kdejava/TDEListViewItem.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListViewItem__ -#define __org_kde_koala_TDEListViewItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListViewItem_isAlternate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListViewItem_backgroundColor (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListViewItem__ */ diff --git a/kdejava/koala/kdejava/TDELocale.cpp b/kdejava/koala/kdejava/TDELocale.cpp deleted file mode 100644 index f747a285..00000000 --- a/kdejava/koala/kdejava/TDELocale.cpp +++ /dev/null @@ -1,941 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqdatetime.h> -#include <tdelocale.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDELocale.h> - -class TDELocaleJBridge : public TDELocale -{ -public: - TDELocaleJBridge(const TQString& arg1,TDEConfig* arg2) : TDELocale(arg1,arg2) {}; - TDELocaleJBridge(const TQString& arg1) : TDELocale(arg1) {}; - TDELocaleJBridge(const TDELocale& arg1) : TDELocale(arg1) {}; - static void protected_initInstance() { - TDELocale::initInstance(); - return; - } - ~TDELocaleJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale__1initLanguage(JNIEnv* env, jclass cls, jobject config) -{ - TQString _qstring; - (void) cls; - _qstring = TDELocaleJBridge::_initLanguage((TDEConfigBase*) QtSupport::getQt(env, config)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_allCountriesTwoAlpha(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->allCountriesTwoAlpha(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_allLanguagesTwoAlpha(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->allLanguagesTwoAlpha(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_calendarType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->calendarType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_calendar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDELocale*) QtSupport::getQt(env, obj))->calendar(), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_codecForEncoding(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDELocale*) QtSupport::getQt(env, obj))->codecForEncoding(), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_country(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->country(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_currencySymbol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->currencySymbol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_dateFormatShort(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->dateFormatShort(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_dateFormat(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->dateFormat(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_dateMonthNamePossessive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->dateMonthNamePossessive(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_decimalSymbol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->decimalSymbol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_defaultCountry(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDELocaleJBridge::defaultCountry(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_defaultLanguage(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDELocaleJBridge::defaultLanguage(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDELocale_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_encodingMib(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->encodingMib(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_encoding(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->encoding(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_fileEncodingMib(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->fileEncodingMib(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDELocale*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject pDateTime) -{ - TQString _qstring; -static TQDateTime* _qdate_pDateTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, pDateTime, &_qdate_pDateTime)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject pDateTime, jboolean shortFormat) -{ - TQString _qstring; -static TQDateTime* _qdate_pDateTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, pDateTime, &_qdate_pDateTime), (bool) shortFormat); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2ZZ(JNIEnv* env, jobject obj, jobject pDateTime, jboolean shortFormat, jboolean includeSecs) -{ - TQString _qstring; -static TQDateTime* _qdate_pDateTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, pDateTime, &_qdate_pDateTime), (bool) shortFormat, (bool) includeSecs); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject pDate) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject pDate, jboolean shortFormat) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) shortFormat); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatLong(JNIEnv* env, jobject obj, jlong num) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatLong((long) num); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatMoney__D(JNIEnv* env, jobject obj, jdouble num) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatMoney((double) num); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2(JNIEnv* env, jobject obj, jdouble num, jstring currency) -{ - TQString _qstring; -static TQString* _qstring_currency = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatMoney((double) num, (const TQString&)*(TQString*) QtSupport::toTQString(env, currency, &_qstring_currency)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2I(JNIEnv* env, jobject obj, jdouble num, jstring currency, jint digits) -{ - TQString _qstring; -static TQString* _qstring_currency = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatMoney((double) num, (const TQString&)*(TQString*) QtSupport::toTQString(env, currency, &_qstring_currency), (int) digits); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatNumber__D(JNIEnv* env, jobject obj, jdouble num) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatNumber((double) num); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatNumber__DI(JNIEnv* env, jobject obj, jdouble num, jint precision) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatNumber((double) num, (int) precision); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatNumber__Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring numStr, jboolean round, jint precision) -{ - TQString _qstring; -static TQString* _qstring_numStr = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatNumber((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr), (bool) round, (int) precision); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject pTime) -{ - TQString _qstring; -static TQTime* _qtime_pTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, pTime, &_qtime_pTime)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2Z(JNIEnv* env, jobject obj, jobject pTime, jboolean includeSecs) -{ - TQString _qstring; -static TQTime* _qtime_pTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, pTime, &_qtime_pTime), (bool) includeSecs); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2ZZ(JNIEnv* env, jobject obj, jobject pTime, jboolean includeSecs, jboolean isDuration) -{ - TQString _qstring; -static TQTime* _qtime_pTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, pTime, &_qtime_pTime), (bool) includeSecs, (bool) isDuration); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_fracDigits(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->fracDigits(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_initInstance(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDELocaleJBridge::protected_initInstance(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_insertCatalogue(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->insertCatalogue((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_fname = 0; - _qstring = TDELocaleJBridge::langLookup((const TQString&)*(TQString*) QtSupport::toTQString(env, fname, &_qstring_fname)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fname, jstring rtype) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_fname = 0; -static TQCString* _qstring_rtype = 0; - _qstring = TDELocaleJBridge::langLookup((const TQString&)*(TQString*) QtSupport::toTQString(env, fname, &_qstring_fname), (const char*) QtSupport::toCharString(env, rtype, &_qstring_rtype)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_languageList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->languageList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_language(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->language(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_languagesTwoAlpha(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->languagesTwoAlpha(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_measureSystem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->measureSystem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_monetaryDecimalSymbol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->monetaryDecimalSymbol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_monetaryThousandsSeparator(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->monetaryThousandsSeparator(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_negativeMonetarySignPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->negativeMonetarySignPosition(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_negativePrefixCurrencySymbol(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->negativePrefixCurrencySymbol(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_negativeSign(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->negativeSign(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDELocaleJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jstring catalog, jobject config) -{ -static TQString* _qstring_catalog = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDELocaleJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog), (TDEConfig*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_newTDELocale__Lorg_kde_koala_TDELocale_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDELocaleJBridge((const TDELocale&)*(const TDELocale*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_nounDeclension(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->nounDeclension(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_pageSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->pageSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_positiveMonetarySignPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->positiveMonetarySignPosition(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_positivePrefixCurrencySymbol(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->positivePrefixCurrencySymbol(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_positiveSign(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->positiveSign(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint flags) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadDateFlags) flags); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I_3Z(JNIEnv* env, jobject obj, jstring str, jint flags, jbooleanArray ok) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadDateFlags) flags, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring intstr, jstring fmt) -{ - TQDate _qdate; -static TQString* _qstring_intstr = 0; -static TQString* _qstring_fmt = 0; - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, intstr, &_qstring_intstr), (const TQString&)*(TQString*) QtSupport::toTQString(env, fmt, &_qstring_fmt)); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring intstr, jstring fmt, jbooleanArray ok) -{ - TQDate _qdate; -static TQString* _qstring_intstr = 0; -static TQString* _qstring_fmt = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, intstr, &_qstring_intstr), (const TQString&)*(TQString*) QtSupport::toTQString(env, fmt, &_qstring_fmt), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring str, jbooleanArray ok) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring numStr) -{ -static TQString* _qstring_numStr = 0; - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readMoney((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring numStr, jbooleanArray ok) -{ -static TQString* _qstring_numStr = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readMoney((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring numStr) -{ -static TQString* _qstring_numStr = 0; - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readNumber((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring numStr, jbooleanArray ok) -{ -static TQString* _qstring_numStr = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readNumber((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint flags) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadTimeFlags) flags); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I_3Z(JNIEnv* env, jobject obj, jstring str, jint flags, jbooleanArray ok) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadTimeFlags) flags, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring str, jbooleanArray ok) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_removeCatalogue(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->removeCatalogue((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setActiveCatalogue(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setActiveCatalogue((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setCalendar(JNIEnv* env, jobject obj, jstring calendarType) -{ -static TQString* _qstring_calendarType = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setCalendar((const TQString&)*(TQString*) QtSupport::toTQString(env, calendarType, &_qstring_calendarType)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setCountry(JNIEnv* env, jobject obj, jstring country) -{ -static TQString* _qstring_country = 0; - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setCountry((const TQString&)*(TQString*) QtSupport::toTQString(env, country, &_qstring_country)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setCurrencySymbol(JNIEnv* env, jobject obj, jstring symbol) -{ -static TQString* _qstring_symbol = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setCurrencySymbol((const TQString&)*(TQString*) QtSupport::toTQString(env, symbol, &_qstring_symbol)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDateFormatShort(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setDateFormatShort((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDateFormat(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setDateFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDateMonthNamePossessive(JNIEnv* env, jobject obj, jboolean possessive) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setDateMonthNamePossessive((bool) possessive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDecimalSymbol(JNIEnv* env, jobject obj, jstring symbol) -{ -static TQString* _qstring_symbol = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setDecimalSymbol((const TQString&)*(TQString*) QtSupport::toTQString(env, symbol, &_qstring_symbol)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setEncoding(JNIEnv* env, jobject obj, jint mibEnum) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setEncoding((int) mibEnum); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setFracDigits(JNIEnv* env, jobject obj, jint digits) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setFracDigits((int) digits); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setLanguage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring language) -{ -static TQString* _qstring_language = 0; - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setLanguage((const TQString&)*(TQString*) QtSupport::toTQString(env, language, &_qstring_language)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setLanguage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray languages) -{ -static TQStringList* _qlist_languages = 0; - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setLanguage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, languages, &_qlist_languages)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMainCatalogue(JNIEnv* env, jclass cls, jstring catalog) -{ - (void) cls; -static TQCString* _qstring_catalog = 0; - TDELocaleJBridge::setMainCatalogue((const char*) QtSupport::toCharString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMeasureSystem(JNIEnv* env, jobject obj, jint value) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setMeasureSystem((TDELocale::MeasureSystem) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMonetaryDecimalSymbol(JNIEnv* env, jobject obj, jstring symbol) -{ -static TQString* _qstring_symbol = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setMonetaryDecimalSymbol((const TQString&)*(TQString*) QtSupport::toTQString(env, symbol, &_qstring_symbol)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMonetaryThousandsSeparator(JNIEnv* env, jobject obj, jstring separator) -{ -static TQString* _qstring_separator = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setMonetaryThousandsSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, separator, &_qstring_separator)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setNegativeMonetarySignPosition(JNIEnv* env, jobject obj, jint signpos) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setNegativeMonetarySignPosition((TDELocale::SignPosition) signpos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setNegativePrefixCurrencySymbol(JNIEnv* env, jobject obj, jboolean prefix) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setNegativePrefixCurrencySymbol((bool) prefix); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setNegativeSign(JNIEnv* env, jobject obj, jstring sign) -{ -static TQString* _qstring_sign = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setNegativeSign((const TQString&)*(TQString*) QtSupport::toTQString(env, sign, &_qstring_sign)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPageSize(JNIEnv* env, jobject obj, jint paperFormat) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setPageSize((int) paperFormat); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPositiveMonetarySignPosition(JNIEnv* env, jobject obj, jint signpos) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setPositiveMonetarySignPosition((TDELocale::SignPosition) signpos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPositivePrefixCurrencySymbol(JNIEnv* env, jobject obj, jboolean prefix) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setPositivePrefixCurrencySymbol((bool) prefix); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPositiveSign(JNIEnv* env, jobject obj, jstring sign) -{ -static TQString* _qstring_sign = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setPositiveSign((const TQString&)*(TQString*) QtSupport::toTQString(env, sign, &_qstring_sign)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setThousandsSeparator(JNIEnv* env, jobject obj, jstring separator) -{ -static TQString* _qstring_separator = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setThousandsSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, separator, &_qstring_separator)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setTimeFormat(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setTimeFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setWeekStartDay(JNIEnv* env, jobject obj, jint day) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setWeekStartDay((int) day); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_splitLocale(JNIEnv* env, jclass cls, jstring str, jobject language, jobject country, jobject charset) -{ - (void) cls; -static TQString* _qstring_str = 0; -static TQString* _qstring_language = 0; -static TQString* _qstring_country = 0; -static TQString* _qstring_charset = 0; - TDELocaleJBridge::splitLocale((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, language, &_qstring_language), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, country, &_qstring_country), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, charset, &_qstring_charset)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_language, language); - QtSupport::fromTQStringToStringBuffer(env, _qstring_country, country); - QtSupport::fromTQStringToStringBuffer(env, _qstring_charset, charset); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_thousandsSeparator(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->thousandsSeparator(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_timeFormat(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->timeFormat(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translateQt(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring message) -{ - TQString _qstring; -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; -static TQCString* _qstring_message = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translateQt((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, message, &_qstring_message)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring index) -{ - TQString _qstring; -static TQCString* _qstring_index = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, index, &_qstring_index)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring comment, jstring fallback) -{ - TQString _qstring; -static TQCString* _qstring_comment = 0; -static TQCString* _qstring_fallback = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (const char*) QtSupport::toCharString(env, fallback, &_qstring_fallback)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring singular, jstring plural, jlong n) -{ - TQString _qstring; -static TQCString* _qstring_singular = 0; -static TQCString* _qstring_plural = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, singular, &_qstring_singular), (const char*) QtSupport::toCharString(env, plural, &_qstring_plural), (unsigned long) n); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_twoAlphaToCountryName(JNIEnv* env, jobject obj, jstring code) -{ - TQString _qstring; -static TQString* _qstring_code = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->twoAlphaToCountryName((const TQString&)*(TQString*) QtSupport::toTQString(env, code, &_qstring_code)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_twoAlphaToLanguageName(JNIEnv* env, jobject obj, jstring code) -{ - TQString _qstring; -static TQString* _qstring_code = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->twoAlphaToLanguageName((const TQString&)*(TQString*) QtSupport::toTQString(env, code, &_qstring_code)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_use12Clock(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->use12Clock(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_weekStartDay(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->weekStartDay(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDELocale.h b/kdejava/koala/kdejava/TDELocale.h deleted file mode 100644 index 500997e5..00000000 --- a/kdejava/koala/kdejava/TDELocale.h +++ /dev/null @@ -1,127 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDELocale__ -#define __org_kde_koala_TDELocale__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_newTDELocale__Lorg_kde_koala_TDELocale_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jstring, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setEncoding (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setLanguage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setLanguage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setCountry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_decimalSymbol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_thousandsSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_currencySymbol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_monetaryDecimalSymbol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_monetaryThousandsSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_positiveSign (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_negativeSign (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_fracDigits (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_positivePrefixCurrencySymbol (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_negativePrefixCurrencySymbol (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_positiveMonetarySignPosition (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_negativeMonetarySignPosition (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2I (JNIEnv *env, jobject, jdouble, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2 (JNIEnv *env, jobject, jdouble, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatMoney__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatNumber__DI (JNIEnv *env, jobject, jdouble, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatNumber__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatNumber__Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatLong (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_nounDeclension (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_dateMonthNamePossessive (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_use12Clock (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_weekStartDay (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_calendar (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_calendarType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setCalendar (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I_3Z (JNIEnv *env, jobject, jstring, jint, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I_3Z (JNIEnv *env, jobject, jstring, jint, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_language (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_country (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_languagesTwoAlpha (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_languageList (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_encodingMib (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_codecForEncoding (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_fileEncodingMib (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDateFormat (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDateFormatShort (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDateMonthNamePossessive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setTimeFormat (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setWeekStartDay (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_dateFormat (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_dateFormatShort (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_timeFormat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDecimalSymbol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setThousandsSeparator (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPositiveSign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setNegativeSign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPositiveMonetarySignPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setNegativeMonetarySignPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPositivePrefixCurrencySymbol (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setNegativePrefixCurrencySymbol (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setFracDigits (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMonetaryThousandsSeparator (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMonetaryDecimalSymbol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setCurrencySymbol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_pageSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPageSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_measureSystem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMeasureSystem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_insertCatalogue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_removeCatalogue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setActiveCatalogue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translateQt (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_allLanguagesTwoAlpha (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_twoAlphaToLanguageName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_allCountriesTwoAlpha (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_twoAlphaToCountryName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_splitLocale (JNIEnv *env, jclass, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMainCatalogue (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_defaultLanguage (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_defaultCountry (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale__1initLanguage (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_initInstance (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDELocale__ */ diff --git a/kdejava/koala/kdejava/TDEMainWindow.cpp b/kdejava/koala/kdejava/TDEMainWindow.cpp deleted file mode 100644 index fef51460..00000000 --- a/kdejava/koala/kdejava/TDEMainWindow.cpp +++ /dev/null @@ -1,1639 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tdemainwindow.h> -#include <kxmlguiclient.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqdom.h> -#include <tqstringlist.h> -#include <kxmlguibuilder.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEMainWindow.h> - -class TDEMainWindowJBridge : public TDEMainWindow -{ -public: - TDEMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEMainWindow(arg1,arg2,arg3) {}; - TDEMainWindowJBridge(TQWidget* arg1,const char* arg2) : TDEMainWindow(arg1,arg2) {}; - TDEMainWindowJBridge(TQWidget* arg1) : TDEMainWindow(arg1) {}; - TDEMainWindowJBridge() : TDEMainWindow() {}; - TDEMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TDEMainWindow(arg1,arg2,arg3,arg4) {}; - TDEMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3) : TDEMainWindow(arg1,arg2,arg3) {}; - TDEMainWindowJBridge(int arg1,TQWidget* arg2) : TDEMainWindow(arg1,arg2) {}; - TDEMainWindowJBridge(int arg1) : TDEMainWindow(arg1) {}; - void public_show() { - TDEMainWindow::show(); - return; - } - void public_hide() { - TDEMainWindow::hide(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TDEMainWindow::paintEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TDEMainWindow::childEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEMainWindow::resizeEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TDEMainWindow::closeEvent(arg1); - return; - } - bool protected_queryExit() { - return (bool) TDEMainWindow::queryExit(); - } - bool protected_queryClose() { - return (bool) TDEMainWindow::queryClose(); - } - void protected_saveProperties(TDEConfig* arg1) { - TDEMainWindow::saveProperties(arg1); - return; - } - void protected_readProperties(TDEConfig* arg1) { - TDEMainWindow::readProperties(arg1); - return; - } - void protected_saveGlobalProperties(TDEConfig* arg1) { - TDEMainWindow::saveGlobalProperties(arg1); - return; - } - void protected_readGlobalProperties(TDEConfig* arg1) { - TDEMainWindow::readGlobalProperties(arg1); - return; - } - void protected_savePropertiesInternal(TDEConfig* arg1,int arg2) { - TDEMainWindow::savePropertiesInternal(arg1,arg2); - return; - } - bool protected_readPropertiesInternal(TDEConfig* arg1,int arg2) { - return (bool) TDEMainWindow::readPropertiesInternal(arg1,arg2); - } - bool protected_settingsDirty() { - return (bool) TDEMainWindow::settingsDirty(); - } - TQString protected_settingsGroup() { - return (TQString) TDEMainWindow::settingsGroup(); - } - void protected_saveWindowSize(TDEConfig* arg1) { - TDEMainWindow::saveWindowSize(arg1); - return; - } - void protected_restoreWindowSize(TDEConfig* arg1) { - TDEMainWindow::restoreWindowSize(arg1); - return; - } - void protected_parseGeometry(bool arg1) { - TDEMainWindow::parseGeometry(arg1); - return; - } - void protected_saveNewToolbarConfig() { - TDEMainWindow::saveNewToolbarConfig(); - return; - } - void protected_showAboutApplication() { - TDEMainWindow::showAboutApplication(); - return; - } - void protected_saveAutoSaveSettings() { - TDEMainWindow::saveAutoSaveSettings(); - return; - } - ~TDEMainWindowJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setInstance(TDEInstance* arg1) { - KXMLGUIClient::setInstance(arg1); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { - KXMLGUIClient::setXMLFile(arg1,arg2,arg3); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXMLFile(arg1,arg2); - return; - } - void protected_setXMLFile(const TQString& arg1) { - KXMLGUIClient::setXMLFile(arg1); - return; - } - void protected_setLocalXMLFile(const TQString& arg1) { - KXMLGUIClient::setLocalXMLFile(arg1); - return; - } - void protected_setXML(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXML(arg1,arg2); - return; - } - void protected_setXML(const TQString& arg1) { - KXMLGUIClient::setXML(arg1); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { - KXMLGUIClient::setDOMDocument(arg1,arg2); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1) { - KXMLGUIClient::setDOMDocument(arg1); - return; - } - void protected_conserveMemory() { - KXMLGUIClient::conserveMemory(); - return; - } - void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { - KXMLGUIClient::stateChanged(arg1,arg2); - return; - } - void protected_stateChanged(const TQString& arg1) { - KXMLGUIClient::stateChanged(arg1); - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEMainWindow::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","show")) { - TDEMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","hide")) { - TDEMainWindow::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEMainWindow::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showAboutApplication")) { - TDEMainWindow::showAboutApplication(); - } - return; - } - void readGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readGlobalProperties(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - bool queryExit() { - return QtSupport::booleanDelegate(this,"queryExit"); - } - void saveProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveProperties(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TDEMainWindow::closeEvent(arg1); - } - return; - } - void readProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readProperties(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TDEMainWindow::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TDEMainWindow::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","whatsThis")) { - TQMainWindow::whatsThis(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - bool isCustomizable() { - return QtSupport::booleanDelegate(this,"isCustomizable"); - } - void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveGlobalProperties(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void setInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - KXMLGUIClient::setInstance(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_accel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->accel(), "org.kde.koala.TDEAccel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_appHelpActivated(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->appHelpActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring groupName, jboolean force) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) force); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_autoSaveGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEMainWindow*) QtSupport::getQt(env, obj))->autoSaveGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_autoSaveSettings(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->autoSaveSettings(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_builderClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->builderClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_builderInstance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->builderInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_canBeRestored(JNIEnv* env, jclass cls, jint number) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEMainWindowJBridge::canBeRestored((int) number); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_classNameOfToplevel(JNIEnv* env, jclass cls, jint number) -{ - TQString _qstring; - (void) cls; - _qstring = TDEMainWindowJBridge::classNameOfToplevel((int) number); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEMainWindow_configureToolbars(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEMainWindow*) QtSupport::getQt(env, obj))->configureToolbars(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_conserveMemory(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_containerTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->containerTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_createContainer(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element, jintArray id) -{ - int* _int_id = QtSupport::toIntPtr(env, id); - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->createContainer((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element), (int&) *_int_id), "org.kde.qt.TQWidget"); - env->SetIntArrayRegion(id, 0, 1, (jint *) _int_id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEMainWindow_createCustomElement(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element) -{ - jint xret = (jint) ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->createCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createGUI__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring xmlfile, jboolean _conserveMemory) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) _conserveMemory); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createStandardStatusBarAction(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createStandardStatusBarAction(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_customHelpMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_customHelpMenu__Z(JNIEnv* env, jobject obj, jboolean showWhatsThis) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu((bool) showWhatsThis), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_customTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->customTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEMainWindow_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEMainWindow*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jobject client) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_finalizeGUI__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((bool) force); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = TDEMainWindowJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_guiFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->guiFactory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_hasMenuBar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->hasMenuBar(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_helpMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring aboutAppText) -{ -static TQString* _qstring_aboutAppText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText)), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring aboutAppText, jboolean showWhatsThis) -{ -static TQString* _qstring_aboutAppText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText), (bool) showWhatsThis), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_hide(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_ignoreInitialGeometry(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->ignoreInitialGeometry(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_initialGeometrySet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->initialGeometrySet(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_isHelpMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->isHelpMenuEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_isStandardToolBarMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->isStandardToolBarMenuEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_kmenuBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.koala.KMenuBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_kstatusBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.koala.KStatusBar"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__I(JNIEnv* env, jobject obj, jint cflags) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint cflags, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_paintEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_parseGeometry(JNIEnv* env, jobject obj, jboolean parsewidth) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_parseGeometry((bool) parsewidth); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_queryClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_queryExit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryExit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_readGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_readPropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readPropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_readProperties(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readProperties((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_removeContainer(JNIEnv* env, jobject obj, jobject container, jobject parent, jobject element, jint id) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeContainer((TQWidget*) QtSupport::getQt(env, container), (TQWidget*) QtSupport::getQt(env, parent), (TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, element), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_removeCustomElement(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_resetAutoSaveSettings(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->resetAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_restoreWindowSize(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_restoreWindowSize((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_restore__I(JNIEnv* env, jobject obj, jint number) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->restore((int) number); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_restore__IZ(JNIEnv* env, jobject obj, jint number, jboolean show) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->restore((int) number, (bool) show); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveAutoSaveSettings(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveNewToolbarConfig(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveNewToolbarConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_savePropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_savePropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveProperties(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveProperties((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveWindowSize(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveWindowSize((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring groupName, jboolean saveWindowSize) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) saveWindowSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setBuilderClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setBuilderClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setBuilderInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setBuilderInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jboolean modified) -{ -static TQString* _qstring_caption = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) modified); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setFrameBorderWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setFrameBorderWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__Z(JNIEnv* env, jobject obj, jboolean showHelpMenu) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled((bool) showHelpMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setIcon(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setPlainCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setPlainCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setSettingsDirty(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setSettingsDirty(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setStandardToolBarMenuEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setStandardToolBarMenuEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_settingsDirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsDirty(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_settingsGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__I(JNIEnv* env, jobject obj, jint options) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint options, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject defaultSize) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject defaultSize, jint options) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject defaultSize, jint options, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupToolbarMenuActions(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupToolbarMenuActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_showAboutApplication(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showAboutApplication(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_show(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint arg2) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_toolBarMenuAction(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBarMenuAction(), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_toolBar__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_toolBar__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBar((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_memberList(JNIEnv* env, jobject obj) -{ - return (jobject) KDESupport::arrayWithTDEMainWindowList(env, TDEMainWindow::memberList); -} - diff --git a/kdejava/koala/kdejava/TDEMainWindow.h b/kdejava/koala/kdejava/TDEMainWindow.h deleted file mode 100644 index 2bc6bdc0..00000000 --- a/kdejava/koala/kdejava/TDEMainWindow.h +++ /dev/null @@ -1,159 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEMainWindow__ -#define __org_kde_koala_TDEMainWindow__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customHelpMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customHelpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_hide (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_restore__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_restore__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_guiFactory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isHelpMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_hasMenuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_kmenuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_kstatusBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBar__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBar__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_accel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setFrameBorderWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_resetAutoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_autoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_autoSaveGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setStandardToolBarMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isStandardToolBarMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createStandardStatusBarAction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBarMenuAction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupToolbarMenuActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalizeGUI__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_initialGeometrySet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_ignoreInitialGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEMainWindow_configureToolbars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setPlainCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_appHelpActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setSettingsDirty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_canBeRestored (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_classNameOfToplevel (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_queryExit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_queryClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_readProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveGlobalProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_readGlobalProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_savePropertiesInternal (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_readPropertiesInternal (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_settingsDirty (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_settingsGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveWindowSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_restoreWindowSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_parseGeometry (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveNewToolbarConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_showAboutApplication (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveAutoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_builderClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setBuilderClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_builderInstance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setBuilderInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_containerTags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_createContainer (JNIEnv *env, jobject, jobject, jint, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeContainer (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customTags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEMainWindow_createCustomElement (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeCustomElement (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_memberList (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEMainWindow__ */ diff --git a/kdejava/koala/kdejava/TDEPasteTextAction.cpp b/kdejava/koala/kdejava/TDEPasteTextAction.cpp deleted file mode 100644 index bfe1bfe6..00000000 --- a/kdejava/koala/kdejava/TDEPasteTextAction.cpp +++ /dev/null @@ -1,229 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEPasteTextAction.h> - -class TDEPasteTextActionJBridge : public TDEPasteTextAction -{ -public: - TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5) {}; - void protected_menuAboutToShow() { - TDEPasteTextAction::menuAboutToShow(); - return; - } - void protected_menuItemActivated(int arg1) { - TDEPasteTextAction::menuItemActivated(arg1); - return; - } - void protected_slotActivated() { - TDEPasteTextAction::slotActivated(); - return; - } - ~TDEPasteTextActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","slotActivated")) { - TDEPasteTextAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPasteTextAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPasteTextAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPasteTextAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEPasteTextAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEPasteTextAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPasteTextAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_menuAboutToShow(JNIEnv* env, jobject obj) -{ - ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPasteTextAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPasteTextAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_setMixedMode(JNIEnv* env, jobject obj, jboolean mode) -{ - ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->setMixedMode((bool) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEPasteTextAction.h b/kdejava/koala/kdejava/TDEPasteTextAction.h deleted file mode 100644 index 469229d9..00000000 --- a/kdejava/koala/kdejava/TDEPasteTextAction.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPasteTextAction__ -#define __org_kde_koala_TDEPasteTextAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPasteTextAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPasteTextAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_setMixedMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_menuAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_menuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPasteTextAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPasteTextAction__ */ diff --git a/kdejava/koala/kdejava/TDEPopupFrame.cpp b/kdejava/koala/kdejava/TDEPopupFrame.cpp deleted file mode 100644 index 59fa52f8..00000000 --- a/kdejava/koala/kdejava/TDEPopupFrame.cpp +++ /dev/null @@ -1,504 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kdatetbl.h> -#include <tqpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEPopupFrame.h> - -class TDEPopupFrameJBridge : public TDEPopupFrame -{ -public: - TDEPopupFrameJBridge(TQWidget* arg1,const char* arg2) : TDEPopupFrame(arg1,arg2) {}; - TDEPopupFrameJBridge(TQWidget* arg1) : TDEPopupFrame(arg1) {}; - TDEPopupFrameJBridge() : TDEPopupFrame() {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEPopupFrame::keyPressEvent(arg1); - return; - } - ~TDEPopupFrameJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(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")) { - TDEPopupFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","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.TDEPopupFrame","show")) { - TQWidget::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.TDEPopupFrame","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","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")) { - TDEPopupFrame::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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","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 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.TDEPopupFrame","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupFrame",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupFrame_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPopupFrame*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_close(JNIEnv* env, jobject obj, jint r) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->close((int) r); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPopupFrame_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupFrame_exec__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - jint xret = (jint) ((TDEPopupFrame*) QtSupport::getQt(env, obj))->exec((int) x, (int) y); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupFrame_exec__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - jint xret = (jint) ((TDEPopupFrame*) QtSupport::getQt(env, obj))->exec((TQPoint)*(TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEPopupFrame*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEPopupFrame*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_hide(JNIEnv* env, jobject obj) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupFrame_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupFrameJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupFrame_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupFrame*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupFrameJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupFrameJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupFrameJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_popup(JNIEnv* env, jobject obj, jobject pos) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_setMainWidget(JNIEnv* env, jobject obj, jobject m) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, m)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEPopupFrame.h b/kdejava/koala/kdejava/TDEPopupFrame.h deleted file mode 100644 index 56e34080..00000000 --- a/kdejava/koala/kdejava/TDEPopupFrame.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPopupFrame__ -#define __org_kde_koala_TDEPopupFrame__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupFrame_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupFrame_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_setMainWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_popup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupFrame_exec__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupFrame_exec__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_close (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupFrame_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPopupFrame__ */ diff --git a/kdejava/koala/kdejava/TDEPopupMenu.cpp b/kdejava/koala/kdejava/TDEPopupMenu.cpp deleted file mode 100644 index a1e14731..00000000 --- a/kdejava/koala/kdejava/TDEPopupMenu.cpp +++ /dev/null @@ -1,726 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <tdepopupmenu.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEPopupMenu.h> - -class TDEPopupMenuJBridge : public TDEPopupMenu -{ -public: - TDEPopupMenuJBridge(TQWidget* arg1,const char* arg2) : TDEPopupMenu(arg1,arg2) {}; - TDEPopupMenuJBridge(TQWidget* arg1) : TDEPopupMenu(arg1) {}; - TDEPopupMenuJBridge() : TDEPopupMenu() {}; - void protected_closeEvent(TQCloseEvent* arg1) { - TDEPopupMenu::closeEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEPopupMenu::keyPressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TDEPopupMenu::mouseReleaseEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDEPopupMenu::mousePressEvent(arg1); - return; - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TDEPopupMenu::focusNextPrevChild(arg1); - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TDEPopupMenu::contextMenuEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TDEPopupMenu::hideEvent(arg1); - return; - } - TQString protected_underlineText(const TQString& arg1,uint arg2) { - return (TQString) TDEPopupMenu::underlineText(arg1,arg2); - } - void protected_resetKeyboardVars(bool arg1) { - TDEPopupMenu::resetKeyboardVars(arg1); - return; - } - void protected_resetKeyboardVars() { - TDEPopupMenu::resetKeyboardVars(); - return; - } - void protected_itemHighlighted(int arg1) { - TDEPopupMenu::itemHighlighted(arg1); - return; - } - void protected_showCtxMenu(TQPoint arg1) { - TDEPopupMenu::showCtxMenu(arg1); - return; - } - void protected_ctxMenuHiding() { - TDEPopupMenu::ctxMenuHiding(); - return; - } - void protected_ctxMenuHideShowingMenu() { - TDEPopupMenu::ctxMenuHideShowingMenu(); - return; - } - ~TDEPopupMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPopupMenu::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQPopupMenu::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TDEPopupMenu::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","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")) { - TDEPopupMenu::keyPressEvent(arg1); - } - return; - } - 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")) { - TDEPopupMenu::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQPopupMenu::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEPopupMenu::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQPopupMenu::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","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")) { - TDEPopupMenu::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQPopupMenu::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.TDEPopupMenu","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")) { - TQPopupMenu::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TDEPopupMenu::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_activateItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->activateItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_changeTitle__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenuFocusItem(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEPopupMenuJBridge::contextMenuFocusItem(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenuFocus(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEPopupMenuJBridge::contextMenuFocus(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupMenu*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_ctxMenuHideShowingMenu(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHideShowingMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_ctxMenuHiding(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHiding(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPopupMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQPopupMenu*)(TDEPopupMenu*)QtSupport::getQt(env, obj))->parentWidget(FALSE) == 0) { - delete (TDEPopupMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_hideContextMenu(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->hideContextMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_itemHighlighted(JNIEnv* env, jobject obj, jint whichItem) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHighlighted((int) whichItem); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__Z(JNIEnv* env, jobject obj, jboolean noMatches) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars((bool) noMatches); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsExecute(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsExecute((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_showCtxMenu(JNIEnv* env, jobject obj, jobject pos) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_showCtxMenu((TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_titlePixmap(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEPopupMenu*) QtSupport::getQt(env, obj))->titlePixmap((int) id)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_title__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->title(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_title__I(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->title((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_underlineText(JNIEnv* env, jobject obj, jstring text, jint length) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_underlineText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) length); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEPopupMenu.h b/kdejava/koala/kdejava/TDEPopupMenu.h deleted file mode 100644 index 71d986c4..00000000 --- a/kdejava/koala/kdejava/TDEPopupMenu.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPopupMenu__ -#define __org_kde_koala_TDEPopupMenu__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_changeTitle__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_title__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_title__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_titlePixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsExecute (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_hideContextMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_activateItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_state (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuFocus (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuFocusItem (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupMenu_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_underlineText (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_itemHighlighted (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_showCtxMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_ctxMenuHiding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_ctxMenuHideShowingMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPopupMenu__ */ diff --git a/kdejava/koala/kdejava/TDEPopupTitle.cpp b/kdejava/koala/kdejava/TDEPopupTitle.cpp deleted file mode 100644 index 9a902317..00000000 --- a/kdejava/koala/kdejava/TDEPopupTitle.cpp +++ /dev/null @@ -1,503 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tdepopupmenu.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEPopupTitle.h> - -class TDEPopupTitleJBridge : public TDEPopupTitle -{ -public: - TDEPopupTitleJBridge(TQWidget* arg1,const char* arg2) : TDEPopupTitle(arg1,arg2) {}; - TDEPopupTitleJBridge(TQWidget* arg1) : TDEPopupTitle(arg1) {}; - TDEPopupTitleJBridge() : TDEPopupTitle() {}; - void protected_calcSize() { - TDEPopupTitle::calcSize(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TDEPopupTitle::paintEvent(arg1); - return; - } - ~TDEPopupTitleJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","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.TDEPopupTitle","show")) { - TQWidget::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.TDEPopupTitle","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEPopupTitle::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","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 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.TDEPopupTitle","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupTitle",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_calcSize(JNIEnv* env, jobject obj) -{ - ((TDEPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_calcSize(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupTitle_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPopupTitle*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPopupTitle_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEPopupTitle*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEPopupTitle*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupTitle_icon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEPopupTitle*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupTitle_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupTitle_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupTitle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupTitleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupTitleJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupTitleJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_paintEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((TDEPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setIcon(JNIEnv* env, jobject obj, jobject pix) -{ - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupTitle_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEPopupTitle*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupTitle_title(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEPopupTitle*) QtSupport::getQt(env, obj))->title(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEPopupTitle.h b/kdejava/koala/kdejava/TDEPopupTitle.h deleted file mode 100644 index 5fdb9733..00000000 --- a/kdejava/koala/kdejava/TDEPopupTitle.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPopupTitle__ -#define __org_kde_koala_TDEPopupTitle__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupTitle_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupTitle_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_calcSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupTitle_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPopupTitle__ */ diff --git a/kdejava/koala/kdejava/TDEProcess.cpp b/kdejava/koala/kdejava/TDEProcess.cpp deleted file mode 100644 index e1b61243..00000000 --- a/kdejava/koala/kdejava/TDEProcess.cpp +++ /dev/null @@ -1,507 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kprocess.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEProcess.h> - -class TDEProcessJBridge : public TDEProcess -{ -public: - TDEProcessJBridge(TQObject* arg1,const char* arg2) : TDEProcess(arg1,arg2) {}; - TDEProcessJBridge(TQObject* arg1) : TDEProcess(arg1) {}; - TDEProcessJBridge() : TDEProcess() {}; - void protected_setupEnvironment() { - TDEProcess::setupEnvironment(); - return; - } - int protected_setupCommunication(TDEProcess::Communication arg1) { - return (int) TDEProcess::setupCommunication(arg1); - } - int protected_commSetupDoneP() { - return (int) TDEProcess::commSetupDoneP(); - } - int protected_commSetupDoneC() { - return (int) TDEProcess::commSetupDoneC(); - } - void protected_processHasExited(int arg1) { - TDEProcess::processHasExited(arg1); - return; - } - void protected_commClose() { - TDEProcess::commClose(); - return; - } - void protected_setBinaryExecutable(const char* arg1) { - TDEProcess::setBinaryExecutable(arg1); - return; - } - int protected_childOutput(int arg1) { - return (int) TDEProcess::childOutput(arg1); - } - int protected_childError(int arg1) { - return (int) TDEProcess::childError(arg1); - } - void protected_slotChildOutput(int arg1) { - TDEProcess::slotChildOutput(arg1); - return; - } - void protected_slotChildError(int arg1) { - TDEProcess::slotChildError(arg1); - return; - } - void protected_slotSendData(int arg1) { - TDEProcess::slotSendData(arg1); - return; - } - ~TDEProcessJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void commClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEProcess","commClose")) { - TDEProcess::commClose(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEProcess",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_childError(JNIEnv* env, jobject obj, jint fdno) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childError((int) fdno); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_childOutput(JNIEnv* env, jobject obj, jint fdno) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childOutput((int) fdno); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcess_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEProcess*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_clearArguments(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->clearArguments(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_closeAll(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->closeAll(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closePty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closePty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closeStderr(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStderr(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closeStdin(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdin(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closeStdout(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_commClose(JNIEnv* env, jobject obj) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commClose(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_commSetupDoneC(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneC(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_commSetupDoneP(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneP(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_coreDumped(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->coreDumped(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_detach(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEProcess_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_exitSignal(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitSignal(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_exitStatus(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitStatus(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEProcess*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEProcess*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_isRunning(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->isRunning(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_kill__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_kill__I(JNIEnv* env, jobject obj, jint signo) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill((int) signo); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcess_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_newTDEProcess__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEProcessJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_normalExit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->normalExit(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcess_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg) -{ -static TQString* _qstring_arg = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)), "org.kde.koala.TDEProcess"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcess_op_1write___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args) -{ -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDEProcess"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_pid(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->pid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_processHasExited(JNIEnv* env, jobject obj, jint state) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_processHasExited((int) state); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcess_quote(JNIEnv* env, jclass cls, jstring arg) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg = 0; - _qstring = TDEProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_resume(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_runPrivileged(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->runPrivileged(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename) -{ -static TQCString* _qstring_filename = 0; - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_value = 0; - ((TDEProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_setPriority(JNIEnv* env, jobject obj, jint prio) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->setPriority((int) prio); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setRunPrivileged(JNIEnv* env, jobject obj, jboolean keepPrivileges) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->setRunPrivileged((bool) keepPrivileges); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean useShell) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell) -{ -static TQCString* _qstring_shell = 0; - ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_setupCommunication(JNIEnv* env, jobject obj, jint comm) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupCommunication((TDEProcess::Communication) comm); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setupEnvironment(JNIEnv* env, jobject obj) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupEnvironment(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_signalled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->signalled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_slotChildError(JNIEnv* env, jobject obj, jint fdno) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildError((int) fdno); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_slotChildOutput(JNIEnv* env, jobject obj, jint fdno) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildOutput((int) fdno); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_slotSendData(JNIEnv* env, jobject obj, jint dummy) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotSendData((int) dummy); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_start__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_start__I(JNIEnv* env, jobject obj, jint runmode) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (TDEProcess::Communication) comm); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_suspend(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_waitThread__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait((int) timeout); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen) -{ -static TQCString* _qstring_buffer = 0; - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEProcess.h b/kdejava/koala/kdejava/TDEProcess.h deleted file mode 100644 index c27ccb8e..00000000 --- a/kdejava/koala/kdejava/TDEProcess.h +++ /dev/null @@ -1,72 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEProcess__ -#define __org_kde_koala_TDEProcess__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcess_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_op_1write___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_clearArguments (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_kill__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_kill__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_isRunning (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_pid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_waitThread__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_waitThread__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_normalExit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_signalled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_coreDumped (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_exitStatus (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_exitSignal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_writeStdin (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStdin (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStdout (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStderr (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closePty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_closeAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setRunPrivileged (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_runPrivileged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setEnvironment (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setWorkingDirectory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2 (JNIEnv *env, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setUseShell__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_setPriority (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcess_quote (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setupEnvironment (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_setupCommunication (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_commSetupDoneP (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_commSetupDoneC (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_processHasExited (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_commClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setBinaryExecutable (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_childOutput (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_childError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotChildOutput (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotChildError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotSendData (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEProcess__ */ diff --git a/kdejava/koala/kdejava/TDEProcessController.cpp b/kdejava/koala/kdejava/TDEProcessController.cpp deleted file mode 100644 index 60fa8bb3..00000000 --- a/kdejava/koala/kdejava/TDEProcessController.cpp +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kprocctrl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEProcessController.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_addTDEProcess(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->addTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_addProcess(JNIEnv* env, jobject obj, jint pid) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->addProcess((int) pid); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcessController_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEProcessController*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_deref(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEProcessController::deref(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcessController_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessController*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcessController_notifierFd(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessController*) QtSupport::getQt(env, obj))->notifierFd(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_ref(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEProcessController::ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_removeTDEProcess(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->removeTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_rescheduleCheck(JNIEnv* env, jobject obj) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->rescheduleCheck(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_theSigCHLDHandler(JNIEnv* env, jclass cls, jint signal) -{ - (void) cls; - (void) env; - TDEProcessController::theSigCHLDHandler((int) signal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_unscheduleCheck(JNIEnv* env, jobject obj) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->unscheduleCheck(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcessController_waitForProcessExit(JNIEnv* env, jobject obj, jint timeout) -{ - jboolean xret = (jboolean) ((TDEProcessController*) QtSupport::getQt(env, obj))->waitForProcessExit((int) timeout); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEProcessController.h b/kdejava/koala/kdejava/TDEProcessController.h deleted file mode 100644 index 93154504..00000000 --- a/kdejava/koala/kdejava/TDEProcessController.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEProcessController__ -#define __org_kde_koala_TDEProcessController__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcessController_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcessController_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcessController_waitForProcessExit (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_unscheduleCheck (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_rescheduleCheck (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessController_notifierFd (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_addTDEProcess (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_removeTDEProcess (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_addProcess (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_ref (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_deref (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_theSigCHLDHandler (JNIEnv *env, jclass, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEProcessController__ */ diff --git a/kdejava/koala/kdejava/TDEProcessRunner.cpp b/kdejava/koala/kdejava/TDEProcessRunner.cpp deleted file mode 100644 index 4b40ebb0..00000000 --- a/kdejava/koala/kdejava/TDEProcessRunner.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <krun.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEProcessRunner.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcessRunner_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEProcessRunner*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcessRunner_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessRunner*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcessRunner_pid(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessRunner*) QtSupport::getQt(env, obj))->pid(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcessRunner_run(JNIEnv* env, jclass cls, jobject arg1, jstring binName) -{ - (void) cls; -static TQString* _qstring_binName = 0; - jint xret = (jint) TDEProcessRunner::run((TDEProcess*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEProcessRunner.h b/kdejava/koala/kdejava/TDEProcessRunner.h deleted file mode 100644 index 54b8f52e..00000000 --- a/kdejava/koala/kdejava/TDEProcessRunner.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEProcessRunner__ -#define __org_kde_koala_TDEProcessRunner__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcessRunner_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcessRunner_className (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessRunner_pid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessRunner_run (JNIEnv *env, jclass, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEProcessRunner__ */ diff --git a/kdejava/koala/kdejava/TDERadioAction.cpp b/kdejava/koala/kdejava/TDERadioAction.cpp deleted file mode 100644 index 47afe76f..00000000 --- a/kdejava/koala/kdejava/TDERadioAction.cpp +++ /dev/null @@ -1,409 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDERadioAction.h> - -class TDERadioActionJBridge : public TDERadioAction -{ -public: - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDERadioAction(arg1,arg2,arg3) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(const TQString& arg1) : TDERadioAction(arg1) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDERadioAction(arg1,arg2,arg3) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDERadioAction(arg1,arg2,arg3) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERadioActionJBridge(TQObject* arg1,const char* arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(TQObject* arg1) : TDERadioAction(arg1) {}; - TDERadioActionJBridge() : TDERadioAction() {}; - void protected_slotActivated() { - TDERadioAction::slotActivated(); - return; - } - ~TDERadioActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","slotActivated")) { - TDERadioAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDERadioAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDERadioAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDERadioAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDERadioAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDERadioAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDERadioAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDERadioAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDERadioAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDERadioAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDERadioActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/TDERadioAction.h b/kdejava/koala/kdejava/TDERadioAction.h deleted file mode 100644 index 7dfb1be8..00000000 --- a/kdejava/koala/kdejava/TDERadioAction.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDERadioAction__ -#define __org_kde_koala_TDERadioAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERadioAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERadioAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERadioAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDERadioAction__ */ diff --git a/kdejava/koala/kdejava/TDERecentDocument.cpp b/kdejava/koala/kdejava/TDERecentDocument.cpp deleted file mode 100644 index 85c8ec7b..00000000 --- a/kdejava/koala/kdejava/TDERecentDocument.cpp +++ /dev/null @@ -1,121 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tderecentdocument.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDERecentDocument.h> - -class TDERecentDocumentJBridge : public TDERecentDocument -{ -public: - TDERecentDocumentJBridge() : TDERecentDocument() {}; - ~TDERecentDocumentJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring documentStr) -{ - (void) cls; -static TQString* _qstring_documentStr = 0; - TDERecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring documentStr, jboolean isURL) -{ - (void) cls; -static TQString* _qstring_documentStr = 0; - TDERecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr), (bool) isURL); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - TDERecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring desktopEntryName) -{ - (void) cls; -static TQString* _qstring_desktopEntryName = 0; - TDERecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, desktopEntryName, &_qstring_desktopEntryName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_clear(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDERecentDocumentJBridge::clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDERecentDocument_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDERecentDocument*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDERecentDocument_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentDocument_maximumItems(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDERecentDocumentJBridge::maximumItems(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_newTDERecentDocument(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentDocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDERecentDocument_recentDocumentDirectory(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDERecentDocumentJBridge::recentDocumentDirectory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDERecentDocument_recentDocuments(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TDERecentDocumentJBridge::recentDocuments(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/TDERecentDocument.h b/kdejava/koala/kdejava/TDERecentDocument.h deleted file mode 100644 index faa09bf0..00000000 --- a/kdejava/koala/kdejava/TDERecentDocument.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDERecentDocument__ -#define __org_kde_koala_TDERecentDocument__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_newTDERecentDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERecentDocument_recentDocuments (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_clear (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentDocument_maximumItems (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERecentDocument_recentDocumentDirectory (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERecentDocument_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDERecentDocument__ */ diff --git a/kdejava/koala/kdejava/TDERecentFilesAction.cpp b/kdejava/koala/kdejava/TDERecentFilesAction.cpp deleted file mode 100644 index 750e17a7..00000000 --- a/kdejava/koala/kdejava/TDERecentFilesAction.cpp +++ /dev/null @@ -1,592 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kurl.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDERecentFilesAction.h> - -class TDERecentFilesActionJBridge : public TDERecentFilesAction -{ -public: - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4,uint arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDERecentFilesAction(arg1,arg2,arg3) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6,uint arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(TQObject* arg1,const char* arg2,uint arg3) : TDERecentFilesAction(arg1,arg2,arg3) {}; - TDERecentFilesActionJBridge(TQObject* arg1,const char* arg2) : TDERecentFilesAction(arg1,arg2) {}; - TDERecentFilesActionJBridge(TQObject* arg1) : TDERecentFilesAction(arg1) {}; - TDERecentFilesActionJBridge() : TDERecentFilesAction() {}; - void protected_itemSelected(const TQString& arg1) { - TDERecentFilesAction::itemSelected(arg1); - return; - } - void protected_menuAboutToShow() { - TDERecentFilesAction::menuAboutToShow(); - return; - } - void protected_menuItemActivated(int arg1) { - TDERecentFilesAction::menuItemActivated(arg1); - return; - } - void protected_slotClicked() { - TDERecentFilesAction::slotClicked(); - return; - } - void protected_slotActivated(int arg1) { - TDERecentFilesAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - TDERecentFilesAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - TDERecentFilesAction::slotActivated(); - return; - } - ~TDERecentFilesActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","slotActivated")) { - TDERecentFilesAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDERecentFilesAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDERecentFilesAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_clearURLList(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->clearURLList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDERecentFilesAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDERecentFilesAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDERecentFilesAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDERecentFilesAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_itemSelected(JNIEnv* env, jobject obj, jstring string) -{ -static TQString* _qstring_string = 0; - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_itemSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) -{ -static TQString* _qstring_groupname = 0; - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentFilesAction_maxItems(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->maxItems(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_menuAboutToShow(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDERecentFilesAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDERecentFilesAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint maxItems) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_removeURL(JNIEnv* env, jobject obj, jobject url) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) -{ -static TQString* _qstring_groupname = 0; - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_setMaxItems(JNIEnv* env, jobject obj, jint maxItems) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->setMaxItems((uint) maxItems); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotClicked(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/TDERecentFilesAction.h b/kdejava/koala/kdejava/TDERecentFilesAction.h deleted file mode 100644 index 37498522..00000000 --- a/kdejava/koala/kdejava/TDERecentFilesAction.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDERecentFilesAction__ -#define __org_kde_koala_TDERecentFilesAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERecentFilesAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERecentFilesAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_maxItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_setMaxItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_removeURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_clearURLList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_itemSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_menuAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_menuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERecentFilesAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDERecentFilesAction__ */ diff --git a/kdejava/koala/kdejava/TDESelectAction.cpp b/kdejava/koala/kdejava/TDESelectAction.cpp deleted file mode 100644 index c6d843ab..00000000 --- a/kdejava/koala/kdejava/TDESelectAction.cpp +++ /dev/null @@ -1,643 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDESelectAction.h> - -class TDESelectActionJBridge : public TDESelectAction -{ -public: - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDESelectAction(arg1,arg2,arg3) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(const TQString& arg1) : TDESelectAction(arg1) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDESelectAction(arg1,arg2,arg3) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDESelectAction(arg1,arg2,arg3) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDESelectActionJBridge(TQObject* arg1,const char* arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(TQObject* arg1) : TDESelectAction(arg1) {}; - TDESelectActionJBridge() : TDESelectAction() {}; - void public_clear() { - TDESelectAction::clear(); - return; - } - void protected_changeItem(int arg1,int arg2,const TQString& arg3) { - TDESelectAction::changeItem(arg1,arg2,arg3); - return; - } - TQStringList protected_comboItems() { - return (TQStringList) TDESelectAction::comboItems(); - } - void protected_updateCurrentItem(int arg1) { - TDESelectAction::updateCurrentItem(arg1); - return; - } - void protected_updateComboWidth(int arg1) { - TDESelectAction::updateComboWidth(arg1); - return; - } - void protected_updateItems(int arg1) { - TDESelectAction::updateItems(arg1); - return; - } - void protected_updateClear(int arg1) { - TDESelectAction::updateClear(arg1); - return; - } - void protected_slotActivated(int arg1) { - TDESelectAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - TDESelectAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - TDESelectAction::slotActivated(); - return; - } - ~TDESelectActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","slotActivated")) { - TDESelectAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDESelectAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_changeItem__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jint index, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_changeItem((int) id, (int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint index, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDESelectAction*) QtSupport::getQt(env, obj))->changeItem((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDESelectAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDESelectAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_clear(JNIEnv* env, jobject obj) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_comboItems(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_comboItems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_comboWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->comboWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDESelectAction_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDESelectAction*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDESelectAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDESelectAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDESelectAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDESelectAction*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_menuAccelsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->menuAccelsEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelectAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelectAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_removeAmpersandsInCombo(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->removeAmpersandsInCombo(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setComboWidth(JNIEnv* env, jobject obj, jint width) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setComboWidth((int) width); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setEditable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setEditable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setItems(JNIEnv* env, jobject obj, jobjectArray lst) -{ -static TQStringList* _qlist_lst = 0; - ((TDESelectAction*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, lst, &_qlist_lst)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setMaxComboViewCount(JNIEnv* env, jobject obj, jint n) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setMaxComboViewCount((int) n); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setMenuAccelsEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setMenuAccelsEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_slotActivated__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateClear(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateClear((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateComboWidth(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateComboWidth((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateCurrentItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrentItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateItems(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateItems((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/TDESelectAction.h b/kdejava/koala/kdejava/TDESelectAction.h deleted file mode 100644 index 8ea65cfd..00000000 --- a/kdejava/koala/kdejava/TDESelectAction.h +++ /dev/null @@ -1,71 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDESelectAction__ -#define __org_kde_koala_TDESelectAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelectAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelectAction_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_comboWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setMaxComboViewCount (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_removeAmpersandsInCombo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setMenuAccelsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_menuAccelsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setComboWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_changeItem__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_comboItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateComboWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateClear (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDESelectAction__ */ diff --git a/kdejava/koala/kdejava/TDESelector.cpp b/kdejava/koala/kdejava/TDESelector.cpp deleted file mode 100644 index 4bf84340..00000000 --- a/kdejava/koala/kdejava/TDESelector.cpp +++ /dev/null @@ -1,766 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeselect.h> -#include <tqrect.h> -#include <tqpoint.h> -#include <tqrangecontrol.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDESelector.h> - -class TDESelectorJBridge : public TDESelector -{ -public: - TDESelectorJBridge(TQWidget* arg1,const char* arg2) : TDESelector(arg1,arg2) {}; - TDESelectorJBridge(TQWidget* arg1) : TDESelector(arg1) {}; - TDESelectorJBridge() : TDESelector() {}; - TDESelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TDESelector(arg1,arg2,arg3) {}; - TDESelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : TDESelector(arg1,arg2) {}; - TDESelectorJBridge(TQt::Orientation arg1) : TDESelector(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - TDESelector::drawContents(arg1); - return; - } - void protected_drawArrow(TQPainter* arg1,bool arg2,const TQPoint& arg3) { - TDESelector::drawArrow(arg1,arg2,arg3); - return; - } - void protected_valueChange() { - TDESelector::valueChange(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TDESelector::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDESelector::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TDESelector::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TDESelector::wheelEvent(arg1); - return; - } - ~TDESelectorJBridge() {QtSupport::qtKeyDeleted(this);} - int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); - } - int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); - } - void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); - return; - } - int protected_prevValue() { - return (int) TQRangeControl::prevValue(); - } - void protected_rangeChange() { - TQRangeControl::rangeChange(); - return; - } - void protected_stepChange() { - TQRangeControl::stepChange(); - return; - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TDESelector::drawContents(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")) { - TQWidget::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; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","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.TDESelector","show")) { - TQWidget::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.TDESelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","valueChange")) { - TDESelector::valueChange(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDESelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","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")) { - TDESelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","rangeChange")) { - TQRangeControl::rangeChange(); - } - 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.TDESelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDESelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDESelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_addLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_addPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDESelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDESelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelector_contentsRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDESelector*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDESelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_drawArrow(JNIEnv* env, jobject obj, jobject painter, jboolean show, jobject pos) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawArrow((TQPainter*) QtSupport::getQt(env, painter), (bool) show, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDESelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDESelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelector_indent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelector*) QtSupport::getQt(env, obj))->indent(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__I(JNIEnv* env, jobject obj, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_rangeChange(JNIEnv* env, jobject obj) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setIndent(JNIEnv* env, jobject obj, jboolean i) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setIndent((bool) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setMaxValue(JNIEnv* env, jobject obj, jint value) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setMaxValue((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setMinValue(JNIEnv* env, jobject obj, jint value) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setMinValue((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setValue(JNIEnv* env, jobject obj, jint value) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setValue((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_stepChange(JNIEnv* env, jobject obj) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_valueChange(JNIEnv* env, jobject obj) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->value(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDESelector.h b/kdejava/koala/kdejava/TDESelector.h deleted file mode 100644 index 277ce77d..00000000 --- a/kdejava/koala/kdejava/TDESelector.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDESelector__ -#define __org_kde_koala_TDESelector__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelector_contentsRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setIndent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelector_indent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_drawArrow (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelector_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_stepChange (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDESelector__ */ diff --git a/kdejava/koala/kdejava/TDEShared.cpp b/kdejava/koala/kdejava/TDEShared.cpp deleted file mode 100644 index d94bb2f9..00000000 --- a/kdejava/koala/kdejava/TDEShared.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ksharedptr.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEShared.h> - -class TDESharedJBridge : public TDEShared -{ -public: - TDESharedJBridge() : TDEShared() {}; - TDESharedJBridge(const TDEShared& arg1) : TDEShared(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShared_newTDEShared__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESharedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShared_newTDEShared__Lorg_kde_koala_TDEShared_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESharedJBridge((const TDEShared&)*(const TDEShared*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEShared.h b/kdejava/koala/kdejava/TDEShared.h deleted file mode 100644 index 2051bc83..00000000 --- a/kdejava/koala/kdejava/TDEShared.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEShared__ -#define __org_kde_koala_TDEShared__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShared_newTDEShared__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShared_newTDEShared__Lorg_kde_koala_TDEShared_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEShared__ */ diff --git a/kdejava/koala/kdejava/TDESharedConfig.cpp b/kdejava/koala/kdejava/TDESharedConfig.cpp deleted file mode 100644 index a7b837dd..00000000 --- a/kdejava/koala/kdejava/TDESharedConfig.cpp +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdeconfig.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDESharedConfig.h> - diff --git a/kdejava/koala/kdejava/TDESharedConfig.h b/kdejava/koala/kdejava/TDESharedConfig.h deleted file mode 100644 index 4ad86b1d..00000000 --- a/kdejava/koala/kdejava/TDESharedConfig.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDESharedConfig__ -#define __org_kde_koala_TDESharedConfig__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDESharedConfig__ */ diff --git a/kdejava/koala/kdejava/TDEShortcut.cpp b/kdejava/koala/kdejava/TDEShortcut.cpp deleted file mode 100644 index 7cfeacc8..00000000 --- a/kdejava/koala/kdejava/TDEShortcut.cpp +++ /dev/null @@ -1,303 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqkeysequence.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEShortcut.h> - -class TDEShortcutJBridge : public TDEShortcut -{ -public: - TDEShortcutJBridge() : TDEShortcut() {}; - TDEShortcutJBridge(int arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const TQKeySequence& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const KKey& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const KKeySequence& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const TDEShortcut& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const char* arg1) : TDEShortcut(arg1) {}; - ~TDEShortcutJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject spec) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const KKey&)*(const KKey*) QtSupport::getQt(env, spec)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_clear(JNIEnv* env, jobject obj) -{ - ((TDEShortcut*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcut_compare(JNIEnv* env, jobject obj, jobject shortcut) -{ - jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->compare((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->contains((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->contains((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcut_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEShortcut_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEShortcut*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__I(JNIEnv* env, jobject obj, jint keyQt) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((int) keyQt); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) -{ -static TQString* _qstring_shortcut = 0; - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, shortcut, &_qstring_shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcut_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__I(JNIEnv* env, jobject obj, jint keyQt) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((int) keyQt)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) -{ -static TQCString* _qstring_shortcut = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const char*) QtSupport::toCharString(env, shortcut, &_qstring_shortcut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcut_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEShortcutJBridge::null(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_op_1equals(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator==((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_op_1lt(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator<((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_op_1not_1equals(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator!=((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_remove(JNIEnv* env, jobject obj, jobject keySeq) -{ - ((TDEShortcut*) QtSupport::getQt(env, obj))->remove((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcut_seq(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeySequence *) &((TDEShortcut*) QtSupport::getQt(env, obj))->seq((uint) i), "org.kde.koala.KKeySequence"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_setSeq(JNIEnv* env, jobject obj, jint i, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->setSeq((uint) i, (const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcut_toStringInternal__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toStringInternal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcut_toStringInternal__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject pcutDefault) -{ - TQString _qstring; - _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toStringInternal((const TDEShortcut*) QtSupport::getQt(env, pcutDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcut_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEShortcut.h b/kdejava/koala/kdejava/TDEShortcut.h deleted file mode 100644 index 3f20ec58..00000000 --- a/kdejava/koala/kdejava/TDEShortcut.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEShortcut__ -#define __org_kde_koala_TDEShortcut__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_count (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcut_seq (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_setSeq (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toStringInternal__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toStringInternal__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcut_nil (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEShortcut__ */ diff --git a/kdejava/koala/kdejava/TDEShortcutList.cpp b/kdejava/koala/kdejava/TDEShortcutList.cpp deleted file mode 100644 index ff29c471..00000000 --- a/kdejava/koala/kdejava/TDEShortcutList.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqvariant.h> -#include <tdeshortcutlist.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEShortcutList.h> - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcutList_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName) -{ -static TQString* _qstring_sName = 0; - jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcutList_index__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcutList_label(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcutList_name(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll, jboolean bGlobal) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll, (bool) bGlobal); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEShortcutList.h b/kdejava/koala/kdejava/TDEShortcutList.h deleted file mode 100644 index 7a4e8776..00000000 --- a/kdejava/koala/kdejava/TDEShortcutList.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEShortcutList__ -#define __org_kde_koala_TDEShortcutList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_isGlobal (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_index__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__ (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEStandardDirs.cpp b/kdejava/koala/kdejava/TDEStandardDirs.cpp deleted file mode 100644 index 2c82a726..00000000 --- a/kdejava/koala/kdejava/TDEStandardDirs.cpp +++ /dev/null @@ -1,474 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqglobal.h> -#include <kstandarddirs.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEStandardDirs.h> - -class TDEStandardDirsJBridge : public TDEStandardDirs -{ -public: - TDEStandardDirsJBridge() : TDEStandardDirs() {}; - ~TDEStandardDirsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_addCustomized(JNIEnv* env, jobject obj, jobject config) -{ - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addCustomized((TDEConfig*) QtSupport::getQt(env, config)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addKDEDefaults(JNIEnv* env, jobject obj) -{ - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addKDEDefaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addPrefix(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_addResourceDir(JNIEnv* env, jobject obj, jstring type, jstring absdir) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_absdir = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absdir, &_qstring_absdir)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_addResourceType(JNIEnv* env, jobject obj, jstring type, jstring relativename) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_relativename = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addResourceType((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relativename, &_qstring_relativename)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addXdgConfigPrefix(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addXdgConfigPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addXdgDataPrefix(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addXdgDataPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_allTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->allTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_calcResourceHash(JNIEnv* env, jobject obj, jstring type, jstring filename, jboolean deep) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - jint xret = (jint) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->calcResourceHash((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) deep); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEStandardDirs_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_exists(JNIEnv* env, jclass cls, jstring fullPath) -{ - (void) cls; -static TQString* _qstring_fullPath = 0; - jboolean xret = (jboolean) TDEStandardDirsJBridge::exists((const TQString&)*(TQString*) QtSupport::toTQString(env, fullPath, &_qstring_fullPath)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEStandardDirs*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname) -{ - (void) cls; -static TQStringList* _qlist_list = 0; -static TQString* _qstring_appname = 0; - jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr) -{ - (void) cls; -static TQStringList* _qlist_list = 0; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr, jboolean ignoreExecBit) -{ - (void) cls; -static TQStringList* _qlist_list = 0; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique, jobjectArray relPaths) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; -static TQStringList* _qlist_relPaths = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique, (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, relPaths, &_qlist_relPaths)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findDirs(JNIEnv* env, jobject obj, jstring type, jstring reldir) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_reldir = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, reldir, &_qstring_reldir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_appname = 0; - _qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname, jstring pathstr) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - _qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring appname, jstring pathstr, jboolean ignoreExecBit) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - _qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findResourceDir(JNIEnv* env, jobject obj, jstring type, jstring filename) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findResource(JNIEnv* env, jobject obj, jstring type, jstring filename) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type) -{ -static TQCString* _qstring_type = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring relPath) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_relPath = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relPath, &_qstring_relPath)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kde_1default(JNIEnv* env, jclass cls, jstring type) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; - _qstring = TDEStandardDirsJBridge::kde_default((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultbindir(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStandardDirsJBridge::kfsstnd_defaultbindir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultprefix(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStandardDirsJBridge::kfsstnd_defaultprefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1conf_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_conf_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1data_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_data_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_localtdedir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localtdedir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_localxdgconfdir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localxdgconfdir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_localxdgdatadir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localxdgdatadir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir) -{ - (void) cls; -static TQString* _qstring_dir = 0; - jboolean xret = (jboolean) TDEStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring dir, jint mode) -{ - (void) cls; -static TQString* _qstring_dir = 0; - jboolean xret = (jboolean) TDEStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (int) mode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_newTDEStandardDirs(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEStandardDirsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_realFilePath(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = TDEStandardDirsJBridge::realFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_realPath(JNIEnv* env, jclass cls, jstring dirname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dirname = 0; - _qstring = TDEStandardDirsJBridge::realPath((const TQString&)*(TQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_relativeLocation(JNIEnv* env, jobject obj, jstring type, jstring absPath) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_absPath = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->relativeLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absPath, &_qstring_absPath)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_resourceDirs(JNIEnv* env, jobject obj, jstring type) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->resourceDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring suffix) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_suffix = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring suffix, jboolean create) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_suffix = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix), (bool) create); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_systemPaths__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TDEStandardDirsJBridge::systemPaths(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_systemPaths__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring pstr) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_pstr = 0; - _qlist = TDEStandardDirsJBridge::systemPaths((const TQString&)*(TQString*) QtSupport::toTQString(env, pstr, &_qstring_pstr)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/TDEStandardDirs.h b/kdejava/koala/kdejava/TDEStandardDirs.h deleted file mode 100644 index a30f4a8b..00000000 --- a/kdejava/koala/kdejava/TDEStandardDirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEStandardDirs__ -#define __org_kde_koala_TDEStandardDirs__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_newTDEStandardDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addXdgConfigPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addXdgDataPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addResourceType (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addResourceDir (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findResource (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_calcResourceHash (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findDirs (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findResourceDir (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addKDEDefaults (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addCustomized (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_resourceDirs (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_allTypes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_relativeLocation (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1conf_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1data_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localtdedir (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localxdgdatadir (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localxdgconfdir (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_systemPaths__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_systemPaths__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kde_1default (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultprefix (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultbindir (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_exists (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_realPath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_realFilePath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEStandardDirs__ */ diff --git a/kdejava/koala/kdejava/TDEStdAccel.cpp b/kdejava/koala/kdejava/TDEStdAccel.cpp deleted file mode 100644 index ec9702a3..00000000 --- a/kdejava/koala/kdejava/TDEStdAccel.cpp +++ /dev/null @@ -1,460 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tdestdaccel.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEStdAccel.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_addBookmark(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::addBookmark(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_back(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::back(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_backwardWord(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::backwardWord(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_beginningOfLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::beginningOfLine(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_close(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::close(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_completion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::completion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_copy(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::copy(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_cut(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::cut(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_deleteWordBack(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::deleteWordBack(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_deleteWordForward(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::deleteWordForward(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_endOfLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::endOfLine(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_end(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::end(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_findNext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::findNext(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_findPrev(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::findPrev(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStdAccel_findStdAccel(JNIEnv* env, jclass cls, jobject keySeq) -{ - (void) cls; - jint xret = (jint) TDEStdAccel::findStdAccel((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_find(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::find(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_forwardWord(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::forwardWord(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_forward(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::forward(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_fullScreen(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::fullScreen(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_gotoLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::gotoLine(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_help(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::help(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_home(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::home(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStdAccel_label(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStdAccel::label((TDEStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStdAccel_name(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStdAccel::name((TDEStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_nextCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::nextCompletion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_next(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::next(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_openNew(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::openNew(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_open(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::open(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_pasteSelection(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::pasteSelection(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_paste(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::paste(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_popupMenuContext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::popupMenuContext(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_prevCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::prevCompletion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_print(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::print(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_prior(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::prior(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_quit(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::quit(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_redo(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::redo(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_reload(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::reload(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_replace(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::replace(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_rotateDown(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::rotateDown(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_rotateUp(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::rotateUp(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_save(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::save(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_selectAll(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::selectAll(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcutDefault3(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault3((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcutDefault4(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault4((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcutDefault(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcut(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::shortcut((TDEStdAccel::StdAccel) id), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_showMenubar(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::showMenubar(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_substringCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::substringCompletion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_tabNext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::tabNext(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_tabPrev(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::tabPrev(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_undo(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::undo(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_up(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::up(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_whatsThis__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::whatsThis(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStdAccel_whatsThis__I(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStdAccel::whatsThis((TDEStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_zoomIn(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::zoomIn(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_zoomOut(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::zoomOut(), "org.kde.koala.TDEShortcut"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEStdAccel.h b/kdejava/koala/kdejava/TDEStdAccel.h deleted file mode 100644 index 296d6d1c..00000000 --- a/kdejava/koala/kdejava/TDEStdAccel.h +++ /dev/null @@ -1,74 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEStdAccel__ -#define __org_kde_koala_TDEStdAccel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcut (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_name (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_label (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_whatsThis__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStdAccel_findStdAccel (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault3 (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault4 (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_open (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_openNew (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_close (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_save (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_print (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_quit (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_undo (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_redo (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_cut (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_copy (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_paste (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_pasteSelection (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_selectAll (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_deleteWordBack (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_deleteWordForward (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_find (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_findNext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_findPrev (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_replace (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_zoomIn (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_zoomOut (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_home (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_end (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_beginningOfLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_endOfLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_prior (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_next (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_gotoLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_addBookmark (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_tabNext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_tabPrev (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_fullScreen (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_help (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_completion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_prevCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_nextCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_substringCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_rotateUp (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_rotateDown (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_popupMenuContext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_whatsThis__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_reload (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_up (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_back (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_forward (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_backwardWord (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_forwardWord (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_showMenubar (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEStdAccel__ */ diff --git a/kdejava/koala/kdejava/TDEToggleAction.cpp b/kdejava/koala/kdejava/TDEToggleAction.cpp deleted file mode 100644 index ff5de65d..00000000 --- a/kdejava/koala/kdejava/TDEToggleAction.cpp +++ /dev/null @@ -1,480 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kguiitem.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToggleAction.h> - -class TDEToggleActionJBridge : public TDEToggleAction -{ -public: - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEToggleAction(arg1,arg2,arg3) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(const TQString& arg1) : TDEToggleAction(arg1) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEToggleAction(arg1,arg2,arg3) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEToggleAction(arg1,arg2,arg3) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToggleActionJBridge(TQObject* arg1,const char* arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(TQObject* arg1) : TDEToggleAction(arg1) {}; - TDEToggleActionJBridge() : TDEToggleAction() {}; - void protected_updateChecked(int arg1) { - TDEToggleAction::updateChecked(arg1); - return; - } - void protected_slotActivated() { - TDEToggleAction::slotActivated(); - return; - } - ~TDEToggleActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","slotActivated")) { - TDEToggleAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToggleAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToggleAction_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleAction_exclusiveGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->exclusiveGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToggleAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleAction_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToggleAction*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_setCheckedState(JNIEnv* env, jobject obj, jobject checkedItem) -{ - ((TDEToggleAction*) QtSupport::getQt(env, obj))->setCheckedState((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, checkedItem)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToggleAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_setExclusiveGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEToggleAction*) QtSupport::getQt(env, obj))->setExclusiveGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDEToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleAction_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_updateChecked(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_updateChecked((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToggleAction.h b/kdejava/koala/kdejava/TDEToggleAction.h deleted file mode 100644 index c019736c..00000000 --- a/kdejava/koala/kdejava/TDEToggleAction.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToggleAction__ -#define __org_kde_koala_TDEToggleAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleAction_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_exclusiveGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setExclusiveGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setCheckedState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_updateChecked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToggleAction__ */ diff --git a/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp b/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp deleted file mode 100644 index 193579a2..00000000 --- a/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp +++ /dev/null @@ -1,170 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToggleFullScreenAction.h> - -class TDEToggleFullScreenActionJBridge : public TDEToggleFullScreenAction -{ -public: - TDEToggleFullScreenActionJBridge(const TDEShortcut& arg1,const TQObject* arg2,const char* arg3,TQObject* arg4,TQWidget* arg5,const char* arg6) : TDEToggleFullScreenAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEToggleFullScreenAction::eventFilter(arg1,arg2); - } - ~TDEToggleFullScreenActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","slotActivated")) { - TDEToggleAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToggleFullScreenAction",object,event)) { - return TDEToggleFullScreenAction::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToggleFullScreenAction_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TDEToggleFullScreenActionJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleFullScreenAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToggleFullScreenAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_newTDEToggleFullScreenAction(JNIEnv* env, jobject obj, jobject cut, jobject receiver, jstring slot, jobject parent, jobject window, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleFullScreenActionJBridge((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_setWindow(JNIEnv* env, jobject obj, jobject window) -{ - ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setWindow((TQWidget*) QtSupport::getQt(env, window)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToggleFullScreenAction.h b/kdejava/koala/kdejava/TDEToggleFullScreenAction.h deleted file mode 100644 index 83115244..00000000 --- a/kdejava/koala/kdejava/TDEToggleFullScreenAction.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToggleFullScreenAction__ -#define __org_kde_koala_TDEToggleFullScreenAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_newTDEToggleFullScreenAction (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_setWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToggleFullScreenAction__ */ diff --git a/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp b/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp deleted file mode 100644 index 355543ce..00000000 --- a/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp +++ /dev/null @@ -1,189 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToggleToolBarAction.h> - -class TDEToggleToolBarActionJBridge : public TDEToggleToolBarAction -{ -public: - TDEToggleToolBarActionJBridge(const char* arg1,const TQString& arg2,TDEActionCollection* arg3,const char* arg4) : TDEToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - TDEToggleToolBarActionJBridge(TDEToolBar* arg1,const TQString& arg2,TDEActionCollection* arg3,const char* arg4) : TDEToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - ~TDEToggleToolBarActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotActivated")) { - TDEToggleAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToggleToolBarAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToggleToolBarAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleToolBarAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToggleToolBarAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring toolBarName, jstring text, jobject parent, jstring name) -{ -static TQCString* _qstring_toolBarName = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleToolBarActionJBridge((const char*) QtSupport::toCharString(env, toolBarName, &_qstring_toolBarName), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject toolBar, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleToolBarActionJBridge((TDEToolBar*) QtSupport::getQt(env, toolBar), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_toolBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEToggleToolBarAction.h b/kdejava/koala/kdejava/TDEToggleToolBarAction.h deleted file mode 100644 index 34f1cb0f..00000000 --- a/kdejava/koala/kdejava/TDEToggleToolBarAction.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToggleToolBarAction__ -#define __org_kde_koala_TDEToggleToolBarAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleToolBarAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleToolBarAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleToolBarAction_toolBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleToolBarAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToggleToolBarAction__ */ diff --git a/kdejava/koala/kdejava/TDEToolBar.cpp b/kdejava/koala/kdejava/TDEToolBar.cpp deleted file mode 100644 index 18f327bf..00000000 --- a/kdejava/koala/kdejava/TDEToolBar.cpp +++ /dev/null @@ -1,1712 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqsizepolicy.h> -#include <tdetoolbar.h> -#include <tqcombobox.h> -#include <tqpixmap.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tqdom.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToolBar.h> - -class TDEToolBarJBridge : public TDEToolBar -{ -public: - TDEToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; - TDEToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; - TDEToolBarJBridge(TQWidget* arg1,const char* arg2) : TDEToolBar(arg1,arg2) {}; - TDEToolBarJBridge(TQWidget* arg1) : TDEToolBar(arg1) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : TDEToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5) : TDEToolBar(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2) : TDEToolBar(arg1,arg2) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : TDEToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5) : TDEToolBar(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2) : TDEToolBar(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDEToolBar::mousePressEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TDEToolBar::childEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TDEToolBar::showEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEToolBar::resizeEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TDEToolBar::event(arg1); - } - void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2,bool arg3) { - TDEToolBar::applyAppearanceSettings(arg1,arg2,arg3); - return; - } - void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2) { - TDEToolBar::applyAppearanceSettings(arg1,arg2); - return; - } - TQString protected_settingsGroup() { - return (TQString) TDEToolBar::settingsGroup(); - } - ~TDEToolBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEToolBar::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQDockWindow::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TDEToolBar::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","dock")) { - TQDockWindow::dock(); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQDockWindow::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TDEToolBar::childEvent(arg1); - } - return; - } - void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","undock")) { - TQDockWindow::undock(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDockWindow::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_addConnection(JNIEnv* env, jobject obj, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQCString* _qstring_signal = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->addConnection((int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_alignItemRight__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_alignItemRight__IZ(JNIEnv* env, jobject obj, jint id, jboolean right) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id, (bool) right); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_animatedWidget(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->animatedWidget((int) id), "org.kde.koala.KAnimWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring _configGroup) -{ -static TQString* _qstring__configGroup = 0; - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring _configGroup, jboolean forceGlobal) -{ -static TQString* _qstring__configGroup = 0; - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup), (bool) forceGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring configGroup) -{ -static TQString* _qstring_configGroup = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring configGroup, jboolean force) -{ -static TQString* _qstring_configGroup = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup), (bool) force); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_barPos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->barPos(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_clearCombo(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->clearCombo((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_clear(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_contextMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->contextMenuEnabled(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEToolBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_fullSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->fullSize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getButton(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getButton((int) id), "org.kde.koala.TDEToolBarButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_getComboItem__I(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_getComboItem__II(JNIEnv* env, jobject obj, jint id, jint index) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id, (int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getCombo(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getCombo((int) id), "org.kde.koala.KComboBox"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_getLinedText(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getLinedText((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getLined(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getLined((int) id), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getWidget(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getWidget((int) id), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_hideItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->hideItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_hide(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_highlightSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEToolBarJBridge::highlightSetting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_highlight(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->highlight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconSizeDefault(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconSizeDefault(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconTextId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconText(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconTextSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEToolBarJBridge::iconTextSetting(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_idAt(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->idAt((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons) -{ -static TQString* _qstring_icons = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons, jint index) -{ -static TQString* _qstring_icons = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id) -{ -static TQString* _qstring_icon = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled) -{ -static TQString* _qstring_icon = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) -{ -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) -{ -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text) -{ -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text, jint index) -{ -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_insertComboItem(JNIEnv* env, jobject obj, jint id, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->insertComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_insertComboList(JNIEnv* env, jobject obj, jint id, jobjectArray list, jint index) -{ -static TQStringList* _qlist_list = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->insertComboList((int) id, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) index); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLineSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLineSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLineSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index, (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size, jint index) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index, (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget), (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_isButtonOn(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->isButtonOn((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_itemIndex(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->itemIndex((int) id); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_loadState(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->loadState((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2I(JNIEnv* env, jobject obj, jobject parentWindow, jint dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_positionYourself__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->positionYourself(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_positionYourself__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->positionYourself((bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_removeComboItem(JNIEnv* env, jobject obj, jint id, jint index) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->removeComboItem((int) id, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_removeItemDelayed(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->removeItemDelayed((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_saveSettings(JNIEnv* env, jobject obj, jobject config, jstring configGroup) -{ -static TQString* _qstring_configGroup = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->saveSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_saveState__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->saveState(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_saveState__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->saveState((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setAutoRepeat__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setAutoRepeat__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setBarPos(JNIEnv* env, jobject obj, jint bpos) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setBarPos((TDEToolBar::BarPosition) bpos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButtonIconSet(JNIEnv* env, jobject obj, jint id, jobject iconset) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonIconSet((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButtonIcon(JNIEnv* env, jobject obj, jint id, jstring _icon) -{ -static TQString* _qstring__icon = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonIcon((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButtonPixmap(JNIEnv* env, jobject obj, jint id, jobject _pixmap) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonPixmap((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, _pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButton(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButton((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setCurrentComboItem(JNIEnv* env, jobject obj, jint id, jint index) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setCurrentComboItem((int) id, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint id, jobject _popup) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jint id, jobject _popup, jboolean toggle) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup), (bool) toggle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setEnableContextMenu__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setEnableContextMenu__Z(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setFlat(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setFlat((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setFullSize__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setFullSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setFullSize__Z(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setFullSize((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconSize__I(JNIEnv* env, jobject obj, jint size) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconSize__IZ(JNIEnv* env, jobject obj, jint size, jboolean update) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size, (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconText__I(JNIEnv* env, jobject obj, jint it) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((TDEToolBar::IconText) it); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconText__IZ(JNIEnv* env, jobject obj, jint it, jboolean update) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((TDEToolBar::IconText) it, (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemAutoSized__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemAutoSized__IZ(JNIEnv* env, jobject obj, jint id, jboolean yes) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id, (bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enabled) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemNoStyle__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemNoStyle__IZ(JNIEnv* env, jobject obj, jint id, jboolean no_style) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id, (bool) no_style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setLinedText(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setLinedText((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setStretchableWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setStretchableWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setText(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setTitle(JNIEnv* env, jobject obj, jstring _title) -{ -static TQString* _qstring__title = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, _title, &_qstring__title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setToggle__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setToggle__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setXMLGUIClient(JNIEnv* env, jobject obj, jobject client) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setXMLGUIClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_settingsGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_showItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->showItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_show(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TDEToolBar*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_toggleButton(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->toggleButton((int) id); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_transparentSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEToolBarJBridge::transparentSetting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_updateRects__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->updateRects(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_updateRects__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->updateRects((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBar.h b/kdejava/koala/kdejava/TDEToolBar.h deleted file mode 100644 index d62daea8..00000000 --- a/kdejava/koala/kdejava/TDEToolBar.h +++ /dev/null @@ -1,180 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBar__ -#define __org_kde_koala_TDEToolBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_animatedWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_addConnection (JNIEnv *env, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonIcon (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonPixmap (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonIconSet (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setAutoRepeat__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setAutoRepeat__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setToggle__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setToggle__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_toggleButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButton (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_isButtonOn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setLinedText (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getLinedText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_insertComboItem (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_insertComboList (JNIEnv *env, jobject, jint, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeComboItem (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setCurrentComboItem (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_clearCombo (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getComboItem__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getComboItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getCombo (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getLined (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_alignItemRight__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_alignItemRight__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemAutoSized__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemAutoSized__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeItemDelayed (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_hideItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_showItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_itemIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_idAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFullSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFullSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_fullSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setBarPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_barPos (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconTextId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconSize__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconSize__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconSizeDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setEnableContextMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setEnableContextMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_contextMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemNoStyle__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemNoStyle__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFlat (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveState__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveSettings (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setXMLGUIClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setStretchableWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_highlight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_updateRects__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_updateRects__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_loadState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveState__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_positionYourself__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_positionYourself__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_highlightSetting (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_transparentSetting (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconTextSetting (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_settingsGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBar__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarButton.cpp b/kdejava/koala/kdejava/TDEToolBarButton.cpp deleted file mode 100644 index fc3c44fd..00000000 --- a/kdejava/koala/kdejava/TDEToolBarButton.cpp +++ /dev/null @@ -1,893 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqpixmap.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tdetoolbarbutton.h> -#include <tqpalette.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToolBarButton.h> - -class TDEToolBarButtonJBridge : public TDEToolBarButton -{ -public: - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5,TDEInstance* arg6) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4) : TDEToolBarButton(arg1,arg2,arg3,arg4) {}; - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3) : TDEToolBarButton(arg1,arg2,arg3) {}; - TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4) : TDEToolBarButton(arg1,arg2,arg3,arg4) {}; - TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3) : TDEToolBarButton(arg1,arg2,arg3) {}; - TDEToolBarButtonJBridge(TQWidget* arg1,const char* arg2) : TDEToolBarButton(arg1,arg2) {}; - TDEToolBarButtonJBridge(TQWidget* arg1) : TDEToolBarButton(arg1) {}; - TDEToolBarButtonJBridge() : TDEToolBarButton() {}; - bool protected_event(TQEvent* arg1) { - return (bool) TDEToolBarButton::event(arg1); - } - void protected_paletteChange(const TQPalette& arg1) { - TDEToolBarButton::paletteChange(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEToolBarButton::leaveEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - TDEToolBarButton::enterEvent(arg1); - return; - } - void protected_drawButton(TQPainter* arg1) { - TDEToolBarButton::drawButton(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEToolBarButton::eventFilter(arg1,arg2); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDEToolBarButton::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TDEToolBarButton::mouseReleaseEvent(arg1); - return; - } - void protected_showMenu() { - TDEToolBarButton::showMenu(); - return; - } - TQSize protected_sizeHint() { - return (TQSize) TDEToolBarButton::sizeHint(); - } - TQSize protected_minimumSizeHint() { - return (TQSize) TDEToolBarButton::minimumSizeHint(); - } - TQSize protected_minimumSize() { - return (TQSize) TDEToolBarButton::minimumSize(); - } - bool protected_isRaised() { - return (bool) TDEToolBarButton::isRaised(); - } - bool protected_isActive() { - return (bool) TDEToolBarButton::isActive(); - } - int protected_iconTextMode() { - return (int) TDEToolBarButton::iconTextMode(); - } - void protected_slotClicked() { - TDEToolBarButton::slotClicked(); - return; - } - void protected_slotPressed() { - TDEToolBarButton::slotPressed(); - return; - } - void protected_slotReleased() { - TDEToolBarButton::slotReleased(); - return; - } - void protected_slotToggled() { - TDEToolBarButton::slotToggled(); - return; - } - void protected_slotDelayTimeout() { - TDEToolBarButton::slotDelayTimeout(); - return; - } - ~TDEToolBarButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEToolBarButton::setIconSet(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQToolButton::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEToolBarButton::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBarButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEToolBarButton::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TDEToolBarButton::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBarButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_drawButton(JNIEnv* env, jobject obj, jobject p) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_enterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEToolBarButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarButton_iconTextMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_iconTextMode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarButton_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBarButton*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_isRaised(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isRaised(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_modeChange(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->modeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent) -{ -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (TDEInstance*) QtSupport::getQt(env, _instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name, jstring txt) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_on__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->on(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_on__Z(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->on((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_popup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setIconSet(JNIEnv* env, jobject obj, jobject iconset) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setNoStyle__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setNoStyle__Z(JNIEnv* env, jobject obj, jboolean no_style) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle((bool) no_style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setRadio__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setRadio(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setRadio__Z(JNIEnv* env, jobject obj, jboolean f) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setRadio((bool) f); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setTextLabel(JNIEnv* env, jobject obj, jstring arg1, jboolean tipToo) -{ -static TQString* _qstring_arg1 = 0; - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) tipToo); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setToggle__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setToggle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setToggle__Z(JNIEnv* env, jobject obj, jboolean toggle) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setToggle((bool) toggle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_showMenu(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_showMenu(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotClicked(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotDelayTimeout(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotDelayTimeout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotPressed(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotPressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotReleased(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotReleased(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotToggled(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotToggled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_toggle(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->toggle(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarButton.h b/kdejava/koala/kdejava/TDEToolBarButton.h deleted file mode 100644 index a5641e62..00000000 --- a/kdejava/koala/kdejava/TDEToolBarButton.h +++ /dev/null @@ -1,74 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarButton__ -#define __org_kde_koala_TDEToolBarButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_on__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_on__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_toggle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setToggle__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setToggle__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_popup (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarButton_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setRadio__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setRadio__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setNoStyle__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setNoStyle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_modeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setTextLabel (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_paletteChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_showMenu (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isRaised (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarButton_iconTextMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotReleased (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotToggled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotDelayTimeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarButton__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp b/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp deleted file mode 100644 index 2173ada4..00000000 --- a/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp +++ /dev/null @@ -1,277 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqstring.h> -#include <kguiitem.h> -#include <tdeshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToolBarPopupAction.h> - -class TDEToolBarPopupActionJBridge : public TDEToolBarPopupAction -{ -public: - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEToolBarPopupAction(arg1,arg2,arg3) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2) : TDEToolBarPopupAction(arg1,arg2) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarPopupActionJBridge(const KGuiItem& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - ~TDEToolBarPopupActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarPopupAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_delayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->delayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarPopupAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToolBarPopupAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToolBarPopupAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_setDelayed(JNIEnv* env, jobject obj, jboolean delayed) -{ - ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->setDelayed((bool) delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) -{ - ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_stickyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->stickyMenu(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarPopupAction.h b/kdejava/koala/kdejava/TDEToolBarPopupAction.h deleted file mode 100644 index b24f54a2..00000000 --- a/kdejava/koala/kdejava/TDEToolBarPopupAction.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarPopupAction__ -#define __org_kde_koala_TDEToolBarPopupAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarPopupAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarPopupAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarPopupAction_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_delayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_setDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_stickyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_setStickyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarPopupAction__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp b/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp deleted file mode 100644 index 9ca39dce..00000000 --- a/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp +++ /dev/null @@ -1,132 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdetoolbarradiogroup.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToolBarRadioGroup.h> - -class TDEToolBarRadioGroupJBridge : public TDEToolBarRadioGroup -{ -public: - TDEToolBarRadioGroupJBridge(TDEToolBar* arg1,const char* arg2) : TDEToolBarRadioGroup(arg1,arg2) {}; - TDEToolBarRadioGroupJBridge(TDEToolBar* arg1) : TDEToolBarRadioGroup(arg1) {}; - ~TDEToolBarRadioGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarRadioGroup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_addButton(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->addButton((int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarRadioGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToolBarRadioGroup*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToolBarRadioGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2(JNIEnv* env, jobject obj, jobject _parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarRadioGroupJBridge((TDEToolBar*) QtSupport::getQt(env, _parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _parent, jstring _name) -{ -static TQCString* _qstring__name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarRadioGroupJBridge((TDEToolBar*) QtSupport::getQt(env, _parent), (const char*) QtSupport::toCharString(env, _name, &_qstring__name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_removeButton(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->removeButton((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_slotToggled(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->slotToggled((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarRadioGroup.h b/kdejava/koala/kdejava/TDEToolBarRadioGroup.h deleted file mode 100644 index 1268afe9..00000000 --- a/kdejava/koala/kdejava/TDEToolBarRadioGroup.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarRadioGroup__ -#define __org_kde_koala_TDEToolBarRadioGroup__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_addButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_removeButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_slotToggled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarRadioGroup__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarSeparator.cpp b/kdejava/koala/kdejava/TDEToolBarSeparator.cpp deleted file mode 100644 index cda1cb0b..00000000 --- a/kdejava/koala/kdejava/TDEToolBarSeparator.cpp +++ /dev/null @@ -1,493 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsizepolicy.h> -#include <tqsize.h> -#include <tdetoolbar.h> -#include <tqstyle.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToolBarSeparator.h> - -class TDEToolBarSeparatorJBridge : public TDEToolBarSeparator -{ -public: - TDEToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3,const char* arg4) : TDEToolBarSeparator(arg1,arg2,arg3,arg4) {}; - TDEToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3) : TDEToolBarSeparator(arg1,arg2,arg3) {}; - void protected_styleChange(TQStyle& arg1) { - TDEToolBarSeparator::styleChange(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - TDEToolBarSeparator::drawContents(arg1); - return; - } - ~TDEToolBarSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","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.TDEToolBarSeparator","show")) { - TQWidget::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.TDEToolBarSeparator","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","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")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - 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")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","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 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.TDEToolBarSeparator","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarSeparator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarSeparator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBarSeparator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEToolBarSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarSeparator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarSeparator_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarSeparator_showLine(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->showLine(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarSeparator_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarSeparator_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarSeparator.h b/kdejava/koala/kdejava/TDEToolBarSeparator.h deleted file mode 100644 index 700def78..00000000 --- a/kdejava/koala/kdejava/TDEToolBarSeparator.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarSeparator__ -#define __org_kde_koala_TDEToolBarSeparator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2 (JNIEnv *env, jobject, jint, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarSeparator_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarSeparator_showLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarSeparator__ */ diff --git a/kdejava/koala/kdejava/TDETrader.cpp b/kdejava/koala/kdejava/TDETrader.cpp deleted file mode 100644 index ed985963..00000000 --- a/kdejava/koala/kdejava/TDETrader.cpp +++ /dev/null @@ -1,150 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktrader.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDETrader.h> - -class TDETraderJBridge : public TDETrader -{ -public: - TDETraderJBridge() : TDETrader() {}; - ~TDETraderJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDETrader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDETrader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDETrader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDETrader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDETrader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDETrader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDETrader*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDETrader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDETrader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDETrader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDETrader_newTDETrader(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDETraderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype, jstring constraint) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_constraint = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype, jstring constraint, jstring preferences) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype, jstring genericServiceType, jstring constraint, jstring preferences) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_genericServiceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, genericServiceType, &_qstring_genericServiceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDETraderJBridge::self(), "org.kde.koala.TDETrader"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDETrader.h b/kdejava/koala/kdejava/TDETrader.h deleted file mode 100644 index cbe91bc2..00000000 --- a/kdejava/koala/kdejava/TDETrader.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDETrader__ -#define __org_kde_koala_TDETrader__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDETrader_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDETrader_newTDETrader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDETrader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDETrader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDETrader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDETrader__ */ diff --git a/kdejava/koala/kdejava/Text.cpp b/kdejava/koala/kdejava/Text.cpp deleted file mode 100644 index 8f5a6c7d..00000000 --- a/kdejava/koala/kdejava/Text.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_text.h> -#include <dom/dom_node.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/Text.h> - -class TextJBridge : public DOM::Text -{ -public: - TextJBridge() : DOM::Text() {}; - TextJBridge(const DOM::Text& arg1) : DOM::Text(arg1) {}; - TextJBridge(const DOM::Node& arg1) : DOM::Text(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Text_newText__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Text_newText__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Text_newText__Lorg_kde_koala_Text_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextJBridge((const DOM::Text&)*(const DOM::Text*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Text_splitText(JNIEnv* env, jobject obj, jlong offset) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Text(((DOM::Text*) QtSupport::getQt(env, obj))->splitText((const unsigned long) offset)), "org.kde.koala.Text", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/Text.h b/kdejava/koala/kdejava/Text.h deleted file mode 100644 index 9ab55f51..00000000 --- a/kdejava/koala/kdejava/Text.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Text__ -#define __org_kde_koala_Text__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Text_newText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Text_newText__Lorg_kde_koala_Text_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Text_newText__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Text_splitText (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Text__ */ diff --git a/kdejava/koala/kdejava/TextEvent.cpp b/kdejava/koala/kdejava/TextEvent.cpp deleted file mode 100644 index 8dbdc49c..00000000 --- a/kdejava/koala/kdejava/TextEvent.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom2_views.h> -#include <dom/dom2_events.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TextEvent.h> - -class TextEventJBridge : public DOM::TextEvent -{ -public: - TextEventJBridge() : DOM::TextEvent() {}; - TextEventJBridge(const DOM::TextEvent& arg1) : DOM::TextEvent(arg1) {}; - TextEventJBridge(const DOM::Event& arg1) : DOM::TextEvent(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TextEvent_checkModifier(JNIEnv* env, jobject obj, jlong modifierArg) -{ - jboolean xret = (jboolean) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->checkModifier((unsigned long) modifierArg); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_initModifier(JNIEnv* env, jobject obj, jlong modifierArg, jboolean valueArg) -{ - ((DOM::TextEvent*) QtSupport::getQt(env, obj))->initModifier((unsigned long) modifierArg, (bool) valueArg); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_initTextEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject viewArg, jlong detailArg, jstring outputStringArg, jlong keyValArg, jlong virtKeyValArg, jboolean inputGeneratedArg, jboolean numPadArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; -static DOM::DOMString* _domstring_outputStringArg = 0; - ((DOM::TextEvent*) QtSupport::getQt(env, obj))->initTextEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, viewArg), (long) detailArg, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, outputStringArg, &_domstring_outputStringArg), (unsigned long) keyValArg, (unsigned long) virtKeyValArg, (bool) inputGeneratedArg, (bool) numPadArg); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TextEvent_inputGenerated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->inputGenerated(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TextEvent_keyVal(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->keyVal(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_newTextEvent__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_Event_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextEventJBridge((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_TextEvent_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextEventJBridge((const DOM::TextEvent&)*(const DOM::TextEvent*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TextEvent_numPad(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->numPad(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TextEvent_outputString(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::TextEvent*) QtSupport::getQt(env, obj))->outputString(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TextEvent_virtKeyVal(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->virtKeyVal(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TextEvent.h b/kdejava/koala/kdejava/TextEvent.h deleted file mode 100644 index 207a7443..00000000 --- a/kdejava/koala/kdejava/TextEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TextEvent__ -#define __org_kde_koala_TextEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_newTextEvent__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_TextEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_Event_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_initTextEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jlong, jstring, jlong, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_initModifier (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TextEvent_inputGenerated (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TextEvent_keyVal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TextEvent_numPad (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TextEvent_outputString (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TextEvent_virtKeyVal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TextEvent_checkModifier (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TextEvent__ */ diff --git a/kdejava/koala/kdejava/TransferJob.cpp b/kdejava/koala/kdejava/TransferJob.cpp deleted file mode 100644 index 5c027f7c..00000000 --- a/kdejava/koala/kdejava/TransferJob.cpp +++ /dev/null @@ -1,307 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/jobclasses.h> -#include <tdeio/global.h> -#include <tqstring.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TransferJob.h> - -class TransferJobJBridge : public TDEIO::TransferJob -{ -public: - TransferJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,const TQByteArray& arg4,bool arg5) : TDEIO::TransferJob(arg1,arg2,arg3,arg4,arg5) {}; - void protected_slotRedirection(const KURL& arg1) { - TDEIO::TransferJob::slotRedirection(arg1); - return; - } - void protected_slotFinished() { - TDEIO::TransferJob::slotFinished(); - return; - } - void protected_slotData(const TQByteArray& arg1) { - TDEIO::TransferJob::slotData(arg1); - return; - } - void protected_slotDataReq() { - TDEIO::TransferJob::slotDataReq(); - return; - } - void protected_slotMimetype(const TQString& arg1) { - TDEIO::TransferJob::slotMimetype(arg1); - return; - } - void protected_slotNeedSubURLData() { - TDEIO::TransferJob::slotNeedSubURLData(); - return; - } - void protected_slotSubURLData(TDEIO::Job* arg1,const TQByteArray& arg2) { - TDEIO::TransferJob::slotSubURLData(arg1,arg2); - return; - } - void protected_slotErrorPage() { - TDEIO::TransferJob::slotErrorPage(); - return; - } - void protected_slotCanResume(TDEIO::filesize_t arg1) { - TDEIO::TransferJob::slotCanResume(arg1); - return; - } - void protected_slotPostRedirection() { - TDEIO::TransferJob::slotPostRedirection(); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","slotFinished")) { - TransferJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - TransferJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TransferJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TransferJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TransferJob_isErrorPage(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->isErrorPage(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TransferJob_isSuspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->isSuspended(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TransferJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_newTransferJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jbyteArray _staticData, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; -static TQByteArray* _qbyteArray__staticData = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TransferJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, _staticData, &_qbyteArray__staticData), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TransferJob_reportDataSent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->reportDataSent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_resume(JNIEnv* env, jobject obj) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_sendAsyncData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->sendAsyncData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_setAsyncDataEnabled(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->setAsyncDataEnabled((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_setReportDataSent(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->setReportDataSent((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotCanResume(JNIEnv* env, jobject obj, jlong offset) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotCanResume((TDEIO::filesize_t) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotDataReq(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotDataReq(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotErrorPage(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotErrorPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotMimetype(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotMimetype((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotNeedSubURLData(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotNeedSubURLData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotPostRedirection(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotPostRedirection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotSubURLData(JNIEnv* env, jobject obj, jobject arg1, jbyteArray arg2) -{ -static TQByteArray* _qbyteArray_arg2 = 0; - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotSubURLData((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg2, &_qbyteArray_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_suspend(JNIEnv* env, jobject obj) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->suspend(); - return; -} - diff --git a/kdejava/koala/kdejava/TransferJob.h b/kdejava/koala/kdejava/TransferJob.h deleted file mode 100644 index 2194bc7e..00000000 --- a/kdejava/koala/kdejava/TransferJob.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TransferJob__ -#define __org_kde_koala_TransferJob__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TransferJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TransferJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_newTransferJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TransferJob_isSuspended (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TransferJob_isErrorPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_setAsyncDataEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_sendAsyncData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_setReportDataSent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TransferJob_reportDataSent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotRedirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotDataReq (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotMimetype (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotNeedSubURLData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotSubURLData (JNIEnv *env, jobject, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotErrorPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotCanResume (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotPostRedirection (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TransferJob__ */ diff --git a/kdejava/koala/kdejava/TreeWalker.cpp b/kdejava/koala/kdejava/TreeWalker.cpp deleted file mode 100644 index 49378f71..00000000 --- a/kdejava/koala/kdejava/TreeWalker.cpp +++ /dev/null @@ -1,133 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_node.h> -#include <dom/dom2_traversal.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TreeWalker.h> - -class TreeWalkerJBridge : public DOM::TreeWalker -{ -public: - TreeWalkerJBridge() : DOM::TreeWalker() {}; - TreeWalkerJBridge(const DOM::TreeWalker& arg1) : DOM::TreeWalker(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_currentNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->currentNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TreeWalker_expandEntityReferences(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->expandEntityReferences(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_filter(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeFilter(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->filter()), "org.kde.koala.NodeFilter", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_firstChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TreeWalker_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TreeWalker_newTreeWalker__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TreeWalkerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TreeWalker_newTreeWalker__Lorg_kde_koala_TreeWalker_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TreeWalkerJBridge((const DOM::TreeWalker&)*(const DOM::TreeWalker*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_nextNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->nextNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_nextSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_parentNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_previousNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->previousNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_previousSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_root(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->root()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TreeWalker_setCurrentNode(JNIEnv* env, jobject obj, jobject _currentNode) -{ - ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->setCurrentNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, _currentNode)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TreeWalker_whatToShow(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->whatToShow(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TreeWalker.h b/kdejava/koala/kdejava/TreeWalker.h deleted file mode 100644 index e349e098..00000000 --- a/kdejava/koala/kdejava/TreeWalker.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TreeWalker__ -#define __org_kde_koala_TreeWalker__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TreeWalker_newTreeWalker__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TreeWalker_newTreeWalker__Lorg_kde_koala_TreeWalker_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_root (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TreeWalker_whatToShow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_filter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TreeWalker_expandEntityReferences (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_currentNode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TreeWalker_setCurrentNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_parentNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_firstChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_previousSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_nextSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_previousNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_nextNode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TreeWalker_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TreeWalker__ */ diff --git a/kdejava/koala/kdejava/UIEvent.cpp b/kdejava/koala/kdejava/UIEvent.cpp deleted file mode 100644 index f283e807..00000000 --- a/kdejava/koala/kdejava/UIEvent.cpp +++ /dev/null @@ -1,118 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <dom/dom_string.h> -#include <dom/dom2_views.h> -#include <dom/dom2_events.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/UIEvent.h> - -class UIEventJBridge : public DOM::UIEvent -{ -public: - UIEventJBridge() : DOM::UIEvent() {}; - UIEventJBridge(const DOM::UIEvent& arg1) : DOM::UIEvent(arg1) {}; - UIEventJBridge(const DOM::Event& arg1) : DOM::UIEvent(arg1) {}; -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_charCode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->charCode(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_UIEvent_detail(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->detail(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_initUIEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject viewArg, jlong detailArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; - ((DOM::UIEvent*) QtSupport::getQt(env, obj))->initUIEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, viewArg), (long) detailArg); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_keyCode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->keyCode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_layerX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->layerX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_layerY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->layerY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_newUIEvent__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new UIEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_Event_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new UIEventJBridge((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_UIEvent_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new UIEventJBridge((const DOM::UIEvent&)*(const DOM::UIEvent*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_pageX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->pageX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_pageY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->pageY(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_UIEvent_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::AbstractView(((DOM::UIEvent*) QtSupport::getQt(env, obj))->view()), "org.kde.koala.AbstractView", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_which(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->which(); - return xret; -} - diff --git a/kdejava/koala/kdejava/UIEvent.h b/kdejava/koala/kdejava/UIEvent.h deleted file mode 100644 index 0917bdc0..00000000 --- a/kdejava/koala/kdejava/UIEvent.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_UIEvent__ -#define __org_kde_koala_UIEvent__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_newUIEvent__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_UIEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_Event_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_UIEvent_view (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_UIEvent_detail (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_keyCode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_charCode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_pageX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_pageY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_layerX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_layerY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_which (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_initUIEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_UIEvent__ */ diff --git a/kdejava/koala/kdejava/URLArgs.cpp b/kdejava/koala/kdejava/URLArgs.cpp deleted file mode 100644 index 1c0ced4b..00000000 --- a/kdejava/koala/kdejava/URLArgs.cpp +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeparts/browserextension.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/URLArgs.h> - -class URLArgsJBridge : public KParts::URLArgs -{ -public: - URLArgsJBridge() : KParts::URLArgs() {}; - URLArgsJBridge(const KParts::URLArgs& arg1) : KParts::URLArgs(arg1) {}; - URLArgsJBridge(bool arg1,int arg2,int arg3,const TQString& arg4) : KParts::URLArgs(arg1,arg2,arg3,arg4) {}; - URLArgsJBridge(bool arg1,int arg2,int arg3) : KParts::URLArgs(arg1,arg2,arg3) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_URLArgs_contentType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::URLArgs*) QtSupport::getQt(env, obj))->contentType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_doPost(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->doPost(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_forcesNewWindow(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->forcesNewWindow(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_lockHistory(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->lockHistory(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_newTab(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->newTab(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__Lorg_kde_koala_URLArgs_2(JNIEnv* env, jobject obj, jobject args) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge((const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__ZII(JNIEnv* env, jobject obj, jboolean reload, jint xOffset, jint yOffset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge((bool) reload, (int) xOffset, (int) yOffset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__ZIILjava_lang_String_2(JNIEnv* env, jobject obj, jboolean reload, jint xOffset, jint yOffset, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge((bool) reload, (int) xOffset, (int) yOffset, (const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_redirectedRequest(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->redirectedRequest(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setContentType(JNIEnv* env, jobject obj, jstring contentType) -{ -static TQString* _qstring_contentType = 0; - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setContentType((const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setDoPost(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setDoPost((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setForcesNewWindow(JNIEnv* env, jobject obj, jboolean forcesNewWindow) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setForcesNewWindow((bool) forcesNewWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setLockHistory(JNIEnv* env, jobject obj, jboolean lock) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setLockHistory((bool) lock); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setNewTab(JNIEnv* env, jobject obj, jboolean newTab) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setNewTab((bool) newTab); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setRedirectedRequest(JNIEnv* env, jobject obj, jboolean redirected) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setRedirectedRequest((bool) redirected); - return; -} - diff --git a/kdejava/koala/kdejava/URLArgs.h b/kdejava/koala/kdejava/URLArgs.h deleted file mode 100644 index b6367def..00000000 --- a/kdejava/koala/kdejava/URLArgs.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_URLArgs__ -#define __org_kde_koala_URLArgs__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__Lorg_kde_koala_URLArgs_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__ZIILjava_lang_String_2 (JNIEnv *env, jobject, jboolean, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__ZII (JNIEnv *env, jobject, jboolean, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setContentType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_URLArgs_contentType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setDoPost (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_doPost (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setLockHistory (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_lockHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setNewTab (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_newTab (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_redirectedRequest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setRedirectedRequest (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setForcesNewWindow (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_forcesNewWindow (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_URLArgs__ */ diff --git a/kdejava/koala/kdejava/WindowArgs.cpp b/kdejava/koala/kdejava/WindowArgs.cpp deleted file mode 100644 index bf5e0c3e..00000000 --- a/kdejava/koala/kdejava/WindowArgs.cpp +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tdeparts/browserextension.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/WindowArgs.h> - -class WindowArgsJBridge : public KParts::WindowArgs -{ -public: - WindowArgsJBridge() : KParts::WindowArgs() {}; - WindowArgsJBridge(const KParts::WindowArgs& arg1) : KParts::WindowArgs(arg1) {}; - WindowArgsJBridge(const TQRect& arg1,bool arg2,bool arg3,bool arg4,bool arg5,bool arg6) : KParts::WindowArgs(arg1,arg2,arg3,arg4,arg5,arg6) {}; - WindowArgsJBridge(int arg1,int arg2,int arg3,int arg4,bool arg5,bool arg6,bool arg7,bool arg8,bool arg9) : KParts::WindowArgs(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__IIIIZZZZZ(JNIEnv* env, jobject obj, jint _x, jint _y, jint _width, jint _height, jboolean _fullscreen, jboolean _menuBarVisible, jboolean _toolBarsVisible, jboolean _statusBarVisible, jboolean _resizable) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge((int) _x, (int) _y, (int) _width, (int) _height, (bool) _fullscreen, (bool) _menuBarVisible, (bool) _toolBarsVisible, (bool) _statusBarVisible, (bool) _resizable)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_koala_WindowArgs_2(JNIEnv* env, jobject obj, jobject args) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge((const KParts::WindowArgs&)*(const KParts::WindowArgs*) QtSupport::getQt(env, args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_qt_QRect_2ZZZZZ(JNIEnv* env, jobject obj, jobject _geometry, jboolean _fullscreen, jboolean _menuBarVisible, jboolean _toolBarsVisible, jboolean _statusBarVisible, jboolean _resizable) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, _geometry), (bool) _fullscreen, (bool) _menuBarVisible, (bool) _toolBarsVisible, (bool) _statusBarVisible, (bool) _resizable)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/WindowArgs.h b/kdejava/koala/kdejava/WindowArgs.h deleted file mode 100644 index cc43f56b..00000000 --- a/kdejava/koala/kdejava/WindowArgs.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_WindowArgs__ -#define __org_kde_koala_WindowArgs__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_koala_WindowArgs_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_qt_QRect_2ZZZZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__IIIIZZZZZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean, jboolean, jboolean, jboolean, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_WindowArgs__ */ diff --git a/kdejava/koala/main.cpp b/kdejava/koala/main.cpp deleted file mode 100644 index 29efb990..00000000 --- a/kdejava/koala/main.cpp +++ /dev/null @@ -1,26 +0,0 @@ -/*************************************************************************** - main.cpp - description - ------------------- - begin : Sat Nov 11 16:18:00 2000 - copyright : (C) 2000-2001 Lost Highway Ltd. All rights reserved. - email : Lost_Highway@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#include <stdio.h> - -int -main(int argc, char * argv[]) { - (void) argc; - (void) argv; - (void) printf("Introducing KDE 3.2 Koala Java...\n"); - return 0; -} diff --git a/kdejava/koala/org/Makefile.am b/kdejava/koala/org/Makefile.am deleted file mode 100644 index 0c146c39..00000000 --- a/kdejava/koala/org/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## - -SUBDIRS = kde - -####### tdevelop will overwrite this part!!! (end)############ diff --git a/kdejava/koala/org/kde/Makefile.am b/kdejava/koala/org/kde/Makefile.am deleted file mode 100644 index 019dd7c0..00000000 --- a/kdejava/koala/org/kde/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## - -SUBDIRS = koala - -####### tdevelop will overwrite this part!!! (end)############ diff --git a/kdejava/koala/org/kde/koala/AbstractView.java b/kdejava/koala/org/kde/koala/AbstractView.java deleted file mode 100644 index c2dbfb3a..00000000 --- a/kdejava/koala/org/kde/koala/AbstractView.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2 - A base interface that all views shall derive from. - @short Introduced in DOM Level 2 - -*/ -public class AbstractView implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected AbstractView(Class dummy){} - - public AbstractView() { - newAbstractView(); - } - private native void newAbstractView(); - public AbstractView(AbstractView other) { - newAbstractView(other); - } - private native void newAbstractView(AbstractView other); - /** - The source DocumentView of which this is an AbstractView. - @short The source DocumentView of which this is an AbstractView. - */ - public native Document document(); - /** - Introduced in DOM Level 2 - This method is from the ViewCSS interface - This method is used to get the computed style as it is defined in - [CSS2]. - @param elt The element whose style is to be computed. This parameter - cannot be null. - @param pseudoElt The pseudo-element or null if none. - @return The computed style. The CSSStyleDeclaration is read-only and - contains only absolute values. - - @short Introduced in DOM Level 2 This method is from the ViewCSS interface - */ - public native CSSStyleDeclaration getComputedStyle(Element elt, String pseudoElt); - /** - not part of the DOM - @short - */ - // DOM::AbstractViewImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::AbstractView* AbstractView(DOM::AbstractViewImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Attr.java b/kdejava/koala/org/kde/koala/Attr.java deleted file mode 100644 index 91320cfb..00000000 --- a/kdejava/koala/org/kde/koala/Attr.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>Attr</code> interface represents an attribute in an - <code>Element</code> object. Typically the allowable values for - the attribute are defined in a document type definition. - <code>Attr</code> objects inherit the <code>Node</code> - interface, but since they are not actually child nodes of the - element they describe, the DOM does not consider them part of the - document tree. Thus, the <code>Node</code> attributes - <code>parentNode</code> , <code>previousSibling</code> , and - <code>nextSibling</code> have a null value for <code>Attr</code> - objects. The DOM takes the view that attributes are properties of - elements rather than having a separate identity from the elements - they are associated with; this should make it more efficient to - implement such features as default attributes associated with all - elements of a given type. Furthermore, <code>Attr</code> nodes - may not be immediate children of a <code>DocumentFragment</code> - . However, they can be associated with <code>Element</code> nodes - contained within a <code>DocumentFragment</code> . In short, - users and implementors of the DOM need to be aware that <code>Attr</code> - nodes have some things in common with other objects - inheriting the <code>Node</code> interface, but they also are - quite distinct. - The attribute's effective value is determined as follows: if this - attribute has been explicitly assigned any value, that value is the - attribute's effective value; otherwise, if there is a declaration - for this attribute, and that declaration includes a default value, - then that default value is the attribute's effective value; - otherwise, the attribute does not exist on this element in the - structure model until it has been explicitly added. Note that the - <code>nodeValue</code> attribute on the <code>Attr</code> - instance can also be used to retrieve the string version of the - attribute's value(s). - In XML, where the value of an attribute can contain entity - references, the child nodes of the <code>Attr</code> node provide - a representation in which entity references are not expanded. These - child nodes may be either <code>Text</code> or - <code>EntityReference</code> nodes. Because the attribute type may be - unknown, there are no tokenized attribute values. - @short The <code>Attr</code> interface represents an attribute in an <code>Element</code> object. - -*/ -public class Attr extends Node { - protected Attr(Class dummy){super((Class) null);} - public Attr() { - super((Class) null); - newAttr(); - } - private native void newAttr(); - public Attr(Node other) { - super((Class) null); - newAttr(other); - } - private native void newAttr(Node other); - public Attr(Attr other) { - super((Class) null); - newAttr(other); - } - private native void newAttr(Attr other); - /** - Returns the name of this attribute. - @short Returns the name of this attribute. - */ - public native String name(); - /** - If this attribute was explicitly given a value in the original - document, this is <code>true</code> ; otherwise, it is - <code>false</code> . Note that the implementation is in charge of - this attribute, not the user. If the user changes the value of - the attribute (even if it ends up having the same value as the - default value) then the <code>specified</code> flag is - automatically flipped to <code>true</code> . To re-specify - the attribute as the default value from the DTD, the user must - delete the attribute. The implementation will then make a new - attribute available with <code>specified</code> set to - <code>false</code> and the default value (if one exists). - In summary: - <li>If</li> the attribute has an assigned - value in the document then <code>specified</code> is - <code>true</code> , and the value is the assigned value. - <li>If</li> the attribute has no assigned value in the - document and has a default value in the DTD, then - <code>specified</code> is <code>false</code> , and the value is - the default value in the DTD. - <li>If</li> the attribute has no assigned value in the - document and has a value of #IMPLIED in the DTD, then the - attribute does not appear in the structure model of the - document. - @short If this attribute was explicitly given a value in the original document, this is <code>true</code> ; otherwise, it is <code>false</code> . - */ - public native boolean specified(); - /** - On retrieval, the value of the attribute is returned as a - string. Character and general entity references are replaced - with their values. - On setting, this creates a <code>Text</code> node with the - unparsed contents of the string. - @short On retrieval, the value of the attribute is returned as a string. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Introduced in DOM Level 2 - The Element node this attribute is attached to or null if this attribute - is not in use. - @short Introduced in DOM Level 2 - */ - public native Element ownerElement(); - // DOM::Attr* Attr(DOM::AttrImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/AuthInfo.java b/kdejava/koala/org/kde/koala/AuthInfo.java deleted file mode 100644 index 56b786da..00000000 --- a/kdejava/koala/org/kde/koala/AuthInfo.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class is intended to make it easier to prompt for, cache - and retrieve authorization information. - When using this class to cache, retrieve or prompt authentication - information, you only need to set the necessary attributes. For - example, to check whether a password is already cached, the only - required information is the URL of the resource and optionally - whether or not a path match should be performed. Similarly, to - prompt for password you only need to optionally set the prompt, - username (if already supplied), comment and commentLabel fields. - <em>SPECIAL NOTE:</em> If you extend this class to add additional - parameters do not forget to overload the stream insertion and - extraction operators ("<<" and ">>") so that the added data can - be correctly serialzed. - @author Dawit Alemayehu <adawit@kde.org> - - @short A two way messaging class for passing authentication information. - -*/ -public class AuthInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected AuthInfo(Class dummy){} - - /** - Default constructor. - @short Default constructor. - */ - public AuthInfo() { - newAuthInfo(); - } - private native void newAuthInfo(); - /** - Copy constructor. - @short Copy constructor. - */ - public AuthInfo(AuthInfo info) { - newAuthInfo(info); - } - private native void newAuthInfo(AuthInfo info); - /** - Use this method to check if the object was modified. - @return true if the object has been modified - - @short Use this method to check if the object was modified. - */ - public native boolean isModified(); - /** - Use this method to indicate that this object has been modified. - @param flag true to mark the object as modified, false to clear - @short Use this method to indicate that this object has been modified. - */ - public native void setModified(boolean flag); -} diff --git a/kdejava/koala/org/kde/koala/BrowserExtension.java b/kdejava/koala/org/kde/koala/BrowserExtension.java deleted file mode 100644 index 4067a7bb..00000000 --- a/kdejava/koala/org/kde/koala/BrowserExtension.java +++ /dev/null @@ -1,258 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - The Browser Extension is an extension (yes, no kidding) to - KParts.ReadOnlyPart, which allows a better integration of parts - with browsers (in particular Konqueror). - Remember that ReadOnlyPart only has openURL(KURL), with no other settings. - For full-fledged browsing, we need much more than that, including - many arguments about how to open this URL (see URLArgs), allowing - parts to save and restore their data into the back/forward history, - allowing parts to control the location bar URL, to requests URLs - to be opened by the hosting browser, etc. - The part developer needs to define its own class derived from BrowserExtension, - to implement the methods [and the standard-actions slots, see below]. - The way to associate the BrowserExtension with the part is to simply - create the BrowserExtension as a child of the part (in TQObject's terms). - The hosting application will look for it automatically. - Another aspect of the browser integration is that a set of standard - actions are provided by the browser, but implemented by the part - (for the actions it supports). - The following standard actions are defined by the host of the view : - [selection-dependent actions] - - <li> - <code>cut</code> : Copy selected items to clipboard and store 'not cut' in clipboard. - </li> - - <li> - <code>copy</code> : Copy selected items to clipboard and store 'cut' in clipboard. - </li> - - <li> - <code>paste</code> : Paste clipboard into view URL. - </li> - - <li> - <code>pasteTo</code>(KURL) : Paste clipboard into given URL. - </li> - - <li> - <code>rename</code> : Rename item in place. - </li> - - <li> - <code>trash</code> : Move selected items to trash. - </li> - - <li> - <code>del</code> : Delete selected items (couldn't call it delete!). - </li> - - <li> - <code>shred</code> : Shred selected items (secure deletion) - DEPRECATED. - </li> - - <li> - <code>properties</code> : Show file/document properties. - </li> - - <li> - <code>editMimeType</code> : show file/document's mimetype properties. - </li> - - <li> - <code>searchProvider</code> : Lookup selected text at default search provider - </li> - [normal actions] - - <li> - <code>print</code> : Print :-) - </li> - - <li> - <code>reparseConfiguration</code> : Re-read configuration and apply it. - </li> - - <li> - <code>refreshMimeTypes</code> : If the view uses mimetypes it should re-determine them. - </li> - The view defines a slot with the name of the action in order to implement the action. - The browser will detect the slot automatically and connect its action to it when - appropriate (i.e. when the view is active). - The selection-dependent actions are disabled by default and the view should - enable them when the selection changes, emitting enableAction(). - The normal actions do not depend on the selection. - You need to enable 'print' when printing is possible - you can even do that - in the constructor. - A special case is the configuration slots, not connected to any action directly, - and having parameters. - [configuration slot] - - <li> - <code>setSaveViewPropertiesLocally</code>( boolean ): If <code>true</code>, view properties are saved into .directory - otherwise, they are saved globally. - </li> - - <li> - <code>disableScrolling</code>: no scrollbars - - </li> See {@link BrowserExtensionSignals} for signals emitted by BrowserExtension - @short The Browser Extension is an extension (yes, no kidding) to KParts.ReadOnlyPart, which allows a better integration of parts with browsers (in particular Konqueror). - -*/ -public class BrowserExtension extends TQObject { - protected BrowserExtension(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @param parent The KParts.ReadOnlyPart that this extension ... "extends" :) - @param name An optional name for the extension. - @short Constructor - */ - public BrowserExtension(ReadOnlyPart parent, String name) { - super((Class) null); - newBrowserExtension(parent,name); - } - private native void newBrowserExtension(ReadOnlyPart parent, String name); - public BrowserExtension(ReadOnlyPart parent) { - super((Class) null); - newBrowserExtension(parent); - } - private native void newBrowserExtension(ReadOnlyPart parent); - /** - Set the parameters to use for opening the next URL. - This is called by the "hosting" application, to pass parameters to the part. - @short Set the parameters to use for opening the next URL. - @see URLArgs - */ - public native void setURLArgs(URLArgs args); - /** - Retrieve the set of parameters to use for opening the URL - (this must be called from openURL() in the part). - @short Retrieve the set of parameters to use for opening the URL (this must be called from openURL() in the part). - @see URLArgs - */ - public native URLArgs urlArgs(); - /** - Returns the current x offset. - For a scrollview, implement this using contentsX(). - @short Returns the current x offset. - */ - public native int xOffset(); - /** - Returns the current y offset. - For a scrollview, implement this using contentsY(). - @short Returns the current y offset. - */ - public native int yOffset(); - /** - Used by the browser to save the current state of the view - (in order to restore it if going back in navigation). - If you want to save additional properties, reimplement it - but don't forget to call the parent method (probably first). - @short Used by the browser to save the current state of the view (in order to restore it if going back in navigation). - */ - public native void saveState(TQDataStream stream); - /** - Used by the browser to restore the view in the state - it was when we left it. - If you saved additional properties, reimplement it - but don't forget to call the parent method (probably first). - @short Used by the browser to restore the view in the state it was when we left it. - */ - public native void restoreState(TQDataStream stream); - /** - Returns whether url drop handling is enabled. - See setURLDropHandlingEnabled for more information about this - property. - @short Returns whether url drop handling is enabled. - */ - public native boolean isURLDropHandlingEnabled(); - /** - Enables or disables url drop handling. URL drop handling is a property - describing whether the hosting shell component is allowed to install an - event filter on the part's widget, to listen for URI drop events. - Set it to true if you are exporting a BrowserExtension implementation and - do not provide any special URI drop handling. If set to false you can be - sure to receive all those URI drop events unfiltered. Also note that the - implementation as of Konqueror installs the event filter only on the part's - widget itself, not on child widgets. - @short Enables or disables url drop handling. - */ - public native void setURLDropHandlingEnabled(boolean enable); - public native void setBrowserInterface(BrowserInterface impl); - public native BrowserInterface browserInterface(); - /** - @return the status (enabled/disabled) of an action. - When the enableAction signal is emitted, the browserextension - stores the status of the action internally, so that it's possible - to query later for the status of the action, using this method. - - @short - */ - public native boolean isActionEnabled(String name); - /** - @return the text of an action, if it was set explicitely by the part. - When the setActionText signal is emitted, the browserextension - stores the text of the action internally, so that it's possible - to query later for the text of the action, using this method. - - @short - */ - public native String actionText(String name); - /** - Asks the hosting browser to perform a paste (using openURLRequestDelayed) - @short Asks the hosting browser to perform a paste (using openURLRequestDelayed) - */ - public native void pasteRequest(); - /** - Returns a map containing the action names as keys and corresponding - SLOT()'ified method names as data entries. - This is very useful for - the host component, when connecting the own signals with the - extension's slots. - Basically you iterate over the map, check if the extension implements - the slot and connect to the slot using the data value of your map - iterator. - Checking if the extension implements a certain slot can be done like this: - <pre> - extension.metaObject().slotNames().contains( actionName + "()" ) - </pre> - (note that <code>actionName</code> is the iterator's key value if already - iterating over the action slot map, returned by this method) - Connecting to the slot can be done like this: - <pre> - connect( yourObject, SIGNAL("yourSignal()"), - extension, mapIterator.data() ) - </pre> - (where "mapIterator" is your TQMap<String,String> iterator) - @short Returns a map containing the action names as keys and corresponding SLOT()'ified method names as data entries. - */ - // KParts::BrowserExtension::ActionSlotMap actionSlotMap(); >>>> NOT CONVERTED - /** - @return a pointer to the static action-slot map. Preferred method to get it. - The map is created if it doesn't exist yet - - @short - */ - // KParts::BrowserExtension::ActionSlotMap* actionSlotMapPtr(); >>>> NOT CONVERTED - /** - Queries <code>obj</code> for a child object which inherits from this - BrowserExtension class. Convenience method. - @short Queries <code>obj</code> for a child object which inherits from this BrowserExtension class. - */ - public static native BrowserExtension childObject(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java b/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java deleted file mode 100644 index 590e664d..00000000 --- a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPoint; -import java.util.ArrayList; - -public interface BrowserExtensionSignals { - /** - Enables or disable a standard action held by the browser. - See class documentation for the list of standard actions. - @short Enables or disable a standard action held by the browser. - */ - void enableAction(String name, boolean enabled); - /** - Change the text of a standard action held by the browser. - This can be used to change "Paste" into "Paste Image" for instance. - See class documentation for the list of standard actions. - @short Change the text of a standard action held by the browser. - */ - void setActionText(String name, String text); - /** - Asks the host (browser) to open <code>url.</code> - To set a reload, the x and y offsets, the service type etc., fill in the - appropriate fields in the <code>args</code> structure. - Hosts should not connect to this signal but to openURLRequestDelayed. - @short Asks the host (browser) to open <code>url.</code> - */ - void openURLRequest(KURL url, URLArgs args); - /** - Asks the host (browser) to open <code>url.</code> - To set a reload, the x and y offsets, the service type etc., fill in the - appropriate fields in the <code>args</code> structure. - Hosts should not connect to this signal but to openURLRequestDelayed. - @short Asks the host (browser) to open <code>url.</code> - */ - void openURLRequest(KURL url); - /** - This signal is emitted when openURLRequest is called, after a 0-seconds timer. - This allows the caller to terminate what it's doing first, before (usually) - being destroyed. Parts should never use this signal, hosts should only connect - to this signal. - @short This signal is emitted when openURLRequest is called, after a 0-seconds timer. - */ - void openURLRequestDelayed(KURL url, URLArgs args); - /** - This signal is emitted when openURLRequest is called, after a 0-seconds timer. - This allows the caller to terminate what it's doing first, before (usually) - being destroyed. Parts should never use this signal, hosts should only connect - to this signal. - @short This signal is emitted when openURLRequest is called, after a 0-seconds timer. - */ - void openURLRequestDelayed(KURL url); - /** - Tells the hosting browser that the part opened a new URL (which can be - queried via KParts.Part.url(). - This helps the browser to update/create an entry in the history. - The part may <b>not</b> emit this signal together with openURLRequest(). - Emit openURLRequest() if you want the browser to handle a URL the user - asked to open (from within your part/document). This signal however is - useful if you want to handle URLs all yourself internally, while still - telling the hosting browser about new opened URLs, in order to provide - a proper history functionality to the user. - An example of usage is a html rendering component which wants to emit - this signal when a child frame document changed its URL. - Conclusion: you probably want to use openURLRequest() instead. - @short Tells the hosting browser that the part opened a new URL (which can be queried via KParts.Part.url(). - */ - void openURLNotify(); - /** - Updates the URL shown in the browser's location bar to <code>url.</code> - @short Updates the URL shown in the browser's location bar to <code>url.</code> - */ - void setLocationBarURL(String url); - /** - Sets the URL of an icon for the currently displayed page. - @short Sets the URL of an icon for the currently displayed page. - */ - void setIconURL(KURL url); - /** - Asks the hosting browser to open a new window for the given <code>url.</code> - The <code>args</code> argument is optional additional information for the - browser, - @short Asks the hosting browser to open a new window for the given <code>url.</code> - @see URLArgs - */ - void createNewWindow(KURL url, URLArgs args); - /** - Asks the hosting browser to open a new window for the given <code>url.</code> - The <code>args</code> argument is optional additional information for the - browser, - @short Asks the hosting browser to open a new window for the given <code>url.</code> - @see URLArgs - */ - void createNewWindow(KURL url); - // void createNewWindow(const KURL& arg1,const KParts::URLArgs& arg2,const KParts::WindowArgs& arg3,KParts::ReadOnlyPart*& arg4); >>>> NOT CONVERTED - /** - Since the part emits the jobid in the started() signal, - progress information is automatically displayed. - However, if you don't use a TDEIO.Job in the part, - you can use loadingProgress() and speedProgress() - to display progress information. - @short Since the part emits the jobid in the started() signal, progress information is automatically displayed. - */ - void loadingProgress(int percent); - /** - @short - @see #loadingProgress - */ - void speedProgress(int bytesPerSecond); - void infoMessage(String arg1); - /** - Emit this to make the browser show a standard popup menu - at the point <code>global</code> for the files <code>items.</code> - @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the files <code>items.</code> - */ - void popupMenu(TQPoint global, ArrayList items); - /** - Emit this to make the browser show a standard popup menu - at the point <code>global</code> for the files <code>items.</code> - The GUI described by <code>client</code> is being merged with the popupmenu of the host - @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the files <code>items.</code> - */ - void popupMenu(KXMLGUIClientInterface client, TQPoint global, ArrayList items); - // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KFileItemList& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED - /** - Emit this to make the browser show a standard popup menu - at the point <code>global</code> for the given <code>url.</code> - Give as much information - about this URL as possible, like the <code>mimeType</code> and the file type - (<code>mode</code>: S_IFREG, S_IFDIR...) - @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> - */ - void popupMenu(TQPoint global, KURL url, String mimeType, long mode); - /** - Emit this to make the browser show a standard popup menu - at the point <code>global</code> for the given <code>url.</code> - Give as much information - about this URL as possible, like the <code>mimeType</code> and the file type - (<code>mode</code>: S_IFREG, S_IFDIR...) - @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> - */ - void popupMenu(TQPoint global, KURL url, String mimeType); - /** - Emit this to make the browser show a standard popup menu - at the point <code>global</code> for the given <code>url.</code> - Give as much information - about this URL as possible, like the <code>mimeType</code> and the file type - (<code>mode</code>: S_IFREG, S_IFDIR...) - The GUI described by <code>client</code> is being merged with the popupmenu of the host - @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> - */ - void popupMenu(KXMLGUIClientInterface client, TQPoint global, KURL url, String mimeType, long mode); - /** - Emit this to make the browser show a standard popup menu - at the point <code>global</code> for the given <code>url.</code> - Give as much information - about this URL as possible, like the <code>mimeType</code> and the file type - (<code>mode</code>: S_IFREG, S_IFDIR...) - The GUI described by <code>client</code> is being merged with the popupmenu of the host - @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> - */ - void popupMenu(KXMLGUIClientInterface client, TQPoint global, KURL url, String mimeType); - // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5,mode_t arg6); >>>> NOT CONVERTED - // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED - /** - Inform the hosting application about the current selection. - Used when a set of files/URLs is selected (with full information - about those URLs, including size, permissions etc.) - @short Inform the hosting application about the current selection. - */ - void selectionInfo(ArrayList items); - /** - Inform the hosting application about the current selection. - Used when some text is selected. - @short Inform the hosting application about the current selection. - */ - void selectionInfo(String text); - /** - Inform the hosting application that the user moved the mouse over an item. - Used when the mouse is on an URL. - @short Inform the hosting application that the user moved the mouse over an item. - */ - void mouseOverInfo(KFileItem item); - /** - Ask the hosting application to add a new HTML (aka Mozilla/Netscape) - SideBar entry. - @short Ask the hosting application to add a new HTML (aka Mozilla/Netscape) SideBar entry. - */ - void addWebSideBar(KURL url, String name); - /** - Ask the hosting application to move the top level widget. - @short Ask the hosting application to move the top level widget. - */ - void moveTopLevelWidget(int x, int y); - /** - Ask the hosting application to resize the top level widget. - @short Ask the hosting application to resize the top level widget. - */ - void resizeTopLevelWidget(int w, int h); - /** - Ask the hosting application to focus <code>part.</code> - @short Ask the hosting application to focus <code>part.</code> - */ - void requestFocus(ReadOnlyPart part); - /** - Tell the host (browser) about security state of current page - enum PageSecurity { NotCrypted, Encrypted, Mixed } - @short Tell the host (browser) about security state of current page enum PageSecurity { NotCrypted, Encrypted, Mixed } - */ - void setPageSecurity(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/BrowserHostExtension.java b/kdejava/koala/org/kde/koala/BrowserHostExtension.java deleted file mode 100644 index 60c07617..00000000 --- a/kdejava/koala/org/kde/koala/BrowserHostExtension.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - An extension class for container parts, i.e. parts that contain - other parts. - For instance a TDEHTMLPart hosts one part per frame. - @short An extension class for container parts, i. - -*/ -public class BrowserHostExtension extends TQObject { - protected BrowserHostExtension(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public BrowserHostExtension(ReadOnlyPart parent, String name) { - super((Class) null); - newBrowserHostExtension(parent,name); - } - private native void newBrowserHostExtension(ReadOnlyPart parent, String name); - public BrowserHostExtension(ReadOnlyPart parent) { - super((Class) null); - newBrowserHostExtension(parent); - } - private native void newBrowserHostExtension(ReadOnlyPart parent); - /** - Returns a list of the names of all hosted child objects. - Note that this method does not query the child objects recursively. - @short Returns a list of the names of all hosted child objects. - */ - public native ArrayList frameNames(); - /** - Returns a list of pointers to all hosted child objects. - Note that this method does not query the child objects recursively. - @short Returns a list of pointers to all hosted child objects. - */ - // const TQPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED - /** - Returns the part that contains <code>frame</code> and that may be accessed - by <code>callingPart</code> - @short Returns the part that contains <code>frame</code> and that may be accessed by <code>callingPart</code> - */ - public native BrowserHostExtension findFrameParent(ReadOnlyPart callingPart, String frame); - /** - Opens the given url in a hosted child frame. The frame name is specified in the - frameName variable in the urlArgs argument structure (see KParts.URLArgs ) . - @short Opens the given url in a hosted child frame. - */ - public native boolean openURLInFrame(KURL url, URLArgs urlArgs); - /** - Queries <code>obj</code> for a child object which inherits from this - BrowserHostExtension class. Convenience method. - @short Queries <code>obj</code> for a child object which inherits from this BrowserHostExtension class. - */ - public static native BrowserHostExtension childObject(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/BrowserInterface.java b/kdejava/koala/org/kde/koala/BrowserInterface.java deleted file mode 100644 index c725c9d9..00000000 --- a/kdejava/koala/org/kde/koala/BrowserInterface.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQVariant; -import org.kde.qt.TQObject; - -/** - - The purpose of this interface is to allow a direct communication between - a KPart and the hosting browser shell (for example Konqueror) . A - shell implementing this interface can propagate it to embedded kpart - components by using the setBrowserInterface call of the part's - KParts.BrowserExtension object. - This interface looks not very rich, but the main functionality is - implemented using the callMethod method for part.shell - communication and using Qt properties for allowing a part to - to explicitly query information from the shell. - Konqueror in particular, as 'reference' implementation, provides - the following functionality through this interface: - Qt properties: - <code> - TQ_PROPERTY( uint historyLength READ historyLength ); - </code> - Callable methods: - <code> - void goHistory( int ); - </code> - @short The purpose of this interface is to allow a direct communication between a KPart and the hosting browser shell (for example Konqueror) . - -*/ -public class BrowserInterface extends TQObject { - protected BrowserInterface(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public BrowserInterface(TQObject parent, String name) { - super((Class) null); - newBrowserInterface(parent,name); - } - private native void newBrowserInterface(TQObject parent, String name); - public BrowserInterface(TQObject parent) { - super((Class) null); - newBrowserInterface(parent); - } - private native void newBrowserInterface(TQObject parent); - /** - Perform a dynamic invocation of a method in the BrowserInterface - implementation. Methods are to be implemented as simple Qt slots. - @short Perform a dynamic invocation of a method in the BrowserInterface implementation. - */ - public native void callMethod(String name, TQVariant argument); -} diff --git a/kdejava/koala/org/kde/koala/BrowserRun.java b/kdejava/koala/org/kde/koala/BrowserRun.java deleted file mode 100644 index 2cee4873..00000000 --- a/kdejava/koala/org/kde/koala/BrowserRun.java +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This class extends KRun to provide additional functionality for browsers: - <ul> - <li>"save or open" dialog boxes - <li>"save" functionality - <li>support for HTTP POST (including saving the result to a temp file if - opening a separate application) - <li>warning before launching executables off the web - <li>custom error handling (i.e. treating errors as HTML pages) - <li>generation of SSL metadata depending on the previous URL shown by the part - </ul> - @author David Faure <faure@kde.org> - - @short This class extends KRun to provide additional functionality for browsers: <ul> <li>"save or open" dialog boxes <li>"save" functionality <li>support for HTTP POST (including saving the result to a temp file if opening a separate application) <li>warning before launching executables off the web <li>custom error handling (i. - -*/ -public class BrowserRun extends KRun { - protected BrowserRun(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - @param url the URL we're probing - @param args URL args - includes data for a HTTP POST, etc. - @param part the part going to open this URL - can be null if not created yet - @param window the mainwindow - passed to TDEIO.Job.setWindow() - @param removeReferrer if true, the "referrer" metadata from <code>args</code> isn't passed on - @param trustedSource if false, a warning will be shown before launching an executable - Always pass false for <code>trustedSource</code>, except for local directory views. - @short - */ - public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource) { - super((Class) null); - newBrowserRun(url,args,part,window,removeReferrer,trustedSource); - } - private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource); - /** - @param url the URL we're probing - @param args URL args - includes data for a HTTP POST, etc. - @param part the part going to open this URL - can be null if not created yet - @param window the mainwindow - passed to TDEIO.Job.setWindow() - @param removeReferrer if true, the "referrer" metadata from <code>args</code> isn't passed on - @param trustedSource if false, a warning will be shown before launching an executable - @param hideErrorDialog if true, no dialog will be shown in case of errors. - Always pass false for <code>trustedSource</code>, except for local directory views. - @short - */ - public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog) { - super((Class) null); - newBrowserRun(url,args,part,window,removeReferrer,trustedSource,hideErrorDialog); - } - private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog); - /** - @return the URL we're probing - - @short - */ - public native KURL url(); - /** - @return true if no dialog will be shown in case of errors - - @short - */ - public native boolean hideErrorDialog(); - /** - @return Suggested filename given by the server (e.g. HTTP content-disposition) - - @short - */ - public native String suggestedFilename(); - public native void save(KURL url, String suggestedFilename); - /** - Ask the user whether to save or open a url in another application. - @param url the URL in question - @param offer the application that will be used to open the URL - @param mimeType the mimetype of the URL - @param suggestedFilename optional filename suggested by the server - @return Save, Open or Cancel. - - @short Ask the user whether to save or open a url in another application. - */ - // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const TQString& arg3); >>>> NOT CONVERTED - /** - Similar to askSave() but for the case where the current application is - able to embed the url itself (instead of passing it to another app). - @param url the URL in question - @param mimeType the mimetype of the URL - @param suggestedFilename optional filename suggested by the server - @param flags reserved for later use - @return Save, Open or Cancel. - - @short Similar to askSave() but for the case where the current application is able to embed the url itself (instead of passing it to another app). - */ - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2,const TQString& arg3,int arg4); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2); >>>> NOT CONVERTED - public static native void simpleSave(KURL url, String suggestedFilename, TQWidget window); - /** BIC: Combine with the above function for KDE 4.0. @short BIC: Combine with the above function for KDE 4. - */ - public static native void simpleSave(KURL url, String suggestedFilename); - public static native boolean allowExecution(String serviceType, KURL url); - /** BIC: Obsoleted by KRun.isExecutable( StringserviceType ); @short BIC: Obsoleted by KRun.isExecutable( StringserviceType ); - */ - public static native boolean isExecutable(String serviceType); - public static native boolean isTextExecutable(String serviceType); - /** - Reimplemented from KRun - @short Reimplemented from KRun - */ - protected native void scanFile(); - /** - Reimplemented from KRun - @short Reimplemented from KRun - */ - protected native void init(); - /** - Called when an error happens. - NOTE: <code>job</code> could be null, if you passed hideErrorDialog=true. - The default implementation shows a message box, but only when job != 0 .... - It is strongly recommended to reimplement this method if - you passed hideErrorDialog=true. - @short Called when an error happens. - */ - protected native void handleError(Job job); - /** - Helper for foundMimeType: call this if the mimetype couldn't be embedded - @short Helper for foundMimeType: call this if the mimetype couldn't be embedded - */ - // KParts::BrowserRun::NonEmbeddableResult handleNonEmbeddable(const TQString& arg1); >>>> NOT CONVERTED - protected native void slotBrowserScanFinished(Job job); - protected native void slotBrowserMimetype(Job job, String type); - protected native void slotCopyToTempFileResult(Job job); - protected native void slotStatResult(Job job); -} diff --git a/kdejava/koala/org/kde/koala/CDATASection.java b/kdejava/koala/org/kde/koala/CDATASection.java deleted file mode 100644 index dd2e240f..00000000 --- a/kdejava/koala/org/kde/koala/CDATASection.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - CDATA sections are used to escape blocks of text containing - characters that would otherwise be regarded as markup. The only - delimiter that is recognized in a CDATA section is the "]]>" - string that ends the CDATA section. CDATA sections can not be - nested. The primary purpose is for including material such as XML - fragments, without needing to escape all the delimiters. - The <code>DOMString</code> attribute of the <code>Text</code> - node holds the text that is contained by the CDATA section. Note - that this may contain characters that need to be escaped outside of - CDATA sections and that, depending on the character encoding - ("charset") chosen for serialization, it may be impossible to write - out some characters as part of a CDATA section. - The <code>CDATASection</code> interface inherits the - <code>CharacterData</code> interface through the <code>Text</code> - interface. Adjacent <code>CDATASections</code> nodes are not - merged by use of the Element.normalize() method. - @short CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. - -*/ -public class CDATASection extends Text { - protected CDATASection(Class dummy){super((Class) null);} - public CDATASection() { - super((Class) null); - newCDATASection(); - } - private native void newCDATASection(); - public CDATASection(CDATASection other) { - super((Class) null); - newCDATASection(other); - } - private native void newCDATASection(CDATASection other); - public CDATASection(Node other) { - super((Class) null); - newCDATASection(other); - } - private native void newCDATASection(Node other); - // DOM::CDATASection* CDATASection(DOM::CDATASectionImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/CSSCharsetRule.java b/kdejava/koala/org/kde/koala/CSSCharsetRule.java deleted file mode 100644 index d384b9eb..00000000 --- a/kdejava/koala/org/kde/koala/CSSCharsetRule.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSCharsetRule</code> interface a <a href=""> \@charset - rule </a> in a CSS style sheet. A <code>\@charset</code> rule can - be used to define the encoding of the style sheet. - @short The <code>CSSCharsetRule</code> interface a <a href=""> \@charset rule </a> in a CSS style sheet. - -*/ -public class CSSCharsetRule extends CSSRule { - protected CSSCharsetRule(Class dummy){super((Class) null);} - public CSSCharsetRule() { - super((Class) null); - newCSSCharsetRule(); - } - private native void newCSSCharsetRule(); - public CSSCharsetRule(CSSCharsetRule other) { - super((Class) null); - newCSSCharsetRule(other); - } - private native void newCSSCharsetRule(CSSCharsetRule other); - public CSSCharsetRule(CSSRule other) { - super((Class) null); - newCSSCharsetRule(other); - } - private native void newCSSCharsetRule(CSSRule other); - // DOM::CSSCharsetRule* CSSCharsetRule(DOM::CSSCharsetRuleImpl* arg1); >>>> NOT CONVERTED - /** - The encoding information used in this <code>\@charset</code> - rule. - @short The encoding information used in this <code>\@charset</code> rule. - */ - public native String encoding(); - /** - see encoding - @short see encoding - */ - public native void setEncoding(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/CSSException.java b/kdejava/koala/org/kde/koala/CSSException.java deleted file mode 100644 index b8e000de..00000000 --- a/kdejava/koala/org/kde/koala/CSSException.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This exception is raised when a specific CSS operation is impossible - to perform. - @short This exception is raised when a specific CSS operation is impossible to perform. - -*/ -public class CSSException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected CSSException(Class dummy){} - - public CSSException(short _code) { - newCSSException(_code); - } - private native void newCSSException(short _code); - public CSSException(CSSException other) { - newCSSException(other); - } - private native void newCSSException(CSSException other); -} diff --git a/kdejava/koala/org/kde/koala/CSSFontFaceRule.java b/kdejava/koala/org/kde/koala/CSSFontFaceRule.java deleted file mode 100644 index 3d9ccc89..00000000 --- a/kdejava/koala/org/kde/koala/CSSFontFaceRule.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSFontFaceRule</code> interface represents a <a - href="http://www.w3.org/TR/REC-CSS2/fonts.html#font-descriptions"> - <code>\@font-face</code> rule </a> in a CSS style sheet. The <code>\@font-face</code> - rule is used to hold a set of font descriptions. - @short The <code>CSSFontFaceRule</code> interface represents a <a href="http://www. - -*/ -public class CSSFontFaceRule extends CSSRule { - protected CSSFontFaceRule(Class dummy){super((Class) null);} - public CSSFontFaceRule() { - super((Class) null); - newCSSFontFaceRule(); - } - private native void newCSSFontFaceRule(); - public CSSFontFaceRule(CSSFontFaceRule other) { - super((Class) null); - newCSSFontFaceRule(other); - } - private native void newCSSFontFaceRule(CSSFontFaceRule other); - public CSSFontFaceRule(CSSRule other) { - super((Class) null); - newCSSFontFaceRule(other); - } - private native void newCSSFontFaceRule(CSSRule other); - // DOM::CSSFontFaceRule* CSSFontFaceRule(DOM::CSSFontFaceRuleImpl* arg1); >>>> NOT CONVERTED - /** - The <a href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> - declaration-block </a> of this rule. - @short The <a href="http://www. - */ - public native CSSStyleDeclaration style(); -} diff --git a/kdejava/koala/org/kde/koala/CSSImportRule.java b/kdejava/koala/org/kde/koala/CSSImportRule.java deleted file mode 100644 index ae10161c..00000000 --- a/kdejava/koala/org/kde/koala/CSSImportRule.java +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import java.util.ArrayList; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSImportRule</code> interface represents a <a - href="http://www.w3.org/TR/REC-CSS2/cascade.html#at-import"> - <code>\@import</code> rule </a> within a CSS style sheet. The <code>\@import</code> - rule is used to import style rules from other style sheets. - @short The <code>CSSImportRule</code> interface represents a <a href="http://www. - -*/ -public class CSSImportRule extends CSSRule { - protected CSSImportRule(Class dummy){super((Class) null);} - public CSSImportRule() { - super((Class) null); - newCSSImportRule(); - } - private native void newCSSImportRule(); - public CSSImportRule(CSSImportRule other) { - super((Class) null); - newCSSImportRule(other); - } - private native void newCSSImportRule(CSSImportRule other); - public CSSImportRule(CSSRule other) { - super((Class) null); - newCSSImportRule(other); - } - private native void newCSSImportRule(CSSRule other); - // DOM::CSSImportRule* CSSImportRule(DOM::CSSImportRuleImpl* arg1); >>>> NOT CONVERTED - /** - The location of the style sheet to be imported. The attribute - will not contain the <code>"url</code>(...)" specifier around - the URI. - @short The location of the style sheet to be imported. - */ - public native String href(); - /** - A list of media types for which this style sheet may be used. - @short A list of media types for which this style sheet may be used. - */ - public native ArrayList media(); - /** - The style sheet referred to by this rule, if it has been - loaded. The value of this attribute is null if the style sheet - has not yet been loaded or if it will not be loaded (e.g. if - the style sheet is for a media type not supported by the user - agent). - @short The style sheet referred to by this rule, if it has been loaded. - */ - public native CSSStyleSheet styleSheet(); -} diff --git a/kdejava/koala/org/kde/koala/CSSMediaRule.java b/kdejava/koala/org/kde/koala/CSSMediaRule.java deleted file mode 100644 index 9c688f63..00000000 --- a/kdejava/koala/org/kde/koala/CSSMediaRule.java +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import java.util.ArrayList; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSMediaRule</code> interface represents a <a - href="http://www.w3.org/TR/REC-CSS2/media.html#at-media-rule"> - \@media rule </a> in a CSS style sheet. A <code>\@media</code> rule - can be used to delimit style rules for specific media types. - @short The <code>CSSMediaRule</code> interface represents a <a href="http://www. - -*/ -public class CSSMediaRule extends CSSRule { - protected CSSMediaRule(Class dummy){super((Class) null);} - public CSSMediaRule() { - super((Class) null); - newCSSMediaRule(); - } - private native void newCSSMediaRule(); - public CSSMediaRule(CSSMediaRule other) { - super((Class) null); - newCSSMediaRule(other); - } - private native void newCSSMediaRule(CSSMediaRule other); - public CSSMediaRule(CSSRule other) { - super((Class) null); - newCSSMediaRule(other); - } - private native void newCSSMediaRule(CSSRule other); - // DOM::CSSMediaRule* CSSMediaRule(DOM::CSSMediaRuleImpl* arg1); >>>> NOT CONVERTED - /** - A list of <a - href="http://www.w3.org/TR/REC-CSS2/media.html#media-types"> - media types </a> for this rule. - @short A list of <a href="http://www. - */ - public native ArrayList media(); - /** - A list of all CSS rules contained within the media block. - @short A list of all CSS rules contained within the media block. - */ - public native CSSRuleList cssRules(); - /** - Used to insert a new rule into the media block. - @param rule The parsable text representing the rule. For rule - sets this contains both the selector and the style declaration. - For at-rules, this specifies both the at-identifier and the - rule content. - @param index The index within the media block's rule collection - of the rule before which to insert the specified rule. If the - specified index is equal to the length of the media blocks's - rule collection, the rule will be added to the end of the media - block. - \exception DOMException - HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at - the specified index. e.g. if an <code>\@import</code> rule is - inserted after a standard rule set or other at-rule. - INDEX_SIZE_ERR: Raised if the specified index is not a valid - insertion point. - NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is - readonly. - \exception CSSException - SYNTAX_ERR: Raised if the specified rule has a syntax error - and is unparsable. - @return The index within the media block's rule collection of - the newly inserted rule. - - @short Used to insert a new rule into the media block. - */ - public native long insertRule(String rule, long index); - /** - Used to delete a rule from the media block. - @param index The index within the media block's rule collection - of the rule to remove. - \exception DOMException - INDEX_SIZE_ERR: Raised if the specified index does not - correspond to a rule in the media rule list. - NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is - readonly. - @short Used to delete a rule from the media block. - */ - public native void deleteRule(long index); -} diff --git a/kdejava/koala/org/kde/koala/CSSPageRule.java b/kdejava/koala/org/kde/koala/CSSPageRule.java deleted file mode 100644 index 03ca2fda..00000000 --- a/kdejava/koala/org/kde/koala/CSSPageRule.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSPageRule</code> interface represents a <a - href="http://www.w3.org/TR/REC-CSS2/page.html#page-box"> page rule - </a> within a CSS style sheet. The <code>@page</code> rule is - used to specify the dimensions, orientation, margins, etc. of a - page box for paged media. - @short The <code>CSSPageRule</code> interface represents a <a href="http://www. - -*/ -public class CSSPageRule extends CSSRule { - protected CSSPageRule(Class dummy){super((Class) null);} - public CSSPageRule() { - super((Class) null); - newCSSPageRule(); - } - private native void newCSSPageRule(); - public CSSPageRule(CSSPageRule other) { - super((Class) null); - newCSSPageRule(other); - } - private native void newCSSPageRule(CSSPageRule other); - public CSSPageRule(CSSRule other) { - super((Class) null); - newCSSPageRule(other); - } - private native void newCSSPageRule(CSSRule other); - // DOM::CSSPageRule* CSSPageRule(DOM::CSSPageRuleImpl* arg1); >>>> NOT CONVERTED - /** - The parsable textual representation of the page selector for - the rule. - @short The parsable textual representation of the page selector for the rule. - */ - public native String selectorText(); - /** - see selectorText - @short see selectorText - */ - public native void setSelectorText(String arg1); - /** - The <a href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> - declaration-block </a> of this rule. - @short The <a href="http://www. - */ - public native CSSStyleDeclaration style(); -} diff --git a/kdejava/koala/org/kde/koala/CSSPrimitiveValue.java b/kdejava/koala/org/kde/koala/CSSPrimitiveValue.java deleted file mode 100644 index 650bc139..00000000 --- a/kdejava/koala/org/kde/koala/CSSPrimitiveValue.java +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSPrimitiveValue</code> interface represents a single - <a href="http://www.w3.org/TR/REC-CSS2/syndata.html#values"> CSS - value </a> . This interface may be used to determine the value of a - specific style property currently set in a block or to set a - specific style properties explicitly within the block. An instance - of this interface can be obtained from the - <code>getPropertyCSSValue</code> method of the - <code>CSSStyleDeclaration</code> interface. - @short The <code>CSSPrimitiveValue</code> interface represents a single <a href="http://www. - -*/ -public class CSSPrimitiveValue extends CSSValue { - protected CSSPrimitiveValue(Class dummy){super((Class) null);} - public CSSPrimitiveValue() { - super((Class) null); - newCSSPrimitiveValue(); - } - private native void newCSSPrimitiveValue(); - public CSSPrimitiveValue(CSSPrimitiveValue other) { - super((Class) null); - newCSSPrimitiveValue(other); - } - private native void newCSSPrimitiveValue(CSSPrimitiveValue other); - public CSSPrimitiveValue(CSSValue other) { - super((Class) null); - newCSSPrimitiveValue(other); - } - private native void newCSSPrimitiveValue(CSSValue other); - // DOM::CSSPrimitiveValue* CSSPrimitiveValue(DOM::CSSPrimitiveValueImpl* arg1); >>>> NOT CONVERTED - /** - The type of the value as defined by the constants specified - above. - @short The type of the value as defined by the constants specified above. - */ - public native short primitiveType(); - /** - A method to set the float value with a specified unit. If the - property attached with this value can not accept the specified - unit or the float value, the value will be unchanged and a - <code>DOMException</code> will be raised. - @param unitType A unit code as defined above. The unit code can - only be a float unit type (e.g. <code>NUMBER</code> , - <code>PERCENTAGE</code> , <code>CSS_EMS</code> , <code>CSS_EXS</code> - , <code>CSS_PX</code> , <code>CSS_PX</code> , - <code>CSS_CM</code> , <code>CSS_MM</code> , <code>CSS_IN</code> - , <code>CSS_PT</code> , <code>CSS_PC</code> , - <code>CSS_DEG</code> , <code>CSS_RAD</code> , - <code>CSS_GRAD</code> , <code>CSS_MS</code> , <code>CSS_S</code> - , <code>CSS_HZ</code> , <code>CSS_KHZ</code> , - <code>CSS_DIMENSION</code> ). - @param floatValue The new float value. - NO_MODIFICATION_ALLOWED_ERR: Raised if this property is - readonly. - @short A method to set the float value with a specified unit. - */ - public native void setFloatValue(short unitType, float floatValue); - /** - This method is used to get a float value in a specified unit. - If this CSS value doesn't contain a float value or can't be - converted into the specified unit, a <code>DOMException</code> - is raised. - @param unitType A unit code to get the float value. The unit - code can only be a float unit type (e.g. <code>CSS_NUMBER</code> - , <code>CSS_PERCENTAGE</code> , <code>CSS_EMS</code> - , <code>CSS_EXS</code> , <code>CSS_PX</code> , - <code>CSS_PX</code> , <code>CSS_CM</code> , <code>CSS_MM</code> - , <code>CSS_IN</code> , <code>CSS_PT</code> , - <code>CSS_PC</code> , <code>CSS_DEG</code> , <code>CSS_RAD</code> - , <code>CSS_GRAD</code> , <code>CSS_MS</code> , - <code>CSS_S</code> , <code>CSS_HZ</code> , <code>CSS_KHZ</code> - , <code>CSS_DIMENSION</code> ). - @return The float value in the specified unit. - - @short This method is used to get a float value in a specified unit. - */ - public native float getFloatValue(short unitType); - /** - A method to set the string value with a specified unit. If the - property attached to this value can't accept the specified unit - or the string value, the value will be unchanged and a - <code>DOMException</code> will be raised. - @param stringType A string code as defined above. The string - code can only be a string unit type (e.g. <code>CSS_URI</code> - , <code>CSS_IDENT</code> , <code>CSS_INHERIT</code> - and <code>CSS_ATTR</code> ). - @param stringValue The new string value. If the - <code>stringType</code> is equal to <code>CSS_INHERIT</code> , the - <code>stringValue</code> should be <code>inherit</code> . - NO_MODIFICATION_ALLOWED_ERR: Raised if this property is - readonly. - @short A method to set the string value with a specified unit. - */ - public native void setStringValue(short stringType, String stringValue); - /** - This method is used to get the string value in a specified - unit. If the CSS value doesn't contain a string value, a - <code>DOMException</code> is raised. - @return The string value in the current unit. The current - <code>valueType</code> can only be a string unit type (e.g. - <code>CSS_URI</code> , <code>CSS_IDENT</code> and - <code>CSS_ATTR</code> ). - - @short This method is used to get the string value in a specified unit. - */ - public native String getStringValue(); - /** - This method is used to get the Counter value. If this CSS value - doesn't contain a counter value, a <code>DOMException</code> - is raised. Modification to the corresponding style property can - be achieved using the <code>Counter</code> interface. - @return The Counter value. - - @short This method is used to get the Counter value. - */ - public native Counter getCounterValue(); - /** - This method is used to get the Rect value. If this CSS value - doesn't contain a rect value, a <code>DOMException</code> is - raised. Modification to the corresponding style property can be - achieved using the <code>Rect</code> interface. - @return The Rect value. - - @short This method is used to get the Rect value. - */ - public native Rect getRectValue(); - /** - This method is used to get the RGB color. If this CSS value - doesn't contain a RGB color value, a <code>DOMException</code> - is raised. Modification to the corresponding style - property can be achieved using the <code>RGBColor</code> - interface. - @return the RGB color value. - - @short This method is used to get the RGB color. - */ - public native RGBColor getRGBColorValue(); -} diff --git a/kdejava/koala/org/kde/koala/CSSRule.java b/kdejava/koala/org/kde/koala/CSSRule.java deleted file mode 100644 index a49a6900..00000000 --- a/kdejava/koala/org/kde/koala/CSSRule.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSRule</code> interface is the abstract base interface - for any type of CSS <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#q5"> statement - </a> . This includes both <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> rule sets - </a> and <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#at-rules"> - at-rules </a> . An implementation is expected to preserve all rules - specified in a CSS style sheet, even if it is not recognized. - Unrecognized rules are represented using the <code>CSSUnknownRule</code> - interface. - @short The <code>CSSRule</code> interface is the abstract base interface for any type of CSS <a href="http://www. - -*/ -public class CSSRule implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected CSSRule(Class dummy){} - - public CSSRule() { - newCSSRule(); - } - private native void newCSSRule(); - public CSSRule(CSSRule other) { - newCSSRule(other); - } - private native void newCSSRule(CSSRule other); - // DOM::CSSRule* CSSRule(DOM::CSSRuleImpl* arg1); >>>> NOT CONVERTED - /** - The type of the rule, as defined above. The expectation is that - binding-specific casting methods can be used to cast down from - an instance of the <code>CSSRule</code> interface to the - specific derived interface implied by the <code>type</code> . - @short The type of the rule, as defined above. - */ - public native short type(); - /** - The parsable textual representation of the rule. This reflects - the current state of the rule and not its initial value. - @short The parsable textual representation of the rule. - */ - public native String cssText(); - /** - see cssText - HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted - at this point in the style sheet. - NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is - readonly. - INVALID_MODIFICATION_ERR: Raised if the specified CSS string value - represents a different type of rule than the current one. - @short see cssText - */ - public native void setCssText(String arg1); - /** - The style sheet that contains this rule. - @short The style sheet that contains this rule. - */ - public native CSSStyleSheet parentStyleSheet(); - /** - If this rule is contained inside another rule (e.g. a style - rule inside an \@media block), this is the containing rule. If - this rule is not nested inside any other rules, this returns - <code>null</code> . - @short If this rule is contained inside another rule (e. - */ - public native CSSRule parentRule(); - /** - not part of the DOM - @short - */ - // DOM::CSSRuleImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // void assignOther(const DOM::CSSRule& arg1,DOM::CSSRule::RuleType arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/CSSRuleList.java b/kdejava/koala/org/kde/koala/CSSRuleList.java deleted file mode 100644 index 1887cc58..00000000 --- a/kdejava/koala/org/kde/koala/CSSRuleList.java +++ /dev/null @@ -1,54 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSRuleList</code> interface provides the abstraction - of an ordered collection of CSS rules. - @short The <code>CSSRuleList</code> interface provides the abstraction of an ordered collection of CSS rules. - -*/ -public class CSSRuleList implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected CSSRuleList(Class dummy){} - - public CSSRuleList() { - newCSSRuleList(); - } - private native void newCSSRuleList(); - public CSSRuleList(CSSRuleList other) { - newCSSRuleList(other); - } - private native void newCSSRuleList(CSSRuleList other); - // DOM::CSSRuleList* CSSRuleList(DOM::CSSRuleListImpl* arg1); >>>> NOT CONVERTED - // DOM::CSSRuleList* CSSRuleList(DOM::StyleListImpl* arg1); >>>> NOT CONVERTED - /** - The number of <code>CSSRule</code> s in the list. The range - of valid child rule indices is <code>0</code> to - <code>length-1</code> inclusive. - @short The number of <code>CSSRule</code> s in the list. - */ - public native long length(); - /** - Used to retrieve a CSS rule by ordinal index. The order in this - collection represents the order of the rules in the CSS style - sheet. - @param index Index into the collection - @return The style rule at the <code>index</code> position in - the <code>CSSRuleList</code> , or <code>null</code> if that - is not a valid index. - - @short Used to retrieve a CSS rule by ordinal index. - */ - public native CSSRule item(long index); - /** - not part of the DOM - @short - */ - // DOM::CSSRuleListImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/CSSStyleDeclaration.java b/kdejava/koala/org/kde/koala/CSSStyleDeclaration.java deleted file mode 100644 index 971c4b67..00000000 --- a/kdejava/koala/org/kde/koala/CSSStyleDeclaration.java +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSStyleDeclaration</code> interface represents a - single <a href="http://www.w3.org/TR/REC-CSS2/syndata.html#block"> - CSS declaration block </a> . This interface may be used to - determine the style properties currently set in a block or to set - style properties explicitly within the block. - While an implementation may not recognize all CSS properties - within a CSS declaration block, it is expected to provide access to - all specified properties through the <code>CSSStyleDeclaration</code> - interface. Furthermore, implementations that support a - specific level of CSS should correctly handle <a - href="http://www.w3.org/TR/REC-CSS2/about.html#shorthand"> CSS - shorthand </a> properties for that level. For a further discussion - of shorthand properties, see the <code>CSS2Properties</code> - interface. - @short The <code>CSSStyleDeclaration</code> interface represents a single <a href="http://www. - -*/ -public class CSSStyleDeclaration implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected CSSStyleDeclaration(Class dummy){} - - public CSSStyleDeclaration() { - newCSSStyleDeclaration(); - } - private native void newCSSStyleDeclaration(); - public CSSStyleDeclaration(CSSStyleDeclaration other) { - newCSSStyleDeclaration(other); - } - private native void newCSSStyleDeclaration(CSSStyleDeclaration other); - // DOM::CSSStyleDeclaration* CSSStyleDeclaration(DOM::CSSStyleDeclarationImpl* arg1); >>>> NOT CONVERTED - /** - The parsable textual representation of the declaration block - (including the surrounding curly braces). Setting this - attribute will result in the parsing of the new value and - resetting of the properties in the declaration block. - @short The parsable textual representation of the declaration block (including the surrounding curly braces). - */ - public native String cssText(); - /** - see cssText - @short see cssText - */ - public native void setCssText(String arg1); - /** - The number of properties that have been explicitly set in this - declaration block. - @short The number of properties that have been explicitly set in this declaration block. - */ - public native long length(); - /** - The CSS rule that contains this declaration block. - @short The CSS rule that contains this declaration block. - */ - public native CSSRule parentRule(); - /** - Used to retrieve the value of a CSS property if it has been - explicitly set within this declaration block. - @param propertyName The name of the CSS property. See the <a - href="http://www.w3.org/TR/REC-CSS2/propidx.html"> CSS property - index </a> . - @return Returns the value of the property if it has been - explicitly set for this declaration block. Returns the empty - string if the property has not been set. - - @short Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block. - */ - public native String getPropertyValue(String propertyName); - /** - Used to retrieve the object representation of the value of a - CSS property if it has been explicitly set within this - declaration block. This method returns null if the property is - a <a href="http://www.w3.org/TR/REC-CSS2/about.html#shorthand"> - shorthand </a> property. Shorthand property values can only be - accessed and modified as strings, using the - <code>getPropertyValue</code> and <code>setProperty</code> - methods. - @param propertyName The name of the CSS property. See the <a - href="http://www.w3.org/TR/REC-CSS2/propidx.html"> CSS property - index </a> . - @return Returns the value of the property if it has been - explicitly set for this declaration block. Returns the - <code>null</code> if the property has not been set. - - @short Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block. - */ - public native CSSValue getPropertyCSSValue(String propertyName); - /** - Used to remove a CSS property if it has been explicitly set - within this declaration block. - @param propertyName The name of the CSS property. See the <a - href="http://www.w3.org/TR/REC-CSS2/propidx.html"> CSS property - index </a> . - @return Returns the value of the property if it has been - explicitly set for this declaration block. Returns the empty - string if the property has not been set or the property name - does not correspond to a valid CSS2 property. - - @short Used to remove a CSS property if it has been explicitly set within this declaration block. - */ - public native String removeProperty(String propertyName); - /** - Used to retrieve the priority of a CSS property (e.g. the - <code>"important"</code> qualifier) if the property has been - explicitly set in this declaration block. - @param propertyName The name of the CSS property. See the <a - href="http://www.w3.org/TR/REC-CSS2/propidx.html"> CSS property - index </a> . - @return A string representing the priority (e.g. - <code>"important"</code> ) if one exists. The empty string if none - exists. - - @short Used to retrieve the priority of a CSS property (e. - */ - public native String getPropertyPriority(String propertyName); - /** - Used to set a property value and priority within this - declaration block. - @param propertyName The name of the CSS property. See the <a - href="http://www.w3.org/TR/REC-CSS2/propidx.html"> CSS property - index </a> . - @param value The new value of the property. - @param priority The new priority of the property (e.g. - <code>"important"</code> ). - @short Used to set a property value and priority within this declaration block. - */ - public native void setProperty(String propertyName, String value, String priority); - /** - Used to retrieve the properties that have been explicitly set - in this declaration block. The order of the properties - retrieved using this method does not have to be the order in - which they were set. This method can be used to iterate over - all properties in this declaration block. - @param index Index of the property name to retrieve. - @return The name of the property at this ordinal position. The - empty string if no property exists at this position. - - @short Used to retrieve the properties that have been explicitly set in this declaration block. - */ - public native String item(long index); - /** - not part of the DOM - @short - */ - // DOM::CSSStyleDeclarationImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/CSSStyleRule.java b/kdejava/koala/org/kde/koala/CSSStyleRule.java deleted file mode 100644 index bb22489c..00000000 --- a/kdejava/koala/org/kde/koala/CSSStyleRule.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSStyleRule</code> interface represents a single <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> rule set </a> - in a CSS style sheet. - @short The <code>CSSStyleRule</code> interface represents a single <a href="http://www. - -*/ -public class CSSStyleRule extends CSSRule { - protected CSSStyleRule(Class dummy){super((Class) null);} - public CSSStyleRule() { - super((Class) null); - newCSSStyleRule(); - } - private native void newCSSStyleRule(); - public CSSStyleRule(CSSStyleRule other) { - super((Class) null); - newCSSStyleRule(other); - } - private native void newCSSStyleRule(CSSStyleRule other); - public CSSStyleRule(CSSRule other) { - super((Class) null); - newCSSStyleRule(other); - } - private native void newCSSStyleRule(CSSRule other); - // DOM::CSSStyleRule* CSSStyleRule(DOM::CSSStyleRuleImpl* arg1); >>>> NOT CONVERTED - /** - The textual representation of the <a - href="http://www.w3.org/TR/REC-CSS2/selector.html"> selector - </a> for the rule set. The implementation may have stripped out - insignificant whitespace while parsing the selector. - @short The textual representation of the <a href="http://www. - */ - public native String selectorText(); - /** - see selectorText - @short see selectorText - */ - public native void setSelectorText(String arg1); - /** - The <a href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> - declaration-block </a> of this rule set. - @short The <a href="http://www. - */ - public native CSSStyleDeclaration style(); -} diff --git a/kdejava/koala/org/kde/koala/CSSStyleSheet.java b/kdejava/koala/org/kde/koala/CSSStyleSheet.java deleted file mode 100644 index 89c0ba5e..00000000 --- a/kdejava/koala/org/kde/koala/CSSStyleSheet.java +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSStyleSheet</code> interface is a concrete interface - used to represent a CSS style sheet i.e. a style sheet whose - content type is "text/css". - @short The <code>CSSStyleSheet</code> interface is a concrete interface used to represent a CSS style sheet i. - -*/ -public class CSSStyleSheet extends StyleSheet { - protected CSSStyleSheet(Class dummy){super((Class) null);} - public CSSStyleSheet() { - super((Class) null); - newCSSStyleSheet(); - } - private native void newCSSStyleSheet(); - public CSSStyleSheet(CSSStyleSheet other) { - super((Class) null); - newCSSStyleSheet(other); - } - private native void newCSSStyleSheet(CSSStyleSheet other); - public CSSStyleSheet(StyleSheet other) { - super((Class) null); - newCSSStyleSheet(other); - } - private native void newCSSStyleSheet(StyleSheet other); - // DOM::CSSStyleSheet* CSSStyleSheet(DOM::CSSStyleSheetImpl* arg1); >>>> NOT CONVERTED - /** - If this style sheet comes from an <code>\@import</code> rule, - the <code>ownerRule</code> attribute will contain the - <code>CSSImportRule</code> . In that case, the <code>ownerNode</code> - attribute in the <code>StyleSheet</code> interface - will be <code>null</code> . If the style sheet comes from an - element or a processing instruction, the <code>ownerRule</code> - attribute will be <code>null</code> and the - <code>ownerNode</code> attribute will contain the <code>Node</code> . - @short If this style sheet comes from an <code>\@import</code> rule, the <code>ownerRule</code> attribute will contain the <code>CSSImportRule</code> . - */ - public native CSSRule ownerRule(); - /** - The list of all CSS rules contained within the style sheet. - This includes both <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> rule sets - </a> and <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#at-rules"> - at-rules </a> . - @short The list of all CSS rules contained within the style sheet. - */ - public native CSSRuleList cssRules(); - /** - Used to insert a new rule into the style sheet. The new rule - now becomes part of the cascade. - @param rule The parsable text representing the rule. For rule - sets this contains both the selector and the style declaration. - For at-rules, this specifies both the at-identifier and the - rule content. - @param index The index within the style sheet's rule list of - the rule before which to insert the specified rule. If the - specified index is equal to the length of the style sheet's - rule collection, the rule will be added to the end of the style - sheet. - INDEX_SIZE_ERR: Raised if the specified index is not a valid - insertion point. - NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is - readonly. - @return The index within the style sheet's rule collection of - the newly inserted rule. - - @short Used to insert a new rule into the style sheet. - */ - public native long insertRule(String rule, long index); - /** - Used to delete a rule from the style sheet. - @param index The index within the style sheet's rule list of - the rule to remove. - NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is - readonly. - @short Used to delete a rule from the style sheet. - */ - public native void deleteRule(long index); -} diff --git a/kdejava/koala/org/kde/koala/CSSUnknownRule.java b/kdejava/koala/org/kde/koala/CSSUnknownRule.java deleted file mode 100644 index 22380fbc..00000000 --- a/kdejava/koala/org/kde/koala/CSSUnknownRule.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSUnkownRule</code> interface represents an at-rule - not supported by this user agent. - @short The <code>CSSUnkownRule</code> interface represents an at-rule not supported by this user agent. - -*/ -public class CSSUnknownRule extends CSSRule { - protected CSSUnknownRule(Class dummy){super((Class) null);} - public CSSUnknownRule() { - super((Class) null); - newCSSUnknownRule(); - } - private native void newCSSUnknownRule(); - public CSSUnknownRule(CSSUnknownRule other) { - super((Class) null); - newCSSUnknownRule(other); - } - private native void newCSSUnknownRule(CSSUnknownRule other); - public CSSUnknownRule(CSSRule other) { - super((Class) null); - newCSSUnknownRule(other); - } - private native void newCSSUnknownRule(CSSRule other); - // DOM::CSSUnknownRule* CSSUnknownRule(DOM::CSSUnknownRuleImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/CSSValue.java b/kdejava/koala/org/kde/koala/CSSValue.java deleted file mode 100644 index b933a7ab..00000000 --- a/kdejava/koala/org/kde/koala/CSSValue.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSValue</code> interface represents a simple or a - complexe value. - @short The <code>CSSValue</code> interface represents a simple or a complexe value. - -*/ -public class CSSValue implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected CSSValue(Class dummy){} - - public CSSValue() { - newCSSValue(); - } - private native void newCSSValue(); - public CSSValue(CSSValue other) { - newCSSValue(other); - } - private native void newCSSValue(CSSValue other); - // DOM::CSSValue* CSSValue(DOM::CSSValueImpl* arg1); >>>> NOT CONVERTED - /** - A string representation of the current value. - @short A string representation of the current value. - */ - public native String cssText(); - /** - see cssText - @short see cssText - */ - public native void setCssText(String arg1); - /** - A code defining the type of the value as defined above. - @short A code defining the type of the value as defined above. - */ - public native short cssValueType(); - /** - not part of the DOM - @short - */ - public native boolean isCSSValueList(); - public native boolean isCSSPrimitiveValue(); - // DOM::CSSValueImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/CSSValueList.java b/kdejava/koala/org/kde/koala/CSSValueList.java deleted file mode 100644 index 4a4fee00..00000000 --- a/kdejava/koala/org/kde/koala/CSSValueList.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CSSValueList</code> interface provides the absraction - of an ordered collection of CSS values. - @short The <code>CSSValueList</code> interface provides the absraction of an ordered collection of CSS values. - -*/ -public class CSSValueList extends CSSValue { - protected CSSValueList(Class dummy){super((Class) null);} - public CSSValueList() { - super((Class) null); - newCSSValueList(); - } - private native void newCSSValueList(); - public CSSValueList(CSSValueList other) { - super((Class) null); - newCSSValueList(other); - } - private native void newCSSValueList(CSSValueList other); - public CSSValueList(CSSValue other) { - super((Class) null); - newCSSValueList(other); - } - private native void newCSSValueList(CSSValue other); - // DOM::CSSValueList* CSSValueList(DOM::CSSValueListImpl* arg1); >>>> NOT CONVERTED - /** - The number of <code>CSSValue</code> s in the list. The range - of valid values indices is <code>0</code> to <code>length-1</code> - inclusive. - @short The number of <code>CSSValue</code> s in the list. - */ - public native long length(); - /** - Used to retrieve a CSS rule by ordinal index. The order in this - collection represents the order of the values in the CSS style - property. - @param index Index into the collection. - @return The style rule at the <code>index</code> position in - the <code>CSSValueList</code> , or <code>null</code> if - that is not valid index. - - @short Used to retrieve a CSS rule by ordinal index. - */ - public native CSSValue item(long index); -} diff --git a/kdejava/koala/org/kde/koala/CharacterData.java b/kdejava/koala/org/kde/koala/CharacterData.java deleted file mode 100644 index 36a50458..00000000 --- a/kdejava/koala/org/kde/koala/CharacterData.java +++ /dev/null @@ -1,122 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>CharacterData</code> interface extends Node with a set - of attributes and methods for accessing character data in the DOM. - For clarity this set is defined here rather than on each object - that uses these attributes and methods. No DOM objects correspond - directly to <code>CharacterData</code> , though <code>Text</code> - and others do inherit the interface from it. All - <code>offset</code>s in this interface start from 0. - @short The <code>CharacterData</code> interface extends Node with a set of attributes and methods for accessing character data in the DOM. - -*/ -public class CharacterData extends Node { - protected CharacterData(Class dummy){super((Class) null);} - public CharacterData() { - super((Class) null); - newCharacterData(); - } - private native void newCharacterData(); - public CharacterData(CharacterData other) { - super((Class) null); - newCharacterData(other); - } - private native void newCharacterData(CharacterData other); - public CharacterData(Node other) { - super((Class) null); - newCharacterData(other); - } - private native void newCharacterData(Node other); - /** - The character data of the node that implements this interface. - The DOM implementation may not put arbitrary limits on the - amount of data that may be stored in a <code>CharacterData</code> - node. However, implementation limits may mean that the - entirety of a node's data may not fit into a single - <code>DOMString</code> . In such cases, the user may call - <code>substringData</code> to retrieve the data in appropriately - sized pieces. - @short The character data of the node that implements this interface. - */ - public native String data(); - /** - see data - @short see data - */ - public native void setData(String arg1); - /** - The number of characters that are available through <code>data</code> - and the <code>substringData</code> method below. This - may have the value zero, i.e., <code>CharacterData</code> - nodes may be empty. - @short The number of characters that are available through <code>data</code> and the <code>substringData</code> method below. - */ - public native long length(); - /** - Extracts a range of data from the node. - @param offset Start offset of substring to extract. - @param count The number of characters to extract. - DOMSTRING_SIZE_ERR: Raised if the specified range of text does - not fit into a <code>DOMString</code> . - @return The specified substring. If the sum of <code>offset</code> - and <code>count</code> exceeds the <code>length</code> - , then all characters to the end of the data are - returned. - - @short Extracts a range of data from the node. - */ - public native String substringData(long offset, long count); - /** - Append the string to the end of the character data of the node. - Upon success, <code>data</code> provides access to the - concatenation of <code>data</code> and the <code>DOMString</code> - specified. - @param arg The <code>DOMString</code> to append. - @short Append the string to the end of the character data of the node. - */ - public native void appendData(String arg); - /** - Insert a string at the specified character offset. - @param offset The character offset at which to insert. - @param arg The <code>DOMString</code> to insert. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Insert a string at the specified character offset. - */ - public native void insertData(long offset, String arg); - /** - Remove a range of characters from the node. Upon success, - <code>data</code> and <code>length</code> reflect the - change. - @param offset The offset from which to remove characters. - @param count The number of characters to delete. If the sum of - <code>offset</code> and <code>count</code> exceeds - <code>length</code> then all characters from <code>offset</code> - to the end of the data are deleted. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Remove a range of characters from the node. - */ - public native void deleteData(long offset, long count); - /** - Replace the characters starting at the specified character - offset with the specified string. - @param offset The offset from which to start replacing. - @param count The number of characters to replace. If the sum of - <code>offset</code> and <code>count</code> exceeds - <code>length</code> , then all characters to the end of the data are - replaced (i.e., the effect is the same as a <code>remove</code> - method call with the same range, followed by an - <code>append</code> method invocation). - @param arg The <code>DOMString</code> with which the range - must be replaced. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Replace the characters starting at the specified character offset with the specified string. - */ - public native void replaceData(long offset, long count, String arg); - // DOM::CharacterData* CharacterData(DOM::CharacterDataImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Comment.java b/kdejava/koala/org/kde/koala/Comment.java deleted file mode 100644 index 6c370415..00000000 --- a/kdejava/koala/org/kde/koala/Comment.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This represents the content of a comment, i.e., all the characters - between the starting ' <code><</code>!-- ' and ending ' - <code>--></code> '. Note that this is the definition of a comment in - XML, and, in practice, HTML, although some HTML tools may implement - the full SGML comment structure. - @short This represents the content of a comment, i. - -*/ -public class Comment extends CharacterData { - protected Comment(Class dummy){super((Class) null);} - public Comment() { - super((Class) null); - newComment(); - } - private native void newComment(); - public Comment(Comment other) { - super((Class) null); - newComment(other); - } - private native void newComment(Comment other); - public Comment(Node other) { - super((Class) null); - newComment(other); - } - private native void newComment(Node other); - // DOM::Comment* Comment(DOM::CommentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Connection.java b/kdejava/koala/org/kde/koala/Connection.java deleted file mode 100644 index 0683435b..00000000 --- a/kdejava/koala/org/kde/koala/Connection.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - This class provides a simple means for IPC between two applications - via a pipe. - It handles a queue of commands to be sent which makes it possible to - queue data before an actual connection has been established. - @short This class provides a simple means for IPC between two applications via a pipe. - -*/ -public class Connection extends TQObject { - protected Connection(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new connection. - @short Creates a new connection. - @see #init - */ - public Connection() { - super((Class) null); - newConnection(); - } - private native void newConnection(); - /** - Initialize this connection to use the given socket. - @param sock the socket to use - @short Initialize this connection to use the given socket. - @see #inited - */ - // void init(TDESocket* arg1); >>>> NOT CONVERTED - /** - Initialize the connection to use the given file - descriptors. - @param fd_in the input file descriptor to use - @param fd_out the output file descriptor to use - @short Initialize the connection to use the given file descriptors. - @see #inited - */ - public native void init(int fd_in, int fd_out); - public native void connect(TQObject receiver, String member); - public native void connect(TQObject receiver); - public native void connect(); - public native void close(); - /** - Returns the input file descriptor. - @return the input file descriptor - - @short Returns the input file descriptor. - */ - public native int fd_from(); - /** - Returns the output file descriptor. - @return the output file descriptor - - @short Returns the output file descriptor. - */ - public native int fd_to(); - /** - Checks whether the connection has been initialized. - @return true if the initialized - - @short Checks whether the connection has been initialized. - @see #init - */ - public native boolean inited(); - /** - Sends/queues the given command to be sent. - @param cmd the command to set - @param arr the bytes to send - @short Sends/queues the given command to be sent. - */ - public native void send(int cmd, byte[] arr); - public native void send(int cmd); - /** - Sends the given command immediately. - @param _cmd the command to set - @param data the bytes to send - @return true if successful, false otherwise - - @short Sends the given command immediately. - */ - public native boolean sendnow(int _cmd, byte[] data); - /** - Receive data. - @param _cmd the received command will be written here - @param data the received data will be written here - @return >=0 indicates the received data size upon success - -1 indicates error - - @short Receive data. - */ - public native int read(int[] _cmd, byte[] data); - /** - Don't handle incoming data until resumed. - @short Don't handle incoming data until resumed. - */ - public native void suspend(); - /** - Resume handling of incoming data. - @short Resume handling of incoming data. - */ - public native void resume(); - /** - Returns status of connection. - @return true if suspended, false otherwise - - @short Returns status of connection. - */ - public native boolean suspended(); - protected native void dequeue(); -} diff --git a/kdejava/koala/org/kde/koala/CopyJob.java b/kdejava/koala/org/kde/koala/CopyJob.java deleted file mode 100644 index 5e142da5..00000000 --- a/kdejava/koala/org/kde/koala/CopyJob.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - CopyJob is used to move, copy or symlink files and directories. - Don't create the job directly, but use TDEIO.copy(), - TDEIO.move(), TDEIO.link() and friends. - See {@link CopyJobSignals} for signals emitted by CopyJob - @short CopyJob is used to move, copy or symlink files and directories. - @see #copy - @see #copyAs - @see #move - @see #moveAs - @see #link - @see #linkAs - -*/ -public class CopyJob extends Job { - protected CopyJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a CopyJob directly. Use TDEIO.copy(), - TDEIO.move(), TDEIO.link() and friends instead. - @param src the list of source URLs - @param dest the destination URL - @param mode specifies whether the job should copy, move or link - @param asMethod if true, behaves like TDEIO.copyAs(), - TDEIO.moveAs() or TDEIO.linkAs() - @param showProgressInfo true to show progress information to the user - @short Do not create a CopyJob directly. - @see #copy - @see #copyAs - @see #move - @see #moveAs - @see #link - @see #linkAs - */ - // TDEIO::CopyJob* CopyJob(const KURL::List& arg1,const KURL& arg2,TDEIO::CopyJob::CopyMode arg3,bool arg4,bool arg5); >>>> NOT CONVERTED - /** - Returns the list of source URLs. - @return the list of source URLs. - - @short Returns the list of source URLs. - */ - public native ArrayList srcURLs(); - /** - Returns the destination URL. - @return the destination URL - - @short Returns the destination URL. - */ - public native KURL destURL(); - /** - By default the permissions of the copied files will be those of the source files. - But when copying "template" files to "new" files, people prefer the umask - to apply, rather than the template's permissions. - For that case, call setDefaultPermissions(true) - TODO KDE4: consider adding this as boolean to copy/copyAs? - @short By default the permissions of the copied files will be those of the source files. - */ - public native void setDefaultPermissions(boolean b); - /** - When an error happens while copying/moving a file, the user will be presented with - a dialog for skipping the file that can't be copied/moved. - Or if the error is that the destination file already exists, the standard - rename dialog is shown. - If the program doesn't want CopyJob to show dialogs, but to simply fail on error, - call setInteractive( false ). - KDE4: remove, already in Job - @short When an error happens while copying/moving a file, the user will be presented with a dialog for skipping the file that can't be copied/moved. - */ - public native void setInteractive(boolean b); -} diff --git a/kdejava/koala/org/kde/koala/CopyJobSignals.java b/kdejava/koala/org/kde/koala/CopyJobSignals.java deleted file mode 100644 index 57fda533..00000000 --- a/kdejava/koala/org/kde/koala/CopyJobSignals.java +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface CopyJobSignals { - /** - Emitted when the total number of files is known. - @param job the job that emitted this signal - @param files the total number of files - @short Emitted when the total number of files is known. - */ - void totalFiles(Job job, long files); - /** - Emitted when the toal number of direcotries is known. - @param job the job that emitted this signal - @param dirs the total number of directories - @short Emitted when the toal number of direcotries is known. - */ - void totalDirs(Job job, long dirs); - // void aboutToCreate(TDEIO::Job* arg1,const TQValueList<TDEIO::CopyInfo>& arg2); >>>> NOT CONVERTED - /** - Sends the number of processed files. - @param job the job that emitted this signal - @param files the number of processed files - @short Sends the number of processed files. - */ - void processedFiles(Job job, long files); - /** - Sends the number of processed directories. - @param job the job that emitted this signal - @param dirs the number of processed dirs - @short Sends the number of processed directories. - */ - void processedDirs(Job job, long dirs); - /** - The job is copying a file or directory. - @param job the job that emitted this signal - @param from the URl of the file or directory that is currently - being copied - @param to the destination of the current operation - @short The job is copying a file or directory. - */ - void copying(Job job, KURL from, KURL to); - /** - The job is creating a symbolic link. - @param job the job that emitted this signal - @param target the URl of the file or directory that is currently - being linked - @param to the destination of the current operation - @short The job is creating a symbolic link. - */ - void linking(Job job, String target, KURL to); - /** - The job is moving a file or directory. - @param job the job that emitted this signal - @param from the URl of the file or directory that is currently - being moved - @param to the destination of the current operation - @short The job is moving a file or directory. - */ - void moving(Job job, KURL from, KURL to); - /** - The job is creating the directory <code>dir.</code> - @param job the job that emitted this signal - @param dir the directory that is currently being created - @short The job is creating the directory <code>dir.</code> - */ - void creatingDir(Job job, KURL dir); - /** - The user chose to rename <code>from</code> to <code>to.</code> - @param job the job that emitted this signal - @param from the original name - @param to the new name - @short The user chose to rename <code>from</code> to <code>to.</code> - */ - void renamed(Job job, KURL from, KURL to); - /** - The job emits this signal when copying or moving a file or directory successfully finished. - This signal is mainly for the Undo feature. - @param job the job that emitted this signal - @param from the source URL - @param to the destination URL - @param directory indicates whether a file or directory was successfully copied/moved. - true for a directoy, false for file - @param renamed indicates that the destination URL was created using a - rename operation (i.e. fast directory moving). true if is has been renamed - @short The job emits this signal when copying or moving a file or directory successfully finished. - */ - void copyingDone(Job job, KURL from, KURL to, boolean directory, boolean renamed); - /** - The job is copying or moving a symbolic link, that points to target. - The new link is created in <code>to.</code> The existing one is/was in <code>from.</code> - This signal is mainly for the Undo feature. - @param job the job that emitted this signal - @param from the source URL - @param target the target - @param to the destination URL - @short The job is copying or moving a symbolic link, that points to target. - */ - void copyingLinkDone(Job job, KURL from, String target, KURL to); -} diff --git a/kdejava/koala/org/kde/koala/Counter.java b/kdejava/koala/org/kde/koala/Counter.java deleted file mode 100644 index b4a03fa6..00000000 --- a/kdejava/koala/org/kde/koala/Counter.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>Counter</code> interface is used to represent any <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-counter"> - counter or counters function </a> value. This interface reflects - the values in the underlying style property. Hence, modifications - made through this interface modify the style property. - @short The <code>Counter</code> interface is used to represent any <a href="http://www. - -*/ -public class Counter implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected Counter(Class dummy){} - - public Counter() { - newCounter(); - } - private native void newCounter(); - public Counter(Counter other) { - newCounter(other); - } - private native void newCounter(Counter other); - /** - This attribute is used for the identifier of the counter. - @short This attribute is used for the identifier of the counter. - */ - public native String identifier(); - /** - This attribute is used for the style of the list. - @short This attribute is used for the style of the list. - */ - public native String listStyle(); - /** - This attribute is used for the separator of nested counters. - @short This attribute is used for the separator of nested counters. - */ - public native String separator(); - /** - not part of the DOM - @short - */ - // DOM::CounterImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::Counter* Counter(DOM::CounterImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/CustomNodeFilter.java b/kdejava/koala/org/kde/koala/CustomNodeFilter.java deleted file mode 100644 index f032abc7..00000000 --- a/kdejava/koala/org/kde/koala/CustomNodeFilter.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - CustomNodeFilter can be used to define your own NodeFilter for use - with NodeIterators and TreeWalkers. You can create a custom filter - by doing the following: - class MyCustomNodeFilter { - ..... - short acceptNode (Noden); - ..... - } - Then in your program: - short MyCustomNodeFilter.acceptNode (Noden) - { - if (condition) - return NodeFilter.FILTER_ACCEPT; - else - .... - } - MyCustomFilter filter = new MyCustomFilter(); - NodeFilter nf = NodeFilter.createCustom(filter); - NodeIterator ni = document.createNodeIterator(document,NodeFilter.SHOW_ALL,nf,false); - The default implementation of acceptNode() returns NodeFilter.FILTER_ACCEPT - for all nodes. - @short CustomNodeFilter can be used to define your own NodeFilter for use with NodeIterators and TreeWalkers. - -*/ -public class CustomNodeFilter extends DomShared { - protected CustomNodeFilter(Class dummy){super((Class) null);} - public CustomNodeFilter() { - super((Class) null); - newCustomNodeFilter(); - } - private native void newCustomNodeFilter(); - public native short acceptNode(Node n); - public native boolean isNull(); - /** - not part of the DOM - Returns a name specifying the type of custom node filter. Useful for checking - if an custom node filter is of a particular sublass. - @short - */ - public native String customNodeFilterType(); -} diff --git a/kdejava/koala/org/kde/koala/DCOPAnswer.java b/kdejava/koala/org/kde/koala/DCOPAnswer.java deleted file mode 100644 index 87c93fed..00000000 --- a/kdejava/koala/org/kde/koala/DCOPAnswer.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.kde.koala; - -import java.util.*; - -public class DCOPAnswer{ - private byte[] replyData; - private String replyType; - private boolean succes; - - public void setReplyData(byte[] data){ - this.replyData = data; - } - public byte[] getReplyData(){ - return this.replyData; - } - public void setReplyType(String type){ - this.replyType = type; - } - public String getType(){ - return this.replyType; - } - public void setSucces(boolean succes){ - this.succes = succes; - } - public boolean getSucces(){ - return this.succes; - } -} diff --git a/kdejava/koala/org/kde/koala/DCOPClient.java b/kdejava/koala/org/kde/koala/DCOPClient.java deleted file mode 100644 index 25bc9a7a..00000000 --- a/kdejava/koala/org/kde/koala/DCOPClient.java +++ /dev/null @@ -1,632 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import java.util.ArrayList; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - Inter-process communication and remote procedure calls - for KDE applications. - This class provides IPC and RPC for KDE applications. Usually you - will not have to instantiate one yourself because TDEApplication - contains a method to return a pointer to a DCOPClient object which - can be used for your whole application. - Before being able to send or receive any DCOP messages, you will have - to attach your client object to the DCOP server, and then register - your application with a specific name. See attach() - and registerAs() for - more information. - Data to be sent should be serialized into a TQDataStream which was - initialized with the byte[] that you actually intend to send - the data in. An example of how you might do this: - <pre> - byte[] data; - TQDataStream arg(data, IO_WriteOnly); - arg << String("This is text I am serializing"); - client.send("someApp", "someObject", "someFunction(String)", data); - </pre> - See {@link DCOPClientSignals} for signals emitted by DCOPClient - @author Preston Brown <pbrown@kde.org>, Matthias Ettrich <ettrich@kde.org> - - @short Inter-process communication and remote procedure calls for KDE applications. - @see TDEApplication#dcopClient - -*/ -public class DCOPClient extends TQObject { - protected DCOPClient(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new DCOP client, but does not attach to any server. @short Constructs a new DCOP client, but does not attach to any server. - */ - public DCOPClient() { - super((Class) null); - newDCOPClient(); - } - private native void newDCOPClient(); - /** - Attaches to the DCOP server. - If the connection was already attached, - the connection will be re-established with the current server address. - Naturally, only attached application can use DCOP services. - If a TQApplication object exists then client registers itself as - TQApplication.name() + "-" + \<pid\>. - If no TQApplication object exists the client registers itself as - "anonymous". - If you want to register differently, you should use registerAs() - instead. - @return true if attaching was successful. - - @short Attaches to the DCOP server. - */ - public native boolean attach(); - /** - Internal function for KUniqueApplication to register the DCOPClient - with the application in case the application didn't exist at the - time the DCOPClient was created. - @short - */ - public native void bindToApp(); - /** - Detaches from the DCOP server. - @return true if successful, false otherwise - - @short Detaches from the DCOP server. - */ - public native boolean detach(); - /** - Returns whether or not the client is attached to the server. - @return true if attached, false if not - - @short Returns whether or not the client is attached to the server. - */ - public native boolean isAttached(); - /** - Returns whether the client is attached to a server owned by - another user. - @return true if attached to a foreign server, false if not - - @short Returns whether the client is attached to a server owned by another user. - */ - public native boolean isAttachedToForeignServer(); - /** - Returns whether the client handles incoming calls. - @return true if the client accepts calls - - @short Returns whether the client handles incoming calls. - */ - public native boolean acceptCalls(); - /** - Specify whether the client should accept incoming calls. - By default clients accept incoming calls, but not when connected - to a foreign server. - @param b true to accept calls, false to reject them - @short Specify whether the client should accept incoming calls. - */ - public native void setAcceptCalls(boolean b); - /** - Returns whether the DCOP - Qt bridge is enabled. - By default the DCOP - Qt bridge is enabled. - @return true if Qt objects are accessible over DCOP - - @short Returns whether the DCOP - Qt bridge is enabled. - */ - public native boolean qtBridgeEnabled(); - /** - Specify whether Qt objects of the application should be accessible - via DCOP. - By default the DCOP - Qt bridge is enabled. - @param b true to make Qt objects accessible over DCOP - @short Specify whether Qt objects of the application should be accessible via DCOP. - */ - public native void setQtBridgeEnabled(boolean b); - /** - Registers at the DCOP server. - If the application was already registered, - the registration will be re-done with the new appId. - <code>appId</code> is a <code>unique</code> application/program id that the server - will use to associate requests with. If there is already an application - registered with the same name, the server will add a number to the - id to unify it. If <code>addPID</code> is true, the PID of the current process - will be added to id. - Registration is necessary if you want to allow other clients to talk - to you. They can do so using your <code>appId</code> as first parameter - for send() or call(). If you just want to talk to - other clients, you - do not need to register at the server. In that case attach() is - enough. - It will implicitly register you as "anonymous". - @param appId the id of the application - @param addPID true to add the process id - @return The actual <code>appId</code> used for the registration or a null string - if the registration wasn't successful. - - @short Registers at the DCOP server. - */ - public native String registerAs(String appId, boolean addPID); - public native String registerAs(String appId); - /** - Returns whether or not the client is registered at the server. - @return true if registered at the server - - @short Returns whether or not the client is registered at the server. - */ - public native boolean isRegistered(); - /** - Returns the current app id or a null string if the application - hasn't yet been registered. - @return the application id, or null if not registered - - @short Returns the current app id or a null string if the application hasn't yet been registered. - */ - public native String appId(); - /** - Returns the socket fd that is used for communication with the server. - @return The socket over which DCOP is communicating with the server. - - @short Returns the socket fd that is used for communication with the server. - */ - public native int socket(); - /** - Temporarily suspends processing of DCOP events. - This can be useful if you need to show e.g. a dialog before - your application is ready to accept DCOP requests. Normally the - dialog would start an event loop and in this event loop DCOP - requests will be handled. - Be aware that not responding to DCOP requests may cause other - programs that want to communicate with your application, to hang. - @short Temporarily suspends processing of DCOP events. - @see #resume - @see #isSuspended - */ - public native void suspend(); - /** - Resumes the processing of DCOP events. - @short Resumes the processing of DCOP events. - @see #suspend# - @see #isSuspended - */ - public native void resume(); - /** - Returns whether DCOP events are being processed. - @short Returns whether DCOP events are being processed. - @see #suspend - @see #resume# - */ - public native boolean isSuspended(); - /** - Sends a data block to the server. - @param remApp The remote application id. - @param remObj The name of the remote object. - @param remFun The remote function in the specified object to call. - @param data The data to provide to the remote function. - @return Whether or not the server was able to accept the send. - - @short Sends a data block to the server. - */ - public native boolean send(String remApp, String remObj, String remFun, byte[] data); - /** - This function acts exactly the same as the above, but the data - parameter can be specified as a String for convenience. - @param remApp The remote application id. - @param remObj The name of the remote object. - @param remFun The remote function in the specified object to call. - @param data The data to provide to the remote function. - @return Whether or not the server was able to accept the send. - - @short This function acts exactly the same as the above, but the data parameter can be specified as a String for convenience. - */ - public native boolean send(String remApp, String remObj, String remFun, String data); - /** - Performs a synchronous send and receive. - The parameters are the same as for send, with the exception of - another byte[] being provided for results to be - (optionally) returned in. - A call blocks the application until the process receives the - answer. - If <code>useEventLoop</code> is true, a local event loop will be started after - 1/10th of a second in order to keep the user interface updated - (by processing paint events and such) until an answer is received. - @param remApp the remote application's id - @param remObj the remote object id - @param remFun the remote function id - @param data the data to send - @param replyType the type of the reply will be written here - @param replyData the data of the reply will be written here - @param useEventLoop if true the event loop will be started when - the call blocks too long - @param timeout timeout for the call in miliseconds, or -1 for no timeout - @return true if successful, false otherwise - - @short Performs a synchronous send and receive. - @see #send - */ - public native boolean call(String remApp, String remObj, String remFun, byte[] data, StringBuffer replyType, byte[] replyData, boolean useEventLoop, int timeout); - /** - Performs a asynchronous send with receive callback. - The first four parameters are the same as for send. - <code>callBackObj</code> and <code>callBackSlot</code> specify a call back - slot that is called when an answer is received. - The slot should have the following signature: - callBackSlot(int callId, String replyType, - const byte[] &replyData); - @param remApp the remote application's id - @param remObj the remote object id - @param remFun the remote function id - @param data the data to send - @param callBackObj object to call back - @param callBackSlot slot to call back - @return 0 on failure, on success a callId > 0 is - returned that will be passed as first argument of - the result call back - - @short Performs a asynchronous send with receive callback. - @see #send - @see #callback - */ - public native int callAsync(String remApp, String remObj, String remFun, byte[] data, TQObject callBackObj, String callBackSlot); - /** - Searches for an object which matches a criteria. - findObject calls <code>remFun</code> in the applications and objects identified - by <code>remApp</code> and <code>remObj</code> until <code>remFun</code> returns true. The name of - the application and object that returned true are returned in - <code>foundApp</code> and <code>foundObj</code> respectively. - If <code>remFun</code> is empty a default function is called in the object - which always returns <code>true.</code> - A findObject blocks the application until the process receives the - answer. - If <code>useEventLoop</code> is true, a local event loop will be started after - 1/10th of a second in order to keep the user interface updated - (by processing paint events and such) until an answer is received. - @param remApp The remote application id. - @param remObj The name of the remote object. - @param remFun The remote function in the specified object to call. - This function should return a boolean and is used as - criteria. - @param data The data to provide to the remote function. - @param foundApp The remote application id that matched the criteria. - @param foundObj The remote object that matched the criteria. - @param useEventLoop if true the event loop will be started when - the call blocks too long - @param timeout timeout for the call in miliseconds, or -1 for no timeout - @return true is returned when an object was found for which <code>remFun</code> - returned true. If no such object is the function returns false. - - @short Searches for an object which matches a criteria. - @see #send - */ - public native boolean findObject(String remApp, String remObj, String remFun, byte[] data, StringBuffer foundApp, StringBuffer foundObj, boolean useEventLoop, int timeout); - /** - Emits <code>signal</code> as DCOP signal from object <code>object</code> with <code>data</code> as - arguments. - @short Emits <code>signal</code> as DCOP signal from object <code>object</code> with <code>data</code> as arguments. - */ - public native void emitDCOPSignal(String object, String signal, byte[] data); - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param receiverObj The name of the object to call - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> - must be registered when the connection is made. - If false, the connection will be reestablished when <code>sender</code> reregisters. - In this case the connection can be made even if <code>sender</code> is not registered - at that time. - - <li> - <code>Volatile</code> is true and <code>sender</code> does not exist. - </li> - - <li> - <code>signal</code> and <code>slot</code> do not have matching arguments. - - </li> @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String receiverObj, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both <code>sender</code> & <code>signal</code> are empty. In this - case all connections related to <code>receiverObj</code> in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - @param receiverObj The name of the object the signal is connected to. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String receiverObj, String slot); - /** - Reimplement this function to handle app-wide function calls unassociated w/an object. - Note that <code>fun</code> is normalized. See normalizeFunctionSignature(). - If you do not want to reimplement this function for whatever reason, - you can also use a default object or a DCOPObjectProxy. - @param fun the normalized function signature - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise - - @short Reimplement this function to handle app-wide function calls unassociated w/an object. - @see #setDefaultObject - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Delays the reply of the current function call - until endTransaction() is called. - This allows a server to queue requests. - Note: Should be called from inside process() only! - @short Delays the reply of the current function call until endTransaction() is called. - @see #endTransaction - */ - // DCOPClientTransaction* beginTransaction(); >>>> NOT CONVERTED - /** - Sends the delayed reply of a function call. - @param t the transaction as received from beginTransaction() - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @short Sends the delayed reply of a function call. - @see #beginTransaction - */ - // void endTransaction(DCOPClientTransaction* arg1,TQCString& arg2,TQByteArray& arg3); >>>> NOT CONVERTED - /** - Test whether the current function call is delayed. - Note: Should be called from inside process() only! - @return The ID of the current transaction or - 0 if no transaction is going on. - - @short Test whether the current function call is delayed. - @see #process - @see #beginTransaction - */ - public native int transactionId(); - /** - Checks whether <code>remApp</code> is registered with the DCOP server. - @param remApp the id of the remote application - @return true if the remote application is registered, otherwise <code>false.</code> - - @short Checks whether <code>remApp</code> is registered with the DCOP server. - */ - public native boolean isApplicationRegistered(String remApp); - /** - Retrieves the list of all currently registered applications - from dcopserver. - @return a list of all regietered applications - - @short Retrieves the list of all currently registered applications from dcopserver. - */ - public native ArrayList registeredApplications(); - /** - Retrieves the list of objects of the remote application <code>remApp.</code> - @param remApp he id of the application - @param ok if not null, the function sets <code>ok</code> to true if successful - and false if an error occurred - @return the list of object ids - - @short Retrieves the list of objects of the remote application <code>remApp.</code> - */ - public native ArrayList remoteObjects(String remApp, boolean[] ok); - public native ArrayList remoteObjects(String remApp); - /** - Retrieves the list of interfaces of the remote object <code>remObj</code> - of application <code>remApp.</code> - @param remApp the id of the application - @param remObj the id of the object - @param ok if not null, the function sets <code>ok</code> to true if successful - and false if an error occurred - @return the list of interfaces - - @short Retrieves the list of interfaces of the remote object <code>remObj</code> of application <code>remApp.</code> - */ - public native ArrayList remoteInterfaces(String remApp, String remObj, boolean[] ok); - public native ArrayList remoteInterfaces(String remApp, String remObj); - /** - Retrieves the list of functions of the remote object <code>remObj</code> - of application <code>remApp</code> - @param remApp the id of the application - @param remObj the id of the object - @param ok if not null, the function sets <code>ok</code> to true if successful - and false if an error occurred - @return the list of function ids - - @short Retrieves the list of functions of the remote object <code>remObj</code> of application <code>remApp</code> - */ - public native ArrayList remoteFunctions(String remApp, String remObj, boolean[] ok); - public native ArrayList remoteFunctions(String remApp, String remObj); - /** - Receives a DCOPSend or DCOPCall message from the server. - @param app The application the message was intended for. Should be - equal to our appId that we passed when the DCOPClient was - created. - @param obj The name of the object to pass the data on to. - @param fun The name of the function in the object to call. - @param data The arguments for the function. - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise - - @short - */ - public native boolean receive(String app, String arg2, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Receives a <code>DCOPFind</code> message from the server. - @param app The application the message was intended for. Should be - equal to our appId that we passed when the DCOPClient was - created. - @param obj The name of the object to pass the data on to. - @param fun The name of the function in the object to call. - @param data The arguments for the function. - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @short - */ - public native boolean find(String app, String arg2, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Returns the appId of the last application that talked to us. - @return the application id of the last application that send a message - to this client - - @short Returns the appId of the last application that talked to us. - */ - public native String senderId(); - /** - Installs object <code>objId</code> as application-wide default object. - All app-wide messages that have not been processed by the dcopclient - will be send further to <code>objId.</code> - @param objId the id of the new default object - @short Installs object <code>objId</code> as application-wide default object. - */ - public native void setDefaultObject(String objId); - /** - Returns the current default object or an empty string if no object is - installed as default object. - A default object receives application-wide messages that have not - been processed by the DCOPClient itself. - @return the id of the new default object - - @short Returns the current default object or an empty string if no object is installed as default object. - */ - public native String defaultObject(); - /** - Enables / disables the applicationRegistered() / - applicationRemoved() signals. - Note that a counter is maintained about how often this method - was called. If this method is called twice with <code>enabled</code> set to - true, notifications will be enabled until it was called with - <code>enabled</code> set to false as often. - They are disabled by default. - @param enabled true to enable notifications, false to disable - @short Enables / disables the applicationRegistered() / applicationRemoved() signals. - */ - public native void setNotifications(boolean enabled); - /** - Tells the dcopserver to treat the client as daemon client, not - as regular client. - If the number of regular clients drops down to zero, the - dcopserver will emit a KDE termination signal after 10 - seconds. - @param daemonMode true to enable daemon mode, false to disable - @short Tells the dcopserver to treat the client as daemon client, not as regular client. - */ - public native void setDaemonMode(boolean daemonMode); - /** - Switch to priority call mode. - @short - */ - public native void setPriorityCall(boolean arg1); - /** - @short - */ - // void handleAsyncReply(DCOPClient::ReplyStruct* arg1); >>>> NOT CONVERTED - /** - Sets the address of a server to use upon attaching. - If no server address is ever specified, attach will try its best to - find the server anyway. - @param addr the new address of the server - @short Sets the address of a server to use upon attaching. - */ - public static native void setServerAddress(String addr); - /** - Normalizes the function signature <code>fun.</code> - A normalized signature doesn't contain any unnecessary whitespace - anymore. The remaining whitespace consists of single blanks only (0x20). - Example for a normalized signature: - <pre> - "someFunction(String,int)" - </pre> - When using send() or call(), normalization is done - automatically for you. - @param fun the function signature to normalize - @return the normalized function - - @short Normalizes the function signature <code>fun.</code> - */ - public static native String normalizeFunctionSignature(String fun); - /** - Returns the application's main dcop client. The main client can - be used by objects that do not have any specific access to a dcop - client. In KDE applications, the main client usually is the same - as TDEApplication.dcopClient(). - @return the application's main dcop client - - @short Returns the application's main dcop client. - */ - public static native DCOPClient mainClient(); - /** - Sets the application's main dcop client. The main client can - be used by objects that do not have any specific access to a dcop - client. In KDE applications, the main client usually is the same - as TDEApplication.dcopClient(). - @param mainClient the new main dcop client - @short Sets the application's main dcop client. - */ - public static native void setMainClient(DCOPClient mainClient); - /** - Look for the given client only in this process. This can be used - to check whether a given client (by name) is running in the same - process or in another one. - @short Look for the given client only in this process. - */ - public static native DCOPClient findLocalClient(String _appId); - /** - @short - */ - public static native void emergencyClose(); - /** - Provides information about the last DCOP call for debugging purposes. - @short - */ - public static native String postMortemSender(); - /** @internal @short @internal - */ - public static native String postMortemObject(); - /** @internal @short @internal - */ - public static native String postMortemFunction(); - /** - File with information how to reach the dcopserver. - @param hostname Hostname to use, if empty current hostname of - the system is used. - @return Filename that contains information how to contact the - DCOPserver. - - @short File with information how to reach the dcopserver. - */ - public static native String dcopServerFile(String hostname); - public static native String dcopServerFile(); - /** - Return the path of iceauth or an empty string if not found. - @short Return the path of iceauth or an empty string if not found. - */ - public static native String iceauthPath(); - /** - Process data from the socket. - @param socknum the fd of the socket - @short Process data from the socket. - */ - protected native void processSocketData(int socknum); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/DCOPClientSignals.java b/kdejava/koala/org/kde/koala/DCOPClientSignals.java deleted file mode 100644 index f3ea2366..00000000 --- a/kdejava/koala/org/kde/koala/DCOPClientSignals.java +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import java.util.ArrayList; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface DCOPClientSignals { - /** - Indicates that the application <code>appId</code> has been registered with - the server we are attached to. - You need to call setNotifications() first, to tell the DCOP server - that you want to get these events. - @param appId the id of the new application - @short Indicates that the application <code>appId</code> has been registered with the server we are attached to. - */ - void applicationRegistered(String appId); - /** - Indicates that the formerly registered application <code>appId</code> has - been removed. - You need to call setNotifications() first, to tell the - DCOP server that you want to get these events. - @param appId the id of the removed application - @short Indicates that the formerly registered application <code>appId</code> has been removed. - */ - void applicationRemoved(String appId); - /** - Indicates that the process of establishing DCOP communications failed - in some manner. - Usually attached to a dialog box or some other visual - aid. - @param msg the message tha contains further information - @short Indicates that the process of establishing DCOP communications failed in some manner. - */ - void attachFailed(String msg); - /** - Indicates that user input shall be blocked or released, - depending on the argument. - The signal is emitted whenever the client has to wait too long - (i.e. more than 1/10 of a second) for an answer to a - synchronous call. In that case, it will enter a local event - loop to keep the GUI updated until finally an answer arrives. - In KDE, the TDEApplication object connects to this signal to be - able to block any user input (i.e. mouse and key events) while - we are waiting for an answer. If we did not do this, the - application might end up in an illegal state, as a keyboard - shortcut or a mouse action might cause another dcop call to be - issued. - @param block true to block user input, false otherwise - @short Indicates that user input shall be blocked or released, depending on the argument. - */ - void blockUserInput(boolean block); - /** - Signal used for callbacks of async calls. - This signal is automatically connected to the call back - slot specified in the async call. - @short - @see #callAsync - */ - void callBack(int arg1, String arg2, byte[] arg3); -} diff --git a/kdejava/koala/org/kde/koala/DCOPObject.java b/kdejava/koala/org/kde/koala/DCOPObject.java deleted file mode 100644 index 7e7fda3f..00000000 --- a/kdejava/koala/org/kde/koala/DCOPObject.java +++ /dev/null @@ -1,289 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import java.util.ArrayList; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - Provides an interface for receiving DCOP messages. - This class provides an interface for receiving DCOP messages. To use it, - simply multiply-inherit from DCOPObject and from some other class, and - then implement the DCOPObject.process() method. Because this method is - pure virtual, you must implement the method. - Note that it is usually more convenient to mark a section in the class with - "k_dcop:", add your DCOP methods there and let the IDL compiler do the rest. - Read the tutorials for more information. - @author Preston Brown <pbrown@kde.org>, Matthias Ettrich <ettrich@kde.org> - - @short Provides an interface for receiving DCOP messages. - @see DCOPClient - @see DCOPObjectProxy - -*/ -public class DCOPObject implements QtSupport, DCOPObjectInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DCOPObject(Class dummy){} - - /** - Creates a DCOPObject and calculates the object id - using its physical memory address. - @short Creates a DCOPObject and calculates the object id using its physical memory address. - */ - public DCOPObject() { - newDCOPObject(); - } - private native void newDCOPObject(); - /** - Creates a DCOPObject and calculates the object id - using TQObject.name(). - @param obj the object to extract the name from - @short Creates a DCOPObject and calculates the object id using TQObject.name(). - */ - public DCOPObject(TQObject arg1) { - newDCOPObject(arg1); - } - private native void newDCOPObject(TQObject arg1); - /** - Creates a DCOPObject with object Id <code>objId.</code> - @param objId the object id of the DCOP object - @short Creates a DCOPObject with object Id <code>objId.</code> - */ - public DCOPObject(String objId) { - newDCOPObject(objId); - } - private native void newDCOPObject(String objId); - /** - Returns the object id of the DCOPObject. - @return the object's id - - @short Returns the object id of the DCOPObject. - */ - public native String objId(); - /** - Renames a dcop object, if no other with the same name exists - Use with care, all dcop signals are disconnected - @param objId the new object id - @short Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disconnected - */ - public native boolean setObjId(String objId); - /** - Dispatches a message. - Usually you want to use an IDL - compiler to automatically generate an implementation for - this function. - If this function returns false, then processDynamic() - is called. - Note to implementators: remember to call the baseclasses - implementation. It handles the functions "functions()" and - "interfaces()" which return the lists of supported functions - and interfaces, respectively. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns false for all <code>fun</code> except "functions()" and - "interfaces()". - - @short Dispatches a message. - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for process() but - you still want to dispatch some functions dynamically. - Dynamically means that methods may appear and vanish - during runtime. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short This function is of interest when you used an IDL compiler to generate the implementation for process() but you still want to dispatch some functions dynamically. - @see #process - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for functions() but - you still want to list some functions dynamically. - Dynamically means that the methods may appear and vanish - during runtime. - @return A list of the additional functions, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for functions() but you still want to list some functions dynamically. - @see #functions - */ - public native ArrayList functionsDynamic(); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for interfaces() but - you still want to list some interfaces dynamically. - Dynamically means that they may appear and vanish - during runtime. - @return A list of the additional interfaces, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for interfaces() but you still want to list some interfaces dynamically. - @see #interfaces - */ - public native ArrayList interfacesDynamic(); - /** - Returns the names of the interfaces, specific ones last. The - functions gets reimplemented by the IDL compiler. If you don't - use the IDL compiler, consider implementing this function - manually if you want your object to be easily explorable. - @return a list of interfaces - - @short Returns the names of the interfaces, specific ones last. - @see #functions - */ - public native ArrayList interfaces(); - /** - Returns the list of functions understood by the object. It gets - reimplemented by the IDL compiler. If you don't use the IDL - compiler, consider implementing this function manually if you - want your object to be easily scriptable. - Rationale: functions() allows an interpreter to do client-side - type-casting properly. - Note to implementators: remember to call the baseclasses - implementation. - @return a list of functions - - @short Returns the list of functions understood by the object. - @see #interfaces - @see #process - @see #processDynamic - @see DCOPClient#normalizeFunctionSignature - */ - public native ArrayList functions(); - /** - Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as - arguments - @param signal the signal to emit - @param data the data to send - @short Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as arguments - */ - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> - must be registered when the connection is made. - If false, the connection will be reestablished when <code>sender</code> reregisters. - In this case the connection can be made even if <code>sender</code> is not registered - at that time. - - <li> - <code>Volatile</code> is true and <code>sender</code> does not exist. - </li> - - <li> - <code>signal</code> and <code>slot</code> do not have matching arguments. - - </li> @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both <code>sender</code> & <code>signal</code> are empty. In this - case all connections related to this object in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - /** - Returns the DCOPClient responsible for making the call. - Only call this function while you are handling a DCOP call. - @return the DCOPClient responsible for making the call. - This information is only guaranteed to be correct when - entering your DCOP function. - - @short Returns the DCOPClient responsible for making the call. - */ - public native DCOPClient callingDcopClient(); - /** - @short - */ - public native void setCallingDcopClient(DCOPClient arg1); - /** - Checks whether an object with the given id is known in this process. - DCOPObjectProxy - @return true if an object with the questionable <code>objId</code> is - known in this process. This query does not ask proxies. - - @short Checks whether an object with the given id is known in this process. - */ - public static native boolean hasObject(String objId); - /** - Try to find a dcop object with the given id. - This function does not query the DCOPObjectProxy. - @param objId the object id to search - @return the DCOPObject for the id <code>objId.</code> - - @short Try to find a dcop object with the given id. - */ - public static native DCOPObjectInterface find(String objId); - /** - Tries to find an object using a partial object id. - This function is used for multicasting a DCOP message to - several objects inside a single process. - @param partialId the partial object id to search for - @return a list of DCOPObjects beginning with the string - contained in <code>partialId.</code> - - @short Tries to find an object using a partial object id. - */ - // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED - /** - Creates an object id for the TQObject <code>obj.</code> This is done - using the TQObject.name() function. - @param obj the object whose name will be used - @return the created object id - - @short Creates an object id for the TQObject <code>obj.</code> - */ - public static native String objectName(TQObject arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/DCOPObjectInterface.java b/kdejava/koala/org/kde/koala/DCOPObjectInterface.java deleted file mode 100644 index 5cf3afc6..00000000 --- a/kdejava/koala/org/kde/koala/DCOPObjectInterface.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import java.util.ArrayList; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface DCOPObjectInterface { - String objId(); - boolean setObjId(String objId); - boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - ArrayList functionsDynamic(); - ArrayList interfacesDynamic(); - ArrayList interfaces(); - ArrayList functions(); - void emitDCOPSignal(String signal, byte[] data); - boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - DCOPClient callingDcopClient(); - void setCallingDcopClient(DCOPClient arg1); -} diff --git a/kdejava/koala/org/kde/koala/DCOPObjectProxy.java b/kdejava/koala/org/kde/koala/DCOPObjectProxy.java deleted file mode 100644 index 81216127..00000000 --- a/kdejava/koala/org/kde/koala/DCOPObjectProxy.java +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - You must use a proxy if you want to dispatch method calls for - object IDs which don't have (yet) a corresponding DCOPObject. - This is somewhat like object references in CORBA. - @author Matthias Ettrich <ettrich@kde.org> - - @short You must use a proxy if you want to dispatch method calls for object IDs which don't have (yet) a corresponding DCOPObject. - @see DCOPObject - @see DCOPClient - -*/ -public class DCOPObjectProxy implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DCOPObjectProxy(Class dummy){} - - /** - Creates a new proxy. - @short Creates a new proxy. - */ - public DCOPObjectProxy() { - newDCOPObjectProxy(); - } - private native void newDCOPObjectProxy(); - /** - Reimplement this method to dispatch method calls. - This method is called of all proxies if the DCOPClient - knows no object with the id <code>obj.</code> If the first proxy returns - <code>true</code>, the DCOPClient will no longer call other proxies. - The object id <code>obj</code> may be empty for app-wide function calls no - associated with any object. - @param obj the id of the object - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short Reimplement this method to dispatch method calls. - */ - public native boolean process(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/DOMException.java b/kdejava/koala/org/kde/koala/DOMException.java deleted file mode 100644 index d51309cc..00000000 --- a/kdejava/koala/org/kde/koala/DOMException.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - DOM operations only raise exceptions in "exceptional" - circumstances, i.e., when an operation is impossible to perform - (either for logical reasons, because data is lost, or because the - implementation has become unstable). In general, DOM methods return - specific error values in ordinary processing situation, such as - out-of-bound errors when using <code>ArrayList</code> . - Implementations may raise other exceptions under other - circumstances. For example, implementations may raise an - implementation-dependent exception if a <code>null</code> - argument is passed. - Some languages and object systems do not support the concept of - exceptions. For such systems, error conditions may be indicated - using native error reporting mechanisms. For some bindings, for - example, methods may return error codes similar to those listed in - the corresponding method descriptions. - @short DOM operations only raise exceptions in "exceptional" circumstances, i. - -*/ -public class DOMException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DOMException(Class dummy){} - - public DOMException(short _code) { - newDOMException(_code); - } - private native void newDOMException(short _code); - public DOMException(DOMException other) { - newDOMException(other); - } - private native void newDOMException(DOMException other); -} diff --git a/kdejava/koala/org/kde/koala/DOMImplementation.java b/kdejava/koala/org/kde/koala/DOMImplementation.java deleted file mode 100644 index 16e80b21..00000000 --- a/kdejava/koala/org/kde/koala/DOMImplementation.java +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>DOMImplementation</code> interface provides a number of - methods for performing operations that are independent of any - particular instance of the document object model. - DOM Level 2 and newer provide means for creating documents directly, - which was not possible with DOM Level 1. - @short The <code>DOMImplementation</code> interface provides a number of methods for performing operations that are independent of any particular instance of the document object model. - -*/ -public class DOMImplementation implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DOMImplementation(Class dummy){} - - public DOMImplementation() { - newDOMImplementation(); - } - private native void newDOMImplementation(); - public DOMImplementation(DOMImplementation other) { - newDOMImplementation(other); - } - private native void newDOMImplementation(DOMImplementation other); - /** - Test if the DOM implementation implements a specific feature. - @param feature The package name of the feature to test. In - Level 1, the legal values are "HTML" and "XML" - (case-insensitive). - @param version This is the version number of the package name - to test. In Level 1, this is the string "1.0". If the version - is not specified, supporting any version of the feature will - cause the method to return <code>true</code> . - @return <code>true</code> if the feature is implemented in - the specified version, <code>false</code> otherwise. - - @short Test if the DOM implementation implements a specific feature. - */ - public native boolean hasFeature(String feature, String version); - /** - Introduced in DOM Level 2 - Creates an empty DocumentType node. Entity declarations and notations - are not made available. Entity reference expansions and default - attribute additions do not occur. It is expected that a future version - of the DOM will provide a way for populating a DocumentType. - HTML-only DOM implementations do not need to implement this method. - @param qualifiedName The qualified name of the document type to be - created. - @param publicId The external subset public identifier. - @param systemId The external subset system identifier. - NAMESPACE_ERR: Raised if the qualifiedName is malformed. - @return A new DocumentType node with Node.ownerDocument set to null. - - @short Introduced in DOM Level 2 - */ - public native DocumentType createDocumentType(String qualifiedName, String publicId, String systemId); - /** - Introduced in DOM Level 2 - Creates an XML Document object of the specified type with its document - element. HTML-only DOM implementations do not need to implement this - method. - @param namespaceURI The namespace URI of the document element to create. - @param qualifiedName The qualified name of the document element to be - created. - @param doctype The type of document to be created or null. When doctype - is not null, its Node.ownerDocument attribute is set to the document - being created. - NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the - qualifiedName has a prefix and the namespaceURI is null, or if the - qualifiedName has a prefix that is "xml" and the namespaceURI is - different from "http://www.w3.org/XML/1998/namespace" [Namespaces]. - WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a - different document or was created from a different implementation. - @return A new Document object. - - @short Introduced in DOM Level 2 - */ - public native Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype); - /** - Introduced in DOM Level 3 - This method makes available a DOMImplementation's specialized - interface. - @param feature The name of the feature requested (case-insensitive) - @return Returns an alternate DOMImplementation which implements - the specialized APIs of the specified feature, if any, or null - if there is no alternate DOMImplementation object which implements - interfaces associated with that feature. Any alternate DOMImplementation - returned by this method must delegate to the primary core DOMImplementation - and not return results inconsistent with the primary DOMImplementation. - - @short Introduced in DOM Level 3 This method makes available a DOMImplementation's specialized interface. - */ - public native DOMImplementation getInterface(String feature); - /** - Introduced in DOM Level 2 - This method is from the DOMImplementationCSS interface - Creates a new CSSStyleSheet. - @param title The advisory title. See also the Style Sheet Interfaces - section. - @param media The comma-separated list of media associated with the - new style sheet. See also the Style Sheet Interfaces section. - @return A new CSS style sheet. - - @short Introduced in DOM Level 2 This method is from the DOMImplementationCSS interface - */ - public native CSSStyleSheet createCSSStyleSheet(String title, String media); - /** - Introduced in DOM Level 2 - This method is from the HTMLDOMImplementation interface - Creates an HTMLDocument with the minimal tree made of these - elements: HTML,HEAD,TITLE and BODY. - It extends the core interface which can be used to create an - XHTML document by passing the XHTML namespace as the namespace - for the root element. - @param title The title of the document to be set as the content - of the TITLE element, through a child Text node. - @return the HTMLdocument - - @short Introduced in DOM Level 2 This method is from the HTMLDOMImplementation interface - */ - public native HTMLDocument createHTMLDocument(String title); - /** - not part of the DOM - @short - */ - // DOM::DOMImplementationImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::DOMImplementation* DOMImplementation(DOM::DOMImplementationImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DavJob.java b/kdejava/koala/org/kde/koala/DavJob.java deleted file mode 100644 index c1227fa1..00000000 --- a/kdejava/koala/org/kde/koala/DavJob.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The transfer job pumps data into and/or out of a Slave. - Data is sent to the slave on request of the slave ( dataReq). - If data coming from the slave can not be handled, the - reading of data from the slave should be suspended. - @short The transfer job pumps data into and/or out of a Slave. - @see #davPropFind - @see #davPropPatch - @see #davSearch - -*/ -public class DavJob extends TransferJob { - protected DavJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Use TDEIO.davPropFind(), TDEIO.davPropPatch() and - TDEIO.davSearch() to create a new DavJob. - @short Use TDEIO.davPropFind(), TDEIO.davPropPatch() and TDEIO.davSearch() to create a new DavJob. - */ - public DavJob(KURL url, int method, String request, boolean showProgressInfo) { - super((Class) null); - newDavJob(url,method,request,showProgressInfo); - } - private native void newDavJob(KURL url, int method, String request, boolean showProgressInfo); - /** - Returns the response as a TQDomDocument. - @return the response document - - @short Returns the response as a TQDomDocument. - */ - public native TQDomDocument response(); - protected native void slotFinished(); - protected native void slotData(byte[] data); -} diff --git a/kdejava/koala/org/kde/koala/DefaultProgress.java b/kdejava/koala/org/kde/koala/DefaultProgress.java deleted file mode 100644 index 69e48afc..00000000 --- a/kdejava/koala/org/kde/koala/DefaultProgress.java +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - -*/ -public class DefaultProgress extends ProgressBase { - protected DefaultProgress(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new default progress dialog. - @param showNow true to show immediately, false to show when - needed - @short Creates a new default progress dialog. - */ - public DefaultProgress(boolean showNow) { - super((Class) null); - newDefaultProgress(showNow); - } - private native void newDefaultProgress(boolean showNow); - public DefaultProgress() { - super((Class) null); - newDefaultProgress(); - } - private native void newDefaultProgress(); - /** - Creates a new default progress dialog. - @param parent the parent of the dialog (or 0 for top-level) - @param the name of the dialog, can be 0 - @short Creates a new default progress dialog. - */ - public DefaultProgress(TQWidget parent, String name) { - super((Class) null); - newDefaultProgress(parent,name); - } - private native void newDefaultProgress(TQWidget parent, String name); - public DefaultProgress(TQWidget parent) { - super((Class) null); - newDefaultProgress(parent); - } - private native void newDefaultProgress(TQWidget parent); - public native boolean keepOpen(); - public native void slotTotalSize(Job arg1, long size); - public native void slotTotalFiles(Job arg1, long files); - public native void slotTotalDirs(Job arg1, long dirs); - public native void slotProcessedSize(Job arg1, long bytes); - public native void slotProcessedFiles(Job arg1, long files); - public native void slotProcessedDirs(Job arg1, long dirs); - public native void slotSpeed(Job arg1, long speed); - public native void slotPercent(Job arg1, long percent); - /** - Called to set an information message. - @param job the TDEIO.Job - @param msg the message to set - @short Called to set an information message. - */ - public native void slotInfoMessage(Job job, String msg); - public native void slotCopying(Job arg1, KURL src, KURL dest); - public native void slotMoving(Job arg1, KURL src, KURL dest); - public native void slotDeleting(Job arg1, KURL url); - /** - Called when the job is transferring. - @param job the TDEIO.Job - @param url the url to transfer - @short Called when the job is transferring. - */ - public native void slotTransferring(Job arg1, KURL url); - public native void slotCreatingDir(Job arg1, KURL dir); - /** - Called when the job is requesting a stat. - @param job the TDEIO.Job - @param dir the dir to stat - @short Called when the job is requesting a stat. - */ - public native void slotStating(Job arg1, KURL dir); - /** - Called when the job is mounting. - @param job the TDEIO.Job - @param dev the device to mount - @param point the mount point - @short Called when the job is mounting. - */ - public native void slotMounting(Job arg1, String dev, String point); - /** - Called when the job is unmounting. - @param job the TDEIO.Job - @param point the mount point - @short Called when the job is unmounting. - */ - public native void slotUnmounting(Job arg1, String point); - public native void slotCanResume(Job arg1, long arg2); - /** - Called when the job is cleaned. - @short Called when the job is cleaned. - */ - public native void slotClean(); - public static native String makePercentString(long percent, long totalSize, long totalFiles); - protected native void init(); - protected native void showTotals(); - protected native void setDestVisible(boolean visible); - protected native void checkDestination(KURL dest); -} diff --git a/kdejava/koala/org/kde/koala/DeleteJob.java b/kdejava/koala/org/kde/koala/DeleteJob.java deleted file mode 100644 index 5ccea98a..00000000 --- a/kdejava/koala/org/kde/koala/DeleteJob.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - A more complex Job to delete files and directories. - Don't create the job directly, but use TDEIO.del() instead. - See {@link DeleteJobSignals} for signals emitted by DeleteJob - @short A more complex Job to delete files and directories. - @see #del - -*/ -public class DeleteJob extends Job { - protected DeleteJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a DeleteJob directly. Use TDEIO.del() - instead. - @param src the list of URLs to delete - @param shred true to shred (make sure that data is not recoverable)a - @param showProgressInfo true to show progress information to the user - @short Do not create a DeleteJob directly. - @see #del - */ - public DeleteJob(ArrayList src, boolean shred, boolean showProgressInfo) { - super((Class) null); - newDeleteJob(src,shred,showProgressInfo); - } - private native void newDeleteJob(ArrayList src, boolean shred, boolean showProgressInfo); - /** - Returns the list of URLs. - @return the list of URLs. - - @short Returns the list of URLs. - */ - public native ArrayList urls(); - protected native void slotStart(); - // void slotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED - protected native void slotResult(Job job); - /** - Forward signal from subjob - @short Forward signal from subjob - */ - protected native void slotProcessedSize(Job arg1, long data_size); - protected native void slotReport(); -} diff --git a/kdejava/koala/org/kde/koala/DeleteJobSignals.java b/kdejava/koala/org/kde/koala/DeleteJobSignals.java deleted file mode 100644 index 81a0a24b..00000000 --- a/kdejava/koala/org/kde/koala/DeleteJobSignals.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface DeleteJobSignals { - /** - Emitted when the total number of files is known. - @param job the job that emitted this signal - @param files the total number of files - @short Emitted when the total number of files is known. - */ - void totalFiles(Job job, long files); - /** - Emitted when the toal number of direcotries is known. - @param job the job that emitted this signal - @param dirs the total number of directories - @short Emitted when the toal number of direcotries is known. - */ - void totalDirs(Job job, long dirs); - /** - Sends the number of processed files. - @param job the job that emitted this signal - @param files the number of processed files - @short Sends the number of processed files. - */ - void processedFiles(Job job, long files); - /** - Sends the number of processed directories. - @param job the job that emitted this signal - @param dirs the number of processed dirs - @short Sends the number of processed directories. - */ - void processedDirs(Job job, long dirs); - /** - Sends the URL of the file that is currently being deleted. - @param job the job that emitted this signal - @param file the URL of the file or directory that is being - deleted - @short Sends the URL of the file that is currently being deleted. - */ - void deleting(Job job, KURL file); -} diff --git a/kdejava/koala/org/kde/koala/DockMainWindow.java b/kdejava/koala/org/kde/koala/DockMainWindow.java deleted file mode 100644 index f0fd54c0..00000000 --- a/kdejava/koala/org/kde/koala/DockMainWindow.java +++ /dev/null @@ -1,113 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - A KPart-aware main window with ability for docking widgets, whose user interface is described in XML. - Inherit your main dock-window from this class - and don't forget to call setXMLFile() in the inherited constructor. - It implements all internal interfaces in the case of a KDockMainWindow as host: - the builder and servant interface (for menu merging). - @short A KPart-aware main window with ability for docking widgets, whose user interface is described in XML. - -*/ -public class DockMainWindow extends KDockMainWindow implements PartBaseInterface { - protected DockMainWindow(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor, same signature as KDockMainWindow. - @short Constructor, same signature as KDockMainWindow. - */ - public DockMainWindow(TQWidget parent, String name, int f) { - super((Class) null); - newDockMainWindow(parent,name,f); - } - private native void newDockMainWindow(TQWidget parent, String name, int f); - public DockMainWindow(TQWidget parent, String name) { - super((Class) null); - newDockMainWindow(parent,name); - } - private native void newDockMainWindow(TQWidget parent, String name); - public DockMainWindow(TQWidget parent) { - super((Class) null); - newDockMainWindow(parent); - } - private native void newDockMainWindow(TQWidget parent); - public DockMainWindow() { - super((Class) null); - newDockMainWindow(); - } - private native void newDockMainWindow(); - protected native void createShellGUI(boolean create); - protected native void createShellGUI(); - /** - Create the GUI (by merging the host's and the active part's) - Called on startup and whenever the active part changes. - For this you need to connect this slot to the - PartManager.activePartChanged() signal - @param part The active part (set to null if no part). - @short Create the GUI (by merging the host's and the active part's) - */ - protected native void createGUI(Part part); - /** - Called when the active part wants to change the statusbar message. - Reimplement if your dock-mainwindow has a complex statusbar - (with several items) - @short Called when the active part wants to change the statusbar message. - */ - protected native void slotSetStatusBarText(String arg1); - /** - Internal method. Called by KParts.Part to specify the parent object for plugin objects. - @short Internal method. - */ - public native void setPartObject(TQObject object); - public native TQObject partObject(); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance, boolean loadPlugins); - /** - Load the Plugins honoring the PluginLoadingMode. - If you call this method in an already constructed GUI (like when the user - has changed which plugins are enabled) you need to add the new plugins to - the KXMLGUIFactory: - <pre> - if( factory() ) - { - TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - TQPtrListIterator<KParts.Plugin> it( plugins ); - KParts.Plugin plugin; - while( ( plugin = it.current() ) != 0 ) - { - ++it; - factory().addClient( plugin ); - } - } - </pre> - @short Load the Plugins honoring the PluginLoadingMode. - */ - protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance); - /** - For a KParts.Part: call this before setInstance(). - For a KParts.MainWindow: call this before createGUI(). - @short For a KParts.Part: call this before setInstance(). - */ - // void setPluginLoadingMode(KParts::PartBase::PluginLoadingMode arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Document.java b/kdejava/koala/org/kde/koala/Document.java deleted file mode 100644 index 1d290cd9..00000000 --- a/kdejava/koala/org/kde/koala/Document.java +++ /dev/null @@ -1,559 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - The <code>Document</code> interface represents the entire HTML or - XML document. Conceptually, it is the root of the document tree, - and provides the primary access to the document's data. - Since elements, text nodes, comments, processing instructions, - etc. cannot exist outside the context of a <code>Document</code> - , the <code>Document</code> interface also contains the factory - methods needed to create these objects. The <code>Node</code> - objects created have a <code>ownerDocument</code> attribute which - associates them with the <code>Document</code> within whose - context they were created. - @short The <code>Document</code> interface represents the entire HTML or XML document. - -*/ -public class Document extends Node { - protected Document(Class dummy){super((Class) null);} - public Document() { - super((Class) null); - newDocument(); - } - private native void newDocument(); - /** - don't create an implementation if false - use at own risk - @short don't create an implementation if false use at own risk - */ - public Document(boolean arg1) { - super((Class) null); - newDocument(arg1); - } - private native void newDocument(boolean arg1); - public Document(Document other) { - super((Class) null); - newDocument(other); - } - private native void newDocument(Document other); - public Document(Node other) { - super((Class) null); - newDocument(other); - } - private native void newDocument(Node other); - /** - The Document Type Declaration (see <code>DocumentType</code> - ) associated with this document. For HTML documents as well as - XML documents without a document type declaration this returns - <code>null</code> . The DOM Level 1 does not support editing - the Document Type Declaration, therefore <code>docType</code> - cannot be altered in any way. - @short The Document Type Declaration (see <code>DocumentType</code> ) associated with this document. - */ - public native DocumentType doctype(); - /** - The <code>DOMImplementation</code> object that handles this - document. A DOM application may use objects from multiple - implementations. - @short The <code>DOMImplementation</code> object that handles this document. - */ - public native DOMImplementation implementation(); - /** - This is a convenience attribute that allows direct access to - the child node that is the root element of the document. For - HTML documents, this is the element with the tagName "HTML". - @short This is a convenience attribute that allows direct access to the child node that is the root element of the document. - */ - public native Element documentElement(); - /** - Creates an element of the type specified. Note that the - instance returned implements the Element interface, so - attributes can be specified directly on the returned object. - @param tagName The name of the element type to instantiate. For - XML, this is case-sensitive. For HTML, the <code>tagName</code> - parameter may be provided in any case, but it must be - mapped to the canonical uppercase form by the DOM - implementation. - @return A new <code>Element</code> object. - - @short Creates an element of the type specified. - */ - public native Element createElement(String tagName); - /** - Introduced in DOM Level 2 - Creates an element of the given qualified name and namespace URI. - @param namespaceURI The namespace URI of the element to create. - @param qualifiedName The qualified name of the element type to instantiate. - @return A new Element object with the following attributes: - - @short Introduced in DOM Level 2 Creates an element of the given qualified name and namespace URI. - */ - public native Element createElementNS(String namespaceURI, String qualifiedName); - /** - Creates an empty <code>DocumentFragment</code> object. - @return A new <code>DocumentFragment</code> . - - @short Creates an empty <code>DocumentFragment</code> object. - */ - public native DocumentFragment createDocumentFragment(); - /** - Creates a <code>Text</code> node given the specified string. - @param data The data for the node. - @return The new <code>Text</code> object. - - @short Creates a <code>Text</code> node given the specified string. - */ - public native Text createTextNode(String data); - /** - Creates a <code>Comment</code> node given the specified - string. - @param data The data for the node. - @return The new <code>Comment</code> object. - - @short Creates a <code>Comment</code> node given the specified string. - */ - public native Comment createComment(String data); - /** - Creates a <code>CDATASection</code> node whose value is the - specified string. - @param data The data for the <code>CDATASection</code> - contents. - @return The new <code>CDATASection</code> object. - - @short Creates a <code>CDATASection</code> node whose value is the specified string. - */ - public native CDATASection createCDATASection(String data); - /** - Creates a <code>ProcessingInstruction</code> node given the - specified name and data strings. - @param target The target part of the processing instruction. - @param data The data for the node. - NOT_SUPPORTED_ERR: Raised if this document is an HTML - document. - @return The new <code>ProcessingInstruction</code> object. - - @short Creates a <code>ProcessingInstruction</code> node given the specified name and data strings. - */ - public native ProcessingInstruction createProcessingInstruction(String target, String data); - /** - Creates an <code>Attr</code> of the given name. Note that the - <code>Attr</code> instance can then be set on an <code>Element</code> - using the <code>setAttribute</code> method. - @param name The name of the attribute. - @return A new <code>Attr</code> object. - - @short Creates an <code>Attr</code> of the given name. - */ - public native Attr createAttribute(String name); - /** - Introduced in DOM Level 2 - Creates an attribute of the given qualified name and namespace URI. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to create. - @param qualifiedName The qualified name of the attribute to instantiate. - @return A new Attr object with the following attributes: - Node.nodeName - qualifiedName - Node.namespaceURI - namespaceURI - Node.prefix - prefix, extracted from qualifiedName, or null if there is - no prefix - Node.localName - local name, extracted from qualifiedName - Attr.name - qualifiedName - Node.nodeValue - the empty string - - @short Introduced in DOM Level 2 Creates an attribute of the given qualified name and namespace URI. - */ - public native Attr createAttributeNS(String namespaceURI, String qualifiedName); - /** - Creates an EntityReference object. - @param name The name of the entity to reference. - NOT_SUPPORTED_ERR: Raised if this document is an HTML - document. - @return The new <code>EntityReference</code> object. - - @short Creates an EntityReference object. - */ - public native EntityReference createEntityReference(String name); - /** - Moved from HTMLDocument in DOM Level 2 - Returns the Element whose <code>id</code> is given by - elementId. If no such element exists, returns <code>null</code> - . Behavior is not defined if more than one element has - this <code>id</code> . - @param elementId The unique <code>id</code> value for an - element. - @return The matching element. - - @short Moved from HTMLDocument in DOM Level 2 Returns the Element whose <code>id</code> is given by elementId. - */ - public native Element getElementById(String elementId); - /** - No Exceptions. - Returns a <code>ArrayList</code> of all the <code>Element</code> 's - with a given tag name in the order in which they - would be encountered in a preorder traversal of the - <code>Document</code> tree. - @param tagname The name of the tag to match on. The special - value "*" matches all tags. - @return A new <code>NodeList</code> object containing all the - matched <code>Element</code> s. - - @short No Exceptions. - */ - public native ArrayList getElementsByTagName(String tagname); - /** - Introduced in DOM Level 2 - No Exceptions - Returns an ArrayList of all the Elements with a given local name and - namespace URI in the order in which they are encountered in a preorder - traversal of the Document tree. - @param namespaceURI The namespace URI of the elements to match on. The - special value "*" matches all namespaces. - @param localName The local name of the elements to match on. The special - value "*" matches all local names. - @return A new NodeList object containing all the matched Elements. - - @short Introduced in DOM Level 2 No Exceptions - */ - public native ArrayList getElementsByTagNameNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Imports a node from another document to this document. The returned node - has no parent; (parentNode is null). The source node is not altered or - removed from the original document; this method creates a new copy of - the source node. - For all nodes, importing a node creates a node object owned by the - importing document, with attribute values identical to the source node's - nodeName and nodeType, plus the attributes related to namespaces - (prefix, localName, and namespaceURI). - As in the cloneNode operation on a Node, the source node is not altered. - Additional information is copied as appropriate to the nodeType, - attempting to mirror the behavior expected if a fragment of XML or HTML - source was copied from one document to another, recognizing that the two - documents may have different DTDs in the XML case. The following list - describes the specifics for each type of node. - ATTRIBUTE_NODE - The ownerElement attribute is set to null and the specified flag is set - to true on the generated Attr. The descendants of the source Attr are - recursively imported and the resulting nodes reassembled to form the - corresponding subtree. Note that the deep parameter has no effect on - Attr nodes; they always carry their children with them when imported. - DOCUMENT_FRAGMENT_NODE - If the deep option was set to true, the descendants of the source - element are recursively imported and the resulting nodes reassembled to - form the corresponding subtree. Otherwise, this simply generates an - empty DocumentFragment. - DOCUMENT_NODE - Document nodes cannot be imported. - DOCUMENT_TYPE_NODE - DocumentType nodes cannot be imported. - ELEMENT_NODE - Specified attribute nodes of the source element are imported, and the - generated Attr nodes are attached to the generated Element. Default - attributes are not copied, though if the document being imported into - defines default attributes for this element name, those are assigned. If - the importNode deep parameter was set to true, the descendants of the - source element are recursively imported and the resulting nodes - reassembled to form the corresponding subtree. - ENTITY_NODE - Entity nodes can be imported, however in the current release of the DOM - the DocumentType is readonly. Ability to add these imported nodes to a - DocumentType will be considered for addition to a future release of the - DOM. - On import, the publicId, systemId, and notationName attributes are - copied. If a deep import is requested, the descendants of the the source - Entity are recursively imported and the resulting nodes reassembled to - form the corresponding subtree. - ENTITY_REFERENCE_NODE Only the EntityReference itself is copied, even if - a deep import is requested, since the source and destination documents - might have defined the entity differently. If the document being - imported into provides a definition for this entity name, its value is - assigned. - NOTATION_NODE - Notation nodes can be imported, however in the current release of the - DOM the DocumentType is readonly. Ability to add these imported nodes to - a DocumentType will be considered for addition to a future release of - the DOM. - On import, the publicId and systemId attributes are copied. - Note that the deep parameter has no effect on Notation nodes since they - never have any children. - PROCESSING_INSTRUCTION_NODE - The imported node copies its target and data values from those of the - source node. - TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE - These three types of nodes inheriting from CharacterData copy their data - and length attributes from those of the source node. - @param importedNode The node to import. - @param deep If true, recursively import the subtree under the specified - node; if false, import only the node itself, as explained above. This - has no effect on Attr, EntityReference, and Notation nodes. - @return The imported node that belongs to this Document. - - @short Introduced in DOM Level 2 - */ - public native Node importNode(Node importedNode, boolean deep); - /** - not part of the DOM - @short - */ - public native boolean isHTMLDocument(); - /** - Introduced in DOM Level 2 - This method is from the DocumentRange interface - @return Range - The initial state of the Range returned from this method is such that - both of its boundary-points are positioned at the beginning of the - corresponding Document, before any content. The Range returned can only - be used to select content associated with this Document, or with - DocumentFragments and Attrs for which this Document is the ownerDocument. - - @short Introduced in DOM Level 2 This method is from the DocumentRange interface - */ - public native Range createRange(); - /** - Introduced in DOM Level 2 - This method is from the DocumentTraversal interface - Create a new NodeIterator over the subtree rooted at the specified node. - @param root The node which will be iterated together with its children. - The iterator is initially positioned just before this node. The - whatToShow flags and the filter, if any, are not considered when setting - this position. The root must not be null. - @param whatToShow This flag specifies which node types may appear in the - logical view of the tree presented by the iterator. See the description - of NodeFilter for the set of possible SHOW_ values. These flags can be - combined using OR. - @param filter The NodeFilter to be used with this NodeIterator, or null to - indicate no filter. - @param entityReferenceExpansion The value of this flag determines - whether entity reference nodes are expanded. - @return NodeIterator The newly created NodeIterator. - - @short Introduced in DOM Level 2 This method is from the DocumentTraversal interface - */ - public native NodeIterator createNodeIterator(Node root, long whatToShow, NodeFilter filter, boolean entityReferenceExpansion); - /** - Introduced in DOM Level 2 - This method is from the DocumentTraversal interface - Create a new TreeWalker over the subtree rooted at the specified node. - @param root The node which will serve as the root for the TreeWalker. - The whatToShow flags and the NodeFilter are not considered when setting - this value; any node type will be accepted as the root. The currentNode - of the TreeWalker is initialized to this node, whether or not it is - visible. The root functions as a stopping point for traversal methods - that look upward in the document structure, such as parentNode and - nextNode. The root must not be null. - @param whatToShow This flag specifies which node types may appear in the - logical view of the tree presented by the tree-walker. See the - description of NodeFilter for the set of possible SHOW_ values. These - flags can be combined using OR. - @param filter The NodeFilter to be used with this TreeWalker, or null to - indicate no filter. - @param entityReferenceExpansion If this flag is false, the contents of - EntityReference nodes are not presented in the logical view. - @return The newly created TreeWalker. - - @short Introduced in DOM Level 2 This method is from the DocumentTraversal interface - */ - public native TreeWalker createTreeWalker(Node root, long whatToShow, NodeFilter filter, boolean entityReferenceExpansion); - /** - Introduced in DOM Level 2 - This method is from the DocumentEvent interface - The createEvent method is used in creating Events when it is either - inconvenient or unnecessary for the user to create an Event themselves. - In cases where the implementation provided Event is insufficient, users - may supply their own Event implementations for use with the - dispatchEvent method. - @param eventType The eventType parameter specifies the type of Event - interface to be created. If the Event interface specified is supported - by the implementation this method will return a new Event of the - interface type requested. If the Event is to be dispatched via the - dispatchEvent method the appropriate event init method must be called - after creation in order to initialize the Event's values. As an example, - a user wishing to synthesize some kind of UIEvent would call createEvent - with the parameter "UIEvents". The initUIEvent method could then be - called on the newly created UIEvent to set the specific type of UIEvent - to be dispatched and set its context information. - @return The newly created EventExceptions - - @short Introduced in DOM Level 2 This method is from the DocumentEvent interface - */ - public native Event createEvent(String eventType); - /** - Introduced in DOM Level 2 - This method is from the DocumentView interface - The default AbstractView for this Document, or null if none available. - @short Introduced in DOM Level 2 This method is from the DocumentView interface - */ - public native AbstractView defaultView(); - /** - Introduced in DOM Level 2 - This method is from the DocumentStyle interface - A list containing all the style sheets explicitly linked into or - embedded in a document. For HTML documents, this includes external style - sheets, included via the HTML LINK element, and inline STYLE elements. - In XML, this includes external style sheets, included via style sheet - processing instructions (see [XML-StyleSheet]). - @short Introduced in DOM Level 2 This method is from the DocumentStyle interface - */ - public native ArrayList styleSheets(); - /** - CSS3 mechanism for selecting alternate stylesheets using the DOM. - Might change without further notice. - @short CSS3 mechanism for selecting alternate stylesheets using the DOM. - */ - public native String preferredStylesheetSet(); - public native String selectedStylesheetSet(); - public native void setSelectedStylesheetSet(String aString); - /** - Adds a new style sheet to the list of style sheets. - The new style sheet will be applied after all author and implicit - style sheets, but before the user style sheet. - Create new style sheets with e. g. - <code>DOMImplementation</code>.createCSSStyleSheet - This is not part of the official DOM. - @param sheet style sheet - @short Adds a new style sheet to the list of style sheets. - */ - public native void addStyleSheet(StyleSheet sheet); - /** - Removes a style sheet to the list of style sheets. - Only sheets added by <code>addStyleSheet</code> may be removed. - This is not part of the official DOM. - @param sheet style sheet to remove - @short Removes a style sheet to the list of style sheets. - */ - public native void removeStyleSheet(StyleSheet sheet); - /** - @return The TDEHTML view widget of this document. - - @short - */ - public native TDEHTMLView view(); - /** - Introduced in DOM Level 2 - This method is from the DocumentCSS interface - This method is used to retrieve the override style declaration for a - specified element and a specified pseudo-element. - @param elt The element whose style is to be modified. This parameter - cannot be null. - @param pseudoElt The pseudo-element or null if none. - @return The override style declaration. - - @short Introduced in DOM Level 2 This method is from the DocumentCSS interface - */ - public native CSSStyleDeclaration getOverrideStyle(Element elt, String pseudoElt); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - Indicates whether the method DocumentLS.load() should be synchronous or - asynchronous. When the async attribute is set to true the load method - returns control to the caller before the document has completed loading. - The default value of this attribute is true. - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native boolean async(); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - see async - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void setAsync(boolean arg1); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - If the document is currently being loaded as a result of the method load - being invoked the loading and parsing is immediately aborted. The - possibly partial result of parsing the document is discarded and the - document is cleared. - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void abort(); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - Replaces the content of the document with the result of parsing the - given URI. Invoking this method will either block the caller or return - to the caller immediately depending on the value of the async attribute. - Once the document is fully loaded a "load" event (as defined in - [DOM Level 3 Events], except that the Event.targetNode will be the - document, not an element) will be dispatched on the document. If an - error occurs, an implementation dependent "error" event will be - dispatched on the document. If this method is called on a document that - is currently loading, the current load is interrupted and the new URI - load is initiated. - When invoking this method the parameters used in the DOMParser interface - are assumed to have their default values with the exception that the - parameters "entities", "normalize-characters", - "check-character-normalization" are set to "false". - The result of a call to this method is the same the result of a call to - DOMParser.parseWithContext with an input stream referencing the URI that - was passed to this call, the document as the context node, and the - action ACTION_REPLACE_CHILDREN. - @param uri of type DOMString - The URI reference for the XML file to be loaded. If this is a relative - URI, the base URI used by the implementation is implementation dependent. - @return If async is set to true load returns true if the document load - was successfully initiated. If an error occurred when initiating the - document load, load returns false. - If async is set to false load returns true if the document was - successfully loaded and parsed. If an error occurred when either loading - or parsing the URI, load returns false. - - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void load(String uri); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - Replace the content of the document with the result of parsing the input - string, this method is always synchronous. This method always parses - from a DOMString, which means the data is always UTF-16. All other - encoding information is ignored. - The parameters used in the DOMParser interface are assumed to have their - default values when invoking this method. - The result of a call to this method is the same as the result of a call - to DOMParser.parseWithContext with an input stream containing the string - passed to this call, the document as the context node, and the action - ACTION_REPLACE_CHILDREN. - @param source A string containing an XML document. - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void loadXML(String source); - /** - not part of the official DOM - Documents are read-only by default, but they can be made editable by - entering "design mode". - @return whether this document is in design mode. - - @short not part of the official DOM - */ - public native boolean designMode(); - /** - not part of the official DOM - @param enable <code>true</code> to enable design mode, <code>false</code> to disable. - @short not part of the official DOM - @see #designMode - */ - public native void setDesignMode(boolean enable); - /** - not part of the DOM - completes a given URL - @short not part of the DOM - */ - public native String completeURL(String url); - public native String toString(); - /** - not part of the DOM - Updates the rendered display after one or more changes to - the DOM structure - @short not part of the DOM - */ - public native void updateRendering(); - // DOM::Document* Document(DOM::DocumentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DocumentFragment.java b/kdejava/koala/org/kde/koala/DocumentFragment.java deleted file mode 100644 index 7f3b5201..00000000 --- a/kdejava/koala/org/kde/koala/DocumentFragment.java +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - <code>DocumentFragment</code> is a "lightweight" or "minimal" - <code>Document</code> object. It is very common to want to be - able to extract a portion of a document's tree or to create a new - fragment of a document. Imagine implementing a user command like - cut or rearranging a document by moving fragments around. It is - desirable to have an object which can hold such fragments and it is - quite natural to use a Node for this purpose. While it is true that - a <code>Document</code> object could fulfil this role, a - <code>Document</code> object can potentially be a heavyweight object, - depending on the underlying implementation. What is really needed - for this is a very lightweight object. <code>DocumentFragment</code> - is such an object. - Furthermore, various operations -- such as inserting nodes as - children of another <code>Node</code> -- may take - <code>DocumentFragment</code> objects as arguments; this results in all - the child nodes of the <code>DocumentFragment</code> being moved - to the child list of this node. - The children of a <code>DocumentFragment</code> node are zero or - more nodes representing the tops of any sub-trees defining the - structure of the document. <code>DocumentFragment</code> nodes do - not need to be well-formed XML documents (although they do need to - follow the rules imposed upon well-formed XML parsed entities, - which can have multiple top nodes). For example, a - <code>DocumentFragment</code> might have only one child and that child - node could be a <code>Text</code> node. Such a structure model - represents neither an HTML document nor a well-formed XML document. - When a <code>DocumentFragment</code> is inserted into a - <code>Document</code> (or indeed any other <code>Node</code> that may - take children) the children of the <code>DocumentFragment</code> - and not the <code>DocumentFragment</code> itself are inserted - into the <code>Node</code> . This makes the - <code>DocumentFragment</code> very useful when the user wishes to create - nodes that are siblings; the <code>DocumentFragment</code> acts - as the parent of these nodes so that the user can use the standard - methods from the <code>Node</code> interface, such as - <code>insertBefore</code>() and <code>appendChild</code>() . - @short <code>DocumentFragment</code> is a "lightweight" or "minimal" <code>Document</code> object. - -*/ -public class DocumentFragment extends Node { - protected DocumentFragment(Class dummy){super((Class) null);} - public DocumentFragment() { - super((Class) null); - newDocumentFragment(); - } - private native void newDocumentFragment(); - public DocumentFragment(DocumentFragment other) { - super((Class) null); - newDocumentFragment(other); - } - private native void newDocumentFragment(DocumentFragment other); - public DocumentFragment(Node other) { - super((Class) null); - newDocumentFragment(other); - } - private native void newDocumentFragment(Node other); - // DOM::DocumentFragment* DocumentFragment(DOM::DocumentFragmentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DocumentStyle.java b/kdejava/koala/org/kde/koala/DocumentStyle.java deleted file mode 100644 index e67faa7f..00000000 --- a/kdejava/koala/org/kde/koala/DocumentStyle.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - -*/ -public class DocumentStyle implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DocumentStyle(Class dummy){} - - public DocumentStyle() { - newDocumentStyle(); - } - private native void newDocumentStyle(); - public DocumentStyle(DocumentStyle other) { - newDocumentStyle(other); - } - private native void newDocumentStyle(DocumentStyle other); - public native ArrayList styleSheets(); - public native String preferredStylesheetSet(); - public native String selectedStylesheetSet(); - public native void setSelectedStylesheetSet(String aString); - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/DocumentType.java b/kdejava/koala/org/kde/koala/DocumentType.java deleted file mode 100644 index 95d68909..00000000 --- a/kdejava/koala/org/kde/koala/DocumentType.java +++ /dev/null @@ -1,89 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Each <code>Document</code> has a <code>doctype</code> attribute - whose value is either <code>null</code> or a <code>DocumentType</code> - object. The <code>DocumentType</code> interface in the - DOM Level 1 Core provides an interface to the list of entities that - are defined for the document, and little else because the effect of - namespaces and the various XML scheme efforts on DTD representation - are not clearly understood as of this writing. - The DOM Level 1 doesn't support editing <code>DocumentType</code> - nodes. - @short Each <code>Document</code> has a <code>doctype</code> attribute whose value is either <code>null</code> or a <code>DocumentType</code> object. - -*/ -public class DocumentType extends Node { - protected DocumentType(Class dummy){super((Class) null);} - public DocumentType() { - super((Class) null); - newDocumentType(); - } - private native void newDocumentType(); - public DocumentType(DocumentType other) { - super((Class) null); - newDocumentType(other); - } - private native void newDocumentType(DocumentType other); - public DocumentType(Node other) { - super((Class) null); - newDocumentType(other); - } - private native void newDocumentType(Node other); - /** - The name of DTD; i.e., the name immediately following the - <code>DOCTYPE</code> keyword. - @short The name of DTD; i. - */ - public native String name(); - /** - A <code>NamedNodeMap</code> containing the general entities, - both external and internal, declared in the DTD. Duplicates are - discarded. For example in: <!DOCTYPE ex SYSTEM "ex.dtd" [ - <!ENTITY foo "foo"> <!ENTITY bar "bar"> <!ENTITY % baz - "baz"> ]> <ex/> the interface provides access to <code>foo</code> - and <code>bar</code> but not <code>baz</code> . - Every node in this map also implements the <code>Entity</code> - interface. - The DOM Level 1 does not support editing entities, therefore - <code>entities</code> cannot be altered in any way. - @short A <code>NamedNodeMap</code> containing the general entities, both external and internal, declared in the DTD. - */ - public native NamedNodeMap entities(); - /** - A <code>NamedNodeMap</code> containing the notations declared - in the DTD. Duplicates are discarded. Every node in this map - also implements the <code>Notation</code> interface. - The DOM Level 1 does not support editing notations, therefore - <code>notations</code> cannot be altered in any way. - @short A <code>NamedNodeMap</code> containing the notations declared in the DTD. - */ - public native NamedNodeMap notations(); - /** - Introduced in DOM Level 2 - The public identifier of the external subset. - @short Introduced in DOM Level 2 - */ - public native String publicId(); - /** - Introduced in DOM Level 2 - The system identifier of the external subset. - @short Introduced in DOM Level 2 - */ - public native String systemId(); - /** - Introduced in DOM Level 2 - The internal subset as a string. - Note: The actual content returned depends on how much information is - available to the implementation. This may vary depending on various - parameters, including the XML processor used to build the document. - @short Introduced in DOM Level 2 - */ - public native String internalSubset(); - // DOM::DocumentType* DocumentType(DOM::DocumentTypeImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DomShared.java b/kdejava/koala/org/kde/koala/DomShared.java deleted file mode 100644 index 5bbc6078..00000000 --- a/kdejava/koala/org/kde/koala/DomShared.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - -*/ -public class DomShared implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DomShared(Class dummy){} - - public DomShared() { - newDomShared(); - } - private native void newDomShared(); - public native boolean deleteMe(); - public native void ref(); - public native void deref(); - public native boolean hasOneRef(); - public native int refCount(); -} diff --git a/kdejava/koala/org/kde/koala/Element.java b/kdejava/koala/org/kde/koala/Element.java deleted file mode 100644 index 7a1980f1..00000000 --- a/kdejava/koala/org/kde/koala/Element.java +++ /dev/null @@ -1,326 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - By far the vast majority of objects (apart from text) that authors - encounter when traversing a document are <code>Element</code> - nodes. Assume the following XML document: <elementExample - id="demo"> <subelement1/> - <subelement2><subsubelement/></subelement2> - </elementExample> - When represented using DOM, the top node is an <code>Element</code> - node for "elementExample", which contains two - child <code>Element</code> nodes, one for "subelement1" - and one for "subelement2". "subelement1" - contains no child nodes. - Elements may have attributes associated with them; since the - <code>Element</code> interface inherits from <code>Node</code> - , the generic <code>Node</code> interface method - <code>getAttributes</code> may be used to retrieve the set of all - attributes for an element. There are methods on the <code>Element</code> - interface to retrieve either an <code>Attr</code> object - by name or an attribute value by name. In XML, where an attribute - value may contain entity references, an <code>Attr</code> object - should be retrieved to examine the possibly fairly complex sub-tree - representing the attribute value. On the other hand, in HTML, where - all attributes have simple string values, methods to directly - access an attribute value can safely be used as a convenience. - @short By far the vast majority of objects (apart from text) that authors encounter when traversing a document are <code>Element</code> nodes. - -*/ -public class Element extends Node { - protected Element(Class dummy){super((Class) null);} - public Element() { - super((Class) null); - newElement(); - } - private native void newElement(); - public Element(Node other) { - super((Class) null); - newElement(other); - } - private native void newElement(Node other); - public Element(Element other) { - super((Class) null); - newElement(other); - } - private native void newElement(Element other); - /** - The name of the element. For example, in: <elementExample - id="demo"> ... </elementExample> , - <code>tagName</code> has the value <code>"elementExample"</code> - . Note that this is case-preserving in XML, as are all - of the operations of the DOM. The HTML DOM returns the - <code>tagName</code> of an HTML element in the canonical uppercase - form, regardless of the case in the source HTML document. - @short The name of the element. - */ - public native String tagName(); - /** - Retrieves an attribute value by name. - @param name The name of the attribute to retrieve. - @return The <code>Attr</code> value as a string, or the empty - string if that attribute does not have a specified or default - value. - - @short Retrieves an attribute value by name. - */ - public native String getAttribute(String name); - /** - Adds a new attribute. If an attribute with that name is already - present in the element, its value is changed to be that of the - value parameter. This value is a simple string, it is not - parsed as it is being set. So any markup (such as syntax to be - recognized as an entity reference) is treated as literal text, - and needs to be appropriately escaped by the implementation - when it is written out. In order to assign an attribute value - that contains entity references, the user must create an - <code>Attr</code> node plus any <code>Text</code> and - <code>EntityReference</code> nodes, build the appropriate subtree, - and use <code>setAttributeNode</code> to assign it as the - value of an attribute. - @param name The name of the attribute to create or alter. - @param value Value to set in string form. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Adds a new attribute. - */ - public native void setAttribute(String name, String value); - /** - Removes an attribute by name. If the removed attribute has a - default value it is immediately replaced. - @param name The name of the attribute to remove. - @short Removes an attribute by name. - */ - public native void removeAttribute(String name); - /** - Retrieves an <code>Attr</code> node by name. - @param name The name of the attribute to retrieve. - @return The <code>Attr</code> node with the specified - attribute name or <code>null</code> if there is no such - attribute. - - @short Retrieves an <code>Attr</code> node by name. - */ - public native Attr getAttributeNode(String name); - /** - Adds a new attribute. If an attribute with that name is already - present in the element, it is replaced by the new one. - @param newAttr The <code>Attr</code> node to add to the - attribute list. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - INUSE_ATTRIBUTE_ERR: Raised if <code>newAttr</code> is - already an attribute of another <code>Element</code> object. - The DOM user must explicitly clone <code>Attr</code> nodes to - re-use them in other elements. - @return If the <code>newAttr</code> attribute replaces an - existing attribute with the same name, the previously existing - <code>Attr</code> node is returned, otherwise <code>null</code> - is returned. - - @short Adds a new attribute. - */ - public native Attr setAttributeNode(Attr newAttr); - /** - Removes the specified attribute. - @param oldAttr The <code>Attr</code> node to remove from the - attribute list. If the removed <code>Attr</code> has a - default value it is immediately replaced. - NOT_FOUND_ERR: Raised if <code>oldAttr</code> is not an - attribute of the element. - @return The <code>Attr</code> node that was removed. - - @short Removes the specified attribute. - */ - public native Attr removeAttributeNode(Attr oldAttr); - /** - Returns a <code>ArrayList</code> of all descendant elements - with a given tag name, in the order in which they would be - encountered in a preorder traversal of the <code>Element</code> - tree. - @param name The name of the tag to match on. The special value - "*" matches all tags. - @return A list of matching <code>Element</code> nodes. - - @short Returns a <code>NodeList</code> of all descendant elements with a given tag name, in the order in which they would be encountered in a preorder traversal of the <code>Element</code> tree. - */ - public native ArrayList getElementsByTagName(String name); - /** - Introduced in DOM Level 2 - Returns an ArrayList of all the descendant Elements with a given local - name and namespace URI in the order in which they are encountered in a - preorder traversal of this Element tree. - @param namespaceURI The namespace URI of the elements to match on. The - special value "*" matches all namespaces. - @param localName The local name of the elements to match on. The special - value "*" matches all local names. - @return A new NodeList object containing all the matched Elements. - - @short Introduced in DOM Level 2 Returns a NodeList of all the descendant Elements with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of this Element tree. - */ - public native ArrayList getElementsByTagNameNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2. - No Exceptions. - Retrieves an attribute value by local name and namespace URI. HTML-only - DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to retrieve. - @param localName The local name of the attribute to retrieve. - @return The Attr value as a string, or the empty string if that - attribute does not have a specified or default value. - - @short Introduced in DOM Level 2. - */ - public native String getAttributeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Adds a new attribute. If an attribute with the same local name and - namespace URI is already present on the element, its prefix is changed - to be the prefix part of the qualifiedName, and its value is changed to - be the value parameter. This value is a simple string; it is not parsed - as it is being set. So any markup (such as syntax to be recognized as an - entity reference) is treated as literal text, and needs to be - appropriately escaped by the implementation when it is written out. In - order to assign an attribute value that contains entity references, the - user must create an Attr node plus any Text and EntityReference nodes, - build the appropriate subtree, and use setAttributeNodeNS or - setAttributeNode to assign it as the value of an attribute. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to create or - alter. - @param qualifiedName The qualified name of the attribute to create or - alter. - @param value The value to set in string form. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the - qualifiedName has a prefix and the namespaceURI is null, if the - qualifiedName has a prefix that is "xml" and the namespaceURI is - different from "http://www.w3.org/XML/1998/namespace", or if the - qualifiedName is "xmlns" and the namespaceURI is different from - "http://www.w3.org/2000/xmlns/". - @short Introduced in DOM Level 2 - */ - public native void setAttributeNS(String namespaceURI, String qualifiedName, String value); - /** - Introduced in DOM Level 2 - Removes an attribute by local name and namespace URI. If the removed - attribute has a default value it is immediately replaced. The replacing - attribute has the same namespace URI and local name, as well as the - original prefix. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to remove. - @param localName The local name of the attribute to remove. - @short Introduced in DOM Level 2 - */ - public native void removeAttributeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Retrieves an Attr node by local name and namespace URI. HTML-only DOM - implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to retrieve. - @param localName The local name of the attribute to retrieve. - @return The Attr node with the specified attribute local name and - namespace URI or null if there is no such attribute. - - @short Introduced in DOM Level 2 - */ - public native Attr getAttributeNodeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Adds a new attribute. If an attribute with that local name and that - namespace URI is already present in the element, it is replaced by the - new one. - HTML-only DOM implementations do not need to implement this method. - @param newAttr The Attr node to add to the attribute list. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - INUSE_ATTRIBUTE_ERR: Raised if newAttr is already an attribute of - another Element object. The DOM user must explicitly clone Attr nodes to - re-use them in other elements. - @return If the newAttr attribute replaces an existing attribute with the - same local name and namespace URI, the replaced Attr node is returned, - otherwise null is returned. - - @short Introduced in DOM Level 2 - */ - public native Attr setAttributeNodeNS(Attr newAttr); - /** - Returns true when an attribute with a given name is specified on this - element or has a default value, false otherwise. - Introduced in DOM Level 2. - @param name The name of the attribute to look for. - @return true if an attribute with the given name is specified on this - element or has a default value, false otherwise. - - @short Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. - */ - public native boolean hasAttribute(String name); - /** - Introduced in DOM Level 2 - Returns true when an attribute with a given local name and namespace URI - is specified on this element or has a default value, false otherwise. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to look for. - @param localName The local name of the attribute to look for. - @return true if an attribute with the given local name and namespace URI - is specified or has a default value on this element, false otherwise. - - @short Introduced in DOM Level 2 - */ - public native boolean hasAttributeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - This method is from the CSSStyleDeclaration interface - The style attribute - @short Introduced in DOM Level 2 This method is from the CSSStyleDeclaration interface - */ - public native CSSStyleDeclaration style(); - /** - not part of the official DOM - This method will always reflect the editability setting of this - element as specified by a direct or indirect (that means, inherited) - assignment to contentEditable or the respective CSS rule, even if - design mode is active. - @return whether this element is editable. - - @short not part of the official DOM - @see #setContentEditable - */ - public native boolean contentEditable(); - /** - not part of the official DOM - This element can be made editable by setting its contentEditable - property to <code>true.</code> The setting will be inherited to its children - as well. - Setting or clearing contentEditable when design mode is active will - take no effect. However, its status will still be propagated to all - child elements. - @param enabled <code>true</code> to make this element editable, <code>false</code> - otherwise. - @short not part of the official DOM - @see Document#designMode - */ - public native void setContentEditable(boolean enabled); - /** - not part of the DOM - @short - */ - public native boolean isHTMLElement(); - /** - TDEHTML extension to DOM - This method returns the associated form element. - returns null if this element is not a form-like element - or if this elment is not in the scope of a form element. - @short TDEHTML extension to DOM This method returns the associated form element. - */ - public native Element form(); - public static native boolean tdehtmlValidAttrName(String name); - public static native boolean tdehtmlValidPrefix(String name); - public static native boolean tdehtmlValidQualifiedName(String name); - public static native boolean tdehtmlMalformedQualifiedName(String name); - public static native boolean tdehtmlMalformedPrefix(String name); - // DOM::Element* Element(DOM::ElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Entity.java b/kdejava/koala/org/kde/koala/Entity.java deleted file mode 100644 index ae027275..00000000 --- a/kdejava/koala/org/kde/koala/Entity.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This interface represents an entity, either parsed or unparsed, in - an XML document. Note that this models the entity itself not the - entity declaration. <code>Entity</code> declaration modeling has - been left for a later Level of the DOM specification. - The <code>nodeName</code> attribute that is inherited from - <code>Node</code> contains the name of the entity. - An XML processor may choose to completely expand entities before - the structure model is passed to the DOM; in this case there will - be no <code>EntityReference</code> nodes in the document tree. - XML does not mandate that a non-validating XML processor read and - process entity declarations made in the external subset or declared - in external parameter entities. This means that parsed entities - declared in the external subset need not be expanded by some - classes of applications, and that the replacement value of the - entity may not be available. When the replacement value is - available, the corresponding <code>Entity</code> node's child - list represents the structure of that replacement text. Otherwise, - the child list is empty. - The resolution of the children of the <code>Entity</code> (the - replacement value) may be lazily evaluated; actions by the user - (such as calling the <code>childNodes</code> method on the - <code>Entity</code> Node) are assumed to trigger the evaluation. - The DOM Level 1 does not support editing <code>Entity</code> - nodes; if a user wants to make changes to the contents of an - <code>Entity</code> , every related <code>EntityReference</code> node - has to be replaced in the structure model by a clone of the - <code>Entity</code> 's contents, and then the desired changes must be - made to each of those clones instead. All the descendants of an - <code>Entity</code> node are readonly. - An <code>Entity</code> node does not have any parent. - @short This interface represents an entity, either parsed or unparsed, in an XML document. - -*/ -public class Entity extends Node { - protected Entity(Class dummy){super((Class) null);} - public Entity() { - super((Class) null); - newEntity(); - } - private native void newEntity(); - public Entity(Entity other) { - super((Class) null); - newEntity(other); - } - private native void newEntity(Entity other); - public Entity(Node other) { - super((Class) null); - newEntity(other); - } - private native void newEntity(Node other); - /** - The public identifier associated with the entity, if specified. - If the public identifier was not specified, this is <code>null</code> . - @short The public identifier associated with the entity, if specified. - */ - public native String publicId(); - /** - The system identifier associated with the entity, if specified. - If the system identifier was not specified, this is <code>null</code> . - @short The system identifier associated with the entity, if specified. - */ - public native String systemId(); - /** - For unparsed entities, the name of the notation for the entity. - For parsed entities, this is <code>null</code> . - @short For unparsed entities, the name of the notation for the entity. - */ - public native String notationName(); - // DOM::Entity* Entity(DOM::EntityImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/EntityReference.java b/kdejava/koala/org/kde/koala/EntityReference.java deleted file mode 100644 index 8704755f..00000000 --- a/kdejava/koala/org/kde/koala/EntityReference.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - <code>EntityReference</code> objects may be inserted into the - structure model when an entity reference is in the source document, - or when the user wishes to insert an entity reference. Note that - character references and references to predefined entities are - considered to be expanded by the HTML or XML processor so that - characters are represented by their Unicode equivalent rather than - by an entity reference. Moreover, the XML processor may completely - expand references to entities while building the structure model, - instead of providing <code>EntityReference</code> objects. If it - does provide such objects, then for a given <code>EntityReference</code> - node, it may be that there is no <code>Entity</code> node - representing the referenced entity; but if such an <code>Entity</code> - exists, then the child list of the <code>EntityReference</code> - node is the same as that of the <code>Entity</code> node. - As with the <code>Entity</code> node, all descendants of the - <code>EntityReference</code> are readonly. - The resolution of the children of the <code>EntityReference</code> - (the replacement value of the referenced <code>Entity</code> - ) may be lazily evaluated; actions by the user (such as - calling the <code>childNodes</code> method on the - <code>EntityReference</code> node) are assumed to trigger the - evaluation. - @short <code>EntityReference</code> objects may be inserted into the structure model when an entity reference is in the source document, or when the user wishes to insert an entity reference. - -*/ -public class EntityReference extends Node { - protected EntityReference(Class dummy){super((Class) null);} - public EntityReference() { - super((Class) null); - newEntityReference(); - } - private native void newEntityReference(); - public EntityReference(EntityReference other) { - super((Class) null); - newEntityReference(other); - } - private native void newEntityReference(EntityReference other); - public EntityReference(Node other) { - super((Class) null); - newEntityReference(other); - } - private native void newEntityReference(Node other); - // DOM::EntityReference* EntityReference(DOM::EntityReferenceImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Event.java b/kdejava/koala/org/kde/koala/Event.java deleted file mode 100644 index 0ff338d8..00000000 --- a/kdejava/koala/org/kde/koala/Event.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQEvent; -import org.kde.qt.TQCustomEvent; - -/** - - Base class for all KParts events. - @short Base class for all KParts events. - -*/ -public class Event extends TQCustomEvent { - protected Event(Class dummy){super((Class) null);} - public Event(String eventName) { - super((Class) null); - newEvent(eventName); - } - private native void newEvent(String eventName); - public native String eventName(); - public static native boolean test(TQEvent event); - public static native boolean test(TQEvent event, String name); -} diff --git a/kdejava/koala/org/kde/koala/EventException.java b/kdejava/koala/org/kde/koala/EventException.java deleted file mode 100644 index e5630dc7..00000000 --- a/kdejava/koala/org/kde/koala/EventException.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2: - Event operations may throw an EventException as specified in their method - descriptions. - @short Introduced in DOM Level 2: - -*/ -public class EventException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected EventException(Class dummy){} - - public EventException(short _code) { - newEventException(_code); - } - private native void newEventException(short _code); - public EventException(EventException other) { - newEventException(other); - } - private native void newEventException(EventException other); -} diff --git a/kdejava/koala/org/kde/koala/EventListener.java b/kdejava/koala/org/kde/koala/EventListener.java deleted file mode 100644 index a6fecfa0..00000000 --- a/kdejava/koala/org/kde/koala/EventListener.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2 - The EventListener interface is the primary method for handling events. - Users implement the EventListener interface and register their listener on - an EventTarget using the AddEventListener method. The users should also - remove their EventListener from its EventTarget after they have completed - using the listener. - When a Node is copied using the cloneNode method the EventListeners attached - to the source Node are not attached to the copied Node. If the user wishes - the same EventListeners to be added to the newly created copy the user must - add them manually. - @short Introduced in DOM Level 2 - -*/ -public class EventListener extends DomShared { - protected EventListener(Class dummy){super((Class) null);} - public EventListener() { - super((Class) null); - newEventListener(); - } - private native void newEventListener(); - /** - This method is called whenever an event occurs of the type for which the - EventListener interface was registered. Parameters - @param evt The Event contains contextual information about the event. It - also contains the stopPropagation and preventDefault methods which are - used in determining the event's flow and default action. - @short This method is called whenever an event occurs of the type for which the EventListener interface was registered. - */ - public native void handleEvent(Event evt); - /** - not part of the DOM - Returns a name specifying the type of listener. Useful for checking - if an event is of a particular sublass. - @short - */ - public native String eventListenerType(); -} diff --git a/kdejava/koala/org/kde/koala/Factory.java b/kdejava/koala/org/kde/koala/Factory.java deleted file mode 100644 index 912d7454..00000000 --- a/kdejava/koala/org/kde/koala/Factory.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - A generic factory object to create a Part. - Factory is an abstract class. Reimplement the - createPartObject() method to give it functionality. - @short A generic factory object to create a Part. - @see KLibFactory# - -*/ -public class Factory extends KLibFactory { - protected Factory(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a part. - The ArrayList can be used to pass additional arguments to the part. - If the part needs additional arguments, it should take them as - name="value" pairs. This is the way additional arguments will get passed - to the part from eg. tdehtml. You can for example embed the part into HTML - by using the following code: - <pre> - <object type="my_mimetype" data="url_to_my_data"> - <param name="name1" value="value1"> - <param name="name2" value="value2"> - </object> - </pre> - This could result in a call to - <pre> - createPart( parentWidget, name, parentObject, parentName, "KParts.Part", - ArrayList("name1="value1"", "name2="value2") ); - </pre> - createPart() automatically emits a signal KLibFactory.objectCreated to tell - the library about its newly created object. This is very - important for reference counting, and allows unloading the - library automatically once all its objects have been destroyed. - @return the newly created part. - - @short Creates a part. - */ - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String classname, String[] args); - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String classname); - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name); - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent); - public native Part createPart(TQWidget parentWidget, String widgetName); - public native Part createPart(TQWidget parentWidget); - public native Part createPart(); - /** - If you have a part contained in a shared library you might want to query - for meta-information like the about-data, or the TDEInstance in general. - If the part is exported using KParts.GenericFactory then this method will - return the instance that belongs to the part without the need to instantiate - the part component. - @short If you have a part contained in a shared library you might want to query for meta-information like the about-data, or the TDEInstance in general. - */ - public native TDEInstanceInterface partInstance(); - /** - A convenience method for partInstance() that takes care of retrieving - the factory for a given library name and calling partInstance() on it. - @param libraryName name of the library to query the instance from - @short A convenience method for partInstance() that takes care of retrieving the factory for a given library name and calling partInstance() on it. - */ - public static native TDEInstanceInterface partInstanceFromLibrary(String libraryName); -} diff --git a/kdejava/koala/org/kde/koala/FileCopyJob.java b/kdejava/koala/org/kde/koala/FileCopyJob.java deleted file mode 100644 index cc964c6c..00000000 --- a/kdejava/koala/org/kde/koala/FileCopyJob.java +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The FileCopyJob copies data from one place to another. - @short The FileCopyJob copies data from one place to another. - @see #file_copy - @see #file_move - -*/ -public class FileCopyJob extends Job { - protected FileCopyJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a FileCopyJob directly. Use TDEIO.file_move() - or TDEIO.file_copy() instead. - @param src the source URL - @param dest the destination URL - @param permissions the permissions of the resulting resource - @param move true to move, false to copy - @param overwrite true to allow overwriting, false otherwise - @param resume true to resume an operation, false otherwise - @param showProgressInfo true to show progress information to the user - @short Do not create a FileCopyJob directly. - */ - /** - If you know the size of the source file, call this method - to inform this job. It will be displayed in the "resume" dialog. - @param size the size of the source file - @short If you know the size of the source file, call this method to inform this job. - */ - public native void setSourceSize64(long size); - /** - Returns the source URL. - @return the source URL - - @short Returns the source URL. - */ - public native KURL srcURL(); - /** - Returns the destination URL. - @return the destination URL - - @short Returns the destination URL. - */ - public native KURL destURL(); - public native void slotStart(); - public native void slotData(Job arg1, byte[] data); - public native void slotDataReq(Job arg1, byte[] data); -} diff --git a/kdejava/koala/org/kde/koala/GUIActivateEvent.java b/kdejava/koala/org/kde/koala/GUIActivateEvent.java deleted file mode 100644 index 00eb1c10..00000000 --- a/kdejava/koala/org/kde/koala/GUIActivateEvent.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQEvent; - -/** - - This event is sent to a Part when its GUI has been activated or deactivated. - This is related to PartActivateEvent, but the difference is that - GUIActivateEvent happens later (when the GUI is actually built), - only for parts that have GUI elements, and only if using KParts.MainWindow. - @short This event is sent to a Part when its GUI has been activated or deactivated. - @see Part#guiActivateEvent - -*/ -public class GUIActivateEvent extends Event { - protected GUIActivateEvent(Class dummy){super((Class) null);} - public GUIActivateEvent(boolean activated) { - super((Class) null); - newGUIActivateEvent(activated); - } - private native void newGUIActivateEvent(boolean activated); - public native boolean activated(); - public static native boolean test(TQEvent event); -} diff --git a/kdejava/koala/org/kde/koala/HTMLAnchorElement.java b/kdejava/koala/org/kde/koala/HTMLAnchorElement.java deleted file mode 100644 index 2c48684f..00000000 --- a/kdejava/koala/org/kde/koala/HTMLAnchorElement.java +++ /dev/null @@ -1,192 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The anchor element. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#edef-A"> A - element definition </a> in HTML 4.0. - @short The anchor element. - -*/ -public class HTMLAnchorElement extends HTMLElement { - protected HTMLAnchorElement(Class dummy){super((Class) null);} - public HTMLAnchorElement() { - super((Class) null); - newHTMLAnchorElement(); - } - private native void newHTMLAnchorElement(); - public HTMLAnchorElement(HTMLAnchorElement other) { - super((Class) null); - newHTMLAnchorElement(other); - } - private native void newHTMLAnchorElement(HTMLAnchorElement other); - public HTMLAnchorElement(Node other) { - super((Class) null); - newHTMLAnchorElement(other); - } - private native void newHTMLAnchorElement(Node other); - /** - A single character access key to give access to the form - control. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> - accesskey attribute definition </a> in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - The character encoding of the linked resource. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-charset"> - charset attribute definition </a> in HTML 4.0. - @short The character encoding of the linked resource. - */ - public native String charset(); - /** - see charset - @short see charset - */ - public native void setCharset(String arg1); - /** - Comma-separated list of lengths, defining an active region - geometry. See also <code>shape</code> for the shape of the - region. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-coords"> - coords attribute definition </a> in HTML 4.0. - @short Comma-separated list of lengths, defining an active region geometry. - */ - public native String coords(); - /** - see coords - @short see coords - */ - public native void setCoords(String arg1); - /** - The URI of the linked resource. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href"> - href attribute definition </a> in HTML 4.0. - @short The URI of the linked resource. - */ - public native String href(); - /** - see href - @short see href - */ - public native void setHref(String arg1); - /** - Language code of the linked resource. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-hreflang"> - hreflang attribute definition </a> in HTML 4.0. - @short Language code of the linked resource. - */ - public native String hreflang(); - /** - see hreflang - @short see hreflang - */ - public native void setHreflang(String arg1); - /** - Anchor name. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-name-A"> - name attribute definition </a> in HTML 4.0. - @short Anchor name. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Forward link type. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rel"> - rel attribute definition </a> in HTML 4.0. - @short Forward link type. - */ - public native String rel(); - /** - see rel - @short see rel - */ - public native void setRel(String arg1); - /** - Reverse link type. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rev"> - rev attribute definition </a> in HTML 4.0. - @short Reverse link type. - */ - public native String rev(); - /** - see rev - @short see rev - */ - public native void setRev(String arg1); - /** - The shape of the active area. The coordinates are given by - <code>coords</code> . See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-shape"> - shape attribute definition </a> in HTML 4.0. - @short The shape of the active area. - */ - public native String shape(); - /** - see shape - @short see shape - */ - public native void setShape(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex"> - tabindex attribute definition </a> in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Frame to render the resource in. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> - target attribute definition </a> in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - /** - Advisory content type. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-type-A"> - type attribute definition </a> in HTML 4.0. - @short Advisory content type. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - // DOM::HTMLAnchorElement* HTMLAnchorElement(DOM::HTMLAnchorElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLAppletElement.java b/kdejava/koala/org/kde/koala/HTMLAppletElement.java deleted file mode 100644 index 12338c28..00000000 --- a/kdejava/koala/org/kde/koala/HTMLAppletElement.java +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - An embedded Java applet. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-APPLET"> - APPLET element definition </a> in HTML 4.0. This element is - deprecated in HTML 4.0. - @short An embedded Java applet. - -*/ -public class HTMLAppletElement extends HTMLElement { - protected HTMLAppletElement(Class dummy){super((Class) null);} - public HTMLAppletElement() { - super((Class) null); - newHTMLAppletElement(); - } - private native void newHTMLAppletElement(); - public HTMLAppletElement(HTMLAppletElement other) { - super((Class) null); - newHTMLAppletElement(other); - } - private native void newHTMLAppletElement(HTMLAppletElement other); - public HTMLAppletElement(Node other) { - super((Class) null); - newHTMLAppletElement(other); - } - private native void newHTMLAppletElement(Node other); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt"> - alt attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Comma-separated archive list. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-archive-APPLET"> - archive attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Comma-separated archive list. - */ - public native String archive(); - /** - see archive - @short see archive - */ - public native void setArchive(String arg1); - /** - Applet class file. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-code"> - code attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Applet class file. - */ - public native String code(); - /** - see code - @short see code - */ - public native void setCode(String arg1); - /** - Optional base URI for applet. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codebase-APPLET"> - codebase attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Optional base URI for applet. - */ - public native String codeBase(); - /** - see codeBase - @short see codeBase - */ - public native void setCodeBase(String value); - /** - Override height. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-height-APPLET"> - height attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Override height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - Horizontal space, in pixels, to the left and right of this image, applet, - or object. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-hspace"> - hspace attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal space, in pixels, to the left and right of this image, applet, or object. - */ - public native long getHspace(); - /** - see hspace - @short see hspace - */ - public native void setHspace(long arg1); - /** - The name of the applet. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-name-APPLET"> - name attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The name of the applet. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Serialized applet file. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-object"> - object attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Serialized applet file. - */ - public native String object(); - /** - see object - @short see object - */ - public native void setObject(String arg1); - /** - Vertical space, in pixels, above and below this image, applet, or object. - See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-vspace"> - vspace attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Vertical space, in pixels, above and below this image, applet, or object. - */ - public native long getVspace(); - /** - see vspace - @short see vspace - */ - public native void setVspace(long arg1); - /** - Override width. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-width-APPLET"> - width attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Override width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLAppletElement* HTMLAppletElement(DOM::HTMLAppletElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLAreaElement.java b/kdejava/koala/org/kde/koala/HTMLAreaElement.java deleted file mode 100644 index 11f4de56..00000000 --- a/kdejava/koala/org/kde/koala/HTMLAreaElement.java +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Client-side image map area definition. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-AREA"> - AREA element definition </a> in HTML 4.0. - @short Client-side image map area definition. - -*/ -public class HTMLAreaElement extends HTMLElement { - protected HTMLAreaElement(Class dummy){super((Class) null);} - public HTMLAreaElement() { - super((Class) null); - newHTMLAreaElement(); - } - private native void newHTMLAreaElement(); - public HTMLAreaElement(HTMLAreaElement other) { - super((Class) null); - newHTMLAreaElement(other); - } - private native void newHTMLAreaElement(HTMLAreaElement other); - public HTMLAreaElement(Node other) { - super((Class) null); - newHTMLAreaElement(other); - } - private native void newHTMLAreaElement(Node other); - /** - A single character access key to give access to the form - control. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> - accesskey attribute definition </a> in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt"> - alt attribute definition </a> in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Comma-separated list of lengths, defining an active region - geometry. See also <code>shape</code> for the shape of the - region. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-coords"> - coords attribute definition </a> in HTML 4.0. - @short Comma-separated list of lengths, defining an active region geometry. - */ - public native String coords(); - /** - see coords - @short see coords - */ - public native void setCoords(String arg1); - /** - The URI of the linked resource. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href"> - href attribute definition </a> in HTML 4.0. - @short The URI of the linked resource. - */ - public native String href(); - /** - see href - @short see href - */ - public native void setHref(String arg1); - /** - Specifies that this area is inactive, i.e., has no associated - action. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-nohref"> - nohref attribute definition </a> in HTML 4.0. - @short Specifies that this area is inactive, i. - */ - public native boolean noHref(); - /** - see noHref - @short see noHref - */ - public native void setNoHref(boolean arg1); - /** - The shape of the active area. The coordinates are given by - <code>coords</code> . See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-shape"> - shape attribute definition </a> in HTML 4.0. - @short The shape of the active area. - */ - public native String shape(); - /** - see shape - @short see shape - */ - public native void setShape(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex"> - tabindex attribute definition </a> in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Frame to render the resource in. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> - target attribute definition </a> in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - // DOM::HTMLAreaElement* HTMLAreaElement(DOM::HTMLAreaElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBRElement.java b/kdejava/koala/org/kde/koala/HTMLBRElement.java deleted file mode 100644 index e001a748..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBRElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Force a line break. See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-BR"> BR - element definition </a> in HTML 4.0. - @short Force a line break. - -*/ -public class HTMLBRElement extends HTMLElement { - protected HTMLBRElement(Class dummy){super((Class) null);} - public HTMLBRElement() { - super((Class) null); - newHTMLBRElement(); - } - private native void newHTMLBRElement(); - public HTMLBRElement(HTMLBRElement other) { - super((Class) null); - newHTMLBRElement(other); - } - private native void newHTMLBRElement(HTMLBRElement other); - public HTMLBRElement(Node other) { - super((Class) null); - newHTMLBRElement(other); - } - private native void newHTMLBRElement(Node other); - /** - Control flow of text around floats. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-clear"> - clear attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Control flow of text around floats. - */ - public native String clear(); - /** - see clear - @short see clear - */ - public native void setClear(String arg1); - // DOM::HTMLBRElement* HTMLBRElement(DOM::HTMLBRElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBaseElement.java b/kdejava/koala/org/kde/koala/HTMLBaseElement.java deleted file mode 100644 index 16d82d36..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBaseElement.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Document base URI. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#edef-BASE"> - BASE element definition </a> in HTML 4.0. - @short Document base URI. - -*/ -public class HTMLBaseElement extends HTMLElement { - protected HTMLBaseElement(Class dummy){super((Class) null);} - public HTMLBaseElement() { - super((Class) null); - newHTMLBaseElement(); - } - private native void newHTMLBaseElement(); - public HTMLBaseElement(HTMLBaseElement other) { - super((Class) null); - newHTMLBaseElement(other); - } - private native void newHTMLBaseElement(HTMLBaseElement other); - public HTMLBaseElement(Node other) { - super((Class) null); - newHTMLBaseElement(other); - } - private native void newHTMLBaseElement(Node other); - /** - The base URI See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href-BASE"> - href attribute definition </a> in HTML 4.0. - @short The base URI See the <a href="http://www. - */ - public native String href(); - /** - see href - @short see href - */ - public native void setHref(String arg1); - /** - The default target frame. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> - target attribute definition </a> in HTML 4.0. - @short The default target frame. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - // DOM::HTMLBaseElement* HTMLBaseElement(DOM::HTMLBaseElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBaseFontElement.java b/kdejava/koala/org/kde/koala/HTMLBaseFontElement.java deleted file mode 100644 index 1c6032e3..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBaseFontElement.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Base font. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#edef-BASEFONT"> - BASEFONT element definition </a> in HTML 4.0. This element is - deprecated in HTML 4.0. - @short Base font. - -*/ -public class HTMLBaseFontElement extends HTMLElement { - protected HTMLBaseFontElement(Class dummy){super((Class) null);} - public HTMLBaseFontElement() { - super((Class) null); - newHTMLBaseFontElement(); - } - private native void newHTMLBaseFontElement(); - public HTMLBaseFontElement(HTMLBaseFontElement other) { - super((Class) null); - newHTMLBaseFontElement(other); - } - private native void newHTMLBaseFontElement(HTMLBaseFontElement other); - public HTMLBaseFontElement(Node other) { - super((Class) null); - newHTMLBaseFontElement(other); - } - private native void newHTMLBaseFontElement(Node other); - /** - Font color. See the <a href="http://www.w3.org/TR/REC-html40/"> - color attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font color. - */ - public native String color(); - /** - see color - @short see color - */ - public native void setColor(String arg1); - /** - Font face identifier. See the <a - href="http://www.w3.org/TR/REC-html40/"> face attribute - definition </a> in HTML 4.0. This attribute is deprecated in - HTML 4.0. - @short Font face identifier. - */ - public native String face(); - /** - see face - @short see face - */ - public native void setFace(String arg1); - /** - Computed Font size. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-size-BASEFONT"> - size attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Computed Font size. - */ - public native long getSize(); - /** - see size - @short see size - */ - public native void setSize(long arg1); - // DOM::HTMLBaseFontElement* HTMLBaseFontElement(DOM::HTMLBaseFontElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java b/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java deleted file mode 100644 index c51a864d..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - ??? See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-BLOCKTQUOTE"> - BLOCKTQUOTE element definition </a> in HTML 4.0. - @short ??? See the <a href="http://www. - -*/ -public class HTMLBlockquoteElement extends HTMLElement { - protected HTMLBlockquoteElement(Class dummy){super((Class) null);} - public HTMLBlockquoteElement() { - super((Class) null); - newHTMLBlockquoteElement(); - } - private native void newHTMLBlockquoteElement(); - public HTMLBlockquoteElement(HTMLBlockquoteElement other) { - super((Class) null); - newHTMLBlockquoteElement(other); - } - private native void newHTMLBlockquoteElement(HTMLBlockquoteElement other); - public HTMLBlockquoteElement(Node other) { - super((Class) null); - newHTMLBlockquoteElement(other); - } - private native void newHTMLBlockquoteElement(Node other); - /** - A URI designating a document that describes the reason for the - change. See the <a href="http://www.w3.org/TR/REC-html40/"> - cite attribute definition </a> in HTML 4.0. - @short A URI designating a document that describes the reason for the change. - */ - public native String cite(); - /** - see cite - @short see cite - */ - public native void setCite(String arg1); - // DOM::HTMLBlockquoteElement* HTMLBlockquoteElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBodyElement.java b/kdejava/koala/org/kde/koala/HTMLBodyElement.java deleted file mode 100644 index 3ad71cd2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBodyElement.java +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The HTML document body. This element is always present in the DOM - API, even if the tags are not present in the source document. See - the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-BODY"> - BODY element definition </a> in HTML 4.0. - @short The HTML document body. - -*/ -public class HTMLBodyElement extends HTMLElement { - protected HTMLBodyElement(Class dummy){super((Class) null);} - public HTMLBodyElement() { - super((Class) null); - newHTMLBodyElement(); - } - private native void newHTMLBodyElement(); - public HTMLBodyElement(HTMLBodyElement other) { - super((Class) null); - newHTMLBodyElement(other); - } - private native void newHTMLBodyElement(HTMLBodyElement other); - public HTMLBodyElement(Node other) { - super((Class) null); - newHTMLBodyElement(other); - } - private native void newHTMLBodyElement(Node other); - /** - Color of active links (after mouse-button down, but before - mouse-button up). See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-alink"> - alink attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Color of active links (after mouse-button down, but before mouse-button up). - */ - public native String aLink(); - /** - see aLink - @short see aLink - */ - public native void setALink(String arg1); - /** - URI of the background texture tile image. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-background"> - background attribute definition </a> in HTML 4.0. This - attribute is deprecated in HTML 4.0. - @short URI of the background texture tile image. - */ - public native String background(); - /** - see background - @short see background - */ - public native void setBackground(String arg1); - /** - Document background color. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-bgcolor"> - bgcolor attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Document background color. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - Color of links that are not active and unvisited. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-link"> - link attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Color of links that are not active and unvisited. - */ - public native String link(); - /** - see link - @short see link - */ - public native void setLink(String arg1); - /** - Document text color. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-text"> - text attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Document text color. - */ - public native String text(); - /** - see text - @short see text - */ - public native void setText(String arg1); - /** - Color of links that have been visited by the user. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-vlink"> - vlink attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Color of links that have been visited by the user. - */ - public native String vLink(); - /** - see vLink - @short see vLink - */ - public native void setVLink(String arg1); - // DOM::HTMLBodyElement* HTMLBodyElement(DOM::HTMLBodyElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLButtonElement.java b/kdejava/koala/org/kde/koala/HTMLButtonElement.java deleted file mode 100644 index 7468fd4e..00000000 --- a/kdejava/koala/org/kde/koala/HTMLButtonElement.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Push button. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-BUTTON"> - BUTTON element definition </a> in HTML 4.0. - @short Push button. - -*/ -public class HTMLButtonElement extends HTMLElement { - protected HTMLButtonElement(Class dummy){super((Class) null);} - public HTMLButtonElement() { - super((Class) null); - newHTMLButtonElement(); - } - private native void newHTMLButtonElement(); - public HTMLButtonElement(HTMLButtonElement other) { - super((Class) null); - newHTMLButtonElement(other); - } - private native void newHTMLButtonElement(HTMLButtonElement other); - public HTMLButtonElement(Node other) { - super((Class) null); - newHTMLButtonElement(other); - } - private native void newHTMLButtonElement(Node other); - /** - Returns the <code>FORM</code> element containing this - control. Returns null if this control is not within the context - of a form. - @short Returns the <code>FORM</code> element containing this control. - */ - public native HTMLFormElement formElement(); - /** - A single character access key to give access to the form - control. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> - accesskey attribute definition </a> in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - The control is unavailable in this context. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled"> - disabled attribute definition </a> in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Form control or object name when submitted with a form. See the - <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-BUTTON"> - name attribute definition </a> in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex"> - tabindex attribute definition </a> in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - The type of button. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-type-BUTTON"> - type attribute definition </a> in HTML 4.0. - @short The type of button. - */ - public native String type(); - /** - The current form control value. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-value-BUTTON"> - value attribute definition </a> in HTML 4.0. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - // DOM::HTMLButtonElement* HTMLButtonElement(DOM::HTMLButtonElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLCollection.java b/kdejava/koala/org/kde/koala/HTMLCollection.java deleted file mode 100644 index a5eecbee..00000000 --- a/kdejava/koala/org/kde/koala/HTMLCollection.java +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - An <code>HTMLCollection</code> is a list of nodes. An individual - node may be accessed by either ordinal index or the node's - <code>name</code> or <code>id</code> attributes. Note: Collections in - the HTML DOM are assumed to be live meaning that they are - automatically updated when the underlying document is changed. - @short An <code>HTMLCollection</code> is a list of nodes. - -*/ -public class HTMLCollection implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected HTMLCollection(Class dummy){} - - public HTMLCollection() { - newHTMLCollection(); - } - private native void newHTMLCollection(); - public HTMLCollection(HTMLCollection other) { - newHTMLCollection(other); - } - private native void newHTMLCollection(HTMLCollection other); - /** - This attribute specifies the length or size of the list. - @short This attribute specifies the length or size of the list. - */ - public native long length(); - /** - This method retrieves a node specified by ordinal index. Nodes - are numbered in tree order (depth-first traversal order). - @param index The index of the node to be fetched. The index - origin is 0. - @return The <code>Node</code> at the corresponding position - upon success. A value of <code>null</code> is returned if the - index is out of range. - - @short This method retrieves a node specified by ordinal index. - */ - public native Node item(long index); - /** - This method retrieves a <code>Node</code> using a name. It - first searches for a <code>Node</code> with a matching - <code>id</code> attribute. If it doesn't find one, it then searches - for a <code>Node</code> with a matching <code>name</code> - attribute, but only on those elements that are allowed a name - attribute. - @param name The name of the <code>Node</code> to be fetched. - @return The <code>Node</code> with a <code>name</code> or - <code>id</code> attribute whose value corresponds to the - specified string. Upon failure (e.g., no node with this name - exists), returns <code>null</code> . - - @short This method retrieves a <code>Node</code> using a name. - */ - public native Node namedItem(String name); - /** - not part of the DOM - @short - */ - public native Node base(); - // DOM::HTMLCollectionImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - public native Node firstItem(); - public native Node nextItem(); - public native Node nextNamedItem(String name); - // DOM::HTMLCollection* HTMLCollection(DOM::NodeImpl* arg1,int arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDListElement.java b/kdejava/koala/org/kde/koala/HTMLDListElement.java deleted file mode 100644 index 1f31bdb9..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDListElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Definition list. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-DL"> - DL element definition </a> in HTML 4.0. - @short Definition list. - -*/ -public class HTMLDListElement extends HTMLElement { - protected HTMLDListElement(Class dummy){super((Class) null);} - public HTMLDListElement() { - super((Class) null); - newHTMLDListElement(); - } - private native void newHTMLDListElement(); - public HTMLDListElement(HTMLDListElement other) { - super((Class) null); - newHTMLDListElement(other); - } - private native void newHTMLDListElement(HTMLDListElement other); - public HTMLDListElement(Node other) { - super((Class) null); - newHTMLDListElement(other); - } - private native void newHTMLDListElement(Node other); - /** - Reduce spacing between list items. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-compact"> - compact attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - // DOM::HTMLDListElement* HTMLDListElement(DOM::HTMLDListElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDirectoryElement.java b/kdejava/koala/org/kde/koala/HTMLDirectoryElement.java deleted file mode 100644 index 18250cc5..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDirectoryElement.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Directory list. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-DIR"> - DIR element definition </a> in HTML 4.0. This element is deprecated - in HTML 4.0. - @short Directory list. - -*/ -public class HTMLDirectoryElement extends HTMLElement { - protected HTMLDirectoryElement(Class dummy){super((Class) null);} - public HTMLDirectoryElement() { - super((Class) null); - newHTMLDirectoryElement(); - } - private native void newHTMLDirectoryElement(); - public HTMLDirectoryElement(HTMLDirectoryElement other) { - super((Class) null); - newHTMLDirectoryElement(other); - } - private native void newHTMLDirectoryElement(HTMLDirectoryElement other); - public HTMLDirectoryElement(Node other) { - super((Class) null); - newHTMLDirectoryElement(other); - } - private native void newHTMLDirectoryElement(Node other); - /** - Reduce spacing between list items. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-compact"> - compact attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - // DOM::HTMLDirectoryElement* HTMLDirectoryElement(DOM::HTMLDirectoryElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDivElement.java b/kdejava/koala/org/kde/koala/HTMLDivElement.java deleted file mode 100644 index 6c90e343..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDivElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Generic block container. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-DIV"> - DIV element definition </a> in HTML 4.0. - @short Generic block container. - -*/ -public class HTMLDivElement extends HTMLElement { - protected HTMLDivElement(Class dummy){super((Class) null);} - public HTMLDivElement() { - super((Class) null); - newHTMLDivElement(); - } - private native void newHTMLDivElement(); - public HTMLDivElement(HTMLDivElement other) { - super((Class) null); - newHTMLDivElement(other); - } - private native void newHTMLDivElement(HTMLDivElement other); - public HTMLDivElement(Node other) { - super((Class) null); - newHTMLDivElement(other); - } - private native void newHTMLDivElement(Node other); - /** - Horizontal text alignment. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-align"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal text alignment. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLDivElement* HTMLDivElement(DOM::HTMLDivElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDocument.java b/kdejava/koala/org/kde/koala/HTMLDocument.java deleted file mode 100644 index b4ae5fd4..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDocument.java +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - An <code>HTMLDocument</code> is the root of the HTML hierarchy - and holds the entire content. Beside providing access to the - hierarchy, it also provides some convenience methods for accessing - certain sets of information from the document. - The following properties have been deprecated in favor of the - corresponding ones for the BODY element: - \li <code>alinkColor</code> - \li <code>background</code> - \li <code>bgColor</code> - \li <code>fgColor</code> - \li <code>linkColor</code> - \li <code>vlinkColor</code> - @short An <code>HTMLDocument</code> is the root of the HTML hierarchy and holds the entire content. - -*/ -public class HTMLDocument extends Document { - protected HTMLDocument(Class dummy){super((Class) null);} - public HTMLDocument() { - super((Class) null); - newHTMLDocument(); - } - private native void newHTMLDocument(); - /** - The parent is the widget the document should render itself in. - Rendering information (like sizes, etc...) is only created if - parent != 0 - @short The parent is the widget the document should render itself in. - */ - public HTMLDocument(TDEHTMLView parent) { - super((Class) null); - newHTMLDocument(parent); - } - private native void newHTMLDocument(TDEHTMLView parent); - public HTMLDocument(HTMLDocument other) { - super((Class) null); - newHTMLDocument(other); - } - private native void newHTMLDocument(HTMLDocument other); - public HTMLDocument(Node other) { - super((Class) null); - newHTMLDocument(other); - } - private native void newHTMLDocument(Node other); - /** - The title of a document as specified by the <code>TITLE</code> - element in the head of the document. - @short The title of a document as specified by the <code>TITLE</code> element in the head of the document. - */ - public native String title(); - /** - see title - @short see title - */ - public native void setTitle(String arg1); - /** - Returns the URI of the page that linked to this page. The value - is an empty string if the user navigated to the page directly - (not through a link, but, for example, via a bookmark). - @short Returns the URI of the page that linked to this page. - */ - public native String referrer(); - /** - The domain name of the server that served the document, or a - null string if the server cannot be identified by a domain - name. - @short The domain name of the server that served the document, or a null string if the server cannot be identified by a domain name. - */ - public native String domain(); - /** - The absolute URI of the document. - @short The absolute URI of the document. - */ - public native String URL(); - /** - The element that contains the content for the document. In - documents with <code>BODY</code> contents, returns the - <code>BODY</code> element, and in frameset documents, this returns - the outermost <code>FRAMESET</code> element. - @short The element that contains the content for the document. - */ - public native HTMLElement body(); - /** - see body - @short see body - */ - public native void setBody(HTMLElement arg1); - /** - A collection of all the <code>IMG</code> elements in a - document. The behavior is limited to <code>IMG</code> - elements for backwards compatibility. - @short A collection of all the <code>IMG</code> elements in a document. - */ - public native HTMLCollection images(); - /** - A collection of all the <code>OBJECT</code> elements that - include applets and <code>APPLET</code> ( deprecated ) - elements in a document. - @short A collection of all the <code>OBJECT</code> elements that include applets and <code>APPLET</code> ( deprecated ) elements in a document. - */ - public native HTMLCollection applets(); - /** - A collection of all <code>AREA</code> elements and anchor ( - <code>A</code> ) elements in a document with a value for the - <code>href</code> attribute. - @short A collection of all <code>AREA</code> elements and anchor ( <code>A</code> ) elements in a document with a value for the <code>href</code> attribute. - */ - public native HTMLCollection links(); - /** - A collection of all the forms of a document. - @short A collection of all the forms of a document. - */ - public native HTMLCollection forms(); - /** - A collection of all the layers of a document. - @short A collection of all the layers of a document. - */ - public native HTMLCollection layers(); - /** - A collection of all the anchor ( <code>A</code> ) elements in - a document with a value for the <code>name</code> attribute. - Note. For reasons of backwards compatibility, the returned set - of anchors only contains those anchors created with the - <code>name</code> attribute, not those created with the <code>id</code> - attribute. - @short A collection of all the anchor ( <code>A</code> ) elements in a document with a value for the <code>name</code> attribute. - */ - public native HTMLCollection anchors(); - /** - The cookies associated with this document. If there are none, - the value is an empty string. Otherwise, the value is a string: - a semicolon-delimited list of "name, value" pairs for all the - cookies associated with the page. For example, - <code>name</code>=value;expires=date . - @short The cookies associated with this document. - */ - public native String cookie(); - /** - see cookie - @short see cookie - */ - public native void setCookie(String arg1); - /** - Note. This method and the ones following allow a user to add to - or replace the structure model of a document using strings of - unparsed HTML. At the time of writing alternate methods for - providing similar functionality for both HTML and XML documents - were being considered. The following methods may be deprecated - at some point in the future in favor of a more general-purpose - mechanism. - Open a document stream for writing. If a document exists in - the target, this method clears it. - @short Note. - */ - public native void open(); - /** - Closes a document stream opened by <code>open</code>() and - forces rendering. - @short Closes a document stream opened by <code>open</code>() and forces rendering. - */ - public native void close(); - /** - Write a string of text to a document stream opened by - <code>open</code>() . The text is parsed into the document's - structure model. - @param text The string to be parsed into some structure in the - document structure model. - @short Write a string of text to a document stream opened by <code>open</code>() . - */ - public native void write(String text); - /** - Write a string of text followed by a newline character to a - document stream opened by <code>open</code>() . The text is - parsed into the document's structure model. - @param text The string to be parsed into some structure in the - document structure model. - @short Write a string of text followed by a newline character to a document stream opened by <code>open</code>() . - */ - public native void writeln(String text); - /** - Returns the (possibly empty) collection of elements whose - <code>name</code> value is given by <code>elementName</code> . - @param elementName The <code>name</code> attribute value for - an element. - @return The matching elements. - - @short Returns the (possibly empty) collection of elements whose <code>name</code> value is given by <code>elementName</code> . - */ - public native ArrayList getElementsByName(String elementName); - /** - not part of the DOM - converts the given (potentially relative) URL in a - full-qualified one, using the baseURL / document URL for - the missing parts. - @short not part of the DOM - */ - public native String completeURL(String url); - /** - Not part of the DOM - The date the document was last modified. - @short Not part of the DOM - */ - public native String lastModified(); - /** - Not part of the DOM - A collection of all the <code>IMG</code>, <code>OBJECT</code>, - <code>AREA</code>, <code>A</code>, forms and anchor elements of - a document. - @short Not part of the DOM - */ - public native HTMLCollection all(); - // DOM::HTMLDocument* HTMLDocument(DOM::HTMLDocumentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLElement.java b/kdejava/koala/org/kde/koala/HTMLElement.java deleted file mode 100644 index b719f463..00000000 --- a/kdejava/koala/org/kde/koala/HTMLElement.java +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - All HTML element interfaces derive from this class. Elements that - only expose the HTML core attributes are represented by the base - <code>HTMLElement</code> interface. These elements are as - follows: - \li <code>HEAD</code> - <li>special</li>: <tt> SUB, SUP, SPAN, BDO </tt> - <li>font</li>: <tt> TT, I, B, U, S, STRIKE, BIG, SMALL </tt> - <li>phrase</li>: <tt> EM, STRONG, DFN, CODE, SAMP, KBD, VAR, - CITE, ACRONYM, ABBR</tt> - <li>list</li>: <tt> DD, DT </tt> - \li <tt> NOFRAMES, NOSCRIPT </tt> - \li <tt> ADDRESS, CENTER </tt> - Note: The <code>style</code> attribute for this - interface is reserved for future usage. - @short All HTML element interfaces derive from this class. - -*/ -public class HTMLElement extends Element { - protected HTMLElement(Class dummy){super((Class) null);} - public HTMLElement() { - super((Class) null); - newHTMLElement(); - } - private native void newHTMLElement(); - public HTMLElement(HTMLElement other) { - super((Class) null); - newHTMLElement(other); - } - private native void newHTMLElement(HTMLElement other); - public HTMLElement(Node other) { - super((Class) null); - newHTMLElement(other); - } - private native void newHTMLElement(Node other); - /** - The element's identifier. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-id"> - id attribute definition </a> in HTML 4.0. - @short The element's identifier. - */ - public native String id(); - /** - see id - @short see id - */ - public native void setId(String arg1); - /** - The element's advisory title. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-title"> - title attribute definition </a> in HTML 4.0. - @short The element's advisory title. - */ - public native String title(); - /** - see title - @short see title - */ - public native void setTitle(String arg1); - /** - Language code defined in RFC 1766. See the <a - href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-lang"> - lang attribute definition </a> in HTML 4.0. - @short Language code defined in RFC 1766. - */ - public native String lang(); - /** - see lang - @short see lang - */ - public native void setLang(String arg1); - /** - Specifies the base direction of directionally neutral text and - the directionality of tables. See the <a - href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-dir"> - dir attribute definition </a> in HTML 4.0. - @short Specifies the base direction of directionally neutral text and the directionality of tables. - */ - public native String dir(); - /** - see dir - @short see dir - */ - public native void setDir(String arg1); - /** - The class attribute of the element. This attribute has been - renamed due to conflicts with the "class" keyword exposed by - many languages. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-class"> - class attribute definition </a> in HTML 4.0. - @short The class attribute of the element. - */ - public native String className(); - /** - see className - @short see className - */ - public native void setClassName(String arg1); - /** - The HTML code contained in this element. - This function is not part of the DOM specifications as defined by the w3c. - @short The HTML code contained in this element. - */ - public native String innerHTML(); - /** - Set the HTML content of this node. - @short Set the HTML content of this node. - */ - public native void setInnerHTML(String html); - /** - The text contained in this element. - This function is not part of the DOM specifications as defined by the w3c. - @short The text contained in this element. - */ - public native String innerText(); - /** - Set the text content of this node. - @short Set the text content of this node. - */ - public native void setInnerText(String text); - /** - Retrieves a collection of nodes that are direct descendants of this node. - IE-specific extension. - @short Retrieves a collection of nodes that are direct descendants of this node. - */ - public native HTMLCollection children(); - /** - Retrieves a collection of all nodes that descend from this node. - IE-specific extension. - @short Retrieves a collection of all nodes that descend from this node. - */ - public native HTMLCollection all(); - public native void removeCSSProperty(String property); - public native void addCSSProperty(String property, String value); - // DOM::HTMLElement* HTMLElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED - protected native void assignOther(Node other, int elementId); -} diff --git a/kdejava/koala/org/kde/koala/HTMLFieldSetElement.java b/kdejava/koala/org/kde/koala/HTMLFieldSetElement.java deleted file mode 100644 index 3028e9fe..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFieldSetElement.java +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Organizes form controls into logical groups. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FIELDSET"> - FIELDSET element definition </a> in HTML 4.0. - @short Organizes form controls into logical groups. - -*/ -public class HTMLFieldSetElement extends HTMLElement { - protected HTMLFieldSetElement(Class dummy){super((Class) null);} - public HTMLFieldSetElement() { - super((Class) null); - newHTMLFieldSetElement(); - } - private native void newHTMLFieldSetElement(); - public HTMLFieldSetElement(HTMLFieldSetElement other) { - super((Class) null); - newHTMLFieldSetElement(other); - } - private native void newHTMLFieldSetElement(HTMLFieldSetElement other); - public HTMLFieldSetElement(Node other) { - super((Class) null); - newHTMLFieldSetElement(other); - } - private native void newHTMLFieldSetElement(Node other); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - // DOM::HTMLFieldSetElement* HTMLFieldSetElement(DOM::HTMLFieldSetElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFontElement.java b/kdejava/koala/org/kde/koala/HTMLFontElement.java deleted file mode 100644 index bfdc7359..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFontElement.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Local change to font. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#edef-FONT"> - FONT element definition </a> in HTML 4.0. This element is - deprecated in HTML 4.0. - @short Local change to font. - -*/ -public class HTMLFontElement extends HTMLElement { - protected HTMLFontElement(Class dummy){super((Class) null);} - public HTMLFontElement() { - super((Class) null); - newHTMLFontElement(); - } - private native void newHTMLFontElement(); - public HTMLFontElement(HTMLFontElement other) { - super((Class) null); - newHTMLFontElement(other); - } - private native void newHTMLFontElement(HTMLFontElement other); - public HTMLFontElement(Node other) { - super((Class) null); - newHTMLFontElement(other); - } - private native void newHTMLFontElement(Node other); - /** - Font color. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-color-FONT"> - color attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font color. - */ - public native String color(); - /** - see color - @short see color - */ - public native void setColor(String arg1); - /** - Font face identifier. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-face-FONT"> - face attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font face identifier. - */ - public native String face(); - /** - see face - @short see face - */ - public native void setFace(String arg1); - /** - Font size. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-size-FONT"> - size attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font size. - */ - public native String size(); - /** - see size - @short see size - */ - public native void setSize(String arg1); - // DOM::HTMLFontElement* HTMLFontElement(DOM::HTMLFontElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFormCollection.java b/kdejava/koala/org/kde/koala/HTMLFormCollection.java deleted file mode 100644 index 1d85f578..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFormCollection.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - -*/ -public class HTMLFormCollection extends HTMLCollection { - protected HTMLFormCollection(Class dummy){super((Class) null);} - // DOM::HTMLFormCollection* HTMLFormCollection(DOM::NodeImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFormElement.java b/kdejava/koala/org/kde/koala/HTMLFormElement.java deleted file mode 100644 index be44305c..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFormElement.java +++ /dev/null @@ -1,129 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>FORM</code> element encompasses behavior similar to a - collection and an element. It provides direct access to the - contained input elements as well as the attributes of the form - element. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FORM"> - FORM element definition </a> in HTML 4.0. - @short The <code>FORM</code> element encompasses behavior similar to a collection and an element. - -*/ -public class HTMLFormElement extends HTMLElement { - protected HTMLFormElement(Class dummy){super((Class) null);} - public HTMLFormElement() { - super((Class) null); - newHTMLFormElement(); - } - private native void newHTMLFormElement(); - public HTMLFormElement(HTMLFormElement other) { - super((Class) null); - newHTMLFormElement(other); - } - private native void newHTMLFormElement(HTMLFormElement other); - public HTMLFormElement(Node other) { - super((Class) null); - newHTMLFormElement(other); - } - private native void newHTMLFormElement(Node other); - /** - Returns a collection of all control elements in the form. - @short Returns a collection of all control elements in the form. - */ - public native HTMLCollection elements(); - /** - The number of form controls in the form. - @short The number of form controls in the form. - */ - public native long length(); - /** - Names the form. - @short Names the form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - List of character sets supported by the server. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept-charset"> - accept-charset attribute definition </a> in HTML 4.0. - @short List of character sets supported by the server. - */ - public native String acceptCharset(); - /** - see acceptCharset - @short see acceptCharset - */ - public native void setAcceptCharset(String arg1); - /** - Server-side form handler. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-action"> - action attribute definition </a> in HTML 4.0. - @short Server-side form handler. - */ - public native String action(); - /** - see action - @short see action - */ - public native void setAction(String arg1); - /** - The content type of the submitted form, generally - "application/x-www-form-urlencoded". See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-enctype"> - enctype attribute definition </a> in HTML 4.0. - @short The content type of the submitted form, generally "application/x-www-form-urlencoded". - */ - public native String enctype(); - /** - see enctype - @short see enctype - */ - public native void setEnctype(String arg1); - /** - HTTP method used to submit form. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-method"> - method attribute definition </a> in HTML 4.0. - @short HTTP method used to submit form. - */ - public native String method(); - /** - see method - @short see method - */ - public native void setMethod(String arg1); - /** - Frame to render the resource in. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> - target attribute definition </a> in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - /** - Submits the form. It performs the same action as a submit - button. - @short Submits the form. - */ - public native void submit(); - /** - Restores a form element's default values. It performs the same - action as a reset button. - @short Restores a form element's default values. - */ - public native void reset(); - // DOM::HTMLFormElement* HTMLFormElement(DOM::HTMLFormElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFrameElement.java b/kdejava/koala/org/kde/koala/HTMLFrameElement.java deleted file mode 100644 index 6e90ecb2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFrameElement.java +++ /dev/null @@ -1,142 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Create a frame. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#edef-FRAME"> - FRAME element definition </a> in HTML 4.0. - @short Create a frame. - -*/ -public class HTMLFrameElement extends HTMLElement { - protected HTMLFrameElement(Class dummy){super((Class) null);} - public HTMLFrameElement() { - super((Class) null); - newHTMLFrameElement(); - } - private native void newHTMLFrameElement(); - public HTMLFrameElement(HTMLFrameElement other) { - super((Class) null); - newHTMLFrameElement(other); - } - private native void newHTMLFrameElement(HTMLFrameElement other); - public HTMLFrameElement(Node other) { - super((Class) null); - newHTMLFrameElement(other); - } - private native void newHTMLFrameElement(Node other); - /** - Request frame borders. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-frameborder"> - frameborder attribute definition </a> in HTML 4.0. - @short Request frame borders. - */ - public native String frameBorder(); - /** - see frameBorder - @short see frameBorder - */ - public native void setFrameBorder(String arg1); - /** - URI designating a long description of this image or frame. See - the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-longdesc-FRAME"> - longdesc attribute definition </a> in HTML 4.0. - @short URI designating a long description of this image or frame. - */ - public native String longDesc(); - /** - see longDesc - @short see longDesc - */ - public native void setLongDesc(String arg1); - /** - Frame margin height, in pixels. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginheight"> - marginheight attribute definition </a> in HTML 4.0. - @short Frame margin height, in pixels. - */ - public native String marginHeight(); - /** - see marginHeight - @short see marginHeight - */ - public native void setMarginHeight(String arg1); - /** - Frame margin width, in pixels. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginwidth"> - marginwidth attribute definition </a> in HTML 4.0. - @short Frame margin width, in pixels. - */ - public native String marginWidth(); - /** - see marginWidth - @short see marginWidth - */ - public native void setMarginWidth(String arg1); - /** - The frame name (object of the <code>target</code> attribute). - See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-name-FRAME"> - name attribute definition </a> in HTML 4.0. - @short The frame name (object of the <code>target</code> attribute). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - When true, forbid user from resizing frame. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-noresize"> - noresize attribute definition </a> in HTML 4.0. - @short When true, forbid user from resizing frame. - */ - public native boolean noResize(); - /** - see noResize - @short see noResize - */ - public native void setNoResize(boolean arg1); - /** - Specify whether or not the frame should have scrollbars. See - the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-scrolling"> - scrolling attribute definition </a> in HTML 4.0. - @short Specify whether or not the frame should have scrollbars. - */ - public native String scrolling(); - /** - see scrolling - @short see scrolling - */ - public native void setScrolling(String arg1); - /** - A URI designating the initial frame contents. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-src-FRAME"> - src attribute definition </a> in HTML 4.0. - @short A URI designating the initial frame contents. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Introduced in DOM Level 2 - Returns the document this frame contains, if there is any and - it is available, a Null document otherwise. The attribute is - read-only. - @return The content Document if available. - - @short Introduced in DOM Level 2 - */ - public native Document contentDocument(); - // DOM::HTMLFrameElement* HTMLFrameElement(DOM::HTMLFrameElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFrameSetElement.java b/kdejava/koala/org/kde/koala/HTMLFrameSetElement.java deleted file mode 100644 index a814dae1..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFrameSetElement.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Create a grid of frames. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#edef-FRAMESET"> - FRAMESET element definition </a> in HTML 4.0. - @short Create a grid of frames. - -*/ -public class HTMLFrameSetElement extends HTMLElement { - protected HTMLFrameSetElement(Class dummy){super((Class) null);} - public HTMLFrameSetElement() { - super((Class) null); - newHTMLFrameSetElement(); - } - private native void newHTMLFrameSetElement(); - public HTMLFrameSetElement(HTMLFrameSetElement other) { - super((Class) null); - newHTMLFrameSetElement(other); - } - private native void newHTMLFrameSetElement(HTMLFrameSetElement other); - public HTMLFrameSetElement(Node other) { - super((Class) null); - newHTMLFrameSetElement(other); - } - private native void newHTMLFrameSetElement(Node other); - /** - The number of columns of frames in the frameset. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-cols-FRAMESET"> - cols attribute definition </a> in HTML 4.0. - @short The number of columns of frames in the frameset. - */ - public native String cols(); - /** - see cols - @short see cols - */ - public native void setCols(String arg1); - /** - The number of rows of frames in the frameset. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-rows-FRAMESET"> - rows attribute definition </a> in HTML 4.0. - @short The number of rows of frames in the frameset. - */ - public native String rows(); - /** - see rows - @short see rows - */ - public native void setRows(String arg1); - // DOM::HTMLFrameSetElement* HTMLFrameSetElement(DOM::HTMLFrameSetElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHRElement.java b/kdejava/koala/org/kde/koala/HTMLHRElement.java deleted file mode 100644 index ee727f02..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHRElement.java +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Create a horizontal rule. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#edef-HR"> - HR element definition </a> in HTML 4.0. - @short Create a horizontal rule. - -*/ -public class HTMLHRElement extends HTMLElement { - protected HTMLHRElement(Class dummy){super((Class) null);} - public HTMLHRElement() { - super((Class) null); - newHTMLHRElement(); - } - private native void newHTMLHRElement(); - public HTMLHRElement(HTMLHRElement other) { - super((Class) null); - newHTMLHRElement(other); - } - private native void newHTMLHRElement(HTMLHRElement other); - public HTMLHRElement(Node other) { - super((Class) null); - newHTMLHRElement(other); - } - private native void newHTMLHRElement(Node other); - /** - Align the rule on the page. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-align-HR"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Align the rule on the page. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Indicates to the user agent that there should be no shading in - the rendering of this element. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-noshade"> - noshade attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Indicates to the user agent that there should be no shading in the rendering of this element. - */ - public native boolean noShade(); - /** - see noShade - @short see noShade - */ - public native void setNoShade(boolean arg1); - /** - The height of the rule. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-size-HR"> - size attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The height of the rule. - */ - public native String size(); - /** - see size - @short see size - */ - public native void setSize(String arg1); - /** - The width of the rule. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-width-HR"> - width attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The width of the rule. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLHRElement* HTMLHRElement(DOM::HTMLHRElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHeadElement.java b/kdejava/koala/org/kde/koala/HTMLHeadElement.java deleted file mode 100644 index ba2a2c05..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHeadElement.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Document head information. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-HEAD"> - HEAD element definition </a> in HTML 4.0. - @short Document head information. - -*/ -public class HTMLHeadElement extends HTMLElement { - protected HTMLHeadElement(Class dummy){super((Class) null);} - public HTMLHeadElement() { - super((Class) null); - newHTMLHeadElement(); - } - private native void newHTMLHeadElement(); - public HTMLHeadElement(HTMLHeadElement other) { - super((Class) null); - newHTMLHeadElement(other); - } - private native void newHTMLHeadElement(HTMLHeadElement other); - public HTMLHeadElement(Node other) { - super((Class) null); - newHTMLHeadElement(other); - } - private native void newHTMLHeadElement(Node other); - /** - URI designating a metadata profile. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-profile"> - profile attribute definition </a> in HTML 4.0. - @short URI designating a metadata profile. - */ - public native String profile(); - /** - see profile - @short see profile - */ - public native void setProfile(String arg1); - // DOM::HTMLHeadElement* HTMLHeadElement(DOM::HTMLHeadElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHeadingElement.java b/kdejava/koala/org/kde/koala/HTMLHeadingElement.java deleted file mode 100644 index 07e92511..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHeadingElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - For the <code>H1</code> to <code>H6</code> elements. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-H1"> - H1 element definition </a> in HTML 4.0. - @short For the <code>H1</code> to <code>H6</code> elements. - -*/ -public class HTMLHeadingElement extends HTMLElement { - protected HTMLHeadingElement(Class dummy){super((Class) null);} - public HTMLHeadingElement() { - super((Class) null); - newHTMLHeadingElement(); - } - private native void newHTMLHeadingElement(); - public HTMLHeadingElement(HTMLHeadingElement other) { - super((Class) null); - newHTMLHeadingElement(other); - } - private native void newHTMLHeadingElement(HTMLHeadingElement other); - public HTMLHeadingElement(Node other) { - super((Class) null); - newHTMLHeadingElement(other); - } - private native void newHTMLHeadingElement(Node other); - /** - Horizontal text alignment. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-align"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal text alignment. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLHeadingElement* HTMLHeadingElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHtmlElement.java b/kdejava/koala/org/kde/koala/HTMLHtmlElement.java deleted file mode 100644 index 264f3f79..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHtmlElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Root of an HTML document. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-HTML"> - HTML element definition </a> in HTML 4.0. - @short Root of an HTML document. - -*/ -public class HTMLHtmlElement extends HTMLElement { - protected HTMLHtmlElement(Class dummy){super((Class) null);} - public HTMLHtmlElement() { - super((Class) null); - newHTMLHtmlElement(); - } - private native void newHTMLHtmlElement(); - public HTMLHtmlElement(HTMLHtmlElement other) { - super((Class) null); - newHTMLHtmlElement(other); - } - private native void newHTMLHtmlElement(HTMLHtmlElement other); - public HTMLHtmlElement(Node other) { - super((Class) null); - newHTMLHtmlElement(other); - } - private native void newHTMLHtmlElement(Node other); - /** - Version information about the document's DTD. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-version"> - version attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Version information about the document's DTD. - */ - public native String version(); - /** - see version - @short see version - */ - public native void setVersion(String arg1); - // DOM::HTMLHtmlElement* HTMLHtmlElement(DOM::HTMLHtmlElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLIFrameElement.java b/kdejava/koala/org/kde/koala/HTMLIFrameElement.java deleted file mode 100644 index 591ed864..00000000 --- a/kdejava/koala/org/kde/koala/HTMLIFrameElement.java +++ /dev/null @@ -1,168 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Inline subwindows. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#edef-IFRAME"> - IFRAME element definition </a> in HTML 4.0. - @short Inline subwindows. - -*/ -public class HTMLIFrameElement extends HTMLElement { - protected HTMLIFrameElement(Class dummy){super((Class) null);} - public HTMLIFrameElement() { - super((Class) null); - newHTMLIFrameElement(); - } - private native void newHTMLIFrameElement(); - public HTMLIFrameElement(HTMLIFrameElement other) { - super((Class) null); - newHTMLIFrameElement(other); - } - private native void newHTMLIFrameElement(HTMLIFrameElement other); - public HTMLIFrameElement(Node other) { - super((Class) null); - newHTMLIFrameElement(other); - } - private native void newHTMLIFrameElement(Node other); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Request frame borders. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-frameborder"> - frameborder attribute definition </a> in HTML 4.0. - @short Request frame borders. - */ - public native String frameBorder(); - /** - see frameBorder - @short see frameBorder - */ - public native void setFrameBorder(String arg1); - /** - Frame height. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-height-IFRAME"> - height attribute definition </a> in HTML 4.0. - @short Frame height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - URI designating a long description of this image or frame. See - the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-longdesc-IFRAME"> - longdesc attribute definition </a> in HTML 4.0. - @short URI designating a long description of this image or frame. - */ - public native String longDesc(); - /** - see longDesc - @short see longDesc - */ - public native void setLongDesc(String arg1); - /** - Frame margin height, in pixels. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginheight"> - marginheight attribute definition </a> in HTML 4.0. - @short Frame margin height, in pixels. - */ - public native String marginHeight(); - /** - see marginHeight - @short see marginHeight - */ - public native void setMarginHeight(String arg1); - /** - Frame margin width, in pixels. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginwidth"> - marginwidth attribute definition </a> in HTML 4.0. - @short Frame margin width, in pixels. - */ - public native String marginWidth(); - /** - see marginWidth - @short see marginWidth - */ - public native void setMarginWidth(String arg1); - /** - The frame name (object of the <code>target</code> attribute). - See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-name-IFRAME"> - name attribute definition </a> in HTML 4.0. - @short The frame name (object of the <code>target</code> attribute). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Specify whether or not the frame should have scrollbars. See - the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-scrolling"> - scrolling attribute definition </a> in HTML 4.0. - @short Specify whether or not the frame should have scrollbars. - */ - public native String scrolling(); - /** - see scrolling - @short see scrolling - */ - public native void setScrolling(String arg1); - /** - A URI designating the initial frame contents. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-src-FRAME"> - src attribute definition </a> in HTML 4.0. - @short A URI designating the initial frame contents. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Frame width. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-width-IFRAME"> - width attribute definition </a> in HTML 4.0. - @short Frame width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - /** - Introduced in DOM Level 2 - Returns the document this iframe contains, if there is any and - it is available, a Null document otherwise. The attribute is - read-only. - @return The content Document if available. - - @short Introduced in DOM Level 2 - */ - public native Document contentDocument(); - // DOM::HTMLIFrameElement* HTMLIFrameElement(DOM::HTMLIFrameElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLImageElement.java b/kdejava/koala/org/kde/koala/HTMLImageElement.java deleted file mode 100644 index 2e2e5301..00000000 --- a/kdejava/koala/org/kde/koala/HTMLImageElement.java +++ /dev/null @@ -1,189 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Embedded image. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-IMG"> - IMG element definition </a> in HTML 4.0. - @short Embedded image. - -*/ -public class HTMLImageElement extends HTMLElement { - protected HTMLImageElement(Class dummy){super((Class) null);} - public HTMLImageElement() { - super((Class) null); - newHTMLImageElement(); - } - private native void newHTMLImageElement(); - public HTMLImageElement(HTMLImageElement other) { - super((Class) null); - newHTMLImageElement(other); - } - private native void newHTMLImageElement(HTMLImageElement other); - public HTMLImageElement(Node other) { - super((Class) null); - newHTMLImageElement(other); - } - private native void newHTMLImageElement(Node other); - /** - The name of the element (for backwards compatibility). - @short The name of the element (for backwards compatibility). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt"> - alt attribute definition </a> in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Width of border around image. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-border-IMG"> - border attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Width of border around image. - */ - public native String getBorder(); - /** - see border - @short see border - */ - public native void setBorder(String arg1); - /** - Override height. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-height-IMG"> - height attribute definition </a> in HTML 4.0. - @short Override height. - */ - public native long height(); - /** - see height - @short see height - */ - public native void setHeight(long arg1); - /** - Horizontal space to the left and right of this image. See the - <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-hspace"> - hspace attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal space to the left and right of this image. - */ - public native long hspace(); - /** - see hspace - @short see hspace - */ - public native void setHspace(long arg1); - /** - Use server-side image map. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-ismap"> - ismap attribute definition </a> in HTML 4.0. - @short Use server-side image map. - */ - public native boolean isMap(); - /** - see isMap - @short see isMap - */ - public native void setIsMap(boolean arg1); - /** - URI designating a long description of this image or frame. See - the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-longdesc-IMG"> - longdesc attribute definition </a> in HTML 4.0. - @short URI designating a long description of this image or frame. - */ - public native String longDesc(); - /** - see longDesc - @short see longDesc - */ - public native void setLongDesc(String arg1); - /** - URI designating the source of this image. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-src-IMG"> - src attribute definition </a> in HTML 4.0. - @short URI designating the source of this image. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Use client-side image map. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-usemap"> - usemap attribute definition </a> in HTML 4.0. - @short Use client-side image map. - */ - public native String useMap(); - /** - see useMap - @short see useMap - */ - public native void setUseMap(String arg1); - /** - Vertical space above and below this image. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-vspace"> - vspace attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Vertical space above and below this image. - */ - public native long vspace(); - /** - see vspace - @short see vspace - */ - public native void setVspace(long arg1); - /** - Override width. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-width-IMG"> - width attribute definition </a> in HTML 4.0. - @short Override width. - */ - public native long width(); - /** - see width - @short see width - */ - public native void setWidth(long arg1); - /** - Nonstandard extension to DOM.ImgElement - @short Nonstandard extension to DOM.ImgElement - */ - public native long x(); - public native long y(); - // DOM::HTMLImageElement* HTMLImageElement(DOM::HTMLImageElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLInputElement.java b/kdejava/koala/org/kde/koala/HTMLInputElement.java deleted file mode 100644 index 1abbe641..00000000 --- a/kdejava/koala/org/kde/koala/HTMLInputElement.java +++ /dev/null @@ -1,284 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Form control. Note. Depending upon the environment the page is - being viewed, the value property may be read-only for the file - upload input type. For the "password" input type, the actual value - returned may be masked to prevent unauthorized use. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-INPUT"> - INPUT element definition </a> in HTML 4.0. - @short Form control. - -*/ -public class HTMLInputElement extends HTMLElement { - protected HTMLInputElement(Class dummy){super((Class) null);} - public HTMLInputElement() { - super((Class) null); - newHTMLInputElement(); - } - private native void newHTMLInputElement(); - public HTMLInputElement(HTMLInputElement other) { - super((Class) null); - newHTMLInputElement(other); - } - private native void newHTMLInputElement(HTMLInputElement other); - public HTMLInputElement(Node other) { - super((Class) null); - newHTMLInputElement(other); - } - private native void newHTMLInputElement(Node other); - /** - Stores the initial control value (i.e., the initial value of - <code>value</code> ). - @short Stores the initial control value (i. - */ - public native String defaultValue(); - /** - see defaultValue - @short see defaultValue - */ - public native void setDefaultValue(String arg1); - /** - When <code>type</code> has the value "Radio" or "Checkbox", - stores the initial value of the <code>checked</code> - attribute. - @short When <code>type</code> has the value "Radio" or "Checkbox", stores the initial value of the <code>checked</code> attribute. - */ - public native boolean defaultChecked(); - /** - see defaultChecked - @short see defaultChecked - */ - public native void setDefaultChecked(boolean arg1); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - A comma-separated list of content types that a server - processing this form will handle correctly. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept"> - accept attribute definition </a> in HTML 4.0. - @short A comma-separated list of content types that a server processing this form will handle correctly. - */ - public native String accept(); - /** - see accept - @short see accept - */ - public native void setAccept(String arg1); - /** - A single character access key to give access to the form - control. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> - accesskey attribute definition </a> in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt"> - alt attribute definition </a> in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Describes whether a radio or check box is checked, when - <code>type</code> has the value "Radio" or "Checkbox". The value is - true if explicitly set. Represents the current state of the - checkbox or radio button. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-checked"> - checked attribute definition </a> in HTML 4.0. - @short Describes whether a radio or check box is checked, when <code>type</code> has the value "Radio" or "Checkbox". - */ - public native boolean checked(); - /** - see checked - @short see checked - */ - public native void setChecked(boolean arg1); - /** - The control is unavailable in this context. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled"> - disabled attribute definition </a> in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Maximum number of characters for text fields, when <code>type</code> - has the value "Text" or "Password". See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-maxlength"> - maxlength attribute definition </a> in HTML 4.0. - @short Maximum number of characters for text fields, when <code>type</code> has the value "Text" or "Password". - */ - public native long maxLength(); - /** - see maxLength - @short see maxLength - */ - public native void setMaxLength(long arg1); - /** - Form control or object name when submitted with a form. See the - <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-INPUT"> - name attribute definition </a> in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - This control is read-only. When <code>type</code> has the - value "text" or "password" only. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-readonly"> - readonly attribute definition </a> in HTML 4.0. - @short This control is read-only. - */ - public native boolean readOnly(); - /** - see readOnly - @short see readOnly - */ - public native void setReadOnly(boolean arg1); - /** - Size information. The precise meaning is specific to each type - of field. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-size-INPUT"> - size attribute definition </a> in HTML 4.0. - @short Size information. - */ - public native long getSize(); - /** - see getSize - @short see getSize - */ - public native void setSize(long arg1); - /** - When the <code>type</code> attribute has the value "Image", - this attribute specifies the location of the image to be used - to decorate the graphical submit button. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-src"> - src attribute definition </a> in HTML 4.0. - @short When the <code>type</code> attribute has the value "Image", this attribute specifies the location of the image to be used to decorate the graphical submit button. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex"> - tabindex attribute definition </a> in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - The type of control created. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-type-INPUT"> - type attribute definition </a> in HTML 4.0. - @short The type of control created. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Use client-side image map. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-usemap"> - usemap attribute definition </a> in HTML 4.0. - @short Use client-side image map. - */ - public native String useMap(); - /** - see useMap - @short see useMap - */ - public native void setUseMap(String arg1); - /** - The current form control value. Used for radio buttons and - check boxes. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-value-INPUT"> - value attribute definition </a> in HTML 4.0. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - /** - Select the contents of the text area. For <code>INPUT</code> - elements whose <code>type</code> attribute has one of the - following values: "Text", "File", or "Password". - @short Select the contents of the text area. - */ - public native void select(); - /** - Simulate a mouse-click. For <code>INPUT</code> elements whose - <code>type</code> attribute has one of the following values: - "Button", "Checkbox", "Radio", "Reset", or "Submit". - @short Simulate a mouse-click. - */ - public native void click(); - // DOM::HTMLInputElement* HTMLInputElement(DOM::HTMLInputElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLIsIndexElement.java b/kdejava/koala/org/kde/koala/HTMLIsIndexElement.java deleted file mode 100644 index 2cc3eaa8..00000000 --- a/kdejava/koala/org/kde/koala/HTMLIsIndexElement.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This element is used for single-line text input. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-ISINDEX"> - ISINDEX element definition </a> in HTML 4.0. This element is - deprecated in HTML 4.0. - @short This element is used for single-line text input. - -*/ -public class HTMLIsIndexElement extends HTMLElement { - protected HTMLIsIndexElement(Class dummy){super((Class) null);} - public HTMLIsIndexElement() { - super((Class) null); - newHTMLIsIndexElement(); - } - private native void newHTMLIsIndexElement(); - public HTMLIsIndexElement(HTMLIsIndexElement other) { - super((Class) null); - newHTMLIsIndexElement(other); - } - private native void newHTMLIsIndexElement(HTMLIsIndexElement other); - public HTMLIsIndexElement(Node other) { - super((Class) null); - newHTMLIsIndexElement(other); - } - private native void newHTMLIsIndexElement(Node other); - /** - ### KDE 4.0: remove - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - The prompt message. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-prompt"> - prompt attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The prompt message. - */ - public native String prompt(); - /** - see prompt - @short see prompt - */ - public native void setPrompt(String arg1); - // DOM::HTMLIsIndexElement* HTMLIsIndexElement(DOM::HTMLIsIndexElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLLIElement.java b/kdejava/koala/org/kde/koala/HTMLLIElement.java deleted file mode 100644 index 101e6db8..00000000 --- a/kdejava/koala/org/kde/koala/HTMLLIElement.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - List item. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-LI"> - LI element definition </a> in HTML 4.0. - @short List item. - -*/ -public class HTMLLIElement extends HTMLElement { - protected HTMLLIElement(Class dummy){super((Class) null);} - public HTMLLIElement() { - super((Class) null); - newHTMLLIElement(); - } - private native void newHTMLLIElement(); - public HTMLLIElement(HTMLLIElement other) { - super((Class) null); - newHTMLLIElement(other); - } - private native void newHTMLLIElement(HTMLLIElement other); - public HTMLLIElement(Node other) { - super((Class) null); - newHTMLLIElement(other); - } - private native void newHTMLLIElement(Node other); - /** - List item bullet style. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-type-LI"> - type attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short List item bullet style. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Reset sequence number when used in <code>OL</code> See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-value-LI"> - value attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Reset sequence number when used in <code>OL</code> See the <a href="http://www. - */ - public native long value(); - /** - see value - @short see value - */ - public native void setValue(long arg1); - // DOM::HTMLLIElement* HTMLLIElement(DOM::HTMLLIElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLLabelElement.java b/kdejava/koala/org/kde/koala/HTMLLabelElement.java deleted file mode 100644 index b8498e66..00000000 --- a/kdejava/koala/org/kde/koala/HTMLLabelElement.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Form field label text. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-LABEL"> - LABEL element definition </a> in HTML 4.0. - @short Form field label text. - -*/ -public class HTMLLabelElement extends HTMLElement { - protected HTMLLabelElement(Class dummy){super((Class) null);} - public HTMLLabelElement() { - super((Class) null); - newHTMLLabelElement(); - } - private native void newHTMLLabelElement(); - public HTMLLabelElement(HTMLLabelElement other) { - super((Class) null); - newHTMLLabelElement(other); - } - private native void newHTMLLabelElement(HTMLLabelElement other); - public HTMLLabelElement(Node other) { - super((Class) null); - newHTMLLabelElement(other); - } - private native void newHTMLLabelElement(Node other); - /** - A single character access key to give access to the form - control. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> - accesskey attribute definition </a> in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - This attribute links this label with another form control by - <code>id</code> attribute. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-for"> - for attribute definition </a> in HTML 4.0. - @short This attribute links this label with another form control by <code>id</code> attribute. - */ - public native String htmlFor(); - /** - see htmlFor - @short see htmlFor - */ - public native void setHtmlFor(String arg1); - // DOM::HTMLLabelElement* HTMLLabelElement(DOM::HTMLLabelElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLLegendElement.java b/kdejava/koala/org/kde/koala/HTMLLegendElement.java deleted file mode 100644 index 21ca8a71..00000000 --- a/kdejava/koala/org/kde/koala/HTMLLegendElement.java +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Provides a caption for a <code>FIELDSET</code> grouping. See the - <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-LEGEND"> - LEGEND element definition </a> in HTML 4.0. - @short Provides a caption for a <code>FIELDSET</code> grouping. - -*/ -public class HTMLLegendElement extends HTMLElement { - protected HTMLLegendElement(Class dummy){super((Class) null);} - public HTMLLegendElement() { - super((Class) null); - newHTMLLegendElement(); - } - private native void newHTMLLegendElement(); - public HTMLLegendElement(HTMLLegendElement other) { - super((Class) null); - newHTMLLegendElement(other); - } - private native void newHTMLLegendElement(HTMLLegendElement other); - public HTMLLegendElement(Node other) { - super((Class) null); - newHTMLLegendElement(other); - } - private native void newHTMLLegendElement(Node other); - /** - ### KDE 4.0: remove - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - A single character access key to give access to the form - control. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> - accesskey attribute definition </a> in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Text alignment relative to <code>FIELDSET</code> . See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-align-LEGEND"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Text alignment relative to <code>FIELDSET</code> . - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLLegendElement* HTMLLegendElement(DOM::HTMLLegendElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLLinkElement.java b/kdejava/koala/org/kde/koala/HTMLLinkElement.java deleted file mode 100644 index 87c08702..00000000 --- a/kdejava/koala/org/kde/koala/HTMLLinkElement.java +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>LINK</code> element specifies a link to an external - resource, and defines this document's relationship to that resource - (or vice versa). See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#edef-LINK"> - LINK element definition </a> in HTML 4.0. - @short The <code>LINK</code> element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). - -*/ -public class HTMLLinkElement extends HTMLElement { - protected HTMLLinkElement(Class dummy){super((Class) null);} - public HTMLLinkElement() { - super((Class) null); - newHTMLLinkElement(); - } - private native void newHTMLLinkElement(); - public HTMLLinkElement(HTMLLinkElement other) { - super((Class) null); - newHTMLLinkElement(other); - } - private native void newHTMLLinkElement(HTMLLinkElement other); - public HTMLLinkElement(Node other) { - super((Class) null); - newHTMLLinkElement(other); - } - private native void newHTMLLinkElement(Node other); - /** - Enables/disables the link. This is currently only used for - style sheet links, and may be used to activate or deactivate - style sheets. - @short Enables/disables the link. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - The character encoding of the resource being linked to. See the - <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-charset"> - charset attribute definition </a> in HTML 4.0. - @short The character encoding of the resource being linked to. - */ - public native String charset(); - /** - see charset - @short see charset - */ - public native void setCharset(String arg1); - /** - The URI of the linked resource. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href"> - href attribute definition </a> in HTML 4.0. - @short The URI of the linked resource. - */ - public native String href(); - /** - see href - @short see href - */ - public native void setHref(String arg1); - /** - Language code of the linked resource. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-hreflang"> - hreflang attribute definition </a> in HTML 4.0. - @short Language code of the linked resource. - */ - public native String hreflang(); - /** - see hreflang - @short see hreflang - */ - public native void setHreflang(String arg1); - /** - Designed for use with one or more target media. See the <a - href="http://www.w3.org/TR/REC-html40/present/styles.html#adef-media"> - media attribute definition </a> in HTML 4.0. - @short Designed for use with one or more target media. - */ - public native String media(); - /** - see media - @short see media - */ - public native void setMedia(String arg1); - /** - Forward link type. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rel"> - rel attribute definition </a> in HTML 4.0. - @short Forward link type. - */ - public native String rel(); - /** - see rel - @short see rel - */ - public native void setRel(String arg1); - /** - Reverse link type. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rev"> - rev attribute definition </a> in HTML 4.0. - @short Reverse link type. - */ - public native String rev(); - /** - see rev - @short see rev - */ - public native void setRev(String arg1); - /** - Frame to render the resource in. See the <a - href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> - target attribute definition </a> in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - /** - Advisory content type. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-type-A"> - type attribute definition </a> in HTML 4.0. - @short Advisory content type. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Introduced in DOM Level 2 - This method is from the LinkStyle interface - The style sheet. - @short Introduced in DOM Level 2 This method is from the LinkStyle interface - */ - public native StyleSheet sheet(); - // DOM::HTMLLinkElement* HTMLLinkElement(DOM::HTMLLinkElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLMapElement.java b/kdejava/koala/org/kde/koala/HTMLMapElement.java deleted file mode 100644 index 7b542b9e..00000000 --- a/kdejava/koala/org/kde/koala/HTMLMapElement.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Client-side image map. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-MAP"> - MAP element definition </a> in HTML 4.0. - @short Client-side image map. - -*/ -public class HTMLMapElement extends HTMLElement { - protected HTMLMapElement(Class dummy){super((Class) null);} - public HTMLMapElement() { - super((Class) null); - newHTMLMapElement(); - } - private native void newHTMLMapElement(); - public HTMLMapElement(HTMLMapElement other) { - super((Class) null); - newHTMLMapElement(other); - } - private native void newHTMLMapElement(HTMLMapElement other); - public HTMLMapElement(Node other) { - super((Class) null); - newHTMLMapElement(other); - } - private native void newHTMLMapElement(Node other); - /** - The list of areas defined for the image map. - @short The list of areas defined for the image map. - */ - public native HTMLCollection areas(); - /** - Names the map (for use with <code>usemap</code> ). See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-name-MAP"> - name attribute definition </a> in HTML 4.0. - @short Names the map (for use with <code>usemap</code> ). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - // DOM::HTMLMapElement* HTMLMapElement(DOM::HTMLMapElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLMenuElement.java b/kdejava/koala/org/kde/koala/HTMLMenuElement.java deleted file mode 100644 index fa1597e2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLMenuElement.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Menu list. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-MENU"> - MENU element definition </a> in HTML 4.0. This element is - deprecated in HTML 4.0. - @short Menu list. - -*/ -public class HTMLMenuElement extends HTMLElement { - protected HTMLMenuElement(Class dummy){super((Class) null);} - public HTMLMenuElement() { - super((Class) null); - newHTMLMenuElement(); - } - private native void newHTMLMenuElement(); - public HTMLMenuElement(HTMLMenuElement other) { - super((Class) null); - newHTMLMenuElement(other); - } - private native void newHTMLMenuElement(HTMLMenuElement other); - public HTMLMenuElement(Node other) { - super((Class) null); - newHTMLMenuElement(other); - } - private native void newHTMLMenuElement(Node other); - /** - Reduce spacing between list items. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-compact"> - compact attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - // DOM::HTMLMenuElement* HTMLMenuElement(DOM::HTMLMenuElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLMetaElement.java b/kdejava/koala/org/kde/koala/HTMLMetaElement.java deleted file mode 100644 index 3a586633..00000000 --- a/kdejava/koala/org/kde/koala/HTMLMetaElement.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This contains generic meta-information about the document. See the - <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-META"> - META element definition </a> in HTML 4.0. - @short This contains generic meta-information about the document. - -*/ -public class HTMLMetaElement extends HTMLElement { - protected HTMLMetaElement(Class dummy){super((Class) null);} - public HTMLMetaElement() { - super((Class) null); - newHTMLMetaElement(); - } - private native void newHTMLMetaElement(); - public HTMLMetaElement(HTMLMetaElement other) { - super((Class) null); - newHTMLMetaElement(other); - } - private native void newHTMLMetaElement(HTMLMetaElement other); - public HTMLMetaElement(Node other) { - super((Class) null); - newHTMLMetaElement(other); - } - private native void newHTMLMetaElement(Node other); - /** - Associated information. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-content"> - content attribute definition </a> in HTML 4.0. - @short Associated information. - */ - public native String content(); - /** - see content - @short see content - */ - public native void setContent(String arg1); - /** - HTTP response header name. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-http-equiv"> - http-equiv attribute definition </a> in HTML 4.0. - @short HTTP response header name. - */ - public native String httpEquiv(); - /** - see httpEquiv - @short see httpEquiv - */ - public native void setHttpEquiv(String arg1); - /** - Meta information name. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-name-META"> - name attribute definition </a> in HTML 4.0. - @short Meta information name. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Select form of content. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-scheme"> - scheme attribute definition </a> in HTML 4.0. - @short Select form of content. - */ - public native String scheme(); - /** - see scheme - @short see scheme - */ - public native void setScheme(String arg1); - // DOM::HTMLMetaElement* HTMLMetaElement(DOM::HTMLMetaElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLModElement.java b/kdejava/koala/org/kde/koala/HTMLModElement.java deleted file mode 100644 index 47a570cf..00000000 --- a/kdejava/koala/org/kde/koala/HTMLModElement.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Notice of modification to part of a document. See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-ins"> - INS </a> and <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-del"> - DEL </a> element definitions in HTML 4.0. - @short Notice of modification to part of a document. - -*/ -public class HTMLModElement extends HTMLElement { - protected HTMLModElement(Class dummy){super((Class) null);} - public HTMLModElement() { - super((Class) null); - newHTMLModElement(); - } - private native void newHTMLModElement(); - public HTMLModElement(HTMLModElement other) { - super((Class) null); - newHTMLModElement(other); - } - private native void newHTMLModElement(HTMLModElement other); - public HTMLModElement(Node other) { - super((Class) null); - newHTMLModElement(other); - } - private native void newHTMLModElement(Node other); - /** - A URI designating a document that describes the reason for the - change. See the <a href="http://www.w3.org/TR/REC-html40/"> - cite attribute definition </a> in HTML 4.0. - @short A URI designating a document that describes the reason for the change. - */ - public native String cite(); - /** - see cite - @short see cite - */ - public native void setCite(String arg1); - /** - The date and time of the change. See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#adef-datetime"> - datetime attribute definition </a> in HTML 4.0. - @short The date and time of the change. - */ - public native String dateTime(); - /** - see dateTime - @short see dateTime - */ - public native void setDateTime(String arg1); - // DOM::HTMLModElement* HTMLModElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLOListElement.java b/kdejava/koala/org/kde/koala/HTMLOListElement.java deleted file mode 100644 index 81650e3b..00000000 --- a/kdejava/koala/org/kde/koala/HTMLOListElement.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Ordered list. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-OL"> - OL element definition </a> in HTML 4.0. - @short Ordered list. - -*/ -public class HTMLOListElement extends HTMLElement { - protected HTMLOListElement(Class dummy){super((Class) null);} - public HTMLOListElement() { - super((Class) null); - newHTMLOListElement(); - } - private native void newHTMLOListElement(); - public HTMLOListElement(HTMLOListElement other) { - super((Class) null); - newHTMLOListElement(other); - } - private native void newHTMLOListElement(HTMLOListElement other); - public HTMLOListElement(Node other) { - super((Class) null); - newHTMLOListElement(other); - } - private native void newHTMLOListElement(Node other); - /** - Reduce spacing between list items. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-compact"> - compact attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - /** - Starting sequence number. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-start"> - start attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Starting sequence number. - */ - public native long start(); - /** - see start - @short see start - */ - public native void setStart(long arg1); - /** - Numbering style. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-type-OL"> - type attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Numbering style. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - // DOM::HTMLOListElement* HTMLOListElement(DOM::HTMLOListElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLObjectElement.java b/kdejava/koala/org/kde/koala/HTMLObjectElement.java deleted file mode 100644 index ee1a9505..00000000 --- a/kdejava/koala/org/kde/koala/HTMLObjectElement.java +++ /dev/null @@ -1,269 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Generic embedded object. Note. In principle, all properties on the - object element are read-write but in some environments some - properties may be read-only once the underlying object is - instantiated. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-OBJECT"> - OBJECT element definition </a> in HTML 4.0. - @short Generic embedded object. - -*/ -public class HTMLObjectElement extends HTMLElement { - protected HTMLObjectElement(Class dummy){super((Class) null);} - public HTMLObjectElement() { - super((Class) null); - newHTMLObjectElement(); - } - private native void newHTMLObjectElement(); - public HTMLObjectElement(HTMLObjectElement other) { - super((Class) null); - newHTMLObjectElement(other); - } - private native void newHTMLObjectElement(HTMLObjectElement other); - public HTMLObjectElement(Node other) { - super((Class) null); - newHTMLObjectElement(other); - } - private native void newHTMLObjectElement(Node other); - /** - Returns the <code>FORM</code> element containing this - control. Returns null if this control is not within the context - of a form. - @short Returns the <code>FORM</code> element containing this control. - */ - public native HTMLFormElement formElement(); - /** - Applet class file. See the <code>code</code> attribute for - HTMLAppletElement. - @short Applet class file. - */ - public native String code(); - /** - see code - @short see code - */ - public native void setCode(String arg1); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Space-separated list of archives. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-archive-OBJECT"> - archive attribute definition </a> in HTML 4.0. - @short Space-separated list of archives. - */ - public native String archive(); - /** - see archive - @short see archive - */ - public native void setArchive(String arg1); - /** - Width of border around the object. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-border"> - border attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Width of border around the object. - */ - public native String border(); - /** - see border - @short see border - */ - public native void setBorder(String arg1); - /** - Base URI for <code>classid</code> , <code>data</code> , and - <code>archive</code> attributes. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codebase-OBJECT"> - codebase attribute definition </a> in HTML 4.0. - @short Base URI for <code>classid</code> , <code>data</code> , and <code>archive</code> attributes. - */ - public native String codeBase(); - /** - see codeBase - @short see codeBase - */ - public native void setCodeBase(String arg1); - /** - Content type for data downloaded via <code>classid</code> - attribute. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codetype"> - codetype attribute definition </a> in HTML 4.0. - @short Content type for data downloaded via <code>classid</code> attribute. - */ - public native String codeType(); - /** - see codeType - @short see codeType - */ - public native void setCodeType(String arg1); - /** - A URI specifying the location of the object's data. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-data"> - data attribute definition </a> in HTML 4.0. - @short A URI specifying the location of the object's data. - */ - public native String data(); - /** - see data - @short see data - */ - public native void setData(String arg1); - /** - Declare (for future reference), but do not instantiate, this - object. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-declare"> - declare attribute definition </a> in HTML 4.0. - @short Declare (for future reference), but do not instantiate, this object. - */ - public native boolean declare(); - /** - see declare - @short see declare - */ - public native void setDeclare(boolean arg1); - /** - Override height. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-height-IMG"> - height attribute definition </a> in HTML 4.0. - @short Override height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - Horizontal space, in pixels, to the left and right of this image, applet, - or object. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-hspace"> - hspace attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal space, in pixels, to the left and right of this image, applet, or object. - */ - public native long getHspace(); - /** - see hspace - @short see hspace - */ - public native void setHspace(long arg1); - /** - Form control or object name when submitted with a form. See the - <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-INPUT"> - name attribute definition </a> in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Message to render while loading the object. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-standby"> - standby attribute definition </a> in HTML 4.0. - @short Message to render while loading the object. - */ - public native String standby(); - /** - see standby - @short see standby - */ - public native void setStandby(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex"> - tabindex attribute definition </a> in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Content type for data downloaded via <code>data</code> - attribute. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-type-OBJECT"> - type attribute definition </a> in HTML 4.0. - @short Content type for data downloaded via <code>data</code> attribute. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Use client-side image map. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-usemap"> - usemap attribute definition </a> in HTML 4.0. - @short Use client-side image map. - */ - public native String useMap(); - /** - see useMap - @short see useMap - */ - public native void setUseMap(String arg1); - /** - Vertical space, in pixels, above and below this image, applet, or object. - See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-vspace"> - vspace attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Vertical space, in pixels, above and below this image, applet, or object. - */ - public native long getVspace(); - /** - see vspace - @short see vspace - */ - public native void setVspace(long arg1); - /** - Override width. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-width-IMG"> - width attribute definition </a> in HTML 4.0. - @short Override width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - /** - Introduced in DOM Level 2 - Returns the document this iframe contains, if there is any and - it is available, a Null document otherwise. The attribute is - read-only. - @return The content Document if available. - - @short Introduced in DOM Level 2 - */ - public native Document contentDocument(); - // DOM::HTMLObjectElement* HTMLObjectElement(DOM::HTMLObjectElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLOptGroupElement.java b/kdejava/koala/org/kde/koala/HTMLOptGroupElement.java deleted file mode 100644 index 2bdab36f..00000000 --- a/kdejava/koala/org/kde/koala/HTMLOptGroupElement.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Group options together in logical subdivisions. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-OPTGROUP"> - OPTGROUP element definition </a> in HTML 4.0. - @short Group options together in logical subdivisions. - -*/ -public class HTMLOptGroupElement extends HTMLElement { - protected HTMLOptGroupElement(Class dummy){super((Class) null);} - public HTMLOptGroupElement() { - super((Class) null); - newHTMLOptGroupElement(); - } - private native void newHTMLOptGroupElement(); - public HTMLOptGroupElement(HTMLOptGroupElement other) { - super((Class) null); - newHTMLOptGroupElement(other); - } - private native void newHTMLOptGroupElement(HTMLOptGroupElement other); - public HTMLOptGroupElement(Node other) { - super((Class) null); - newHTMLOptGroupElement(other); - } - private native void newHTMLOptGroupElement(Node other); - /** - The control is unavailable in this context. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled"> - disabled attribute definition </a> in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Assigns a label to this option group. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-label-OPTGROUP"> - label attribute definition </a> in HTML 4.0. - @short Assigns a label to this option group. - */ - public native String label(); - /** - see label - @short see label - */ - public native void setLabel(String arg1); - // DOM::HTMLOptGroupElement* HTMLOptGroupElement(DOM::HTMLOptGroupElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLOptionElement.java b/kdejava/koala/org/kde/koala/HTMLOptionElement.java deleted file mode 100644 index 7aeb1f77..00000000 --- a/kdejava/koala/org/kde/koala/HTMLOptionElement.java +++ /dev/null @@ -1,115 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A selectable choice. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-OPTION"> - OPTION element definition </a> in HTML 4.0. - @short A selectable choice. - -*/ -public class HTMLOptionElement extends HTMLElement { - protected HTMLOptionElement(Class dummy){super((Class) null);} - public HTMLOptionElement() { - super((Class) null); - newHTMLOptionElement(); - } - private native void newHTMLOptionElement(); - public HTMLOptionElement(HTMLOptionElement other) { - super((Class) null); - newHTMLOptionElement(other); - } - private native void newHTMLOptionElement(HTMLOptionElement other); - public HTMLOptionElement(Node other) { - super((Class) null); - newHTMLOptionElement(other); - } - private native void newHTMLOptionElement(Node other); - /** - ### KDE 4.0: remove - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - Stores the initial value of the <code>selected</code> - attribute. - @short Stores the initial value of the <code>selected</code> attribute. - */ - public native boolean defaultSelected(); - /** - see defaultSelected - @short see defaultSelected - */ - public native void setDefaultSelected(boolean arg1); - /** - The text contained within the option element. - @short The text contained within the option element. - */ - public native String text(); - /** - The index of this <code>OPTION</code> in its parent - <code>SELECT</code> . - @short The index of this <code>OPTION</code> in its parent <code>SELECT</code> . - */ - public native long index(); - /** - see index - This function is obsolete - the index property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see index - */ - public native void setIndex(long arg1); - /** - The control is unavailable in this context. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled"> - disabled attribute definition </a> in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Option label for use in hierarchical menus. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-label-OPTION"> - label attribute definition </a> in HTML 4.0. - @short Option label for use in hierarchical menus. - */ - public native String label(); - /** - see label - @short see label - */ - public native void setLabel(String arg1); - /** - Means that this option is initially selected. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-selected"> - selected attribute definition </a> in HTML 4.0. - @short Means that this option is initially selected. - */ - public native boolean selected(); - /** - see selected - @short see selected - */ - public native void setSelected(boolean arg1); - /** - The current form control value. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-value-OPTION"> - value attribute definition </a> in HTML 4.0. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - // DOM::HTMLOptionElement* HTMLOptionElement(DOM::HTMLOptionElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLParagraphElement.java b/kdejava/koala/org/kde/koala/HTMLParagraphElement.java deleted file mode 100644 index 5f5358c2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLParagraphElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Paragraphs. See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-P"> P - element definition </a> in HTML 4.0. - @short Paragraphs. - -*/ -public class HTMLParagraphElement extends HTMLElement { - protected HTMLParagraphElement(Class dummy){super((Class) null);} - public HTMLParagraphElement() { - super((Class) null); - newHTMLParagraphElement(); - } - private native void newHTMLParagraphElement(); - public HTMLParagraphElement(HTMLParagraphElement other) { - super((Class) null); - newHTMLParagraphElement(other); - } - private native void newHTMLParagraphElement(HTMLParagraphElement other); - public HTMLParagraphElement(Node other) { - super((Class) null); - newHTMLParagraphElement(other); - } - private native void newHTMLParagraphElement(Node other); - /** - Horizontal text alignment. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-align"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal text alignment. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLParagraphElement* HTMLParagraphElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLParamElement.java b/kdejava/koala/org/kde/koala/HTMLParamElement.java deleted file mode 100644 index f72bed39..00000000 --- a/kdejava/koala/org/kde/koala/HTMLParamElement.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Parameters fed to the <code>OBJECT</code> element. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-PARAM"> - PARAM element definition </a> in HTML 4.0. - @short Parameters fed to the <code>OBJECT</code> element. - -*/ -public class HTMLParamElement extends HTMLElement { - protected HTMLParamElement(Class dummy){super((Class) null);} - public HTMLParamElement() { - super((Class) null); - newHTMLParamElement(); - } - private native void newHTMLParamElement(); - public HTMLParamElement(HTMLParamElement other) { - super((Class) null); - newHTMLParamElement(other); - } - private native void newHTMLParamElement(HTMLParamElement other); - public HTMLParamElement(Node other) { - super((Class) null); - newHTMLParamElement(other); - } - private native void newHTMLParamElement(Node other); - /** - The name of a run-time parameter. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-name-PARAM"> - name attribute definition </a> in HTML 4.0. - @short The name of a run-time parameter. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Content type for the <code>value</code> attribute when - <code>valuetype</code> has the value "ref". See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-type-PARAM"> - type attribute definition </a> in HTML 4.0. - @short Content type for the <code>value</code> attribute when <code>valuetype</code> has the value "ref". - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - The value of a run-time parameter. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-value-PARAM"> - value attribute definition </a> in HTML 4.0. - @short The value of a run-time parameter. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Information about the meaning of the <code>value</code> - attribute value. See the <a - href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-valuetype"> - valuetype attribute definition </a> in HTML 4.0. - @short Information about the meaning of the <code>value</code> attribute value. - */ - public native String valueType(); - /** - see valueType - @short see valueType - */ - public native void setValueType(String arg1); - // DOM::HTMLParamElement* HTMLParamElement(DOM::HTMLParamElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLPreElement.java b/kdejava/koala/org/kde/koala/HTMLPreElement.java deleted file mode 100644 index fadbe50c..00000000 --- a/kdejava/koala/org/kde/koala/HTMLPreElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Preformatted text. See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-PRE"> - PRE element definition </a> in HTML 4.0. - @short Preformatted text. - -*/ -public class HTMLPreElement extends HTMLElement { - protected HTMLPreElement(Class dummy){super((Class) null);} - public HTMLPreElement() { - super((Class) null); - newHTMLPreElement(); - } - private native void newHTMLPreElement(); - public HTMLPreElement(HTMLPreElement other) { - super((Class) null); - newHTMLPreElement(other); - } - private native void newHTMLPreElement(HTMLPreElement other); - public HTMLPreElement(Node other) { - super((Class) null); - newHTMLPreElement(other); - } - private native void newHTMLPreElement(Node other); - /** - Fixed width for content. See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#adef-width-PRE"> - width attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Fixed width for content. - */ - public native long width(); - /** - see width - @short see width - */ - public native void setWidth(long arg1); - // DOM::HTMLPreElement* HTMLPreElement(DOM::HTMLPreElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLQuoteElement.java b/kdejava/koala/org/kde/koala/HTMLQuoteElement.java deleted file mode 100644 index 3ea8ef0f..00000000 --- a/kdejava/koala/org/kde/koala/HTMLQuoteElement.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - For the <code>Q</code> and <code>BLOCKTQUOTE</code> elements. - See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-Q"> Q - element definition </a> in HTML 4.0. - Note: The DOM is not quite consistent here. They also define the - HTMLBlockQuoteElement interface, to represent the <code>BLOCKTQUOTE</code> - element. To resolve ambiquities, we use this one for the <code>Q</code> - element only. - @short For the <code>Q</code> and <code>BLOCKTQUOTE</code> elements. - -*/ -public class HTMLQuoteElement extends HTMLElement { - protected HTMLQuoteElement(Class dummy){super((Class) null);} - public HTMLQuoteElement() { - super((Class) null); - newHTMLQuoteElement(); - } - private native void newHTMLQuoteElement(); - public HTMLQuoteElement(HTMLQuoteElement other) { - super((Class) null); - newHTMLQuoteElement(other); - } - private native void newHTMLQuoteElement(HTMLQuoteElement other); - public HTMLQuoteElement(Node other) { - super((Class) null); - newHTMLQuoteElement(other); - } - private native void newHTMLQuoteElement(Node other); - /** - A URI designating a document that designates a source document - or message. See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#adef-cite-Q"> - cite attribute definition </a> in HTML 4.0. - @short A URI designating a document that designates a source document or message. - */ - public native String cite(); - /** - see cite - @short see cite - */ - public native void setCite(String arg1); - // DOM::HTMLQuoteElement* HTMLQuoteElement(DOM::HTMLGenericElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLScriptElement.java b/kdejava/koala/org/kde/koala/HTMLScriptElement.java deleted file mode 100644 index 4ad68792..00000000 --- a/kdejava/koala/org/kde/koala/HTMLScriptElement.java +++ /dev/null @@ -1,112 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Script statements. See the <a - href="http://www.w3.org/TR/REC-html40/interact/scripts.html#edef-SCRIPT"> - SCRIPT element definition </a> in HTML 4.0. - @short Script statements. - -*/ -public class HTMLScriptElement extends HTMLElement { - protected HTMLScriptElement(Class dummy){super((Class) null);} - public HTMLScriptElement() { - super((Class) null); - newHTMLScriptElement(); - } - private native void newHTMLScriptElement(); - public HTMLScriptElement(HTMLScriptElement other) { - super((Class) null); - newHTMLScriptElement(other); - } - private native void newHTMLScriptElement(HTMLScriptElement other); - public HTMLScriptElement(Node other) { - super((Class) null); - newHTMLScriptElement(other); - } - private native void newHTMLScriptElement(Node other); - /** - The script content of the element. - @short The script content of the element. - */ - public native String text(); - /** - see text - @short see text - */ - public native void setText(String arg1); - /** - Reserved for future use. - @short Reserved for future use. - */ - public native String htmlFor(); - /** - see htmlFor - @short see htmlFor - */ - public native void setHtmlFor(String arg1); - /** - Reserved for future use. - @short Reserved for future use. - */ - public native String event(); - /** - see event - @short see event - */ - public native void setEvent(String arg1); - /** - The character encoding of the linked resource. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-charset"> - charset attribute definition </a> in HTML 4.0. - @short The character encoding of the linked resource. - */ - public native String charset(); - /** - see charset - @short see charset - */ - public native void setCharset(String arg1); - /** - Indicates that the user agent can defer processing of the - script. See the <a - href="http://www.w3.org/TR/REC-html40/interact/scripts.html#adef-defer"> - defer attribute definition </a> in HTML 4.0. - @short Indicates that the user agent can defer processing of the script. - */ - public native boolean defer(); - /** - see defer - @short see defer - */ - public native void setDefer(boolean arg1); - /** - URI designating an external script. See the <a - href="http://www.w3.org/TR/REC-html40/interact/scripts.html#adef-src-SCRIPT"> - src attribute definition </a> in HTML 4.0. - @short URI designating an external script. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - The content type of the script language. See the <a - href="http://www.w3.org/TR/REC-html40/interact/scripts.html#adef-type-SCRIPT"> - type attribute definition </a> in HTML 4.0. - @short The content type of the script language. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - // DOM::HTMLScriptElement* HTMLScriptElement(DOM::HTMLScriptElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLSelectElement.java b/kdejava/koala/org/kde/koala/HTMLSelectElement.java deleted file mode 100644 index f9b11d4e..00000000 --- a/kdejava/koala/org/kde/koala/HTMLSelectElement.java +++ /dev/null @@ -1,168 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The select element allows the selection of an option. The contained - options can be directly accessed through the select element as a - collection. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-SELECT"> - SELECT element definition </a> in HTML 4.0. - @short The select element allows the selection of an option. - -*/ -public class HTMLSelectElement extends HTMLElement { - protected HTMLSelectElement(Class dummy){super((Class) null);} - public HTMLSelectElement() { - super((Class) null); - newHTMLSelectElement(); - } - private native void newHTMLSelectElement(); - public HTMLSelectElement(HTMLSelectElement other) { - super((Class) null); - newHTMLSelectElement(other); - } - private native void newHTMLSelectElement(HTMLSelectElement other); - public HTMLSelectElement(Node other) { - super((Class) null); - newHTMLSelectElement(other); - } - private native void newHTMLSelectElement(Node other); - /** - The type of control created. - @short The type of control created. - */ - public native String type(); - /** - The ordinal index of the selected option. The value -1 is - returned if no element is selected. If multiple options are - selected, the index of the first selected option is returned. - @short The ordinal index of the selected option. - */ - public native long selectedIndex(); - /** - see selectedIndex - @short see selectedIndex - */ - public native void setSelectedIndex(long arg1); - /** - The current form control value. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - The number of options in this <code>SELECT</code> . - @short The number of options in this <code>SELECT</code> . - */ - public native long length(); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - The collection of <code>OPTION</code> elements contained by - this element. - @short The collection of <code>OPTION</code> elements contained by this element. - */ - public native HTMLCollection options(); - /** - The control is unavailable in this context. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled"> - disabled attribute definition </a> in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - If true, multiple <code>OPTION</code> elements may be - selected in this <code>SELECT</code> . See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-multiple"> - multiple attribute definition </a> in HTML 4.0. - @short If true, multiple <code>OPTION</code> elements may be selected in this <code>SELECT</code> . - */ - public native boolean multiple(); - /** - see multiple - @short see multiple - */ - public native void setMultiple(boolean arg1); - /** - Form control or object name when submitted with a form. See the - <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-SELECT"> - name attribute definition </a> in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Number of visible rows. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-size-SELECT"> - size attribute definition </a> in HTML 4.0. - @short Number of visible rows. - */ - public native long size(); - /** - see size - @short see size - */ - public native void setSize(long arg1); - /** - Index that represents the element's position in the tabbing - order. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex"> - tabindex attribute definition </a> in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Add a new element to the collection of <code>OPTION</code> - elements for this <code>SELECT</code> . - @param element The element to add. - @param before The element to insert before, or 0 for the - tail of the list. - @short Add a new element to the collection of <code>OPTION</code> elements for this <code>SELECT</code> . - */ - public native void add(HTMLElement element, HTMLElement before); - /** - Remove an element from the collection of <code>OPTION</code> - elements for this <code>SELECT</code> . Does nothing if no - element has the given index. - @param index The index of the item to remove. - @short Remove an element from the collection of <code>OPTION</code> elements for this <code>SELECT</code> . - */ - public native void remove(long index); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - // DOM::HTMLSelectElement* HTMLSelectElement(DOM::HTMLSelectElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLStyleElement.java b/kdejava/koala/org/kde/koala/HTMLStyleElement.java deleted file mode 100644 index 060dd1a1..00000000 --- a/kdejava/koala/org/kde/koala/HTMLStyleElement.java +++ /dev/null @@ -1,75 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Style information. A more detailed style sheet object model is - planned to be defined in a separate document. See the <a - href="http://www.w3.org/TR/REC-html40/present/styles.html#edef-STYLE"> - STYLE element definition </a> in HTML 4.0. - @short Style information. - -*/ -public class HTMLStyleElement extends HTMLElement { - protected HTMLStyleElement(Class dummy){super((Class) null);} - public HTMLStyleElement() { - super((Class) null); - newHTMLStyleElement(); - } - private native void newHTMLStyleElement(); - public HTMLStyleElement(HTMLStyleElement other) { - super((Class) null); - newHTMLStyleElement(other); - } - private native void newHTMLStyleElement(HTMLStyleElement other); - public HTMLStyleElement(Node other) { - super((Class) null); - newHTMLStyleElement(other); - } - private native void newHTMLStyleElement(Node other); - /** - Enables/disables the style sheet. - @short Enables/disables the style sheet. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Designed for use with one or more target media. See the <a - href="http://www.w3.org/TR/REC-html40/present/styles.html#adef-media"> - media attribute definition </a> in HTML 4.0. - @short Designed for use with one or more target media. - */ - public native String media(); - /** - see media - @short see media - */ - public native void setMedia(String arg1); - /** - The style sheet language (Internet media type). See the <a - href="http://www.w3.org/TR/REC-html40/present/styles.html#adef-type-STYLE"> - type attribute definition </a> in HTML 4.0. - @short The style sheet language (Internet media type). - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Introduced in DOM Level 2 - This method is from the LinkStyle interface - The style sheet. - @short Introduced in DOM Level 2 This method is from the LinkStyle interface - */ - public native StyleSheet sheet(); - // DOM::HTMLStyleElement* HTMLStyleElement(DOM::HTMLStyleElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableCaptionElement.java b/kdejava/koala/org/kde/koala/HTMLTableCaptionElement.java deleted file mode 100644 index 22460679..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableCaptionElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Table caption See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-CAPTION"> - CAPTION element definition </a> in HTML 4.0. - @short Table caption See the <a href="http://www. - -*/ -public class HTMLTableCaptionElement extends HTMLElement { - protected HTMLTableCaptionElement(Class dummy){super((Class) null);} - public HTMLTableCaptionElement() { - super((Class) null); - newHTMLTableCaptionElement(); - } - private native void newHTMLTableCaptionElement(); - public HTMLTableCaptionElement(HTMLTableCaptionElement other) { - super((Class) null); - newHTMLTableCaptionElement(other); - } - private native void newHTMLTableCaptionElement(HTMLTableCaptionElement other); - public HTMLTableCaptionElement(Node other) { - super((Class) null); - newHTMLTableCaptionElement(other); - } - private native void newHTMLTableCaptionElement(Node other); - /** - Caption alignment with respect to the table. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-align-CAPTION"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Caption alignment with respect to the table. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLTableCaptionElement* HTMLTableCaptionElement(DOM::HTMLTableCaptionElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableCellElement.java b/kdejava/koala/org/kde/koala/HTMLTableCellElement.java deleted file mode 100644 index 3802b597..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableCellElement.java +++ /dev/null @@ -1,219 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The object used to represent the <code>TH</code> and <code>TD</code> - elements. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TD"> - TD element definition </a> in HTML 4.0. - @short The object used to represent the <code>TH</code> and <code>TD</code> elements. - -*/ -public class HTMLTableCellElement extends HTMLElement { - protected HTMLTableCellElement(Class dummy){super((Class) null);} - public HTMLTableCellElement() { - super((Class) null); - newHTMLTableCellElement(); - } - private native void newHTMLTableCellElement(); - public HTMLTableCellElement(HTMLTableCellElement other) { - super((Class) null); - newHTMLTableCellElement(other); - } - private native void newHTMLTableCellElement(HTMLTableCellElement other); - public HTMLTableCellElement(Node other) { - super((Class) null); - newHTMLTableCellElement(other); - } - private native void newHTMLTableCellElement(Node other); - /** - The index of this cell in the row. - @short The index of this cell in the row. - */ - public native long cellIndex(); - /** - see cellIndex - This function is obsolete - the cellIndex property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see cellIndex - */ - public native void setCellIndex(long arg1); - /** - Abbreviation for header cells. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-abbr"> - abbr attribute definition </a> in HTML 4.0. - @short Abbreviation for header cells. - */ - public native String abbr(); - /** - see abbr - @short see abbr - */ - public native void setAbbr(String arg1); - /** - Horizontal alignment of data in cell. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-align-TD"> - align attribute definition </a> in HTML 4.0. - @short Horizontal alignment of data in cell. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Names group of related headers. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-axis"> - axis attribute definition </a> in HTML 4.0. - @short Names group of related headers. - */ - public native String axis(); - /** - see axis - @short see axis - */ - public native void setAxis(String arg1); - /** - Cell background color. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-bgcolor"> - bgcolor attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Cell background color. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - Alignment character for cells in a column. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-char"> - char attribute definition </a> in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-charoff"> - charoff attribute definition </a> in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Number of columns spanned by cell. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-colspan"> - colspan attribute definition </a> in HTML 4.0. - @short Number of columns spanned by cell. - */ - public native long colSpan(); - /** - see colSpan - @short see colSpan - */ - public native void setColSpan(long arg1); - /** - List of <code>id</code> attribute values for header cells. - See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-headers"> - headers attribute definition </a> in HTML 4.0. - @short List of <code>id</code> attribute values for header cells. - */ - public native String headers(); - /** - see headers - @short see headers - */ - public native void setHeaders(String arg1); - /** - Cell height. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-height-TH"> - height attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Cell height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - Suppress word wrapping. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-nowrap"> - nowrap attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Suppress word wrapping. - */ - public native boolean noWrap(); - /** - see noWrap - @short see noWrap - */ - public native void setNoWrap(boolean arg1); - /** - Number of rows spanned by cell. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-rowspan"> - rowspan attribute definition </a> in HTML 4.0. - @short Number of rows spanned by cell. - */ - public native long rowSpan(); - /** - see rowSpan - @short see rowSpan - */ - public native void setRowSpan(long arg1); - /** - Scope covered by header cells. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-scope"> - scope attribute definition </a> in HTML 4.0. - @short Scope covered by header cells. - */ - public native String scope(); - /** - see scope - @short see scope - */ - public native void setScope(String arg1); - /** - Vertical alignment of data in cell. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-valign"> - valign attribute definition </a> in HTML 4.0. - @short Vertical alignment of data in cell. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - Cell width. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-width-TH"> - width attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Cell width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLTableCellElement* HTMLTableCellElement(DOM::HTMLTableCellElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableColElement.java b/kdejava/koala/org/kde/koala/HTMLTableColElement.java deleted file mode 100644 index d8875248..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableColElement.java +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Regroups the <code>COL</code> and <code>COLGROUP</code> - elements. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-COL"> - COL element definition </a> in HTML 4.0. - @short Regroups the <code>COL</code> and <code>COLGROUP</code> elements. - -*/ -public class HTMLTableColElement extends HTMLElement { - protected HTMLTableColElement(Class dummy){super((Class) null);} - public HTMLTableColElement() { - super((Class) null); - newHTMLTableColElement(); - } - private native void newHTMLTableColElement(); - public HTMLTableColElement(HTMLTableColElement other) { - super((Class) null); - newHTMLTableColElement(other); - } - private native void newHTMLTableColElement(HTMLTableColElement other); - public HTMLTableColElement(Node other) { - super((Class) null); - newHTMLTableColElement(other); - } - private native void newHTMLTableColElement(Node other); - /** - Horizontal alignment of cell data in column. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-align-TD"> - align attribute definition </a> in HTML 4.0. - @short Horizontal alignment of cell data in column. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alignment character for cells in a column. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-char"> - char attribute definition </a> in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-charoff"> - charoff attribute definition </a> in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Indicates the number of columns in a group or affected by a - grouping. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-span-COL"> - span attribute definition </a> in HTML 4.0. - @short Indicates the number of columns in a group or affected by a grouping. - */ - public native long span(); - /** - see span - @short see span - */ - public native void setSpan(long arg1); - /** - Vertical alignment of cell data in column. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-valign"> - valign attribute definition </a> in HTML 4.0. - @short Vertical alignment of cell data in column. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - Default column width. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-width-COL"> - width attribute definition </a> in HTML 4.0. - @short Default column width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLTableColElement* HTMLTableColElement(DOM::HTMLTableColElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableElement.java b/kdejava/koala/org/kde/koala/HTMLTableElement.java deleted file mode 100644 index dbcadcd0..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableElement.java +++ /dev/null @@ -1,260 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The create and delete methods on the table allow authors to - construct and modify tables. HTML 4.0 specifies that only one of - each of the <code>CAPTION</code> , <code>THEAD</code> , and - <code>TFOOT</code> elements may exist in a table. Therefore, if - one exists, and the createTHead() or createTFoot() method is - called, the method returns the existing THead or TFoot element. See - the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TABLE"> - TABLE element definition </a> in HTML 4.0. - @short The create and delete methods on the table allow authors to construct and modify tables. - -*/ -public class HTMLTableElement extends HTMLElement { - protected HTMLTableElement(Class dummy){super((Class) null);} - public HTMLTableElement() { - super((Class) null); - newHTMLTableElement(); - } - private native void newHTMLTableElement(); - public HTMLTableElement(HTMLTableElement other) { - super((Class) null); - newHTMLTableElement(other); - } - private native void newHTMLTableElement(HTMLTableElement other); - public HTMLTableElement(Node other) { - super((Class) null); - newHTMLTableElement(other); - } - private native void newHTMLTableElement(Node other); - /** - Returns the table's <code>CAPTION</code> , or void if none - exists. - @short Returns the table's <code>CAPTION</code> , or void if none exists. - */ - public native HTMLTableCaptionElement caption(); - /** - see caption - @short see caption - */ - public native void setCaption(HTMLTableCaptionElement arg1); - /** - Returns the table's <code>THEAD</code> , or <code>null</code> - if none exists. - @short Returns the table's <code>THEAD</code> , or <code>null</code> if none exists. - */ - public native HTMLTableSectionElement tHead(); - /** - see tHead - @short see tHead - */ - public native void setTHead(HTMLTableSectionElement arg1); - /** - Returns the table's <code>TFOOT</code> , or <code>null</code> - if none exists. - @short Returns the table's <code>TFOOT</code> , or <code>null</code> if none exists. - */ - public native HTMLTableSectionElement tFoot(); - /** - see tFoot - @short see tFoot - */ - public native void setTFoot(HTMLTableSectionElement arg1); - /** - Returns a collection of all the rows in the table, including - all in <code>THEAD</code> , <code>TFOOT</code> , all - <code>TBODY</code> elements. - @short Returns a collection of all the rows in the table, including all in <code>THEAD</code> , <code>TFOOT</code> , all <code>TBODY</code> elements. - */ - public native HTMLCollection rows(); - /** - Returns a collection of the table bodies (including implicit ones). - @short Returns a collection of the table bodies (including implicit ones). - */ - public native HTMLCollection tBodies(); - /** - Specifies the table's position with respect to the rest of the - document. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-align-TABLE"> - align attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Specifies the table's position with respect to the rest of the document. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Cell background color. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-bgcolor"> - bgcolor attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Cell background color. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - The width of the border around the table. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-border-TABLE"> - border attribute definition </a> in HTML 4.0. - @short The width of the border around the table. - */ - public native String border(); - /** - see border - @short see border - */ - public native void setBorder(String arg1); - /** - Specifies the horizontal and vertical space between cell - content and cell borders. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-cellpadding"> - cellpadding attribute definition </a> in HTML 4.0. - @short Specifies the horizontal and vertical space between cell content and cell borders. - */ - public native String cellPadding(); - /** - see cellPadding - @short see cellPadding - */ - public native void setCellPadding(String arg1); - /** - Specifies the horizontal and vertical separation between cells. - See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-cellspacing"> - cellspacing attribute definition </a> in HTML 4.0. - @short Specifies the horizontal and vertical separation between cells. - */ - public native String cellSpacing(); - /** - see cellSpacing - @short see cellSpacing - */ - public native void setCellSpacing(String arg1); - /** - Specifies which external table borders to render. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-frame"> - frame attribute definition </a> in HTML 4.0. - @short Specifies which external table borders to render. - */ - public native String frame(); - /** - see frame - @short see frame - */ - public native void setFrame(String arg1); - /** - Specifies which internal table borders to render. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-rules"> - rules attribute definition </a> in HTML 4.0. - @short Specifies which internal table borders to render. - */ - public native String rules(); - /** - see rules - @short see rules - */ - public native void setRules(String arg1); - /** - Supplementary description about the purpose or structure of a - table. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-summary"> - summary attribute definition </a> in HTML 4.0. - @short Supplementary description about the purpose or structure of a table. - */ - public native String summary(); - /** - see summary - @short see summary - */ - public native void setSummary(String arg1); - /** - Specifies the desired table width. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-width-TABLE"> - width attribute definition </a> in HTML 4.0. - @short Specifies the desired table width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - /** - Create a table header row or return an existing one. - @return A new table header element ( <code>THEAD</code> ). - - @short Create a table header row or return an existing one. - */ - public native HTMLElement createTHead(); - /** - Delete the header from the table, if one exists. - @short Delete the header from the table, if one exists. - */ - public native void deleteTHead(); - /** - Create a table footer row or return an existing one. - @return A footer element ( <code>TFOOT</code> ). - - @short Create a table footer row or return an existing one. - */ - public native HTMLElement createTFoot(); - /** - Delete the footer from the table, if one exists. - @short Delete the footer from the table, if one exists. - */ - public native void deleteTFoot(); - /** - Create a new table caption object or return an existing one. - @return A <code>CAPTION</code> element. - - @short Create a new table caption object or return an existing one. - */ - public native HTMLElement createCaption(); - /** - Delete the table caption, if one exists. - @short Delete the table caption, if one exists. - */ - public native void deleteCaption(); - /** - Insert a new empty row in the table. - The new row is inserted immediately before and in the same section - as the current indexth row in the table. If index is -1 or equal - to the number of rows, the new row is appended. In addition, when - the table is empty the row is inserted into a TBODY which is created - and inserted into the table. - Note. A table row cannot - be empty according to HTML 4.0 Recommendation. - @param index The row number where to insert a new row. - The index starts from 0 and is relative to the logical order - (not document order) of all the rows contained inside the table. - @return The newly created row. - - @short Insert a new empty row in the table. - */ - public native HTMLElement insertRow(long index); - /** - Delete a table row. - @param index The index of the row to be deleted. - This index starts from 0 and is relative to the logical order - (not document order) of all the rows contained inside the table. - If the index is -1 the last row in the table is deleted. - @short Delete a table row. - */ - public native void deleteRow(long index); - // DOM::HTMLTableElement* HTMLTableElement(DOM::HTMLTableElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableRowElement.java b/kdejava/koala/org/kde/koala/HTMLTableRowElement.java deleted file mode 100644 index 1ad81abf..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableRowElement.java +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A row in a table. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TR"> - TR element definition </a> in HTML 4.0. - @short A row in a table. - -*/ -public class HTMLTableRowElement extends HTMLElement { - protected HTMLTableRowElement(Class dummy){super((Class) null);} - public HTMLTableRowElement() { - super((Class) null); - newHTMLTableRowElement(); - } - private native void newHTMLTableRowElement(); - public HTMLTableRowElement(HTMLTableRowElement other) { - super((Class) null); - newHTMLTableRowElement(other); - } - private native void newHTMLTableRowElement(HTMLTableRowElement other); - public HTMLTableRowElement(Node other) { - super((Class) null); - newHTMLTableRowElement(other); - } - private native void newHTMLTableRowElement(Node other); - /** - The index of this row, relative to the entire table. - This is in logical order and not in document order. - The rowIndex does take into account sections - (THEAD, TFOOT or TBODY) within the table, - placing THEAD rows first in the index, followed by - TBODY rows, followed by TFOOT rows. - @short The index of this row, relative to the entire table. - */ - public native long rowIndex(); - /** - see rowIndex - This function is obsolete - the rowIndex property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see rowIndex - */ - public native void setRowIndex(long arg1); - /** - The index of this row, relative to the current section ( - <code>THEAD</code> , <code>TFOOT</code> , or <code>TBODY</code> - ). - @short The index of this row, relative to the current section ( <code>THEAD</code> , <code>TFOOT</code> , or <code>TBODY</code> ). - */ - public native long sectionRowIndex(); - /** - see sectionRowIndex - This function is obsolete - the sectionRowIndex property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see sectionRowIndex - */ - public native void setSectionRowIndex(long arg1); - /** - The collection of cells in this row. - @short The collection of cells in this row. - */ - public native HTMLCollection cells(); - /** - see cells - This function is obsolete - the cells property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see cells - */ - public native void setCells(HTMLCollection arg1); - /** - Horizontal alignment of data within cells of this row. See the - <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-align-TD"> - align attribute definition </a> in HTML 4.0. - @short Horizontal alignment of data within cells of this row. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Background color for rows. See the <a - href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-bgcolor"> - bgcolor attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Background color for rows. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - Alignment character for cells in a column. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-char"> - char attribute definition </a> in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-charoff"> - charoff attribute definition </a> in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Vertical alignment of data within cells of this row. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-valign"> - valign attribute definition </a> in HTML 4.0. - @short Vertical alignment of data within cells of this row. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - Insert an empty <code>TD</code> cell into this row. - If index is -1 or equal to the number of cells, the new - cell is appended. - @param index The place to insert the cell. - @return The newly created cell. - - @short Insert an empty <code>TD</code> cell into this row. - */ - public native HTMLElement insertCell(long index); - /** - Delete a cell from the current row. - @param index The index of the cell to delete, starting from 0. - If the index is -1 the last cell in the row is deleted. - @short Delete a cell from the current row. - */ - public native void deleteCell(long index); - // DOM::HTMLTableRowElement* HTMLTableRowElement(DOM::HTMLTableRowElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableSectionElement.java b/kdejava/koala/org/kde/koala/HTMLTableSectionElement.java deleted file mode 100644 index b697f61b..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableSectionElement.java +++ /dev/null @@ -1,102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>THEAD</code> , <code>TFOOT</code> , and <code>TBODY</code> - elements. - @short The <code>THEAD</code> , <code>TFOOT</code> , and <code>TBODY</code> elements. - -*/ -public class HTMLTableSectionElement extends HTMLElement { - protected HTMLTableSectionElement(Class dummy){super((Class) null);} - public HTMLTableSectionElement() { - super((Class) null); - newHTMLTableSectionElement(); - } - private native void newHTMLTableSectionElement(); - public HTMLTableSectionElement(HTMLTableSectionElement other) { - super((Class) null); - newHTMLTableSectionElement(other); - } - private native void newHTMLTableSectionElement(HTMLTableSectionElement other); - public HTMLTableSectionElement(Node other) { - super((Class) null); - newHTMLTableSectionElement(other); - } - private native void newHTMLTableSectionElement(Node other); - /** - Horizontal alignment of data in cells. See the <code>align</code> - attribute for HTMLTheadElement for details. - @short Horizontal alignment of data in cells. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alignment character for cells in a column. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-char"> - char attribute definition </a> in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the <a - href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-charoff"> - charoff attribute definition </a> in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Vertical alignment of data in cells. See the <code>valign</code> - attribute for HTMLTheadElement for details. - @short Vertical alignment of data in cells. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - The collection of rows in this table section. - @short The collection of rows in this table section. - */ - public native HTMLCollection rows(); - /** - Insert a row into this section. - The new row is inserted immediately before the current indexth - row in this section. If index is -1 or equal to the number of rows - in this sectino, the new row is appended. - @param index The row number where to insert a new row. - @return The newly created row. - - @short Insert a row into this section. - */ - public native HTMLElement insertRow(long index); - /** - Delete a row from this section. - @param index The index of the row to be deleted, - or -1 to delete the last row. This index starts from 0 and is relative only - to the rows contained inside this section, not all the rows in the table. - @short Delete a row from this section. - */ - public native void deleteRow(long index); - // DOM::HTMLTableSectionElement* HTMLTableSectionElement(DOM::HTMLTableSectionElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTextAreaElement.java b/kdejava/koala/org/kde/koala/HTMLTextAreaElement.java deleted file mode 100644 index 4d8d6d46..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTextAreaElement.java +++ /dev/null @@ -1,168 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Multi-line text field. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-TEXTAREA"> - TEXTAREA element definition </a> in HTML 4.0. - @short Multi-line text field. - -*/ -public class HTMLTextAreaElement extends HTMLElement { - protected HTMLTextAreaElement(Class dummy){super((Class) null);} - public HTMLTextAreaElement() { - super((Class) null); - newHTMLTextAreaElement(); - } - private native void newHTMLTextAreaElement(); - public HTMLTextAreaElement(HTMLTextAreaElement other) { - super((Class) null); - newHTMLTextAreaElement(other); - } - private native void newHTMLTextAreaElement(HTMLTextAreaElement other); - public HTMLTextAreaElement(Node other) { - super((Class) null); - newHTMLTextAreaElement(other); - } - private native void newHTMLTextAreaElement(Node other); - /** - Stores the initial control value (i.e., the initial value of - <code>value</code> ). - @short Stores the initial control value (i. - */ - public native String defaultValue(); - /** - see defaultValue - @short see defaultValue - */ - public native void setDefaultValue(String arg1); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - A single character access key to give access to the form - control. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> - accesskey attribute definition </a> in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Width of control (in characters). See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-cols-TEXTAREA"> - cols attribute definition </a> in HTML 4.0. - @short Width of control (in characters). - */ - public native long cols(); - /** - see cols - @short see cols - */ - public native void setCols(long arg1); - /** - The control is unavailable in this context. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled"> - disabled attribute definition </a> in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Form control or object name when submitted with a form. See the - <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-TEXTAREA"> - name attribute definition </a> in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - This control is read-only. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-readonly"> - readonly attribute definition </a> in HTML 4.0. - @short This control is read-only. - */ - public native boolean readOnly(); - /** - see readOnly - @short see readOnly - */ - public native void setReadOnly(boolean arg1); - /** - Number of text rows. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-rows-TEXTAREA"> - rows attribute definition </a> in HTML 4.0. - @short Number of text rows. - */ - public native long rows(); - /** - see rows - @short see rows - */ - public native void setRows(long arg1); - /** - Index that represents the element's position in the tabbing - order. See the <a - href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex"> - tabindex attribute definition </a> in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - The type of this form control. - @short The type of this form control. - */ - public native String type(); - /** - The current textual content of the multi-line text field. If - the entirety of the data can not fit into a single wstring, the - implementation may truncate the data. - @short The current textual content of the multi-line text field. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - /** - Select the contents of the <code>TEXTAREA</code> . - @short Select the contents of the <code>TEXTAREA</code> . - */ - public native void select(); - // DOM::HTMLTextAreaElement* HTMLTextAreaElement(DOM::HTMLTextAreaElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTitleElement.java b/kdejava/koala/org/kde/koala/HTMLTitleElement.java deleted file mode 100644 index b0ea8a09..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTitleElement.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The document title. See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-TITLE"> - TITLE element definition </a> in HTML 4.0. - @short The document title. - -*/ -public class HTMLTitleElement extends HTMLElement { - protected HTMLTitleElement(Class dummy){super((Class) null);} - public HTMLTitleElement() { - super((Class) null); - newHTMLTitleElement(); - } - private native void newHTMLTitleElement(); - public HTMLTitleElement(HTMLTitleElement other) { - super((Class) null); - newHTMLTitleElement(other); - } - private native void newHTMLTitleElement(HTMLTitleElement other); - public HTMLTitleElement(Node other) { - super((Class) null); - newHTMLTitleElement(other); - } - private native void newHTMLTitleElement(Node other); - /** - The specified title as a string. - @short The specified title as a string. - */ - public native String text(); - /** - see text - @short see text - */ - public native void setText(String arg1); - // DOM::HTMLTitleElement* HTMLTitleElement(DOM::HTMLTitleElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLUListElement.java b/kdejava/koala/org/kde/koala/HTMLUListElement.java deleted file mode 100644 index 46dfdec5..00000000 --- a/kdejava/koala/org/kde/koala/HTMLUListElement.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Unordered list. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-UL"> - UL element definition </a> in HTML 4.0. - @short Unordered list. - -*/ -public class HTMLUListElement extends HTMLElement { - protected HTMLUListElement(Class dummy){super((Class) null);} - public HTMLUListElement() { - super((Class) null); - newHTMLUListElement(); - } - private native void newHTMLUListElement(); - public HTMLUListElement(HTMLUListElement other) { - super((Class) null); - newHTMLUListElement(other); - } - private native void newHTMLUListElement(HTMLUListElement other); - public HTMLUListElement(Node other) { - super((Class) null); - newHTMLUListElement(other); - } - private native void newHTMLUListElement(Node other); - /** - Reduce spacing between list items. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-compact"> - compact attribute definition </a> in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - /** - Bullet style. See the <a - href="http://www.w3.org/TR/REC-html40/struct/lists.html#adef-type-UL"> - type attribute definition </a> in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Bullet style. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - // DOM::HTMLUListElement* HTMLUListElement(DOM::HTMLUListElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HistoryProvider.java b/kdejava/koala/org/kde/koala/HistoryProvider.java deleted file mode 100644 index 5f101526..00000000 --- a/kdejava/koala/org/kde/koala/HistoryProvider.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - Basic class to manage a history of "items". This class is only meant - for fast lookup, if an item is in the history or not. - May be subclassed to implement a persistent history for example. - For usage with tdehtml, just create your provider and call the - HistoryProvider constructor _before_ you do any tdehtml stuff. That way, - tdehtml, using the self()-method, will use your subclassed provider. - See {@link HistoryProviderSignals} for signals emitted by HistoryProvider - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short Basic class to manage a history of "items". - -*/ -public class HistoryProvider extends TQObject { - protected HistoryProvider(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a KHistoryProvider with an optional parent and name - @short Creates a KHistoryProvider with an optional parent and name - */ - public HistoryProvider(TQObject parent, String name) { - super((Class) null); - newHistoryProvider(parent,name); - } - private native void newHistoryProvider(TQObject parent, String name); - public HistoryProvider(TQObject parent) { - super((Class) null); - newHistoryProvider(parent); - } - private native void newHistoryProvider(TQObject parent); - public HistoryProvider() { - super((Class) null); - newHistoryProvider(); - } - private native void newHistoryProvider(); - /** - @return true if <code>item</code> is present in the history. - - @short - */ - public native boolean contains(String item); - /** - Inserts <code>item</code> into the history. - @short Inserts <code>item</code> into the history. - */ - public native void insert(String item); - /** - Removes <code>item</code> from the history. - @short Removes <code>item</code> from the history. - */ - public native void remove(String item); - /** - Clears the history. The cleared() signal is emitted after clearing. - @short Clears the history. - */ - public native void clear(); - public static native HistoryProvider self(); -} diff --git a/kdejava/koala/org/kde/koala/HistoryProviderSignals.java b/kdejava/koala/org/kde/koala/HistoryProviderSignals.java deleted file mode 100644 index ea00a409..00000000 --- a/kdejava/koala/org/kde/koala/HistoryProviderSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface HistoryProviderSignals { - /** - Emitted after the history has been cleared. - @short Emitted after the history has been cleared. - */ - void cleared(); - /** - This signal is never emitted from this class, it is only meant as an - interface for subclasses. Emit this signal to notify others that the - history has changed. Put those items that were added or removed from the - history into <code>items.</code> - @short This signal is never emitted from this class, it is only meant as an interface for subclasses. - */ - void updated(String[] items); -} diff --git a/kdejava/koala/org/kde/koala/Invocation.java b/kdejava/koala/org/kde/koala/Invocation.java deleted file mode 100644 index a3814ef2..00000000 --- a/kdejava/koala/org/kde/koala/Invocation.java +++ /dev/null @@ -1,69 +0,0 @@ -/*************************************************************************** - Invocation.java - description - ------------------- - begin : Tue Oct 31 06:12:14 2000 - copyright : (C) Gert-Jan van der Heiden. All rights reserved. - written by : Gert-Jan van der Heiden. - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -package org.kde.koala; - -import java.util.*; -import java.lang.reflect.*; -import org.kde.qt.qtjava; - -/** A utility class for creating a closure to invoke later -*/ -class Invocation{ -public static ArrayList invokeInterfaces(long qtObject){ - return invokeArrayOperation(qtObject, "interfaces"); - } - public static ArrayList invokeFunctions(long qtObject){ - return invokeArrayOperation(qtObject, "functions"); - } - public static ArrayList invokeArrayOperation(long qtObject, String operationName){ - try{ - Object onThis = qtjava.objectForQtKey(qtObject, "java.lang.object", true); - if(onThis != null){ - Object[] arguments = new Object[0]; - Class[] objectTypes = new Class[0]; - Method method = onThis.getClass().getMethod(operationName, objectTypes); - return (ArrayList) method.invoke(onThis,arguments); - }else { - System.out.println("Invocation.invokeArrayOperation() : object not found!"); - } - }catch(Exception e){ - e.printStackTrace(); - } - return new ArrayList(); - } - public static DCOPAnswer invokeProcess(long qtObject, String fun, byte[] data){ - try{ - Object onThis = qtjava.objectForQtKey(qtObject, "java.lang.object", true); - if(onThis != null){ - Object[] arguments = {fun, data}; - Class[] objectTypes = { String.class, - data.getClass()}; - - Method method = onThis.getClass().getMethod("javaProcess", objectTypes); - return (DCOPAnswer) method.invoke(onThis,arguments); - }else { - System.out.println("Invocation.invokeArrayOperation() : object not found!"); - } - }catch(Exception e){ - e.printStackTrace(); - } - DCOPAnswer answer = new DCOPAnswer(); - answer.setSucces(false); - return answer; - } -} diff --git a/kdejava/koala/org/kde/koala/Job.java b/kdejava/koala/org/kde/koala/Job.java deleted file mode 100644 index 1336702c..00000000 --- a/kdejava/koala/org/kde/koala/Job.java +++ /dev/null @@ -1,368 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - The base class for all jobs. - For all jobs created in an application, the code looks like - <pre> - TDEIO.Job job = TDEIO.someoperation( some parameters ); - connect( job, SIGNAL("result( TDEIO.Job )"), - this, SLOT("slotResult( TDEIO.Job )") ); - </pre> - (other connects, specific to the job) - And slotResult is usually at least: - <pre> - if ( job.error() ) - job.showErrorDialog( this or null ); - </pre> - See {@link JobSignals} for signals emitted by Job - @short The base class for all jobs. - @see Scheduler - @see Slave - -*/ -public class Job extends TQObject { - protected Job(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Abort this job. - This kills all subjobs and deletes the job. - @param quietly if false, Job will emit signal result - and ask tdeio_uiserver to close the progress window. - <code>quietly</code> is set to true for subjobs. Whether applications - should call with true or false depends on whether they rely - on result being emitted or not. - @short Abort this job. - */ - public native void kill(boolean quietly); - public native void kill(); - /** - Returns the error code, if there has been an error. - Only call this method from the slot connected to result(). - @return the error code for this job, 0 if no error. - Error codes are defined in TDEIO.Error. - - @short Returns the error code, if there has been an error. - */ - public native int error(); - /** - Returns the progress id for this job. - @return the progress id for this job, as returned by uiserver - - @short Returns the progress id for this job. - */ - public native int progressId(); - /** - Returns the error text if there has been an error. - Only call if error is not 0. - This is really internal, better use errorString() or errorDialog(). - @return a string to help understand the error, usually the url - related to the error. Only valid if error() is not 0. - - @short Returns the error text if there has been an error. - */ - public native String errorText(); - /** - Converts an error code and a non-i18n error message into an - error message in the current language. The low level (non-i18n) - error message (usually a url) is put into the translated error - message using %1. - Example for errid == ERR_CANNOT_OPEN_FOR_READING: - <pre> - i18n( "Could not read\n%1" ).arg( errortext ); - </pre> - Use this to display the error yourself, but for a dialog box - use Job.showErrorDialog. Do not call it if error() - is not 0. - @return the error message and if there is no error, a message - telling the user that the app is broken, so check with - error() whether there is an error - - @short Converts an error code and a non-i18n error message into an error message in the current language. - */ - public native String errorString(); - /** - Converts an error code and a non-i18n error message into i18n - strings suitable for presentation in a detailed error message box. - @param reqUrl the request URL that generated this error message - @param method the method that generated this error message - (unimplemented) - @return the following strings: caption, error + description, - causes+solutions - - @short Converts an error code and a non-i18n error message into i18n strings suitable for presentation in a detailed error message box. - */ - public native ArrayList detailedErrorStrings(KURL reqUrl, int method); - public native ArrayList detailedErrorStrings(KURL reqUrl); - public native ArrayList detailedErrorStrings(); - /** - Display a dialog box to inform the user of the error given by - this job. - Only call if error is not 0, and only in the slot connected - to result. - @param parent the parent widget for the dialog box, can be 0 for - top-level - @short Display a dialog box to inform the user of the error given by this job. - */ - public native void showErrorDialog(TQWidget parent); - public native void showErrorDialog(); - /** - Enable or disable the automatic error handling. When automatic - error handling is enabled and an error occurs, then showErrorDialog() - is called with the specified <code>parentWidget</code> (if supplied) , right before - the emission of the result signal. - The default is false. - @param enable enable or disable automatic error handling - @param parentWidget the parent widget, passed to showErrorDialog. - Can be 0 for top-level - @short Enable or disable the automatic error handling. - @see #isAutoErrorHandlingEnabled - @see #showErrorDialog - */ - public native void setAutoErrorHandlingEnabled(boolean enable, TQWidget parentWidget); - public native void setAutoErrorHandlingEnabled(boolean enable); - /** - Returns whether automatic error handling is enabled or disabled. - @return true if automatic error handling is enabled - - @short Returns whether automatic error handling is enabled or disabled. - @see #setAutoErrorHandlingEnabled - */ - public native boolean isAutoErrorHandlingEnabled(); - /** - Enable or disable the automatic warning handling. When automatic - warning handling is enabled and an error occurs, then a message box - is displayed with the warning message - The default is true. - See also isAutoWarningHandlingEnabled , showErrorDialog - @param enable enable or disable automatic warning handling - @short Enable or disable the automatic warning handling. - @see #isAutoWarningHandlingEnabled - */ - public native void setAutoWarningHandlingEnabled(boolean enable); - /** - Returns whether automatic warning handling is enabled or disabled. - See also setAutoWarningHandlingEnabled . - @return true if automatic warning handling is enabled - - @short Returns whether automatic warning handling is enabled or disabled. - @see #setAutoWarningHandlingEnabled - */ - public native boolean isAutoWarningHandlingEnabled(); - /** - Enable or disable the message display from the job. - The default is true. - @param enable enable or disable message display - @short Enable or disable the message display from the job. - */ - public native void setInteractive(boolean enable); - /** - Returns whether message display is enabled or disabled. - @return true if message display is enabled - - @short Returns whether message display is enabled or disabled. - @see #setInteractive - */ - public native boolean isInteractive(); - /** - Associate this job with a window given by <code>window.</code> - @param window the window to associate to - @short Associate this job with a window given by <code>window.</code> - @see #window - */ - public native void setWindow(TQWidget window); - /** - Returns the window this job is associated with. - @return the associated window - - @short Returns the window this job is associated with. - @see #setWindow - */ - public native TQWidget window(); - /** - Set the parent Job. - One example use of this is when FileCopyJob calls open_RenameDlg, - it must pass the correct progress ID of the parent CopyJob - (to hide the progress dialog). - You can set the parent job only once. By default a job does not - have a parent job. - @param parentJob the new parent job - @short Set the parent Job. - */ - public native void setParentJob(Job parentJob); - /** - Returns the parent job, if there is one. - @return the parent job, or 0 if there is none - - @short Returns the parent job, if there is one. - @see #setParentJob - */ - public native Job parentJob(); - /** - Set meta data to be sent to the slave, replacing existing - meta data. - @param metaData the meta data to set - @short Set meta data to be sent to the slave, replacing existing meta data. - @see #addMetaData - @see #mergeMetaData - */ - // void setMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED - /** - Add key/value pair to the meta data that is sent to the slave. - @param key the key of the meta data - @param value the value of the meta data - @short Add key/value pair to the meta data that is sent to the slave. - @see #setMetaData - @see #mergeMetaData - */ - public native void addMetaData(String key, String value); - /** - Add key/value pairs to the meta data that is sent to the slave. - If a certain key already existed, it will be overridden. - @param values the meta data to add - @short Add key/value pairs to the meta data that is sent to the slave. - @see #setMetaData - @see #mergeMetaData - */ - // void addMetaData(const TQMap<TQString, TQString>& arg1); >>>> NOT CONVERTED - /** - Add key/value pairs to the meta data that is sent to the slave. - If a certain key already existed, it will remain unchanged. - @param values the meta data to merge - @short Add key/value pairs to the meta data that is sent to the slave. - @see #setMetaData - @see #addMetaData - */ - // void mergeMetaData(const TQMap<TQString, TQString>& arg1); >>>> NOT CONVERTED - /** - @short - */ - // TDEIO::MetaData outgoingMetaData(); >>>> NOT CONVERTED - /** - Get meta data received from the slave. - (Valid when first data is received and/or slave is finished) - @return the job's meta data - - @short Get meta data received from the slave. - */ - // TDEIO::MetaData metaData(); >>>> NOT CONVERTED - /** - Query meta data received from the slave. - (Valid when first data is received and/or slave is finished) - @param key the key of the meta data to retrieve - @return the value of the meta data, or null if the - <code>key</code> does not exist - - @short Query meta data received from the slave. - */ - public native String queryMetaData(String key); - /** - Returns the processed size for this job. - @short Returns the processed size for this job. - @see #processedSize - */ - public native long getProcessedSize(); - public Job(boolean showProgressInfo) { - super((Class) null); - newJob(showProgressInfo); - } - private native void newJob(boolean showProgressInfo); - /** - Add a job that has to be finished before a result - is emitted. This has obviously to be called before - the finish signal is emitted by the slave. - @param job the subjob to add - @param inheritMetaData if true, the subjob will - inherit the meta data from this job. - @short Add a job that has to be finished before a result is emitted. - */ - protected native void addSubjob(Job job, boolean inheritMetaData); - protected native void addSubjob(Job job); - /** - Mark a sub job as being done. If it's the last to - wait on the job will emit a result - jobs with - two steps might want to override slotResult - in order to avoid calling this method. - @param job the subjob to add - @short Mark a sub job as being done. - */ - protected native void removeSubjob(Job job); - /** - Overloaded version of removeSubjob - @param job the subjob to remove - @param mergeMetaData if set, the metadata received by the subjob is - merged into this job. - @param emitResultIfLast if this was the last subjob, emit result, - i.e. terminate this job. - @short Overloaded version of removeSubjob - */ - protected native void removeSubjob(Job job, boolean mergeMetaData, boolean emitResultIfLast); - /** - Utility function for inherited jobs. - Emits the percent signal if bigger than m_percent, - after calculating it from the parameters. - @param processedSize the processed size in bytes - @param totalSize the total size in bytes - @short Utility function for inherited jobs. - */ - protected native void emitPercent(long processedSize, long totalSize); - /** - Utility function for inherited jobs. - Emits the speed signal and starts the timer for removing that info - @param speed the speed in bytes/s - @short Utility function for inherited jobs. - */ - protected native void emitSpeed(long speed); - /** - Utility function to emit the result signal, and suicide this job. - It first tells the observer to hide the progress dialog for this job. - @short Utility function to emit the result signal, and suicide this job. - */ - protected native void emitResult(); - /** - Set the processed size, does not emit processedSize - @short Set the processed size, does not emit processedSize - */ - protected native void setProcessedSize(long size); - protected native int extraFlags(); - /** - Called whenever a subjob finishes. - Default implementation checks for errors and propagates - to parent job, then calls removeSubjob. - Override if you don't want subjobs errors to be propagated. - @param job the subjob - @short Called whenever a subjob finishes. - @see #result - */ - protected native void slotResult(Job job); - /** - Forward signal from subjob. - @param job the subjob - @param speed the speed in bytes/s - @short Forward signal from subjob. - @see #speed - */ - protected native void slotSpeed(Job job, long speed); - /** - Forward signal from subjob. - @param job the subjob - @param msg the info message - @short Forward signal from subjob. - @see #infoMessage - */ - protected native void slotInfoMessage(Job job, String msg); - /** - Remove speed information. - @short Remove speed information. - */ - protected native void slotSpeedTimeout(); -} diff --git a/kdejava/koala/org/kde/koala/JobSignals.java b/kdejava/koala/org/kde/koala/JobSignals.java deleted file mode 100644 index 4f499f13..00000000 --- a/kdejava/koala/org/kde/koala/JobSignals.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface JobSignals { - /** - Emitted when the job is finished, in any case (completed, canceled, - failed...). Use error to know the result. - @param job the job that emitted this signal - @short Emitted when the job is finished, in any case (completed, canceled, failed. - */ - void result(Job job); - /** - Emitted to display information about this job, as sent by the slave. - Examples of message are "Resolving host", "Connecting to host...", etc. - @param job the job that emitted this signal - @param msg the info message - @short Emitted to display information about this job, as sent by the slave. - */ - void infoMessage(Job job, String msg); - /** - Emitted to display a warning about this job, as sent by the slave. - @param job the job that emitted this signal - @param msg the info message - @short Emitted to display a warning about this job, as sent by the slave. - */ - void warning(Job job, String msg); - /** - Emitted when the slave successfully connected to the host. - There is no guarantee the slave will send this, and this is - currently unused (in the applications). - @param job the job that emitted this signal - @short Emitted when the slave successfully connected to the host. - */ - void connected(Job job); - /** - Progress signal showing the overall progress of the job - This is valid for any kind of job, and allows using a - a progress bar very easily. (see KProgress). - Note that this signal is not emitted for finished jobs. - @param job the job that emitted this signal - @param percent the percentage - @short Progress signal showing the overall progress of the job This is valid for any kind of job, and allows using a a progress bar very easily. - */ - void percent(Job job, long percent); - /** - Emitted when we know the size of this job (data size for transfers, - number of entries for listings). - @param job the job that emitted this signal - @param size the total size in bytes - @short Emitted when we know the size of this job (data size for transfers, number of entries for listings). - */ - void totalSize(Job job, long size); - /** - Regularly emitted to show the progress of this job - (current data size for transfers, entries listed). - @param job the job that emitted this signal - @param size the processed size in bytes - @short Regularly emitted to show the progress of this job (current data size for transfers, entries listed). - */ - void processedSize(Job job, long size); - /** - Emitted to display information about the speed of this job. - @param job the job that emitted this signal - @param speed the speed in bytes/s - @short Emitted to display information about the speed of this job. - */ - void speed(Job job, long speed); -} diff --git a/kdejava/koala/org/kde/koala/KActiveLabel.java b/kdejava/koala/org/kde/koala/KActiveLabel.java deleted file mode 100644 index 10d90efa..00000000 --- a/kdejava/koala/org/kde/koala/KActiveLabel.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQTextBrowser; - -/** - - Label with support for selection and clickable links. - openLink() the actions that will be taken when the user - clicks on a link. - @author Waldo Bastian (bastian@kde.org) - - @version $Id$ - - @short Label with support for selection and clickable links. - -*/ -public class KActiveLabel extends TQTextBrowser { - protected KActiveLabel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - It connects the "linkClicked(String)" signal to the - "openLink(String)" slot. You will need to disconnect - this if you want to process linkClicked() yourself. - @short Constructor. - */ - public KActiveLabel(TQWidget parent, String name) { - super((Class) null); - newKActiveLabel(parent,name); - } - private native void newKActiveLabel(TQWidget parent, String name); - public KActiveLabel(TQWidget parent) { - super((Class) null); - newKActiveLabel(parent); - } - private native void newKActiveLabel(TQWidget parent); - /** - Constructor. - It connects the "linkClicked(String)" signal to the - "openLink(String)" slot. You will need to disconnect - this if you want to process linkClicked() yourself. - @short Constructor. - */ - public KActiveLabel(String text, TQWidget parent, String name) { - super((Class) null); - newKActiveLabel(text,parent,name); - } - private native void newKActiveLabel(String text, TQWidget parent, String name); - public KActiveLabel(String text, TQWidget parent) { - super((Class) null); - newKActiveLabel(text,parent); - } - private native void newKActiveLabel(String text, TQWidget parent); - public native TQSize minimumSizeHint(); - public native TQSize sizeHint(); - /** - Opens <code>link</code> in the default browser. - If <code>link</code> starts with the text "whatsthis:" a TQWhatsThis - box will appear and then display the rest of the text. The WhatsThis - functionality is available since KDE 3.2. - @short Opens <code>link</code> in the default browser. - */ - public native void openLink(String link); - protected native void focusInEvent(TQFocusEvent fe); - protected native void focusOutEvent(TQFocusEvent fe); - protected native void keyPressEvent(TQKeyEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAnimWidget.java b/kdejava/koala/org/kde/koala/KAnimWidget.java deleted file mode 100644 index 9307c46e..00000000 --- a/kdejava/koala/org/kde/koala/KAnimWidget.java +++ /dev/null @@ -1,126 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - This is a widget used to display animation using multiple - individual pixmaps. This widget allows you to deal with variable - size icons (e.g., ones that will change based on a global setting) - as it loads the icons internally. All you need to do is pass along - a list of icon names and their size and everything else is taken - care of. - This widget also emits a 'clicked()' signal when it received a - mouse press event. - A quick example: - <pre> - KAnimWidget anim = new KAnimWidget("kde", 0, this); - anim.start(); - </pre> - That example will search for the pixmaps "one.png", "two.png", and - "three.png" in the share/icons/small/ directories as well as the - app's pics directory. - See {@link KAnimWidgetSignals} for signals emitted by KAnimWidget - @author Kurt Granroth <granroth@kde.org> - - @short Standard "About KDE" dialog box. - -*/ -public class KAnimWidget extends TQFrame { - protected KAnimWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - This is the most common constructor. Pass along the name of the - animated icons to use (e.g., "kde") for the animation and an - optional size to load and you're set. If you omit the size, the - default size will be used. - @param icons The icons name (e.g., "kde") to use for the animation - @param size The size to load - You don't have to set it if the parent is a - TDEToolBar; in this case it will use the toolbar's - size. - @param parent The standard parent - @param name The standard internal name - @short This is the most common constructor. - */ - public KAnimWidget(String icons, int size, TQWidget parent, String name) { - super((Class) null); - newKAnimWidget(icons,size,parent,name); - } - private native void newKAnimWidget(String icons, int size, TQWidget parent, String name); - public KAnimWidget(String icons, int size, TQWidget parent) { - super((Class) null); - newKAnimWidget(icons,size,parent); - } - private native void newKAnimWidget(String icons, int size, TQWidget parent); - public KAnimWidget(String icons, int size) { - super((Class) null); - newKAnimWidget(icons,size); - } - private native void newKAnimWidget(String icons, int size); - public KAnimWidget(String icons) { - super((Class) null); - newKAnimWidget(icons); - } - private native void newKAnimWidget(String icons); - /** - Sets the size of the icons. - @param size The size of the icons - @short Sets the size of the icons. - */ - public native void setSize(int size); - /** - Returns the current size. - @short Returns the current size. - */ - public native int iconSize(); - /** - Returns the current icons - since 3.4 - @short Returns the current icons since 3. - */ - public native String icons(); - /** - Sets the name of the animated icons to load. This will use the - TDEIconLoader.loadAnimated method for the actual loading. - @param icons The name of the icons to use for the animation - @short Sets the name of the animated icons to load. - */ - public native void setIcons(String icons); - /** - Starts the animation from frame 1 - @short Starts the animation from frame 1 - */ - public native void start(); - /** - Stops the animation. This will also reset the widget to frame 1. - @short Stops the animation. - */ - public native void stop(); - protected native void drawContents(TQPainter p); - protected native void leaveEvent(TQEvent e); - protected native void enterEvent(TQEvent e); - protected native void hideEvent(TQHideEvent e); - public native void showEvent(TQShowEvent e); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseReleaseEvent(TQMouseEvent e); - protected native void slotTimerUpdate(); - protected native void updateIcons(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java b/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java deleted file mode 100644 index 62c0bfd5..00000000 --- a/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KAnimWidgetSignals { - void clicked(); -} diff --git a/kdejava/koala/org/kde/koala/KAr.java b/kdejava/koala/org/kde/koala/KAr.java deleted file mode 100644 index 5f8e9c0b..00000000 --- a/kdejava/koala/org/kde/koala/KAr.java +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - KAr is a class for reading archives in ar format. Writing - is not supported. - @author Laurence Anderson <l.d.anderson@warwick.ac.uk> - - @short A class for reading ar archives. - -*/ -public class KAr extends KArchive { - protected KAr(Class dummy){super((Class) null);} - /** - Creates an instance that operates on the given filename. - @param filename is a local path (e.g. "/home/holger/myfile.ar") - @short Creates an instance that operates on the given filename. - */ - public KAr(String filename) { - super((Class) null); - newKAr(filename); - } - private native void newKAr(String filename); - /** - Creates an instance that operates on the given device. - The device can be compressed (KFilterDev) or not (TQFile, etc.). - @param dev the device to read from - @short Creates an instance that operates on the given device. - */ - public KAr(TQIODeviceInterface dev) { - super((Class) null); - newKAr(dev); - } - private native void newKAr(TQIODeviceInterface dev); - /** - The name of the ar file, as passed to the constructor. - @return the filename. Null if you used the TQIODevice constructor - - @short The name of the ar file, as passed to the constructor. - */ - public native String fileName(); - public native boolean prepareWriting(String name, String user, String group, int size); - public native boolean doneWriting(int size); - public native boolean writeDir(String name, String user, String group); - /** - Opens the archive for reading. - Parses the directory listing of the archive - and creates the KArchiveDirectory/KArchiveFile entries. - @short Opens the archive for reading. - */ - protected native boolean openArchive(int mode); - protected native boolean closeArchive(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArchive.java b/kdejava/koala/org/kde/koala/KArchive.java deleted file mode 100644 index 5c5db0a4..00000000 --- a/kdejava/koala/org/kde/koala/KArchive.java +++ /dev/null @@ -1,229 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - KArchive is a base class for reading and writing archives. - @author David Faure <faure@kde.org> - - @short generic class for reading/writing archives. - -*/ -public class KArchive implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KArchive(Class dummy){} - - public static final int VIRTUAL_WRITE_DATA = 1; - public static final int VIRTUAL_WRITE_SYMLINK = 2; - public static final int VIRTUAL_WRITE_DIR = 3; - public static final int VIRTUAL_WRITE_FILE = 4; - public static final int VIRTUAL_PREPARE_WRITING = 5; - - /** - Opens the archive for reading or writing. - Inherited classes might want to reimplement openArchive instead. - @param mode may be IO_ReadOnly or IO_WriteOnly - @short Opens the archive for reading or writing. - @see #close - */ - public native boolean open(int mode); - /** - Closes the archive. - Inherited classes might want to reimplement closeArchive instead. - @short Closes the archive. - @see #open - */ - public native void close(); - /** - Use to check if close had any problem - @return true if close succeded without problems - - @short Use to check if close had any problem - */ - public native boolean closeSucceeded(); - /** - Checks whether the archive is open. - @return true if the archive is opened - - @short Checks whether the archive is open. - */ - public native boolean isOpened(); - /** - Returns the mode in which the archive was opened - @return the mode in which the archive was opened (IO_ReadOnly or IO_WriteOnly) - - @short Returns the mode in which the archive was opened - @see #open - */ - public native int mode(); - /** - The underlying device. - @return the underlying device. - - @short The underlying device. - */ - public native TQIODeviceInterface device(); - /** - If an archive is opened for reading, then the contents - of the archive can be accessed via this function. - @return the directory of the archive - - @short If an archive is opened for reading, then the contents of the archive can be accessed via this function. - */ - public native KArchiveDirectory directory(); - /** - Writes a local file into the archive. The main difference with writeFile, - is that this method minimizes memory usage, by not loading the whole file - into memory in one go. - If <code>fileName</code> is a symbolic link, it will be written as is, i. e. - it will not be resolved before. - @param fileName full path to an existing local file, to be added to the archive. - @param destName the resulting name (or relative path) of the file in the archive. - @short Writes a local file into the archive. - */ - public native boolean addLocalFile(String fileName, String destName); - /** - Writes a local directory into the archive, including all its contents, recursively. - Calls addLocalFile for each file to be added. - Since KDE 3.2 it will also add a <code>path</code> that is a symbolic link to a - directory. The symbolic link will be dereferenced and the content of the - directory it is pointing to added recursively. However, symbolic links - under <code>path</code> will be stored as is. - @param path full path to an existing local directory, to be added to the archive. - @param destName the resulting name (or relative path) of the file in the archive. - @short Writes a local directory into the archive, including all its contents, recursively. - */ - public native boolean addLocalDirectory(String path, String destName); - /** - If an archive is opened for writing then you can add new directories - using this function. KArchive won't write one directory twice. - @param name the name of the directory - @param user the user that owns the directory - @param group the group that owns the directory - @todo TODO(BIC): make this a thin wrapper around - writeDir(name,user,group,perm,atime,mtime,ctime) - or eliminate it - @short If an archive is opened for writing then you can add new directories using this function. - */ - public native boolean writeDir(String name, String user, String group); - /** - If an archive is opened for writing then you can add new directories - using this function. KArchive won't write one directory twice. - This method also allows some file metadata to be - set. However, depending on the archive type not all metadata might be - regarded. - @param name the name of the directory - @param user the user that owns the directory - @param group the group that owns the directory - @param perm permissions of the directory - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @short If an archive is opened for writing then you can add new directories using this function. - */ - public native boolean writeDir(String name, String user, String group, long perm, int atime, int mtime, int ctime); - /** - Writes a symbolic link to the archive if the archive must be opened for - writing. - @param name name of symbolic link - @param target target of symbolic link - @param user the user that owns the directory - @param group the group that owns the directory - @param perm permissions of the directory - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @short Writes a symbolic link to the archive if the archive must be opened for writing. - */ - public native boolean writeSymLink(String name, String target, String user, String group, long perm, int atime, int mtime, int ctime); - /** - If an archive is opened for writing then you can add a new file - using this function. If the file name is for example "mydir/test1" then - the directory "mydir" is automatically appended first if that did not - happen yet. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @param data the data to write (<code>size</code> bytes) - @todo TODO(BIC): make this a thin non-wrapper around - writeFile(name,user,group,size,perm,atime,mtime,ctime,data) - @short If an archive is opened for writing then you can add a new file using this function. - */ - public native boolean writeFile(String name, String user, String group, int size, String data); - /** - If an archive is opened for writing then you can add a new file - using this function. If the file name is for example "mydir/test1" then - the directory "mydir" is automatically appended first if that did not - happen yet. - This method also allows some file metadata to be - set. However, depending on the archive type not all metadata might be - regarded. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @param perm permissions of the file - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @param data the data to write (<code>size</code> bytes) - @short If an archive is opened for writing then you can add a new file using this function. - */ - public native boolean writeFile(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime, String data); - /** - Here's another way of writing a file into an archive: - Call prepareWriting, then call writeData() - as many times as wanted then call doneWriting( totalSize ). - For tar.gz files, you need to know the size before hand, since it is needed in the header. - For zip files, size isn't used. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @todo TODO(BIC): make this a thin non-wrapper around - prepareWriting(name,user,group,size,perm,atime,mtime,ctime) - or eliminate it. - @short Here's another way of writing a file into an archive: Call prepareWriting, then call writeData() as many times as wanted then call doneWriting( totalSize ). - */ - public native boolean prepareWriting(String name, String user, String group, int size); - /** - Here's another way of writing a file into an archive: - Call prepareWriting, then call writeData() - as many times as wanted then call doneWriting( totalSize ). - For tar.gz files, you need to know the size before hand, it is needed in the header! - For zip files, size isn't used. - This method also allows some file metadata to be - set. However, depending on the archive type not all metadata might be - regarded. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @param perm permissions of the file - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @short Here's another way of writing a file into an archive: Call prepareWriting, then call writeData() as many times as wanted then call doneWriting( totalSize ). - */ - public native boolean prepareWriting(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime); - /** - Write data into the current file - to be called after calling prepareWriting - @todo TODO(BIC) make virtual. For now virtual_hook allows reimplementing it. - @short Write data into the current file - to be called after calling prepareWriting @todo TODO(BIC) make virtual. - */ - public native boolean writeData(String data, int size); - /** - Call doneWriting after writing the data. - @param size the size of the file - @short Call doneWriting after writing the data. - @see #prepareWriting - */ - public native boolean doneWriting(int size); -} diff --git a/kdejava/koala/org/kde/koala/KArchiveDirectory.java b/kdejava/koala/org/kde/koala/KArchiveDirectory.java deleted file mode 100644 index 26e2a784..00000000 --- a/kdejava/koala/org/kde/koala/KArchiveDirectory.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Represents a directory entry in a KArchive. - @short A directory in an archive. - @see KArchive - @see KArchiveFile - -*/ -public class KArchiveDirectory extends KArchiveEntry { - protected KArchiveDirectory(Class dummy){super((Class) null);} - /** - Creates a new directory entry. - @param archive the entries archive - @param name the name of the entry - @param access the permissions in unix format - @param date the date (in seconds since 1970) - @param user the user that owns the entry - @param group the group that owns the entry - @param symlink the symlink, or null - @short Creates a new directory entry. - */ - public KArchiveDirectory(KArchive archive, String name, int access, int date, String user, String group, String symlink) { - super((Class) null); - newKArchiveDirectory(archive,name,access,date,user,group,symlink); - } - private native void newKArchiveDirectory(KArchive archive, String name, int access, int date, String user, String group, String symlink); - /** - Returns a list of sub-entries. - @return the names of all entries in this directory (filenames, no path). - - @short Returns a list of sub-entries. - */ - public native ArrayList entries(); - /** - Returns the entry with the given name. - @param name may be "test1", "mydir/test3", "mydir/mysubdir/test3", etc. - @return a pointer to the entry in the directory. - - @short Returns the entry with the given name. - */ - public native KArchiveEntry entry(String name); - /** - Adds a new entry to the directory. - @short - */ - public native void addEntry(KArchiveEntry arg1); - /** - Checks whether this entry is a directory. - @return true, since this entry is a directory - - @short Checks whether this entry is a directory. - */ - public native boolean isDirectory(); - /** - Extracts all entries in this archive directory to the directory - <code>dest.</code> - @param dest the directory to extract to - @param recursive if set to true, subdirectories are extracted as well - @short Extracts all entries in this archive directory to the directory <code>dest.</code> - */ - public native void copyTo(String dest, boolean recursive); - public native void copyTo(String dest); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArchiveEntry.java b/kdejava/koala/org/kde/koala/KArchiveEntry.java deleted file mode 100644 index cf824a3a..00000000 --- a/kdejava/koala/org/kde/koala/KArchiveEntry.java +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; - -/** - - A base class for entries in an KArchive. - @short Base class for the archive-file's directory structure. - @see KArchiveFile - @see KArchiveDirectory - -*/ -public class KArchiveEntry implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KArchiveEntry(Class dummy){} - - /** - Creates a new entry. - @param archive the entries archive - @param name the name of the entry - @param access the permissions in unix format - @param date the date (in seconds since 1970) - @param user the user that owns the entry - @param group the group that owns the entry - @param symlink the symlink, or null - @short Creates a new entry. - */ - public KArchiveEntry(KArchive archive, String name, int access, int date, String user, String group, String symlink) { - newKArchiveEntry(archive,name,access,date,user,group,symlink); - } - private native void newKArchiveEntry(KArchive archive, String name, int access, int date, String user, String group, String symlink); - /** - Creation date of the file. - @return the creation date - - @short Creation date of the file. - */ - public native Calendar datetime(); - /** - Creation date of the file. - @return the creation date in seconds since 1970 - - @short Creation date of the file. - */ - public native int date(); - /** - Name of the file without path. - @return the file name without path - - @short Name of the file without path. - */ - public native String name(); - /** - The permissions and mode flags as returned by the stat() function - in st_mode. - @return the permissions - - @short The permissions and mode flags as returned by the stat() function in st_mode. - */ - public native long permissions(); - /** - User who created the file. - @return the owner of the file - - @short User who created the file. - */ - public native String user(); - /** - Group of the user who created the file. - @return the group of the file - - @short Group of the user who created the file. - */ - public native String group(); - /** - Symlink if there is one. - @return the symlink, or null - - @short Symlink if there is one. - */ - public native String symlink(); - /** - Checks whether the entry is a file. - @return true if this entry is a file - - @short Checks whether the entry is a file. - */ - public native boolean isFile(); - /** - Checks whether the entry is a directory. - @return true if this entry is a directory - - @short Checks whether the entry is a directory. - */ - public native boolean isDirectory(); - protected native KArchive archive(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArchiveFile.java b/kdejava/koala/org/kde/koala/KArchiveFile.java deleted file mode 100644 index 9436f263..00000000 --- a/kdejava/koala/org/kde/koala/KArchiveFile.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - Represents a file entry in a KArchive. - @short A file in an archive. - @see KArchive - @see KArchiveDirectory - -*/ -public class KArchiveFile extends KArchiveEntry { - protected KArchiveFile(Class dummy){super((Class) null);} - /** - Creates a new file entry. - @param archive the entries archive - @param name the name of the entry - @param access the permissions in unix format - @param date the date (in seconds since 1970) - @param user the user that owns the entry - @param group the group that owns the entry - @param symlink the symlink, or null - @param pos the position of the file in the directory - @param size the size of the file - @short Creates a new file entry. - */ - public KArchiveFile(KArchive archive, String name, int access, int date, String user, String group, String symlink, int pos, int size) { - super((Class) null); - newKArchiveFile(archive,name,access,date,user,group,symlink,pos,size); - } - private native void newKArchiveFile(KArchive archive, String name, int access, int date, String user, String group, String symlink, int pos, int size); - /** - Position of the data in the [uncompressed] archive. - @return the position of the file - - @short Position of the data in the [uncompressed] archive. - */ - public native int position(); - /** - Size of the data. - @return the size of the file - - @short Size of the data. - */ - public native int size(); - /** - Set size of data, usually after writing the file. - @param s the new size of the file - @short Set size of data, usually after writing the file. - */ - public native void setSize(int s); - /** - Returns the data of the file. - Call data() with care (only once per file), this data isn't cached. - @return the content of this file. - - @short Returns the data of the file. - */ - public native byte[] data(); - /** - This method returns TQIODevice (internal class: KLimitedIODevice) - on top of the underlying TQIODevice. This is obviously for reading only. - Note that the ownership of the device is being transferred to the caller, - who will have to delete it. - The returned device auto-opens (in readonly mode), no need to open it. - @return the TQIODevice of the file - - @short This method returns TQIODevice (internal class: KLimitedIODevice) on top of the underlying TQIODevice. - */ - public native TQIODeviceInterface device(); - /** - Checks whether this entry is a file. - @return true, since this entry is a file - - @short Checks whether this entry is a file. - */ - public native boolean isFile(); - /** - Extracts the file to the directory <code>dest</code> - @param dest the directory to extract to - @short Extracts the file to the directory <code>dest</code> - */ - public native void copyTo(String dest); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArrowButton.java b/kdejava/koala/org/kde/koala/KArrowButton.java deleted file mode 100644 index 81e593ef..00000000 --- a/kdejava/koala/org/kde/koala/KArrowButton.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - Draws a button which shows an arrow pointing into a certain direction. The - arrow's alignment on the button depends on the direction it's pointing to, - e.g. a left arrow is aligned at the left border, a upwards arrow at the top - border. This class honors the currently configured TDEStyle when drawing - the arrow. - @author Frerich Raabe - - @short Draws a button with an arrow. - -*/ -public class KArrowButton extends TQPushButton { - protected KArrowButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an arrow button. - @param parent This button's parent - @param arrow The direction the arrrow should be pointing in - @param name An internal name for this widget - @short Constructs an arrow button. - */ - public KArrowButton(TQWidget parent, int arrow, String name) { - super((Class) null); - newKArrowButton(parent,arrow,name); - } - private native void newKArrowButton(TQWidget parent, int arrow, String name); - public KArrowButton(TQWidget parent, int arrow) { - super((Class) null); - newKArrowButton(parent,arrow); - } - private native void newKArrowButton(TQWidget parent, int arrow); - public KArrowButton(TQWidget parent) { - super((Class) null); - newKArrowButton(parent); - } - private native void newKArrowButton(TQWidget parent); - public KArrowButton() { - super((Class) null); - newKArrowButton(); - } - private native void newKArrowButton(); - /** - Reimplemented from TQPushButton. - @short Reimplemented from TQPushButton. - */ - public native TQSize sizeHint(); - /** - Returns the arrow type - @short Returns the arrow type - */ - public native int arrowType(); - public native int arrowTp(); - public native void setArrowTp(int tp); - /** - Defines in what direction the arrow is pointing to. Will repaint the - button if necessary. - @param a The direction this arrow should be pointing in - @short Defines in what direction the arrow is pointing to. - */ - public native void setArrowType(int a); - /** - Reimplemented from TQPushButton. - @short Reimplemented from TQPushButton. - */ - protected native void drawButton(TQPainter arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAsyncIO.java b/kdejava/koala/org/kde/koala/KAsyncIO.java deleted file mode 100644 index a54995bc..00000000 --- a/kdejava/koala/org/kde/koala/KAsyncIO.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; -import org.kde.qt.TQObject; - -/** - - Asynchronous I/O Support - This abstract class provides basic functionality for asynchronous I/O - support on top of TQIODevice. - See {@link KAsyncIOSignals} for signals emitted by KAsyncIO - @author Thiago Macieira <thiago.macieira@kdemail.net> - - @short Asynchronous I/O support. - -*/ -public class KAsyncIO extends TQObject implements TQIODeviceInterface { - protected KAsyncIO(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Toggles the emission of the readyRead() signal whenever the device - is ready for reading. This is useful if you want to know the first time - the device is ready for reading and you don't want to read it now. - @param enable true to enable, false to disable the readyRead() signal - @short Toggles the emission of the readyRead() signal whenever the device is ready for reading. - */ - public native void enableRead(boolean enable); - /** - Toggles the emission of the readyWrite() signal whenever the device - is ready for writing. This is useful if you want to know the first time - the device is ready for writing and you don't want to write to it now. - @param enable true to enable, false to disable the readyWrite() signal - @short Toggles the emission of the readyWrite() signal whenever the device is ready for writing. - */ - public native void enableWrite(boolean enable); - public native int flags(); - public native int mode(); - public native int state(); - public native boolean isDirectAccess(); - public native boolean isSequentialAccess(); - public native boolean isCombinedAccess(); - public native boolean isBuffered(); - public native boolean isRaw(); - public native boolean isSynchronous(); - public native boolean isAsynchronous(); - public native boolean isTranslated(); - public native boolean isReadable(); - public native boolean isWritable(); - public native boolean isReadWrite(); - public native boolean isInactive(); - public native boolean isOpen(); - public native int status(); - public native void resetStatus(); - public native boolean open(int mode); - public native void close(); - public native void flush(); - public native long size(); - public native long at(); - public native boolean at(long arg1); - public native boolean atEnd(); - public native boolean reset(); - public native long readBlock(StringBuffer data, long maxlen); - public native long writeBlock(String data, long len); - public native long readLine(String data, long maxlen); - public native long writeBlock(byte[] data); - public native byte[] readAll(); - public native int getch(); - public native int putch(int arg1); - public native int ungetch(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KAsyncIOSignals.java b/kdejava/koala/org/kde/koala/KAsyncIOSignals.java deleted file mode 100644 index d4cf0829..00000000 --- a/kdejava/koala/org/kde/koala/KAsyncIOSignals.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -public interface KAsyncIOSignals { - /** - This signal gets sent when the device is ready for reading. - @short This signal gets sent when the device is ready for reading. - */ - void readyRead(); - /** - This signal gets sent when the device is ready for writing. - @short This signal gets sent when the device is ready for writing. - */ - void readyWrite(); -} diff --git a/kdejava/koala/org/kde/koala/KAudioPlayer.java b/kdejava/koala/org/kde/koala/KAudioPlayer.java deleted file mode 100644 index 5e9369b5..00000000 --- a/kdejava/koala/org/kde/koala/KAudioPlayer.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - This class provides one-shot-and-forget audio playing. You will never - know if what you wanted to play really got played. - It doesn't require linking any special libraries, as it operates over - DCOP. In the current implementation, it only indirectly communicates - with the aRts soundserver, using knotify as DCOP . MCOP bridge. - Due to that fact, if you need "fast" response times, more control or - feedback, use the MCOP interfaces rather than this. - An example of using this class is: - <pre> - KAudioPlayer.play("/var/share/foo.wav"); - </pre> - If you want to use signals & slots, you can do something like: - <pre> - KAudioPlayer player("/var/share/foo.wav"); - connect(&button, SIGNAL("clicked()"), &player, SLOT("play()")); - </pre> - @short This class provides one-shot-and-forget audio playing. - -*/ -public class KAudioPlayer extends TQObject { - protected KAudioPlayer(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @param filename Absolute path to the filename of the sound file to play - @param parent A parent TQObject for this KAudioPlayer - @param name An internal name for this KAudioPlayer - @short Constructor. - */ - public KAudioPlayer(String filename, TQObject parent, String name) { - super((Class) null); - newKAudioPlayer(filename,parent,name); - } - private native void newKAudioPlayer(String filename, TQObject parent, String name); - public KAudioPlayer(String filename, TQObject parent) { - super((Class) null); - newKAudioPlayer(filename,parent); - } - private native void newKAudioPlayer(String filename, TQObject parent); - public KAudioPlayer(String filename) { - super((Class) null); - newKAudioPlayer(filename); - } - private native void newKAudioPlayer(String filename); - /** - Play function as slot. - Plays the soundfile given to the constructor. - @short Play function as slot. - */ - public native void play(); - /** - Static play function. - @param filename Absolute path to the filename of the sound file to play. - if not absolute, goes off TDEDIR/share/sounds/ (preferred) - @short Static play function. - */ - public static native void play(String filename); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAuthIcon.java b/kdejava/koala/org/kde/koala/KAuthIcon.java deleted file mode 100644 index bd859eda..00000000 --- a/kdejava/koala/org/kde/koala/KAuthIcon.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This is the base class from which different authorization icon widget - which actually do something should be derived. You can use these - widgets to show that the user has (or doesn't have) the ability to do - something, and why that is. - One of the most useful things you can do with this is connect - authChanged(boolean) to setEnabled(boolean) for a widget to turn it on and - off depending on the status of whatever it is you are monitoring. - See {@link KAuthIconSignals} for signals emitted by KAuthIcon - @author Preston Brown <pbrown@kde.org> - - @short A base class for authorization icon widgets. - @see KRootPermsIcon - @see KWritePermsIcon - -*/ -public class KAuthIcon extends TQWidget { - protected KAuthIcon(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @short Constructor. - */ - public native TQSize sizeHint(); - /** - return the status of whatever is being monitored. - @short return the status of whatever is being monitored. - */ - public native boolean status(); - /** - Re-implement this method if you want the icon to update itself - when something external has changed (i.e. a file on disk, uid/gid). - @short Re-implement this method if you want the icon to update itself when something external has changed (i. - */ - public native void updateStatus(); -} diff --git a/kdejava/koala/org/kde/koala/KAuthIconSignals.java b/kdejava/koala/org/kde/koala/KAuthIconSignals.java deleted file mode 100644 index 87b74e2d..00000000 --- a/kdejava/koala/org/kde/koala/KAuthIconSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; - -public interface KAuthIconSignals { - /** - this signal is emitted when authorization has changed from - its previous state. - @param authorized will be true if the type of authorization - described by the icon is true, otherwise it will be false. - @short this signal is emitted when authorization has changed from its previous state. - */ - void authChanged(boolean authorized); -} diff --git a/kdejava/koala/org/kde/koala/KBugReport.java b/kdejava/koala/org/kde/koala/KBugReport.java deleted file mode 100644 index 24d4513a..00000000 --- a/kdejava/koala/org/kde/koala/KBugReport.java +++ /dev/null @@ -1,103 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - All the information needed by the dialog box - (program name, version, bug-report address, etc.) - comes from the TDEAboutData class. - Make sure you create an instance of TDEAboutData and pass it - to TDECmdLineArgs. - @author David Faure <faure@kde.org> - - @short A dialog box for sending bug reports. - -*/ -public class KBugReport extends KDialogBase { - protected KBugReport(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a bug-report dialog. - Note that you shouldn't have to do this manually, - since KHelpMenu takes care of the menu item - for "Report Bug..." and of creating a KBugReport dialog. - @short Creates a bug-report dialog. - */ - public KBugReport(TQWidget parent, boolean modal, TDEAboutData aboutData) { - super((Class) null); - newKBugReport(parent,modal,aboutData); - } - private native void newKBugReport(TQWidget parent, boolean modal, TDEAboutData aboutData); - public KBugReport(TQWidget parent, boolean modal) { - super((Class) null); - newKBugReport(parent,modal); - } - private native void newKBugReport(TQWidget parent, boolean modal); - public KBugReport(TQWidget parent) { - super((Class) null); - newKBugReport(parent); - } - private native void newKBugReport(TQWidget parent); - public KBugReport() { - super((Class) null); - newKBugReport(); - } - private native void newKBugReport(); - /** - A complete copy of the bug report - @return String copy of the bug report. - - @short A complete copy of the bug report - */ - protected native String text(); - /** - Attempt to e-mail the bug report. - @return true on success - - @short Attempt to e-mail the bug report. - */ - protected native boolean sendBugReport(); - /** - "Configure email" has been clicked - this calls tdecmshell System/email - @short "Configure email" has been clicked - this calls tdecmshell System/email - */ - protected native void slotConfigureEmail(); - /** - Sets the "From" field from the e-mail configuration - Called at creation time, but also after "Configure email" is closed. - @short Sets the "From" field from the e-mail configuration Called at creation time, but also after "Configure email" is closed. - */ - protected native void slotSetFrom(); - /** - OK has been clicked - @short OK has been clicked - */ - protected native void slotOk(); - /** - Cancel has been clicked - @short Cancel has been clicked - */ - protected native void slotCancel(); - /** - Application combo selection changed (and was activated) - @short Application combo selection changed (and was activated) - */ - protected native void appChanged(int arg1); - /** - Update the url to match the current os, compiler, selected app, etc - @short Update the url to match the current os, compiler, selected app, etc - */ - protected native void updateURL(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KButtonBox.java b/kdejava/koala/org/kde/koala/KButtonBox.java deleted file mode 100644 index 48df7c9e..00000000 --- a/kdejava/koala/org/kde/koala/KButtonBox.java +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import org.kde.qt.TQSizePolicy; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWidget; - -/** - - Container widget for buttons. - This class uses Qt layout control to place the buttons; can handle - both vertical and horizontal button placement. The default border - is now <code>0</code> (making it easier to deal with layouts). The space - between buttons is now more Motif compliant. - @author Mario Weilguni <mweilguni@sime.com> - - @version $Id$ - - @short Container widget for buttons. - -*/ -public class KButtonBox extends TQWidget { - protected KButtonBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create an empty container for buttons. - If <code>_orientation</code> is <code>Vertical</code>, the buttons inserted with - addButton() are laid out from top to bottom, otherwise they - are laid out from left to right. - @short Create an empty container for buttons. - */ - public KButtonBox(TQWidget parent, int _orientation, int border, int _autoborder) { - super((Class) null); - newKButtonBox(parent,_orientation,border,_autoborder); - } - private native void newKButtonBox(TQWidget parent, int _orientation, int border, int _autoborder); - public KButtonBox(TQWidget parent, int _orientation, int border) { - super((Class) null); - newKButtonBox(parent,_orientation,border); - } - private native void newKButtonBox(TQWidget parent, int _orientation, int border); - public KButtonBox(TQWidget parent, int _orientation) { - super((Class) null); - newKButtonBox(parent,_orientation); - } - private native void newKButtonBox(TQWidget parent, int _orientation); - public KButtonBox(TQWidget parent) { - super((Class) null); - newKButtonBox(parent); - } - private native void newKButtonBox(TQWidget parent); - /** - This size is - calculated by the width/height of all buttons plus border/autoborder. - @return The minimum size needed to fit all buttons. - - @short - */ - public native TQSize sizeHint(); - public native TQSizePolicy sizePolicy(); - public native void resizeEvent(TQResizeEvent arg1); - /** - Add a new TQPushButton. - @param text the text of the button to add - @param noexpand If <code>noexpand</code> is <code>false</code>, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If <code>noexpand</code> is <code>true</code>, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(String text, boolean noexpand); - public native TQPushButton addButton(String text); - /** - Add a new TQPushButton. - @param text the text of the button to add. - @param receiver An object to connect to. - @param slot A Qt slot to connect the 'clicked()' signal to. - @param noexpand If <code>noexpand</code> is <code>false</code>, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If <code>noexpand</code> <code>true</code>, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(String text, TQObject receiver, String slot, boolean noexpand); - public native TQPushButton addButton(String text, TQObject receiver, String slot); - /** - Add a new TQPushButton. - @param guiitem text and icon on the button - @param noexpand If <code>noexpand</code> is <code>false</code>, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If <code>noexpand</code> is <code>true</code>, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(KGuiItem guiitem, boolean noexpand); - public native TQPushButton addButton(KGuiItem guiitem); - /** - Add a new TQPushButton. - @param guiitem text and icon on the button - @param receiver An object to connect to. - @param slot A Qt slot to connect the 'clicked()' signal to. - @param noexpand If <code>noexpand</code> is <code>false</code>, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If <code>noexpand</code> <code>true</code>, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot, boolean noexpand); - public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot); - /** - Add a stretch to the buttonbox. - Can be used to separate buttons. That is, if you add the - buttons OK and Cancel, add a stretch, and then add the button Help, - the buttons OK and Cancel will be left-aligned (or top-aligned - for vertical) whereas Help will be right-aligned (or - bottom-aligned for vertical). - @short Add a stretch to the buttonbox. - @see org.kde.qt.TQBoxLayout - */ - public native void addStretch(int scale); - public native void addStretch(); - /** - This function must be called <b>once</b> after all buttons have been - inserted. - It will start layout control. - @short This function must be called @em once after all buttons have been inserted. - */ - public native void updateLayout(); - /** - @return the best size for a button. Checks all buttons and takes - the maximum width/height. - - @short - */ - protected native TQSize bestButtonSize(); - protected native void placeButtons(); - protected native TQSize buttonSizeHint(TQPushButton arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCMultiDialog.java b/kdejava/koala/org/kde/koala/KCMultiDialog.java deleted file mode 100644 index 356bcb99..00000000 --- a/kdejava/koala/org/kde/koala/KCMultiDialog.java +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - See {@link KCMultiDialogSignals} for signals emitted by KCMultiDialog - @author Matthias Elter <elter@kde.org>, Daniel Molkentin <molkentin@kde.org> - - @short A method that offers a KDialogBase containing arbitrary KControl Modules. - -*/ -public class KCMultiDialog extends KDialogBase { - protected KCMultiDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new KCMultiDialog - @param parent The parent widget - @param name The widget name - @param modal If you pass true here, the dialog will be modal - @short Constructs a new KCMultiDialog - */ - public KCMultiDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKCMultiDialog(parent,name,modal); - } - private native void newKCMultiDialog(TQWidget parent, String name, boolean modal); - public KCMultiDialog(TQWidget parent, String name) { - super((Class) null); - newKCMultiDialog(parent,name); - } - private native void newKCMultiDialog(TQWidget parent, String name); - public KCMultiDialog(TQWidget parent) { - super((Class) null); - newKCMultiDialog(parent); - } - private native void newKCMultiDialog(TQWidget parent); - public KCMultiDialog() { - super((Class) null); - newKCMultiDialog(); - } - private native void newKCMultiDialog(); - /** - Construct a personalized KCMultiDialog. - @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or - IconList. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If <code>false</code>, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @short Construct a personalized KCMultiDialog. - */ - public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKCMultiDialog(dialogFace,caption,parent,name,modal); - } - private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal); - public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name) { - super((Class) null); - newKCMultiDialog(dialogFace,caption,parent,name); - } - private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name); - public KCMultiDialog(int dialogFace, String caption, TQWidget parent) { - super((Class) null); - newKCMultiDialog(dialogFace,caption,parent); - } - private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent); - public KCMultiDialog(int dialogFace, String caption) { - super((Class) null); - newKCMultiDialog(dialogFace,caption); - } - private native void newKCMultiDialog(int dialogFace, String caption); - /** - Add a module. - @param module Specify the name of the module that is to be added - to the list of modules the dialog will show. - @param withfallback Try harder to load the module. Might result - in the module appearing outside the dialog. - @short Add a module. - */ - public native void addModule(String module, boolean withfallback); - public native void addModule(String module); - /** - Add a module. - @param moduleinfo Pass a TDECModuleInfo object which will be - used for creating the module. It will be added - to the list of modules the dialog will show. - @param parentmodulenames The names of the modules that should appear as - parents in the TreeList. Look at the - KDialogBase.addPage documentation for more info - on this. - @param withfallback Try harder to load the module. Might result - in the module appearing outside the dialog. - @short Add a module. - */ - public native void addModule(TDECModuleInfo moduleinfo, String[] parentmodulenames, boolean withfallback); - public native void addModule(TDECModuleInfo moduleinfo, String[] parentmodulenames); - public native void addModule(TDECModuleInfo moduleinfo); - /** - Remove all modules from the dialog. - @short Remove all modules from the dialog. - */ - public native void removeAllModules(); - /** - Re-implemented for internal reasons. - @short - */ - public native void show(); - /** - This slot is called when the user presses the "Default" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Default" Button. - */ - protected native void slotDefault(); - /** - This slot is called when the user presses the "Reset" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Reset" Button. - */ - protected native void slotUser1(); - /** - This slot is called when the user presses the "Apply" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Apply" Button. - */ - protected native void slotApply(); - /** - This slot is called when the user presses the "OK" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "OK" Button. - */ - protected native void slotOk(); - /** - This slot is called when the user presses the "Help" Button. - It reads the DocPath field of the currently selected KControl - module's .desktop file to find the path to the documentation, - which it then attempts to load. - You can reimplement this slot if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Help" Button. - */ - protected native void slotHelp(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java b/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java deleted file mode 100644 index 1f0e628a..00000000 --- a/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KCMultiDialogSignals { - /** - Emitted after all TDECModules have been told to save their configuration. - The applyClicked and okClicked signals are emitted before the - configuration is saved. - @short Emitted after all TDECModules have been told to save their configuration. - */ - void configCommitted(); - /** - Emitted after the TDECModules have been told to save their configuration. - It is emitted once for every instance the KCMs that were changed belong - to. - You can make use of this if you have more than one component in your - application. instanceName tells you the instance that has to reload its - configuration. - The applyClicked and okClicked signals are emitted before the - configuration is saved. - @param instanceName The name of the instance that needs to reload its - configuration. - @short Emitted after the TDECModules have been told to save their configuration. - */ - void configCommitted(String instanceName); -} diff --git a/kdejava/koala/org/kde/koala/KCPUInfo.java b/kdejava/koala/org/kde/koala/KCPUInfo.java deleted file mode 100644 index bfd33d28..00000000 --- a/kdejava/koala/org/kde/koala/KCPUInfo.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class provides a means for applications to obtain information at - runtime about processor support for certain architecture extensions, - such as MMX, SSE, 3DNow and AltiVec. - @short This class provides a means for applications to obtain information at runtime about processor support for certain architecture extensions, such as MMX, SSE, 3DNow and AltiVec. - -*/ -public class KCPUInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCPUInfo(Class dummy){} - - /** - This enum contains the list of architecture extensions you - can query. - @short This enum contains the list of architecture extensions you can query. - */ - public static final int IntelMMX = 1<<0; - public static final int IntelSSE = 1<<1; - public static final int IntelSSE2 = 1<<2; - public static final int AMD3DNOW = 1<<3; - public static final int AltiVec = 1<<4; - - public KCPUInfo() { - newKCPUInfo(); - } - private native void newKCPUInfo(); - /** - Returns true if the processor supports <code>extension</code>, - and false otherwise. - @param extension the feature to query. - @return If true, the processor supports <code>extension.</code> - - @short Returns true if the processor supports <code>extension</code>, and false otherwise. - @see Extensions - */ - public static native boolean haveExtension(int extension); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCalendarSystem.java b/kdejava/koala/org/kde/koala/KCalendarSystem.java deleted file mode 100644 index ff0cb6ea..00000000 --- a/kdejava/koala/org/kde/koala/KCalendarSystem.java +++ /dev/null @@ -1,323 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; - -/** - - CalendarSystem abstract class, default derived kde gregorian class and - factory class. Provides support for different calendar types for kde - calendar widget and related stuff. - Derived classes must be created through KCalendarFactory class - @author Carlos Moro <cfmoro@correo.uniovi.es> - - @short CalendarSystem abstract class, default derived kde gregorian class and factory class. - -*/ -public class KCalendarSystem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCalendarSystem(Class dummy){} - - /** - Constructor of abstract calendar class. This will be called by the derived classes. - @param locale It will use this locale for translations, 0 means global. - @short Constructor of abstract calendar class. - */ - /** - Gets specific calendar type year for a given gregorian date - @param date gregorian date - @return year - - @short Gets specific calendar type year for a given gregorian date - */ - public native int year(Calendar date); - /** - Converts a date into a year literal - @param pDate The date to convert - @param bShort If the short version of should be used - @return The year literal of the date - - @short Converts a date into a year literal - */ - public native String yearString(Calendar pDate, boolean bShort); - /** - Converts a year literal of a part of a string into a integer starting at the beginning of the string - @param sNum The string to parse - @param iLength The number of chars used, and 0 if no valid symbols was found in the string - @return An integer corresponding to the year - - @short Converts a year literal of a part of a string into a integer starting at the beginning of the string - */ - public native int yearStringToInteger(String sNum, int[] iLength); - /** - Gets specific calendar type month for a given gregorian date - @param date gregorian date - @return month number - - @short Gets specific calendar type month for a given gregorian date - */ - public native int month(Calendar date); - /** - Converts a date into a month literal - @param pDate The date to convert - @param bShort If the short version of should be used - @return The month literal of the date - - @short Converts a date into a month literal - */ - public native String monthString(Calendar pDate, boolean bShort); - /** - Converts a month literal of a part of a string into a integer starting at the beginning of the string - @param sNum The string to parse - @param iLength The number of chars used, and 0 if no valid symbols was found in the string - @return An integer corresponding to the month - - @short Converts a month literal of a part of a string into a integer starting at the beginning of the string - */ - public native int monthStringToInteger(String sNum, int[] iLength); - /** - Gets specific calendar type day number of month for a given date - @param date gregorian date equivalent to the specific one - @return day of the month - - @short Gets specific calendar type day number of month for a given date - */ - public native int day(Calendar date); - /** - Converts a date into a day literal - @param pDate The date to convert - @param bShort If the short version of should be used - @return The day literal of the date - - @short Converts a date into a day literal - */ - public native String dayString(Calendar pDate, boolean bShort); - /** - Converts a day literal of a part of a string into a integer starting at the beginning of the string - @param sNum The string to parse - @param iLength The number of chars used, and 0 if no valid symbols was found in the string - @return An integer corresponding to the day - - @short Converts a day literal of a part of a string into a integer starting at the beginning of the string - */ - public native int dayStringToInteger(String sNum, int[] iLength); - /** - Gets specific calendar type number of day of week number for a given - date - @param date gregorian date - @return day of week - - @short Gets specific calendar type number of day of week number for a given date - */ - public native int dayOfWeek(Calendar date); - /** - Gets specific calendar type day number of year for a given date - @param date gregorian date equivalent to the specific one - @return day number - - @short Gets specific calendar type day number of year for a given date - */ - public native int dayOfYear(Calendar date); - /** - Changes the date's year, month and day. The range of the year, month - and day depends on which calendar is being used. - @param date Date to change - @param y Year - @param m Month number - @param d Day of month - @return true if the date is valid; otherwise returns false. - - @short Changes the date's year, month and day. - */ - public native boolean setYMD(Calendar date, int y, int m, int d); - /** - Returns a Calendar object containing a date nyears later. - @param date The old date - @param nyears The number of years to add - @return The new date - - @short Returns a TQDate object containing a date nyears later. - */ - public native Calendar addYears(Calendar date, int nyears); - /** - Returns a Calendar object containing a date nmonths later. - @param date The old date - @param nmonths The number of months to add - @return The new date - - @short Returns a TQDate object containing a date nmonths later. - */ - public native Calendar addMonths(Calendar date, int nmonths); - /** - Returns a Calendar object containing a date ndays later. - @param date The old date - @param ndays The number of days to add - @return The new date - - @short Returns a TQDate object containing a date ndays later. - */ - public native Calendar addDays(Calendar date, int ndays); - /** - Gets specific calendar type number of month for a given year - @param date The date whose year to use - @return The number of months in that year - - @short Gets specific calendar type number of month for a given year - */ - public native int monthsInYear(Calendar date); - /** - Gets the number of days in date whose years specified. - @param date Gregorian date equivalent to the specific one - @return The number of days in year - - @short Gets the number of days in date whose years specified. - */ - public native int daysInYear(Calendar date); - /** - Gets specific calendar type number of days in month for a given date - @param date gregorian date - @return number of days for month in date - - @short Gets specific calendar type number of days in month for a given date - */ - public native int daysInMonth(Calendar date); - /** - Gets the number of weeks in a specified year - @param year the year - @return number of weeks in year - - @short Gets the number of weeks in a specified year - */ - public native int weeksInYear(int year); - /** - Gets specific calendar type week number for a given date - @param date gregorian date - @param yearNum The year the date belongs to - @return week number - - @short Gets specific calendar type week number for a given date - */ - public native int weekNumber(Calendar date, int[] yearNum); - public native int weekNumber(Calendar date); - /** - Gets specific calendar type month name for a given month number - If an invalid month is specified, null is returned. - @param month The month number - @param year The year the month belongs to - @param shortName Specifies if the short month name should be used - @return The name of the month - - @short Gets specific calendar type month name for a given month number If an invalid month is specified, String.null is returned. - */ - public native String monthName(int month, int year, boolean shortName); - public native String monthName(int month, int year); - /** - Gets specific calendar type month name for a given gregorian date - @param date Gregorian date - @param shortName Specifies if the short month name should be used - @return The name of the month - - @short Gets specific calendar type month name for a given gregorian date - */ - public native String monthName(Calendar date, boolean shortName); - public native String monthName(Calendar date); - /** - Returns a string containing the possessive form of the month name. - ("of January", "of February", etc.) - It's needed in long format dates in some languages. - If an invalid month is specified, null is returned. - @param month The month number - @param year The year the month belongs to - @param shortName Specifies if the short month name should be used - @return The possessive form of the name of the month - - @short Returns a string containing the possessive form of the month name. - */ - public native String monthNamePossessive(int month, int year, boolean shortName); - public native String monthNamePossessive(int month, int year); - /** - Returns a string containing the possessive form of the month name. - ("of January", "of February", etc.) - It's needed in long format dates in some languages. - @param date Gregorian date - @param shortName Specifies if the short month name should be used - @return The possessive form of the name of the month - - @short Returns a string containing the possessive form of the month name. - */ - public native String monthNamePossessive(Calendar date, boolean shortName); - public native String monthNamePossessive(Calendar date); - /** - Gets specific calendar type week day name - If an invalid week day is specified, null is returned. - @param weekDay number of day in week (1 . Monday) - @param shortName short or complete day name - @return day name - - @short Gets specific calendar type week day name If an invalid week day is specified, String.null is returned. - */ - public native String weekDayName(int weekDay, boolean shortName); - public native String weekDayName(int weekDay); - /** - Gets specific calendar type week day name - @param date the date - @param shortName short or complete day name - @return day name - - @short Gets specific calendar type week day name - */ - public native String weekDayName(Calendar date, boolean shortName); - public native String weekDayName(Calendar date); - /** - Gets the first year value supported by specific calendar type - algorithms. - @return first year supported - - @short Gets the first year value supported by specific calendar type algorithms. - */ - public native int minValidYear(); - /** - Gets the maximum year value supported by specific calendar type - algorithms (Calendar, 8000) - @return maximum year supported - - @short Gets the maximum year value supported by specific calendar type algorithms (TQDate, 8000) - */ - public native int maxValidYear(); - /** - Gets the day of the week traditionaly associated with pray - @return day number - - @short Gets the day of the week traditionaly associated with pray - */ - public native int weekDayOfPray(); - /** - Gets the string representing the calendar - @short Gets the string representing the calendar - */ - public native String calendarName(); - /** - Gets if the calendar is lunar based - @return if the calendar is lunar based - - @short Gets if the calendar is lunar based - */ - public native boolean isLunar(); - /** - Gets if the calendar is lunisolar based - @return if the calendar is lunisolar based - - @short Gets if the calendar is lunisolar based - */ - public native boolean isLunisolar(); - /** - Gets if the calendar is solar based - @return if the calendar is solar based - - @short Gets if the calendar is solar based - */ - public native boolean isSolar(); -} diff --git a/kdejava/koala/org/kde/koala/KCalendarSystemFactory.java b/kdejava/koala/org/kde/koala/KCalendarSystemFactory.java deleted file mode 100644 index f538facf..00000000 --- a/kdejava/koala/org/kde/koala/KCalendarSystemFactory.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Factory class for calendar types - @author Carlos Moro <cfmoro@correo.uniovi.es> - - @short Factory class for calendar types - -*/ -public class KCalendarSystemFactory implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCalendarSystemFactory(Class dummy){} - - public KCalendarSystemFactory() { - newKCalendarSystemFactory(); - } - private native void newKCalendarSystemFactory(); - /** - Gets specific calendar type number of days in previous month for a - given date - @param calType string identification of the specific calendar type - to be constructed - @param locale Locale used for translations. Use the global locale when - 0 is specified. - @return a KCalendarSystem object - - @short Gets specific calendar type number of days in previous month for a given date - */ - public static native KCalendarSystem create(String calType, TDELocale locale); - public static native KCalendarSystem create(String calType); - public static native KCalendarSystem create(); - /** - Gets list of names of supported calendar systems - @return An ArrayList object - - @short Gets list of names of supported calendar systems - */ - public static native ArrayList calendarSystems(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCatalogue.java b/kdejava/koala/org/kde/koala/KCatalogue.java deleted file mode 100644 index 3825c524..00000000 --- a/kdejava/koala/org/kde/koala/KCatalogue.java +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class abstracts a gettext message catalog. It will take care of - opening the file and reading the catalog. - @short This class abstracts a gettext message catalog. - @see TDELocale - -*/ -public class KCatalogue implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCatalogue(Class dummy){} - - /** - Constructor. - @param name The name of the catalog - @param language The language of this catalog - @short Constructor. - */ - public KCatalogue(String name, String language) { - newKCatalogue(name,language); - } - private native void newKCatalogue(String name, String language); - public KCatalogue(String name) { - newKCatalogue(name); - } - private native void newKCatalogue(String name); - public KCatalogue() { - newKCatalogue(); - } - private native void newKCatalogue(); - /** - Copy constructor. - @short Copy constructor. - */ - public KCatalogue(KCatalogue rhs) { - newKCatalogue(rhs); - } - private native void newKCatalogue(KCatalogue rhs); - /** - Returns the name of the catalog. - @return The name of the catalog - - @short Returns the name of the catalog. - */ - public native String name(); - /** - Returns the language of the catalog. - @return The language of the catalog - - @short Returns the language of the catalog. - */ - public native String language(); - /** - Returns the plural type for the catalog. This type is based on the language of the catalog - and is cached for performance. - @return The plural type for the catalog - - @short Returns the plural type for the catalog. - */ - public native int pluralType(); - /** - Sets the plural type for the catalog. The caller has probably looked it up in a tdelibs.mo-catalog - for the appropriate language - @return The plural type for the catalog - - @short Sets the plural type for the catalog. - */ - public native void setPluralType(int pluralType); - /** - Retrieves a translation of the specified message id. - Do not pass 0 or "" strings as message ids. - @param msgid The message id - @return The translated message, in utf8 encoding, or 0 if not found - - @short Retrieves a translation of the specified message id. - */ - public native String translate(String msgid); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelect.java b/kdejava/koala/org/kde/koala/KCharSelect.java deleted file mode 100644 index 79ac0db3..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelect.java +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFontDatabase; -import org.kde.qt.TQVBox; - -/** - - This widget allows the user to select a character of a - specified font in a table - \image html kcharselect.png "Character Selection Widget" - You can specify the font whose characters should be displayed via - setFont() or in the constructor. Using enableFontCombo() you can allow the - user to choose the font from a combob-box. As only 256 characters - are displayed at once in the table, using the spinbox on the top - the user can choose starting from which character the table - displays them. This spinbox also can be enabled or disabled using - enableTableSpinBox(). - KCharSelect supports keyboard and mouse navigation. Click+Move - always selects the character below the mouse cursor. Using the - arrow keys moves the focus mark around and pressing RETURN - or SPACE selects the cell which contains the focus mark. - To get the current selected character, use the chr() - method. You can set the character which should be displayed with - setChar() and the table number which should be displayed with - setTableNum(). - See {@link KCharSelectSignals} for signals emitted by KCharSelect - @author Reginald Stadlbauer <reggie@kde.org> - - @short Character selection widget. - -*/ -public class KCharSelect extends TQVBox { - protected KCharSelect(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. <code>font</code> specifies which font should be displayed, <code>chr</code> which character should be selected and <code>tableNum</code> specifies - the number of the table which should be displayed. - @short Constructor. - */ - public KCharSelect(TQWidget parent, String name, String font, char chr, int tableNum) { - super((Class) null); - newKCharSelect(parent,name,font,chr,tableNum); - } - private native void newKCharSelect(TQWidget parent, String name, String font, char chr, int tableNum); - public KCharSelect(TQWidget parent, String name, String font, char chr) { - super((Class) null); - newKCharSelect(parent,name,font,chr); - } - private native void newKCharSelect(TQWidget parent, String name, String font, char chr); - public KCharSelect(TQWidget parent, String name, String font) { - super((Class) null); - newKCharSelect(parent,name,font); - } - private native void newKCharSelect(TQWidget parent, String name, String font); - public KCharSelect(TQWidget parent, String name) { - super((Class) null); - newKCharSelect(parent,name); - } - private native void newKCharSelect(TQWidget parent, String name); - /** - Reimplemented. - @short Reimplemented. - */ - public native TQSize sizeHint(); - /** - Sets the font which is displayed to <code>font</code> - @short Sets the font which is displayed to <code>font</code> - */ - public native void setFont(String font); - /** - Sets the currently selected character to <code>chr.</code> - @short Sets the currently selected character to <code>chr.</code> - */ - public native void setChar(char chr); - /** - Sets the currently displayed table to <code>tableNum.</code> - @short Sets the currently displayed table to <code>tableNum.</code> - */ - public native void setTableNum(int tableNum); - /** - Returns the currently selected character. - @short Returns the currently selected character. - */ - public native char chr(); - /** - Returns the currently displayed font. - @short Returns the currently displayed font. - */ - public native String fontName(); - /** - Returns the currently displayed table - @short Returns the currently displayed table - */ - public native int tableNum(); - /** - If <code>e</code> is set to true, the combobox which allows the user to - select the font which should be displayed is enabled, else - disabled. - @short If <code>e</code> is set to true, the combobox which allows the user to select the font which should be displayed is enabled, else disabled. - */ - public native void enableFontCombo(boolean e); - /** - If <code>e</code> is set to true, the spinbox which allows the user to - specify which characters of the font should be displayed, is - enabled, else disabled. - @short - */ - public native void enableTableSpinBox(boolean e); - /** - Returns wether the font combobox on the top is enabled or - disabled. - @short Returns wether the font combobox on the top is enabled or disabled. - @see #enableFontCombo - */ - public native boolean isFontComboEnabled(); - /** - Returns wether the table spinbox on the top is enabled or - disabled. - @short Returns wether the table spinbox on the top is enabled or disabled. - @see #enableTableSpinBox - */ - public native boolean isTableSpinBoxEnabled(); - protected native void fillFontCombo(); - protected native void fontSelected(String _font); - protected native void tableChanged(int _value); - protected native void charHighlighted(char c); - protected native void charHighlighted(); - protected native void charActivated(char c); - protected native void charActivated(); - protected native void charFocusItemChanged(); - protected native void charFocusItemChanged(char c); - protected native void charTableUp(); - protected native void charTableDown(); - protected native void slotDoubleClicked(); - protected native void slotUnicodeEntered(); - protected native void slotUpdateUnicode(char c); - protected static native void cleanupFontDatabase(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelectSignals.java b/kdejava/koala/org/kde/koala/KCharSelectSignals.java deleted file mode 100644 index 69f345a8..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelectSignals.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFontDatabase; - -public interface KCharSelectSignals { - void highlighted(char c); - void highlighted(); - void activated(char c); - void activated(); - void fontChanged(String _font); - void focusItemChanged(); - void focusItemChanged(char c); - void doubleClicked(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelectTable.java b/kdejava/koala/org/kde/koala/KCharSelectTable.java deleted file mode 100644 index 8d169ca6..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelectTable.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQGridView; - -/** - - A table widget which displays the characters of a font. Internally - used by KCharSelect. See the KCharSelect documentation for further - details. - See {@link KCharSelectTableSignals} for signals emitted by KCharSelectTable - @author Reginald Stadlbauer <reggie@kde.org> - - @short Character selection table. - -*/ -public class KCharSelectTable extends TQGridView { - protected KCharSelectTable(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KCharSelectTable(TQWidget parent, String name, String _font, char _chr, int _tableNum) { - super((Class) null); - newKCharSelectTable(parent,name,_font,_chr,_tableNum); - } - private native void newKCharSelectTable(TQWidget parent, String name, String _font, char _chr, int _tableNum); - public native TQSize sizeHint(); - public native void resizeEvent(TQResizeEvent arg1); - public native void setFont(String _font); - public native void setChar(char _chr); - public native void setTableNum(int _tableNum); - public native char chr(); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseDoubleClickEvent(TQMouseEvent e); - protected native void mouseReleaseEvent(TQMouseEvent e); - protected native void mouseMoveEvent(TQMouseEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void gotoLeft(); - protected native void gotoRight(); - protected native void gotoUp(); - protected native void gotoDown(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java b/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java deleted file mode 100644 index 65fbdd21..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KCharSelectTableSignals { - void highlighted(char c); - void highlighted(); - void activated(char c); - void activated(); - void focusItemChanged(); - void focusItemChanged(char c); - void tableUp(); - void tableDown(); - void doubleClicked(); -} diff --git a/kdejava/koala/org/kde/koala/KCharsets.java b/kdejava/koala/org/kde/koala/KCharsets.java deleted file mode 100644 index efe9a7f1..00000000 --- a/kdejava/koala/org/kde/koala/KCharsets.java +++ /dev/null @@ -1,128 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQTextCodec; - -/** - - Charset font and encoder/decoder handling. - This is needed, because Qt's font matching algorithm gives the font - family a higher priority than the charset. For many applications - this is not acceptable, since it can totally obscure the output, - in languages which use non iso-8859-1 charsets. - @author Lars Knoll <knoll@kde.org> - - @short Charset font and encoder/decoder handling. - -*/ -public class KCharsets implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCharsets(Class dummy){} - - /** - Provided for compatibility. - @param name the name of the codec - @return the TQTextCodec. If the desired codec could not be found, - it returns a default (Latin-1) codec - - @short Provided for compatibility. - */ - public native TQTextCodec codecForName(String name); - /** - Tries to find a TQTextCodec to convert the given encoding from and to - Unicode. If no codec could be found the latin1 codec will be returned an - <code>ok</code> will be set to false. - @return the TQTextCodec. If the desired codec could not be found, - it returns a default (Latin-1) codec - - @short Tries to find a TQTextCodec to convert the given encoding from and to Unicode. - */ - public native TQTextCodec codecForName(String n, boolean ok); - /** - Lists all available encodings as names. - @return the list of all encodings - - @short Lists all available encodings as names. - */ - public native ArrayList availableEncodingNames(); - /** - Lists the available encoding names together with a more descriptive language. - @return the list of descriptive encoding names - - @short Lists the available encoding names together with a more descriptive language. - */ - public native ArrayList descriptiveEncodingNames(); - /** - Returns the language the encoding is used for. - @param encoding the encoding for the language - @return the language of the encoding - - @short Returns the language the encoding is used for. - */ - public native String languageForEncoding(String encoding); - /** - Returns the encoding for a string obtained with descriptiveEncodingNames(). - @param descriptiveName the descriptive name for the encoding - @return the name of the encoding - - @short Returns the encoding for a string obtained with descriptiveEncodingNames(). - */ - public native String encodingForName(String descriptiveName); - /** - Converts an entity to a character. The string must contain only the - entity without the trailing ';'. - @param str the entity - @return char.null if the entity could not be decoded. - - @short Converts an entity to a character. - */ - public static native char fromEntity(String str); - /** - Overloaded member function. Tries to find an entity in the - String str. - @param str the string containing entified - @param len is a return value, that gives the length of the decoded - entity. - @return a decoded entity if one could be found, char.null - otherwise - - @short Overloaded member function. - */ - public static native char fromEntity(String str, int[] len); - /** - Converts a char to an entity. The returned string does already - contain the leading '&' and the trailing ';'. - @param ch the char to convert - @return the entity - - @short Converts a char to an entity. - */ - public static native String toEntity(char ch); - /** - Scans the given string for entities (like &amp;) and resolves them - using fromEntity. - @param text the string containing the entities - @return the clean string - - @short Scans the given string for entities (like &amp;) and resolves them using fromEntity. - */ - public static native String resolveEntities(String text); - /** Protected constructor. If you need the kcharsets object, use - TDEGlobal.charsets() instead. - @short Protected constructor. - */ - public KCharsets() { - newKCharsets(); - } - private native void newKCharsets(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCodecs.java b/kdejava/koala/org/kde/koala/KCodecs.java deleted file mode 100644 index 7efa057c..00000000 --- a/kdejava/koala/org/kde/koala/KCodecs.java +++ /dev/null @@ -1,272 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A wrapper class for the most commonly used encoding and - decoding algorithms. Currently there is support for encoding - and decoding input using base64, uu and the quoted-printable - specifications. - <b></b>sage: - <pre> - String input = "Aladdin:open sesame"; - String result = KCodecs.base64Encode(input); - cout << "Result: " << result.data() << endl; - </pre> - <pre> - Output should be - Result: TQWxhZGRpbjpvcGVuIHNlc2FtZQ== - </pre> - The above example makes use of the convenience functions - (ones that accept/return null-terminated strings) to encode/decode - a string. If what you need is to encode or decode binary data, then - it is highly recommended that you use the functions that take an input - and output byte[] as arguments. These functions are specifically - tailored for encoding and decoding binary data. - @author Rik Hemsley <rik@kde.org> - - @short A collection of commonly used encoding and decoding algorithms. - -*/ -public class KCodecs implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCodecs(Class dummy){} - - /** - Encodes the given data using the quoted-printable algorithm. - @param in data to be encoded. - @param useCRLF if true the input data is expected to have - CRLF line breaks and the output will have CRLF line - breaks, too. - @return quoted-printable encoded string. - - @short Encodes the given data using the quoted-printable algorithm. - */ - public static native String quotedPrintableEncode(byte[] in, boolean useCRLF); - public static native String quotedPrintableEncode(byte[] in); - /** - @overload - Same as above except it accepts a null terminated - string instead an array. - @param str string to be encoded. - @param useCRLF if true the input data is expected to have - CRLF line breaks and the output will have CRLF line - breaks, too. - @return quoted-printable encoded string. - - @short @overload - */ - public static native String quotedPrintableEncode(String str, boolean useCRLF); - public static native String quotedPrintableEncode(String str); - /** - Encodes the given data using the quoted-printable algorithm. - Use this function if you want the result of the encoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for encoding binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be encoded. - @param out encoded data. - @param useCRLF if true the input data is expected to have - CRLF line breaks and the output will have CRLF line - breaks, too. - @short Encodes the given data using the quoted-printable algorithm. - */ - public static native void quotedPrintableEncode(byte[] in, byte[] out, boolean useCRLF); - /** - Decodes a quoted-printable encoded data. - Accepts data with CRLF or standard unix line breaks. - @param in data to be decoded. - @return decoded string. - - @short Decodes a quoted-printable encoded data. - */ - public static native String quotedPrintableDecode(byte[] in); - /** - @overload - Same as above except it accepts a null terminated - string instead an array. - @param str string to be decoded. - @return decoded string. - - @short @overload - */ - public static native String quotedPrintableDecode(String str); - /** - Decodes a quoted-printable encoded data. - Accepts data with CRLF or standard unix line breaks. - Use this function if you want the result of the decoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for decoding an encoded - binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be decoded. - @param out decoded data. - @short Decodes a quoted-printable encoded data. - */ - public static native void quotedPrintableDecode(byte[] in, byte[] out); - /** - Encodes the given data using the uuencode algorithm. - The output is split into lines starting with the number of - encoded octets in the line and ending with a newline. No - line is longer than 45 octets (60 characters), excluding the - line terminator. - @param in data to be uuencoded - @return uuencoded string. - - @short Encodes the given data using the uuencode algorithm. - */ - public static native String uuencode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be uuencoded. - @return encoded string. - - @short @overload - */ - public static native String uuencode(String str); - /** - Encodes the given data using the uuencode algorithm. - Use this function if you want the result of the encoding - to be placed in another array and cut down the number of - copy operation that have to be performed in the process. - This is the preffered method for encoding binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be uuencoded. - @param out uudecoded data. - @short Encodes the given data using the uuencode algorithm. - */ - public static native void uuencode(byte[] in, byte[] out); - /** - Decodes the given data using the uudecode algorithm. - Any 'begin' and 'end' lines like those generated by - the utilities in unix and unix-like OS will be - automatically ignored. - @param in data to be decoded. - @return decoded string. - - @short Decodes the given data using the uudecode algorithm. - */ - public static native String uudecode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be decoded. - @return uudecoded string. - - @short @overload - */ - public static native String uudecode(String str); - /** - Decodes the given data using the uudecode algorithm. - Use this function if you want the result of the decoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is the preferred method for decoding binary data. - Any 'begin' and 'end' lines like those generated by - the utilities in unix and unix-like OS will be - automatically ignored. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be decoded. - @param out uudecoded data. - @short Decodes the given data using the uudecode algorithm. - */ - public static native void uudecode(byte[] in, byte[] out); - /** - Encodes the given data using the base64 algorithm. - The booleanean argument determines if the encoded data is - going to be restricted to 76 characters or less per line - as specified by RFC 2045. If <code>insertLFs</code> is true, then - there will be 76 characters or less per line. - @param in data to be encoded. - @param insertLFs limit the number of characters per line. - @return base64 encoded string. - - @short Encodes the given data using the base64 algorithm. - */ - public static native String base64Encode(byte[] in, boolean insertLFs); - public static native String base64Encode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be encoded. - @param insertLFs limit the number of characters per line. - @return decoded string. - - @short @overload - */ - public static native String base64Encode(String str, boolean insertLFs); - public static native String base64Encode(String str); - /** - Encodes the given data using the base64 algorithm. - Use this function if you want the result of the encoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for encoding binary data. - The booleanean argument determines if the encoded data is going - to be restricted to 76 characters or less per line as specified - by RFC 2045. If <code>insertLFs</code> is true, then there will be 76 - characters or less per line. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be encoded. - @param out encoded data. - @param insertLFs limit the number of characters per line. - @short Encodes the given data using the base64 algorithm. - */ - public static native void base64Encode(byte[] in, byte[] out, boolean insertLFs); - public static native void base64Encode(byte[] in, byte[] out); - /** - Decodes the given data that was encoded using the - base64 algorithm. - @param in data to be decoded. - @return decoded string. - - @short Decodes the given data that was encoded using the base64 algorithm. - */ - public static native String base64Decode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be decoded. - @return decoded string. - - @short @overload - */ - public static native String base64Decode(String str); - /** - Decodes the given data that was encoded with the base64 - algorithm. - Use this function if you want the result of the decoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for decoding an encoded - binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be decoded. - @param out decoded data. - @short Decodes the given data that was encoded with the base64 algorithm. - */ - public static native void base64Decode(byte[] in, byte[] out); -} diff --git a/kdejava/koala/org/kde/koala/KColor.java b/kdejava/koala/org/kde/koala/KColor.java deleted file mode 100644 index b39c9f38..00000000 --- a/kdejava/koala/org/kde/koala/KColor.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.QtSupport; -import org.kde.qt.TQColor; - -/** - - A color class that preserves both RGB and HSV values. - This is - unlike TQColor which only preserves RGB values and recalculates HSV - values. The TQColor behavior leads to an accumulation of rounding - errors when working in the HSV color space. - @author Waldo Bastian <bastian@kde.org> - - @short A color class that preserves both RGB and HSV values. - -*/ -public class KColor extends TQColor { - protected KColor(Class dummy){super((Class) null);} - public KColor() { - super((Class) null); - newKColor(); - } - private native void newKColor(); - public KColor(KColor col) { - super((Class) null); - newKColor(col); - } - private native void newKColor(KColor col); - public KColor(TQColor col) { - super((Class) null); - newKColor(col); - } - private native void newKColor(TQColor col); - public native boolean op_equals(KColor col); - public native void setHsv(int _h, int _s, int _v); - public native void setRgb(int _r, int _g, int _b); - public native void rgb(int[] _r, int[] _g, int[] _b); - public native void hsv(int[] _h, int[] _s, int[] _v); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorButton.java b/kdejava/koala/org/kde/koala/KColorButton.java deleted file mode 100644 index 4fd1bb18..00000000 --- a/kdejava/koala/org/kde/koala/KColorButton.java +++ /dev/null @@ -1,103 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - This widget can be used to display or allow user selection of a color. - \image html kcolorbutton.png "KDE Color Button" - See {@link KColorButtonSignals} for signals emitted by KColorButton - @short A pushbutton to display or allow user selection of a color. - @see KColorDialog - -*/ -public class KColorButton extends TQPushButton { - protected KColorButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a color button. - @short Creates a color button. - */ - public KColorButton(TQWidget parent, String name) { - super((Class) null); - newKColorButton(parent,name); - } - private native void newKColorButton(TQWidget parent, String name); - public KColorButton(TQWidget parent) { - super((Class) null); - newKColorButton(parent); - } - private native void newKColorButton(TQWidget parent); - /** - Creates a color button with an initial color <code>c.</code> - @short Creates a color button with an initial color <code>c.</code> - */ - public KColorButton(TQColor c, TQWidget parent, String name) { - super((Class) null); - newKColorButton(c,parent,name); - } - private native void newKColorButton(TQColor c, TQWidget parent, String name); - public KColorButton(TQColor c, TQWidget parent) { - super((Class) null); - newKColorButton(c,parent); - } - private native void newKColorButton(TQColor c, TQWidget parent); - public KColorButton(TQColor c, TQColor defaultColor, TQWidget parent, String name) { - super((Class) null); - newKColorButton(c,defaultColor,parent,name); - } - private native void newKColorButton(TQColor c, TQColor defaultColor, TQWidget parent, String name); - public KColorButton(TQColor c, TQColor defaultColor, TQWidget parent) { - super((Class) null); - newKColorButton(c,defaultColor,parent); - } - private native void newKColorButton(TQColor c, TQColor defaultColor, TQWidget parent); - /** - Returns the currently chosen color. - @short Returns the currently chosen color. - */ - public native TQColor color(); - /** - Sets the current color to <code>c.</code> - @short Sets the current color to <code>c.</code> - */ - public native void setColor(TQColor c); - /** - Returns the default color or an invalid color - if no default color is set. - @short Returns the default color or an invalid color if no default color is set. - */ - public native TQColor defaultColor(); - /** - Sets the default color to <code>c.</code> - @short Sets the default color to <code>c.</code> - */ - public native void setDefaultColor(TQColor c); - public native TQSize sizeHint(); - protected native void drawButtonLabel(TQPainter p); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseMoveEvent(TQMouseEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void chooseColor(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorButtonSignals.java b/kdejava/koala/org/kde/koala/KColorButtonSignals.java deleted file mode 100644 index a0a4d56a..00000000 --- a/kdejava/koala/org/kde/koala/KColorButtonSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; - -public interface KColorButtonSignals { - /** - Emitted when the color of the widget - is changed, either with setColor() or via user selection. - @short Emitted when the color of the widget is changed, either with setColor() or via user selection. - */ - void changed(TQColor newColor); -} diff --git a/kdejava/koala/org/kde/koala/KColorCells.java b/kdejava/koala/org/kde/koala/KColorCells.java deleted file mode 100644 index eda369de..00000000 --- a/kdejava/koala/org/kde/koala/KColorCells.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQGridView; - -/** - - A table of editable color cells. - See {@link KColorCellsSignals} for signals emitted by KColorCells - @author Martin Jones <mjones@kde.org> - - @short A table of editable color cells. - -*/ -public class KColorCells extends TQGridView { - protected KColorCells(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KColorCells(TQWidget parent, int rows, int cols) { - super((Class) null); - newKColorCells(parent,rows,cols); - } - private native void newKColorCells(TQWidget parent, int rows, int cols); - public native void setColor(int colNum, TQColor col); - public native TQColor color(int indx); - public native int numCells(); - public native void setShading(boolean _shade); - public native void setAcceptDrags(boolean _acceptDrags); - public native int getSelected(); - public native void paintCell(TQPainter painter, int row, int col); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native int posToCell(TQPoint pos, boolean ignoreBorders); - protected native int posToCell(TQPoint pos); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorCellsSignals.java b/kdejava/koala/org/kde/koala/KColorCellsSignals.java deleted file mode 100644 index 4b3a8c3c..00000000 --- a/kdejava/koala/org/kde/koala/KColorCellsSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KColorCellsSignals { - void colorSelected(int col); - void colorDoubleClicked(int col); -} diff --git a/kdejava/koala/org/kde/koala/KColorCombo.java b/kdejava/koala/org/kde/koala/KColorCombo.java deleted file mode 100644 index 52a7e20b..00000000 --- a/kdejava/koala/org/kde/koala/KColorCombo.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQComboBox; - -/** - - Combobox for colors. - See {@link KColorComboSignals} for signals emitted by KColorCombo - @short Combobox for colors. - -*/ -public class KColorCombo extends TQComboBox { - protected KColorCombo(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a color combo box. - @short Constructs a color combo box. - */ - public KColorCombo(TQWidget parent, String name) { - super((Class) null); - newKColorCombo(parent,name); - } - private native void newKColorCombo(TQWidget parent, String name); - public KColorCombo(TQWidget parent) { - super((Class) null); - newKColorCombo(parent); - } - private native void newKColorCombo(TQWidget parent); - /** - Selects the color <code>col.</code> - @short Selects the color <code>col.</code> - */ - public native void setColor(TQColor col); - /** - Returns the currently selected color. - @short Returns the currently selected color. - */ - public native TQColor color(); - /** - Clear the color list and don't show it, till the next setColor() call - @short Clear the color list and don't show it, till the next setColor() call - */ - public native void showEmptyList(); - protected native void resizeEvent(TQResizeEvent re); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorComboSignals.java b/kdejava/koala/org/kde/koala/KColorComboSignals.java deleted file mode 100644 index 67a363d7..00000000 --- a/kdejava/koala/org/kde/koala/KColorComboSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KColorComboSignals { - /** - Emitted when a new color box has been selected. - @short Emitted when a new color box has been selected. - */ - void activated(TQColor col); - /** - Emitted when a new item has been highlighted. - @short Emitted when a new item has been highlighted. - */ - void highlighted(TQColor col); -} diff --git a/kdejava/koala/org/kde/koala/KColorDialog.java b/kdejava/koala/org/kde/koala/KColorDialog.java deleted file mode 100644 index 32a95471..00000000 --- a/kdejava/koala/org/kde/koala/KColorDialog.java +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - - <li><b>Features:</b></li> - - <li> - Color selection from a wide range of palettes. - </li> - - <li> - Color selection from a palette of H vs S and V selectors. - </li> - - <li> - Direct input of HSV or RGB values. - </li> - - <li> - Saving of custom colors - </li> - In most cases, you will want to use the static method KColorDialog.getColor(). - This pops up the dialog (with an initial selection provided by you), lets the - user choose a color, and returns. - Example: - <pre> - TQColor myColor; - int result = KColorDialog.getColor( myColor ); - if ( result == KColorDialog.Accepted ) - ... - </pre> - The color dialog is really a collection of several widgets which can - you can also use separately: the quadratic plane in the top left of - the dialog is a KXYSelector. Right next to it is a KHSSelector - for choosing hue/saturation. - On the right side of the dialog you see a KPaletteTable showing - up to 40 colors with a combo box which offers several predefined - palettes or a palette configured by the user. The small field showing - the currently selected color is a KColorPatch. - See {@link KColorDialogSignals} for signals emitted by KColorDialog - @short A color selection dialog. - -*/ -public class KColorDialog extends KDialogBase { - protected KColorDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a color selection dialog. - @short Constructs a color selection dialog. - */ - public KColorDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKColorDialog(parent,name,modal); - } - private native void newKColorDialog(TQWidget parent, String name, boolean modal); - public KColorDialog(TQWidget parent, String name) { - super((Class) null); - newKColorDialog(parent,name); - } - private native void newKColorDialog(TQWidget parent, String name); - public KColorDialog(TQWidget parent) { - super((Class) null); - newKColorDialog(parent); - } - private native void newKColorDialog(TQWidget parent); - public KColorDialog() { - super((Class) null); - newKColorDialog(); - } - private native void newKColorDialog(); - /** - Returns the currently selected color. - @short Returns the currently selected color. - */ - public native TQColor color(); - /** - Call this to make the dialog show a "Default Color" checkbox. - If this checkbox is selected, the dialog will return an "invalid" color (TQColor()). - This can be used to mean "the default text color", for instance, - the one with the KDE text color on screen, but black when printing. - @short Call this to make the dialog show a "Default Color" checkbox. - */ - public native void setDefaultColor(TQColor defaultCol); - /** - @return the value passed to setDefaultColor - - @short - */ - public native TQColor defaultColor(); - /** - Preselects a color. - @short Preselects a color. - */ - public native void setColor(TQColor col); - /** - Creates a modal color dialog, let the user choose a - color, and returns when the dialog is closed. - The selected color is returned in the argument <code>theColor.</code> - @return TQDialog.result(). - - @short Creates a modal color dialog, let the user choose a color, and returns when the dialog is closed. - */ - public static native int getColor(TQColor theColor, TQWidget parent); - public static native int getColor(TQColor theColor); - /** - Creates a modal color dialog, lets the user choose a - color, and returns when the dialog is closed. - The selected color is returned in the argument <code>theColor.</code> - This version takes a <code>defaultColor</code> argument, which sets the color - selected by the "default color" checkbox. When this checkbox is checked, - the invalid color (TQColor()) is returned into <code>theColor.</code> - @return TQDialog.result(). - - @short Creates a modal color dialog, lets the user choose a color, and returns when the dialog is closed. - */ - public static native int getColor(TQColor theColor, TQColor defaultColor, TQWidget parent); - public static native int getColor(TQColor theColor, TQColor defaultColor); - /** - Gets the color from the pixel at point p on the screen. - @short Gets the color from the pixel at point p on the screen. - */ - public static native TQColor grabColor(TQPoint p); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent ev); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorDialogSignals.java b/kdejava/koala/org/kde/koala/KColorDialogSignals.java deleted file mode 100644 index 89b79475..00000000 --- a/kdejava/koala/org/kde/koala/KColorDialogSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KColorDialogSignals { - /** - Emitted when a color is selected. - Connect to this to monitor the color as it as selected if you are - not running modal. - @short Emitted when a color is selected. - */ - void colorSelected(TQColor col); -} diff --git a/kdejava/koala/org/kde/koala/KColorDrag.java b/kdejava/koala/org/kde/koala/KColorDrag.java deleted file mode 100644 index 71597526..00000000 --- a/kdejava/koala/org/kde/koala/KColorDrag.java +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMimeSourceInterface; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMimeSource; -import org.kde.qt.TQWidget; -import org.kde.qt.TQStoredDrag; - -/** - - A drag-and-drop object for colors. The according MIME type - is set to application/x-color. - See the Qt drag'n'drop documentation. - @short A drag-and-drop object for colors. - -*/ -public class KColorDrag extends TQStoredDrag { - protected KColorDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a color drag with a white color. - @short Constructs a color drag with a white color. - */ - public KColorDrag(TQWidget dragsource, String name) { - super((Class) null); - newKColorDrag(dragsource,name); - } - private native void newKColorDrag(TQWidget dragsource, String name); - public KColorDrag(TQWidget dragsource) { - super((Class) null); - newKColorDrag(dragsource); - } - private native void newKColorDrag(TQWidget dragsource); - public KColorDrag() { - super((Class) null); - newKColorDrag(); - } - private native void newKColorDrag(); - /** - Constructs a color drag with the color <code>col.</code> - @short Constructs a color drag with the color <code>col.</code> - */ - public KColorDrag(TQColor col, TQWidget dragsource, String name) { - super((Class) null); - newKColorDrag(col,dragsource,name); - } - private native void newKColorDrag(TQColor col, TQWidget dragsource, String name); - public KColorDrag(TQColor col, TQWidget dragsource) { - super((Class) null); - newKColorDrag(col,dragsource); - } - private native void newKColorDrag(TQColor col, TQWidget dragsource); - public KColorDrag(TQColor col) { - super((Class) null); - newKColorDrag(col); - } - private native void newKColorDrag(TQColor col); - public native String format(int i); - public native byte[] encodedData(String m); - /** - Sets the color of the drag to <code>col.</code> - @short Sets the color of the drag to <code>col.</code> - */ - public native void setColor(TQColor col); - /** - Returns true if the MIME source <code>e</code> contains a color object. - @short Returns true if the MIME source <code>e</code> contains a color object. - */ - public static native boolean canDecode(TQMimeSourceInterface e); - /** - Decodes the MIME source <code>e</code> and puts the resulting color into <code>col.</code> - @short Decodes the MIME source <code>e</code> and puts the resulting color into <code>col.</code> - */ - public static native boolean decode(TQMimeSourceInterface e, TQColor col); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorPatch.java b/kdejava/koala/org/kde/koala/KColorPatch.java deleted file mode 100644 index 7b140a6c..00000000 --- a/kdejava/koala/org/kde/koala/KColorPatch.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - The KColorPatch widget is a (usually small) widget showing - a selected color e. g. in the KColorDialog. It - automatically handles drag and drop from and on the widget. - See {@link KColorPatchSignals} for signals emitted by KColorPatch - @short A color displayer. - -*/ -public class KColorPatch extends TQFrame { - protected KColorPatch(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KColorPatch(TQWidget parent) { - super((Class) null); - newKColorPatch(parent); - } - private native void newKColorPatch(TQWidget parent); - public native void setColor(TQColor col); - protected native void drawContents(TQPainter painter); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorPatchSignals.java b/kdejava/koala/org/kde/koala/KColorPatchSignals.java deleted file mode 100644 index 83568d4f..00000000 --- a/kdejava/koala/org/kde/koala/KColorPatchSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; - -public interface KColorPatchSignals { - void colorChanged(TQColor arg1); -} diff --git a/kdejava/koala/org/kde/koala/KCombiView.java b/kdejava/koala/org/kde/koala/KCombiView.java deleted file mode 100644 index 81b0e318..00000000 --- a/kdejava/koala/org/kde/koala/KCombiView.java +++ /dev/null @@ -1,218 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQSplitter; - -/** - - This view is designed to combine two KFileViews into one widget, to show - directories on the left side and files on the right side. - Methods like selectedItems() to query status _only_ work on the right side, - i.e. on the files. - After creating the KCombiView, you need to supply the view shown in the - right, (see setRight()). Available KFileView implementations are - KFileIconView and KFileDetailView. - Most of the below methods are just implementations of the baseclass - KFileView, so look there for documentation. - @short This view is designed to combine two KFileViews into one widget, to show directories on the left side and files on the right side. - @see KFileView - @see KFileIconView - @see KFileDetailView - @see KDirOperator - -*/ -public class KCombiView extends TQSplitter implements KFileViewInterface { - protected KCombiView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KCombiView(TQWidget parent, String name) { - super((Class) null); - newKCombiView(parent,name); - } - private native void newKCombiView(TQWidget parent, String name); - public native TQWidget widget(); - public native void clearView(); - public native void updateView(boolean arg1); - public native void updateView(KFileItem arg1); - public native void removeItem(KFileItem arg1); - public native void listingCompleted(); - /** - Sets the view to be shown in the right. You need to call this before - doing anything else with this widget. - @short Sets the view to be shown in the right. - */ - public native void setRight(KFileViewInterface view); - public native void setSelectionMode(int sm); - public native void setSelected(KFileItem arg1, boolean arg2); - public native boolean isSelected(KFileItem arg1); - public native void clearSelection(); - public native void selectAll(); - public native void invertSelection(); - public native void setCurrentItem(KFileItem arg1); - public native KFileItem currentFileItem(); - public native KFileItem firstFileItem(); - public native KFileItem nextItem(KFileItem arg1); - public native KFileItem prevItem(KFileItem arg1); - public native void insertItem(KFileItem i); - public native void clear(); - public native void setSorting(int sort); - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - public native void ensureItemVisible(KFileItem arg1); - public native TDEActionCollection actionCollection(); - public native void setAcceptDrops(boolean b); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void setDropOptions_impl(int options); - protected native void slotSortingChanged(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - inserts a list of items. - @short inserts a list of items. - */ - public native void addItemList(ArrayList list); - /** - Sets <code>filename</code> the current item in the view, if available. - @short Sets <code>filename</code> the current item in the view, if available. - */ - public native void setCurrentItem(String filename); - public native void updateView(); - /** - Returns the sorting order of the internal list. Newly added files - are added through this sorting. - @short Returns the sorting order of the internal list. - */ - public native int sorting(); - /** - Tells whether the current items are in reversed order (shortcut to - sorting() & TQDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). - */ - public native boolean isReversed(); - public native void sortReversed(); - /** - @return the number of dirs and files - - @short - */ - public native int count(); - /** - @return the number of files. - - @short - */ - public native int numFiles(); - /** - @return the number of directories - - @short - */ - public native int numDirs(); - public native void setViewMode(int vm); - public native int viewMode(); - /** - @return the localized name of the view, which could be displayed - somewhere, e.g. in a menu, where the user can choose between views. - - @short - @see #setViewName - */ - public native String viewName(); - /** - Sets the name of the view, which could be displayed somewhere. - E.g. "Image Preview". - @short Sets the name of the view, which could be displayed somewhere. - */ - public native void setViewName(String name); - public native void setParentView(KFileViewInterface parent); - /** - @return all currently highlighted items. - - @short - */ - public native ArrayList selectedItems(); - /** - @return all items currently available in the current sort-order - - @short - */ - public native ArrayList items(); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - Every view has to decide when to call select( item ) when a file was - single-clicked, based on onlyDoubleClickSelectsFiles(). - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - increases the number of dirs and files. - @return true if the item fits the view mode - - @short increases the number of dirs and files. - */ - public native boolean updateNumbers(KFileItem i); - public native KFileViewSignaler signaler(); - /** - Specify DND options. See DropOptions for details. - All options are disabled by default. - @short Specify DND options. - */ - public native void setDropOptions(int options); - /** - Returns the DND options in effect. - See DropOptions for details. - @short Returns the DND options in effect. - */ - public native int dropOptions(); - /** - This method calculates a String from the given parameters, that is - suitable for sorting with e.g. TQIconView or TQListView. Their - Item-classes usually have a setKey( String ) method or a virtual - method String key() that is used for sorting. - @param value Any string that should be used as sort criterion - @param isDir Tells whether the key is computed for an item representing - a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of TQDir.SortSpec flags. - Currently, the values IgnoreCase, Reversed and - DirsFirst are taken into account. - @short This method calculates a String from the given parameters, that is suitable for sorting with e. - */ - public static native String sortingKey(String value, boolean isDir, int sortSpec); - /** - An overloaded method that takes not a String, but a number as sort - criterion. You can use this for file-sizes or dates/times for example. - If you use a time_t, you need to cast that to TDEIO.filesize_t because - of ambiguity problems. - @short An overloaded method that takes not a String, but a number as sort criterion. - */ - public static native String sortingKey(long value, boolean isDir, int sortSpec); - /** - delay before auto opening a directory - @short - */ - public static native int autoOpenDelay(); -} diff --git a/kdejava/koala/org/kde/koala/KComboBox.java b/kdejava/koala/org/kde/koala/KComboBox.java deleted file mode 100644 index b2deb671..00000000 --- a/kdejava/koala/org/kde/koala/KComboBox.java +++ /dev/null @@ -1,626 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQLineEdit; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQComboBox; - -/** - - A combined button, line-edit and a popup list widget. - <li><b>Detail </b></li> - This widget inherits from TQComboBox and implements the following - additional functionalities: a completion object that provides both automatic - and manual text completion as well as text rotation features, configurable - key-bindings to activate these features, and a popup-menu item that can be - used to allow the user to change the text completion mode on the fly. - To support these new features KComboBox emits a few additional signals - such as completion( String ) and textRotation( KeyBindgingType ). - The completion signal can be connected to a slot that will assist the user in - filling out the remaining text while the rotation signal can be used to traverse - through all possible matches whenever text completion results in multiple matches. - Additionally, a returnPressed() and a returnPressed( String ) - signals are emitted when the user presses the Enter/Return key. - KCombobox by default creates a completion object when you invoke the - completionObject( boolean ) member function for the first time or - explicitly use setCompletionObject( TDECompletion, boolean ) to assign your - own completion object. Additionally, to make this widget more functional, - KComboBox will by default handle text rotation and completion events - internally whenever a completion object is created through either one of the - methods mentioned above. If you do not need this functionality, simply use - TDECompletionBase.setHandleSignals(boolean) or alternatively set the booleanean - parameter in the <code>setCompletionObject</code> call to false. - Beware: The completion object can be deleted on you, especially if a call - such as setEditable(false) is made. Store the pointer at your own risk, - and consider using TQGuardedPtr<TDECompletion>. - The default key-bindings for completion and rotation is determined from the - global settings in TDEStdAccel. These values, however, can be overridden - locally by invoking TDECompletionBase.setKeyBinding(). The values can - easily be reverted back to the default setting, by simply calling - useGlobalSettings(). An alternate method would be to default individual - key-bindings by usning setKeyBinding() with the default second argument. - A non-editable combobox only has one completion mode, <code>CompletionAuto.</code> - Unlike an editable combobox the CompletionAuto mode, works by matching - any typed key with the first letter of entries in the combobox. Please note - that if you call setEditable( false ) to change an editable combobox to a - non-editable one, the text completion object associated with the combobox will - no longer exist unless you created the completion object yourself and assigned - it to this widget or you called setAutoDeleteCompletionObject( false ). In other - words do not do the following: - <pre> - KComboBox combo = new TDECompletionBox(true, this, "mywidget"); - TDECompletion comp = combo.completionObject(); - combo.setEditable( false ); - comp.clear(); // CRASH: completion object does not exist anymore. - </pre> - A read-only KComboBox will have the same background color as a - disabled KComboBox, but its foreground color will be the one used for - the read-write mode. This differs from TQComboBox's implementation - and is done to give visual distinction between the three different modes: - disabled, read-only, and read-write. - <li><b>Usage </b></li> - To enable the basic completion feature: - <pre> - KComboBox combo = new KComboBox( true, this, "mywidget" ); - TDECompletion comp = combo.completionObject(); - // Connect to the return pressed signal - optional - connect(combo,SIGNAL("returnPressed(String)"),comp,SLOT("addItem(String)")); - // Provide the to be completed strings. Note that those are separate from the combo's - // contents. - comp.insertItems( someArrayList ); - </pre> - To use your own completion object: - <pre> - KComboBox combo = new KComboBox( this,"mywidget" ); - KURLCompletion comp = new KURLCompletion(); - combo.setCompletionObject( comp ); - // Connect to the return pressed signal - optional - connect(combo,SIGNAL("returnPressed(String)"),comp,SLOT("addItem(String)")); - </pre> - Note that you have to either delete the allocated completion object - when you don't need it anymore, or call - setAutoDeleteCompletionObject( true ); - Miscellaneous function calls: - <pre> - // Tell the widget not to handle completion and rotation - combo.setHandleSignals( false ); - // Set your own completion key for manual completions. - combo.setKeyBinding( TDECompletionBase.TextCompletion, Qt.End ); - // Hide the context (popup) menu - combo.setContextMenuEnabled( false ); - </pre> - See {@link KComboBoxSignals} for signals emitted by KComboBox - @author Dawit Alemayehu <adawit@kde.org> - - @short An enhanced combo box. - -*/ -public class KComboBox extends TQComboBox implements TDECompletionBaseInterface { - protected KComboBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a read-only or rather select-only combo box with a - parent object and a name. - @param parent The parent object of this widget - @param name The name of this widget - @short Constructs a read-only or rather select-only combo box with a parent object and a name. - */ - public KComboBox(TQWidget parent, String name) { - super((Class) null); - newKComboBox(parent,name); - } - private native void newKComboBox(TQWidget parent, String name); - public KComboBox(TQWidget parent) { - super((Class) null); - newKComboBox(parent); - } - private native void newKComboBox(TQWidget parent); - public KComboBox() { - super((Class) null); - newKComboBox(); - } - private native void newKComboBox(); - /** - Constructs a "read-write" or "read-only" combo box depending on - the value of the first argument( <code>rw</code> ) with a parent, a - name. - @param rw When <code>true</code>, widget will be editable. - @param parent The parent object of this widget. - @param name The name of this widget. - @short Constructs a "read-write" or "read-only" combo box depending on the value of the first argument( <code>rw</code> ) with a parent, a name. - */ - public KComboBox(boolean rw, TQWidget parent, String name) { - super((Class) null); - newKComboBox(rw,parent,name); - } - private native void newKComboBox(boolean rw, TQWidget parent, String name); - public KComboBox(boolean rw, TQWidget parent) { - super((Class) null); - newKComboBox(rw,parent); - } - private native void newKComboBox(boolean rw, TQWidget parent); - public KComboBox(boolean rw) { - super((Class) null); - newKComboBox(rw); - } - private native void newKComboBox(boolean rw); - /** - Sets <code>url</code> into the edit field of the combobox. It uses - KURL.prettyURL() so that the url is properly decoded for - displaying. - @short Sets <code>url</code> into the edit field of the combobox. - */ - public native void setEditURL(KURL url); - /** - Inserts <code>url</code> at position <code>index</code> into the combobox. The item will - be appended if <code>index</code> is negative. KURL.prettyURL() is used - so that the url is properly decoded for displaying. - @short Inserts <code>url</code> at position <code>index</code> into the combobox. - */ - public native void insertURL(KURL url, int index); - public native void insertURL(KURL url); - /** - Inserts <code>url</code> with the pixmap &p pixmap at position <code>index</code> into - the combobox. The item will be appended if <code>index</code> is negative. - KURL.prettyURL() is used so that the url is properly decoded - for displaying. - @short Inserts <code>url</code> with the pixmap &p pixmap at position <code>index</code> into the combobox. - */ - public native void insertURL(TQPixmap pixmap, KURL url, int index); - public native void insertURL(TQPixmap pixmap, KURL url); - /** - Replaces the item at position <code>index</code> with <code>url.</code> - KURL.prettyURL() is used so that the url is properly decoded - for displaying. - @short Replaces the item at position <code>index</code> with <code>url.</code> - */ - public native void changeURL(KURL url, int index); - /** - Replaces the item at position <code>index</code> with <code>url</code> and pixmap <code>pixmap.</code> - KURL.prettyURL() is used so that the url is properly decoded - for displaying. - @short Replaces the item at position <code>index</code> with <code>url</code> and pixmap <code>pixmap.</code> - */ - public native void changeURL(TQPixmap pixmap, KURL url, int index); - /** - Returns the current cursor position. - This method always returns a -1 if the combo-box is <b>not</b> - editable (read-write). - @return Current cursor position. - - @short Returns the current cursor position. - */ - public native int cursorPosition(); - /** - Re-implemented from TQComboBox. - If <code>true</code>, the completion mode will be set to automatic. - Otherwise, it is defaulted to the global setting. This - method has been replaced by the more comprehensive - setCompletionMode(). - @param autocomplete Flag to enable/disable automatic completion mode. - @short Re-implemented from TQComboBox. - */ - public native void setAutoCompletion(boolean autocomplete); - /** - Re-implemented from TQComboBox. - Returns <code>true</code> if the current completion mode is set - to automatic. See its more comprehensive replacement - completionMode(). - @return <code>true</code> when completion mode is automatic. - - @short Re-implemented from TQComboBox. - */ - public native boolean autoCompletion(); - /** - Enables or disable the popup (context) menu. - This method only works if this widget is editable, i.e. - read-write and allows you to enable/disable the context - menu. It does nothing if invoked for a none-editable - combo-box. Note that by default the mode changer item - is made visiable whenever the context menu is enabled. - Use hideModechanger() if you want to hide this - item. Also by default, the context menu is created if - this widget is editable. Call this function with the - argument set to false to disable the popup menu. - @param showMenu If <code>true</code>, show the context menu. - @short Enables or disable the popup (context) menu. - */ - public native void setContextMenuEnabled(boolean showMenu); - /** - Returns <code>true</code> when the context menu is enabled. - @short Returns <code>true</code> when the context menu is enabled. - */ - public native boolean isContextMenuEnabled(); - /** - Enables/Disables handling of URL drops. If enabled and the user - drops an URL, the decoded URL will be inserted. Otherwise the default - behavior of TQComboBox is used, which inserts the encoded URL. - @param enable If <code>true</code>, insert decoded URLs - @short Enables/Disables handling of URL drops. - */ - public native void setURLDropsEnabled(boolean enable); - /** - Returns <code>true</code> when decoded URL drops are enabled - @short Returns <code>true</code> when decoded URL drops are enabled - */ - public native boolean isURLDropsEnabled(); - /** - Convenience method which iterates over all items and checks if - any of them is equal to <code>text.</code> - If <code>text</code> is an empty string, <code>false</code> - is returned. - @return <code>true</code> if an item with the string <code>text</code> is in the combobox. - - @short Convenience method which iterates over all items and checks if any of them is equal to <code>text.</code> - */ - public native boolean contains(String text); - /** - By default, KComboBox recognizes Key_Return and Key_Enter - and emits the returnPressed() signals, but it also lets the - event pass, for example causing a dialog's default-button to - be called. - Call this method with <code>trap</code> equal to true to make KComboBox - stop these events. The signals will still be emitted of course. - Only affects read-writable comboboxes. - @short By default, KComboBox recognizes Key_Return and Key_Enter and emits the returnPressed() signals, but it also lets the event pass, for example causing a dialog's default-button to be called. - @see #setTrapReturnKey - */ - public native void setTrapReturnKey(boolean trap); - /** - @return <code>true</code> if keyevents of Key_Return or Key_Enter will - be stopped or if they will be propagated. - - @short - @see #setTrapReturnKey - */ - public native boolean trapReturnKey(); - /** - Re-implemented for internal reasons. API not affected. - @short Re-implemented for internal reasons. - */ - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** - @param create Set this to false if you don't want the box to be created - i.e. to test if it is available. - @return the completion-box, that is used in completion mode - TDEGlobalSettings.CompletionPopup and TDEGlobalSettings.CompletionPopupAuto. - This method will create a completion-box by calling - KLineEdit.completionBox, if none is there, yet. - - @short - */ - public native TDECompletionBox completionBox(boolean create); - public native TDECompletionBox completionBox(); - /** - Re-implemented for internal reasons. API remains unaffected. - NOTE: Only editable comboboxes can have a line editor. As such - any attempt to assign a line-edit to a non-editable combobox will - simply be ignored. - @short Re-implemented for internal reasons. - */ - public native void setLineEdit(TQLineEdit arg1); - /** - Iterates through all possible matches of the completed text - or the history list. - Depending on the value of the argument, this function either - iterates through the history list of this widget or the all - possible matches in whenever multiple matches result from a - text completion request. Note that the all-possible-match - iteration will not work if there are no previous matches, i.e. - no text has been completed and the nix shell history list - rotation is only available if the insertion policy for this - widget is set either <code>TQComobBox</code>.AtTop or <code>TQComboBox</code>.AtBottom. - For other insertion modes whatever has been typed by the user - when the rotation event was initiated will be lost. - @param type The key-binding invoked. - @short Iterates through all possible matches of the completed text or the history list. - */ - public native void rotateText(int type); - /** - Sets the completed text in the line-edit appropriately. - This function is an implementation for - TDECompletionBase.setCompletedText. - @short Sets the completed text in the line-edit appropriately. - */ - public native void setCompletedText(String arg1); - /** - Sets <code>items</code> into the completion-box if completionMode() is - CompletionPopup. The popup will be shown immediately. - @short Sets <code>items</code> into the completion-box if completionMode() is CompletionPopup. - */ - public native void setCompletedItems(String[] items); - /** - Selects the first item that matches <code>item.</code> If there is no such item, - it is inserted at position <code>index</code> if <code>insert</code> is true. Otherwise, - no item is selected. - @short Selects the first item that matches <code>item.</code> - */ - public native void setCurrentItem(String item, boolean insert, int index); - public native void setCurrentItem(String item, boolean insert); - public native void setCurrentItem(String item); - /** - Simply calls TQComboBox' implementation. Only here to not become - shadowed. - @short Simply calls TQComboBox' implementation. - */ - public native void setCurrentItem(int index); - protected native void setCompletedText(String arg1, boolean arg2); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - protected native void create(long arg1, boolean initializeWindow, boolean destroyOldWindow); - protected native void create(long arg1, boolean initializeWindow); - protected native void create(long arg1); - protected native void create(); - protected native void wheelEvent(TQWheelEvent ev); - /** - Completes text according to the completion mode. - Note: this method is <code>not</code> invoked if the completion mode is - set to CompletionNone. Also if the mode is set to <code>CompletionShell</code> - and multiple matches are found, this method will complete the - text to the first match with a beep to inidicate that there are - more matches. Then any successive completion key event iterates - through the remaining matches. This way the rotation functionality - is left to iterate through the list as usual. - @short Completes text according to the completion mode. - */ - protected native void makeCompletion(String arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Returns a pointer to the current completion object. - If the completion object does not exist, it is automatically created and - by default handles all the completion signals internally unless <code>hsig</code> - is set to false. It is also automatically destroyed when the destructor - is called. You can change this default behavior using the - {@link #setAutoDeleteCompletionObject} and {@link #setHandleSignals} member - functions. - See also {@link #compObj}. - @param hsig if true, handles completion signals internally. - @return a pointer the completion object. - - @short Returns a pointer to the current completion object. - */ - public native TDECompletion completionObject(boolean hsig); - public native TDECompletion completionObject(); - /** - Sets up the completion object to be used. - This method assigns the completion object and sets it up to automatically - handle the completion and rotation signals internally. You should use - this function if you want to share one completion object among your - widgets or need to use a customized completion object. - The object assigned through this method is not deleted when this object's - destructor is invoked unless you explicitly call {@link #setAutoDeleteCompletionObject} - after calling this method. Be sure to set the boolean argument to false, if - you want to handle the completion signals yourself. - @param compObj a TDECompletion() or a derived child object. - @param hsig if true, handles completion signals internally. - @short Sets up the completion object to be used. - */ - public native void setCompletionObject(TDECompletion compObj, boolean hsig); - public native void setCompletionObject(TDECompletion compObj); - /** - Enables this object to handle completion and rotation - events internally. - This function simply assigns a booleanean value that - indicates whether it should handle rotation and - completion events or not. Note that this does not - stop the object from emitting signals when these - events occur. - @param handle if true, handle completion & rotation internally. - @short Enables this object to handle completion and rotation events internally. - */ - public native void setHandleSignals(boolean handle); - /** - Returns true if the completion object is deleted - upon this widget's destruction. - See setCompletionObject() and enableCompletion() - for details. - @return true if the completion object will be deleted - automatically - - @short Returns true if the completion object is deleted upon this widget's destruction. - */ - public native boolean isCompletionObjectAutoDeleted(); - /** - Sets the completion object when this widget's destructor - is called. - If the argument is set to true, the completion object - is deleted when this widget's destructor is called. - @param autoDelete if true, delete completion object on destruction. - @short Sets the completion object when this widget's destructor is called. - */ - public native void setAutoDeleteCompletionObject(boolean autoDelete); - /** - Sets the widget's ability to emit text completion and - rotation signals. - Invoking this function with <code>enable</code> set to <code>false</code> will - cause the completion & rotation signals not to be emitted. - However, unlike setting the completion object to <code>NULL</code> - using setCompletionObject, disabling the emition of - the signals through this method does not affect the current - completion object. - There is no need to invoke this function by default. When a - completion object is created through completionObject or - setCompletionObject, these signals are set to emit - automatically. Also note that disabling this signals will not - necessarily interfere with the objects ability to handle these - events internally. See setHandleSignals. - @param enable if false, disables the emition of completion & rotation signals. - @short Sets the widget's ability to emit text completion and rotation signals. - */ - public native void setEnableSignals(boolean enable); - /** - Returns true if the object handles the signals. - @return true if this signals are handled internally. - - @short Returns true if the object handles the signals. - */ - public native boolean handleSignals(); - /** - Returns true if the object emits the signals. - @return true if signals are emitted - - @short Returns true if the object emits the signals. - */ - public native boolean emitSignals(); - /** - Sets the type of completion to be used. - The completion modes supported are those defined in - TDEGlobalSettings(). See below. - @param mode Completion type: - - <li> - CompletionNone: Disables completion feature. - </li> - - <li> - CompletionAuto: Attempts to find a match & - fills-in the remaining text. - </li> - - <li> - CompletionMan: Acts the same as the above - except the action has to be - manually triggered through - pre-defined completion key. - </li> - - <li> - CompletionShell: Mimics the completion feature - found in typical nix shell - environments. - </li> - - <li> - CompletionPopup: Shows all available completions at once, - in a listbox popping up. - - </li> @short Sets the type of completion to be used. - */ - public native void setCompletionMode(int mode); - /** - Returns the current completion mode. - The return values are of type TDEGlobalSettings.Completion. - See setCompletionMode() for details. - @return the completion mode. - - @short Returns the current completion mode. - */ - public native int completionMode(); - /** - Sets the key-binding to be used for manual text - completion, text rotation in a history list as - well as a completion list. - When the keys set by this function are pressed, a - signal defined by the inheriting widget will be activated. - If the default value or 0 is specified by the second - parameter, then the key-binding as defined in the global - setting should be used. This method returns false value - for <code>key</code> is negative or the supplied key-binding conflicts - with the ones set for one of the other features. - NOTE: To use a modifier key (Shift, Ctrl, Alt) as part of - the key-binding simply simply <code>sum</code> up the values of the - modifier and the actual key. For example, to use CTRL+E as - a key binding for one of the items, you would simply supply - <code></code>"Qt.CtrlButton + Qt.Key_E" as the second argument to this - function. - @param item the feature whose key-binding needs to be set: - - <li> - TextCompletion the manual completion key-binding. - </li> - - <li> - PrevCompletionMatch the previous match key for multiple completion. - </li> - - <li> - NextCompletionMatch the next match key for for multiple completion. - </li> - - <li> - SubstringCompletion the key for substring completion - </li> - @param key key-binding used to rotate down in a list. - @return true if key-binding can successfully be set. - - @short Sets the key-binding to be used for manual text completion, text rotation in a history list as well as a completion list. - @see #getKeyBinding - */ - public native boolean setKeyBinding(int item, TDEShortcut key); - /** - Returns the key-binding used for the specified item. - This methods returns the key-binding used to activate - the feature feature given by <code>item.</code> If the binding - contains modifier key(s), the SUM of the modifier key - and the actual key code are returned. - @param item the item to check - @return the key-binding used for the feature given by <code>item.</code> - - @short Returns the key-binding used for the specified item. - @see #setKeyBinding - */ - public native TDEShortcut getKeyBinding(int item); - /** - Sets this object to use global values for key-bindings. - This method changes the values of the key bindings for - rotation and completion features to the default values - provided in TDEGlobalSettings. - NOTE: By default inheriting widgets should uses the - global key-bindings so that there will be no need to - call this method. - @short Sets this object to use global values for key-bindings. - */ - public native void useGlobalKeyBindings(); - /** - Returns a pointer to the completion object. - This method is only different from completionObject() - in that it does not create a new TDECompletion object even if - the internal pointer is <code>NULL.</code> Use this method to get the - pointer to a completion object when inheriting so that you - won't inadvertently create it!! - @return the completion object or NULL if one does not exist. - - @short Returns a pointer to the completion object. - */ - public native TDECompletion compObj(); - /** - Returns a key-binding map. - This method is the same as getKeyBinding() except it - returns the whole keymap containing the key-bindings. - @return the key-binding used for the feature given by <code>item.</code> - - @short Returns a key-binding map. - */ - // TDECompletionBase::KeyBindingMap getKeyBindings(); >>>> NOT CONVERTED - /** - Sets or removes the delegation object. If a delegation object is - set, all function calls will be forwarded to the delegation object. - @param delegate the delegation object, or 0 to remove it - @short Sets or removes the delegation object. - */ - protected native void setDelegate(TDECompletionBaseInterface delegate); - /** - Returns the delegation object. - @return the delegation object, or 0 if there is none - - @short Returns the delegation object. - @see #setDelegate - */ - protected native TDECompletionBaseInterface delegate(); -} diff --git a/kdejava/koala/org/kde/koala/KComboBoxSignals.java b/kdejava/koala/org/kde/koala/KComboBoxSignals.java deleted file mode 100644 index 49b69b6d..00000000 --- a/kdejava/koala/org/kde/koala/KComboBoxSignals.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQLineEdit; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface KComboBoxSignals { - /** - Emitted when the user presses the Enter key. - Note that this signal is only emitted when the widget is editable. - @short Emitted when the user presses the Enter key. - */ - void returnPressed(); - /** - Emitted when the user presses the Enter key. - The argument is the current text being edited. This signal is just like - returnPressed() except it contains the current text as its argument. - Note that this signal is only emitted when the - widget is editable. - @short Emitted when the user presses the Enter key. - */ - void returnPressed(String arg1); - /** - Emitted when the completion key is pressed. - The argument is the current text being edited. - Note that this signal is <b>not</b> available when the widget is non-editable - or the completion mode is set to <code>TDEGlobalSettings</code>.CompletionNone. - @short Emitted when the completion key is pressed. - */ - void completion(String arg1); - /** - Emitted when the shortcut for substring completion is pressed. - @short Emitted when the shortcut for substring completion is pressed. - */ - void substringCompletion(String arg1); - /** - Emitted when the text rotation key-bindings are pressed. - The argument indicates which key-binding was pressed. In this case this - can be either one of four values: <code>PrevCompletionMatch</code>, - <code>NextCompletionMatch</code>, <code>RotateUp</code> or <code>RotateDown.</code> See - TDECompletionBase.setKeyBinding() for details. - Note that this signal is <b>NOT</b> emitted if the completion - mode is set to CompletionNone. - @short Emitted when the text rotation key-bindings are pressed. - */ - void textRotation(int arg1); - /** - Emitted whenever the completion mode is changed by the user - through the context menu. - @short Emitted whenever the completion mode is changed by the user through the context menu. - */ - void completionModeChanged(int arg1); - /** - Emitted before the context menu is displayed. - The signal allows you to add your own entries into the context menu. - Note that you MUST NOT store the pointer to the TQPopupMenu since it is - created and deleted on demand. Otherwise, you can crash your app. - @param p the context menu about to be displayed - @short Emitted before the context menu is displayed. - */ - void aboutToShowContextMenu(TQPopupMenu p); -} diff --git a/kdejava/koala/org/kde/koala/KCommand.java b/kdejava/koala/org/kde/koala/KCommand.java deleted file mode 100644 index 2c33f28d..00000000 --- a/kdejava/koala/org/kde/koala/KCommand.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The abstract base class for all Commands. Commands are used to - store information needed for Undo/Redo functionality... - @short The abstract base class for all Commands. - -*/ -public class KCommand implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCommand(Class dummy){} - - /** - The main method: executes this command. - Implement here what this command is about, and remember to - record any information that will be helpful for #unexecute. - @short The main method: executes this command. - */ - public native void execute(); - /** - Unexecutes (undo) this command. - Implement here the steps to take for undoing the command. - If your application uses actions for everything (it should), - and if you implement unexecute correctly, the application is in the same - state after unexecute as it was before execute. This means, the next - call to execute will do the same thing as it did the first time. - @short Unexecutes (undo) this command. - */ - public native void unexecute(); - /** - @return the name of this command, translated, since it will appear - in the menus. - - @short - */ - public native String name(); -} diff --git a/kdejava/koala/org/kde/koala/KCommandHistory.java b/kdejava/koala/org/kde/koala/KCommandHistory.java deleted file mode 100644 index 0e97f583..00000000 --- a/kdejava/koala/org/kde/koala/KCommandHistory.java +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - The command history stores a (user) configurable amount of - Commands. It keeps track of its size and deletes commands - if it gets too large. The user can set a maximum undo and - a maximum redo limit (e.g. max. 50 undo / 30 redo commands). - The KCommandHistory keeps track of the "borders" and deletes - commands, if appropriate. It also activates/deactivates the - undo/redo actions in the menu and changes the text according - to the name of the command. - See {@link KCommandHistorySignals} for signals emitted by KCommandHistory - @short The command history stores a (user) configurable amount of Commands. - -*/ -public class KCommandHistory extends TQObject { - protected KCommandHistory(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a command history, to store commands. - This constructor doesn't create actions, so you need to call - #undo and #redo yourself. - @short Creates a command history, to store commands. - */ - public KCommandHistory() { - super((Class) null); - newKCommandHistory(); - } - private native void newKCommandHistory(); - /** - Creates a command history, to store commands. - This also creates an undo and a redo action, in the <code>actionCollection</code>, - using the standard names ("edit_undo" and "edit_redo"). - @param withMenus if true, the actions will display a menu when plugged - into a toolbar. - @param actionCollection the parent collection - @short Creates a command history, to store commands. - */ - public KCommandHistory(TDEActionCollection actionCollection, boolean withMenus) { - super((Class) null); - newKCommandHistory(actionCollection,withMenus); - } - private native void newKCommandHistory(TDEActionCollection actionCollection, boolean withMenus); - public KCommandHistory(TDEActionCollection actionCollection) { - super((Class) null); - newKCommandHistory(actionCollection); - } - private native void newKCommandHistory(TDEActionCollection actionCollection); - /** - Erases all the undo/redo history. - Use this when reloading the data, for instance, since this invalidates - all the commands. - @short Erases all the undo/redo history. - */ - public native void clear(); - /** - Adds a command to the history. Call this for each <code>command</code> you create. - Unless you set <code>execute</code> to false, this will also execute the command. - This means, most of the application's code will look like - MyCommand cmd = new MyCommand(i18n("Capitalized Name"), parameters); - m_historyCommand.addCommand( cmd ); - @short Adds a command to the history. - */ - public native void addCommand(KCommand command, boolean execute); - public native void addCommand(KCommand command); - /** - @return the maximum number of items in the undo history - - @short - */ - public native int undoLimit(); - /** - Sets the maximum number of items in the undo history. - @short Sets the maximum number of items in the undo history. - */ - public native void setUndoLimit(int limit); - /** - @return the maximum number of items in the redo history - - @short - */ - public native int redoLimit(); - /** - Sets the maximum number of items in the redo history. - @short Sets the maximum number of items in the redo history. - */ - public native void setRedoLimit(int limit); - /** - Enable or disable the undo and redo actions. - This isn't usually necessary, but this method can be useful if - you disable all actions (to go to a "readonly" state), and then - want to come back to a readwrite mode. - @short Enable or disable the undo and redo actions. - */ - public native void updateActions(); - /** - Undoes the last action. - Call this if you don't use the builtin TDEActions. - @short Undoes the last action. - */ - public native void undo(); - /** - Redoes the last undone action. - Call this if you don't use the builtin TDEActions. - @short Redoes the last undone action. - */ - public native void redo(); - /** - Remembers when you saved the document. - Call this right after saving the document. As soon as - the history reaches the current index again (via some - undo/redo operations) it will emit documentRestored - If you implemented undo/redo properly the document is - the same you saved before. - @short Remembers when you saved the document. - */ - public native void documentSaved(); - protected native void slotUndoAboutToShow(); - protected native void slotUndoActivated(int arg1); - protected native void slotRedoAboutToShow(); - protected native void slotRedoActivated(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCommandHistorySignals.java b/kdejava/koala/org/kde/koala/KCommandHistorySignals.java deleted file mode 100644 index 1bc45380..00000000 --- a/kdejava/koala/org/kde/koala/KCommandHistorySignals.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface KCommandHistorySignals { - /** - Emitted every time a command is executed - (whether by addCommand, undo or redo). - You can use this to update the GUI, for instance. - KDE4 TODO: remove - @short Emitted every time a command is executed (whether by addCommand, undo or redo). - */ - void commandExecuted(); - /** - Emitted every time a command is executed - (whether by addCommand, undo or redo). - You can use this to update the GUI, for instance. - @param command was executed - @short Emitted every time a command is executed (whether by addCommand, undo or redo). - */ - void commandExecuted(KCommand command); - /** - Emitted every time we reach the index where you - saved the document for the last time. See documentSaved - @short Emitted every time we reach the index where you saved the document for the last time. - */ - void documentRestored(); -} diff --git a/kdejava/koala/org/kde/koala/KContextMenuManager.java b/kdejava/koala/org/kde/koala/KContextMenuManager.java deleted file mode 100644 index 42880108..00000000 --- a/kdejava/koala/org/kde/koala/KContextMenuManager.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - -KContextMenuManager manages configurable context popup menus. Instead -of reimplementing TQWidget.mousePressEvent() or - TQWidget.mouseReleaseEvent() and/or TQWidget.keyPressEvent(), simply -create the popup menu and insert it into the context menu manager with -the static function insert(). -Example: -<pre> - KContextMenuManager.insert( myWidget, myPopupMenu ); -</pre> -Context menus are invoked with either a special shortcut key (usually -the menu key) or the right mouse button. -Menus are configurable in the [ContextMenus] group of the application's -configuration file, usually in kdeglobals: -<pre> - [ContextMenus] - ShowOnPress=true|false -</pre> -<code>ShowOnPress</code> defines whether the menu shall be shown on mouse -press or on mouse release. -The shortcut key to invoke the context menu is defined in the standard -[Keys] section of the application configuration: -<pre> - [Keys] - ... - PopupContextMenu=Menu - ... -</pre> -The key can be configured with the standard keys module in the KDE control center. -If the popup menu is invoked with the keyboard shortcut, it's shown at -the position of the micro focus hint of the widget ( TQWidget.microFocusHint() ). - @author Matthias Ettrich <ettrich@kde.org> - - @short Convenience class to mangage context menus. - -*/ -public class KContextMenuManager extends TQObject { - protected KContextMenuManager(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Makes <code>popup</code> a context popup menu for widget <code>widget.</code> - Ownership of the popup menu is not transferred to the context - menu manager. - @short Makes <code>popup</code> a context popup menu for widget <code>widget.</code> - */ - public static native void insert(TQWidget widget, TQPopupMenu popup); - /** - Use this method to get information about when a popup menu - should be activated. This can be useful if the popup menu is - to be activated from a listview. - @return true if the menu should be made visible on a button press - or false after a button press-release sequence. - - @short Use this method to get information about when a popup menu should be activated. - */ - public static native boolean showOnButtonPress(); -} diff --git a/kdejava/koala/org/kde/koala/KCursor.java b/kdejava/koala/org/kde/koala/KCursor.java deleted file mode 100644 index f6bf3f28..00000000 --- a/kdejava/koala/org/kde/koala/KCursor.java +++ /dev/null @@ -1,200 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCursor; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.Qt; - -/** - - A wrapper around TQCursor that allows for "themed" cursors. - Currently, the only themed cursor is a hand shaped cursor. - A typical usage would be - <pre> - setCursor(KCursor.handCursor()); - </pre> - @author Kurt Granroth <granroth@kde.org> - - @short A TQCursor wrapper allowing "themed" cursors and auto-hiding cursors. - -*/ -public class KCursor extends Qt { - protected KCursor(Class dummy){super((Class) null);} - /** - Constructor. - Does not do anything so far. - @short Constructor. - */ - public KCursor() { - super((Class) null); - newKCursor(); - } - private native void newKCursor(); - /** - Returns the proper hand cursor according to - the current GUI style (static function). - @short Returns the proper hand cursor according to the current GUI style (static function). - */ - public static native TQCursor handCursor(); - /** - Returns the proper arrow+hourglass cursor according to - the current GUI style (static function). - @short Returns the proper arrow+hourglass cursor according to the current GUI style (static function). - */ - public static native TQCursor workingCursor(); - /** - Returns the proper arrow cursor according to - the current GUI style (static function). - @short Returns the proper arrow cursor according to the current GUI style (static function). - */ - public static native TQCursor arrowCursor(); - /** - Returns the proper up arrow cursor according to - the current GUI style (static function). - @short Returns the proper up arrow cursor according to the current GUI style (static function). - */ - public static native TQCursor upArrowCursor(); - /** - Returns the proper cross-hair cursor according to - the current GUI style (static function). - @short Returns the proper cross-hair cursor according to the current GUI style (static function). - */ - public static native TQCursor crossCursor(); - /** - Returns the proper hourglass cursor according to - the current GUI style (static function). - @short Returns the proper hourglass cursor according to the current GUI style (static function). - */ - public static native TQCursor waitCursor(); - /** - Returns the proper text cursor according to - the current GUI style (static function). - @short Returns the proper text cursor according to the current GUI style (static function). - */ - public static native TQCursor ibeamCursor(); - /** - Returns the proper vertical resize cursor - according to the current GUI style (static function). - @short Returns the proper vertical resize cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeVerCursor(); - /** - Returns the proper horizontal resize cursor - according to the current GUI style (static function). - @short Returns the proper horizontal resize cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeHorCursor(); - /** - Returns the proper diagonal resize (/) cursor - according to the current GUI style (static function). - @short Returns the proper diagonal resize (/) cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeBDiagCursor(); - /** - Returns the proper diagonal resize (\) cursor - according to the current GUI style (static function). - @short Returns the proper diagonal resize (\) cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeFDiagCursor(); - /** - Returns the proper all-directions resize cursor - according to the current GUI style (static function). - @short Returns the proper all-directions resize cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeAllCursor(); - /** - Returns a blank or invisible cursor (static function). - @short Returns a blank or invisible cursor (static function). - */ - public static native TQCursor blankCursor(); - /** - Returns a WhatsThis cursor (static function). - @short Returns a WhatsThis cursor (static function). - */ - public static native TQCursor whatsThisCursor(); - /** - Sets auto-hiding the cursor for widget <code>w.</code> Enabling it will result in - the cursor being hidden when - - <li> - a key-event happens - </li> - - <li> - there are no key-events for a configured time-frame (see - setHideCursorDelay()) - </li> - The cursor will be shown again when the focus is lost or a mouse-event - happens. - Side effect: when enabling auto-hide, mouseTracking is enabled for the - specified widget, because it's needed to get mouse-move-events. So - don't disable mouseTracking for a widget while using auto-hide for it. - When disabling auto-hide, mouseTracking will be disabled, so if you need - mouseTracking after disabling auto-hide, you have to reenable - mouseTracking. - If you want to use auto-hiding for widgets that don't take focus, e.g. - a TQCanvasView, then you have to pass all key-events that should trigger - auto-hiding to autoHideEventFilter(). - @short Sets auto-hiding the cursor for widget <code>w.</code> - */ - public static native void setAutoHideCursor(TQWidget w, boolean enable); - /** - Overloaded method for the case where you have an event-filter installed - on the widget you want to enable auto-cursor-hiding. - In this case set <code>customEventFilter</code> to true and call - autoHideEventFilter() from the beginning of your eventFilter(). - @short Overloaded method for the case where you have an event-filter installed on the widget you want to enable auto-cursor-hiding. - @see #autoHideEventFilter - */ - public static native void setAutoHideCursor(TQWidget w, boolean enable, boolean customEventFilter); - /** - Sets the delay time in milliseconds for auto-hiding. When no keyboard - events arrive for that time-frame, the cursor will be hidden. - Default is 5000, i.e. 5 seconds. - @short Sets the delay time in milliseconds for auto-hiding. - */ - public static native void setHideCursorDelay(int ms); - /** - Default is 5000, i.e. 5 seconds. - @return the current auto-hide delay time. - - @short - */ - public static native int hideCursorDelay(); - /** - KCursor has to install an eventFilter over the widget you want to - auto-hide. If you have an own eventFilter() on that widget and stop - some events by returning true, you might break auto-hiding, because - KCursor doesn't get those events. - In this case, you need to call setAutoHideCursor( widget, true, true ); - to tell KCursor not to install an eventFilter. Then you call this method - from the beginning of your eventFilter, for example: - <pre> - edit = new KEdit( this, "some edit widget" ); - edit.installEventFilter( this ); - KCursor.setAutoHideCursor( edit, true, true ); - [...] - boolean YourClass.eventFilter( TQObject o, TQEvent e ) - { - if ( o == edit ) // only that widget where you enabled auto-hide! - KCursor.autoHideEventFilter( o, e ); - // now you can do your own event-processing - [...] - } - </pre> - Note that you must not call KCursor.autoHideEventFilter() when you - didn't enable or after disabling auto-hiding. - @short KCursor has to install an eventFilter over the widget you want to auto-hide. - */ - public static native void autoHideEventFilter(TQObject arg1, TQEvent arg2); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCustomMenuEditor.java b/kdejava/koala/org/kde/koala/KCustomMenuEditor.java deleted file mode 100644 index d985dbca..00000000 --- a/kdejava/koala/org/kde/koala/KCustomMenuEditor.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** -*/ -public class KCustomMenuEditor extends KDialogBase { - protected KCustomMenuEditor(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a dialog for editing a custom menu - @short Create a dialog for editing a custom menu - */ - public KCustomMenuEditor(TQWidget parent) { - super((Class) null); - newKCustomMenuEditor(parent); - } - private native void newKCustomMenuEditor(TQWidget parent); - /** - load the custom menu - @short load the custom menu - */ - public native void load(TDEConfigBase arg1); - /** - save the custom menu - @short save the custom menu - */ - public native void save(TDEConfigBase arg1); - public native void slotNewItem(); - public native void slotRemoveItem(); - public native void slotMoveUp(); - public native void slotMoveDown(); - public native void refreshButton(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java deleted file mode 100644 index 5f3ae2b2..00000000 --- a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The KDCOPActionProxy class provides an easy way to publish a collection of TDEAction objects - through DCOP. For the DCOP client the exported actions behave like full-fledged DCOP objects, - providing full access to the TDEAction object functionality in the server. - This class can generate DCOP object ids for given action objects, which it automatically - processes, as being a DCOPObjectProxy . - @short A proxy class publishing a DCOP interface for actions. - -*/ -public class KDCOPActionProxy extends DCOPObjectProxy { - protected KDCOPActionProxy(Class dummy){super((Class) null);} - /** - Constructs a dcop action proxy, being able to export the actions of the provided - TDEActionCollection through DCOP, using the parent DCOPObject's object id to - generate unique object ids for the actions. - @short Constructs a dcop action proxy, being able to export the actions of the provided TDEActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. - */ - public KDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent) { - super((Class) null); - newKDCOPActionProxy(actionCollection,parent); - } - private native void newKDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent); - /** - Use this constructor if do not want to provide the exportable actions through a - TDEActionCollection . You have to reimplement the actions() and - action() methods if you use this constructor. - @short Use this constructor if do not want to provide the exportable actions through a TDEActionCollection . - */ - public KDCOPActionProxy(DCOPObjectInterface parent) { - super((Class) null); - newKDCOPActionProxy(parent); - } - private native void newKDCOPActionProxy(DCOPObjectInterface parent); - /** - Returns an action object with the given name. The default implementation queries the action object - from the TDEActionCollection, if the first constructor has been used. - @short Returns an action object with the given name. - */ - public native TDEAction action(String name); - /** - Use this method to retrieve a DCOP object id for an action with the given name. - This class automatically takes care of processing DCOP object requests for the returned - object id. - You can construct a global DCOP object referenence using DCOPRef. For example like - DCOPRef( kapp.dcopClient().appId, actionProxy.actionObjectId( actionName ) ); - The action with the given name has to be available through the #action method. - @short Use this method to retrieve a DCOP object id for an action with the given name. - */ - public native String actionObjectId(String name); - /** - Returns a map of all exported actions, with the action name as keys and a global DCOP reference - as data entries. - The appId argument is used to specify the appid component of the DCOP reference. By default the - global application id is used ( kapp.dcopClient().appId() ) . - @short Returns a map of all exported actions, with the action name as keys and a global DCOP reference as data entries. - */ - // TQMap<TQCString, DCOPRef> actionMap(const TQCString& arg1); >>>> NOT CONVERTED - // TQMap<TQCString, DCOPRef> actionMap(); >>>> NOT CONVERTED - /** - Internal reimplementation of DCOPObjectProxy.process . - @short Internal reimplementation of DCOPObjectProxy.process . - */ - public native boolean process(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Called by the #process method and takes care of processing the object request for an - action object. - @short Called by the #process method and takes care of processing the object request for an action object. - */ - public native boolean processAction(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData, TDEAction action); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java b/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java deleted file mode 100644 index 67f3e041..00000000 --- a/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a - TQObject through DCOP. - The class provides DCOP equivalents for the Qt property methods setProperty() , - property() and propertyNames() and also provides automatic set/get methods for - the properties of a TQObject. That means for example if your object provides a - String property called foo , then KDCOPPropertyProxy translates DCOP calls - "setFoo( String )" and "String foo()" automatically into the corresponding - setProperty/property calls. - @short The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a TQObject through DCOP. - -*/ -public class KDCOPPropertyProxy implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KDCOPPropertyProxy(Class dummy){} - - /** - Convenience constructor. Use it if you want to use this class as object, in contrary - to using the static methods of this class and providing a TQObject argument for each - call. - @short Convenience constructor. - */ - public KDCOPPropertyProxy(TQObject object) { - newKDCOPPropertyProxy(object); - } - private native void newKDCOPPropertyProxy(TQObject object); - /** - Convenience method, when using this class as object. See documentation of the constructor and - static isPropertyRequest method. - @short Convenience method, when using this class as object. - */ - public native boolean isPropertyRequest(String fun); - /** - Convenience method, when using this class as object. See documentation of the constructor and - static processPropertyRequest method. - @short Convenience method, when using this class as object. - */ - public native boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Convenience method, when using this class as object. See documentation of the constructor and - static functions method. - @short Convenience method, when using this class as object. - */ - // TQValueList<TQCString> functions(); >>>> NOT CONVERTED - /** - Returns a semicolon-separated list of functions understood by the PropertyProxy for the given - TQObject argument. - Returns "property(String);setProperty(String,TQVariant);propertyNames();" plus set/get - methods for the properties of the given object argument. - @short Returns a semicolon-separated list of functions understood by the PropertyProxy for the given TQObject argument. - @see DCOPObject#functions - */ - // TQValueList<TQCString> functions(TQObject* arg1); >>>> NOT CONVERTED - /** - Returns true if the method request in the fun argument matches the signature of the three standard - property methods or set/get methods for the properties of the object argument. - Use this method in your own DCOPObject dispatcher to check if the DCOP request is a property - request which can be handled by this class. - @short Returns true if the method request in the fun argument matches the signature of the three standard property methods or set/get methods for the properties of the object argument. - */ - public static native boolean isPropertyRequest(String fun, TQObject object); - /** - Processes the given DCOP method request by translating the request into a setProperty/property call - on the given TQObject argument. - @short Processes the given DCOP method request by translating the request into a setProperty/property call on the given TQObject argument. - */ - public static native boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData, TQObject object); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDCOPServiceStarter.java b/kdejava/koala/org/kde/koala/KDCOPServiceStarter.java deleted file mode 100644 index d03530af..00000000 --- a/kdejava/koala/org/kde/koala/KDCOPServiceStarter.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A generic DCOP service starter, using TDETrader. - The default implementation starts new processes, but this interface can - also be reimplemented by specific applications to provide dlopened in-process DCOP objects. - @author David Faure <faure@kde.org> - - @short A generic DCOP service starter, using TDETrader. - -*/ -public class KDCOPServiceStarter implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KDCOPServiceStarter(Class dummy){} - - /** - Check if a given DCOP interface is available - from the serviceType it's supposed to implement. - The trader is queried to find the preferred application for this serviceType, - with the constraint that its X-DCOP-ServiceName property must be defined. - Then the DCOP server is checked. If the service is not available, - this method will call startServiceFor to start it. - @param serviceType the type of service we're looking for - @param constraint see TDETrader - @param preferences see TDETrader - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If the pointer is 0 the argument - will be ignored - @param flags for future extensions (currently unused) - @return an error code indicating success (== 0) or failure (> 0). - - @short Check if a given DCOP interface is available - from the serviceType it's supposed to implement. - */ - public native int findServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService, int flags); - public native int findServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService); - public native int findServiceFor(String serviceType, String constraint, String preferences, StringBuffer error); - public native int findServiceFor(String serviceType, String constraint, String preferences); - public native int findServiceFor(String serviceType, String constraint); - public native int findServiceFor(String serviceType); - /** - Find an implementation of the given <code>serviceType</code>, - and start it, to use its DCOP interface. - The default implementation uses TDETrader to find the preferred Application, - and then starts it using kapp.startService... - However applications (like kontact) can reimplement this method, to provide - an in-process way of loading the implementation for this service type. - @param serviceType the type of service we're looking for - @param constraint see TDETrader - @param preferences see TDETrader - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If the pointer is 0 the argument - will be ignored - @param flags for future extensions (currently unused) - @return an error code indicating success (== 0) or failure (> 0). - - @short Find an implementation of the given <code>serviceType</code>, and start it, to use its DCOP interface. - */ - public native int startServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService, int flags); - public native int startServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService); - public native int startServiceFor(String serviceType, String constraint, String preferences, StringBuffer error); - public native int startServiceFor(String serviceType, String constraint, String preferences); - public native int startServiceFor(String serviceType, String constraint); - public native int startServiceFor(String serviceType); - public static native KDCOPServiceStarter self(); - public KDCOPServiceStarter() { - newKDCOPServiceStarter(); - } - private native void newKDCOPServiceStarter(); -} diff --git a/kdejava/koala/org/kde/koala/KDE.java b/kdejava/koala/org/kde/koala/KDE.java deleted file mode 100644 index 2fef39a7..00000000 --- a/kdejava/koala/org/kde/koala/KDE.java +++ /dev/null @@ -1,536 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQRegion; -import org.kde.qt.TQPixmap; -import java.util.Calendar; -import org.kde.qt.TQPainter; -import org.kde.qt.TQBitmap; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQBrush; -import org.kde.qt.TQColorGroup; - -/** - - Namespace for general KDE functions. - @short Namespace for general KDE functions. - -*/ -public class KDE { - /** - Returns the encoded number of KDE's version, see the TDE_VERSION macro. - In contrary to that macro this function returns the number of the actully - installed KDE version, not the number of the KDE version that was - installed when the program was compiled. - @return the version number, encoded in a single uint - - @short Returns the encoded number of KDE's version, see the TDE_VERSION macro. - */ - public static native int version(); - /** - Returns the major number of KDE's version, e.g. - 3 for KDE 3.1.2. - @return the major version number - - @short Returns the major number of KDE's version, e. - */ - public static native int versionMajor(); - /** - Returns the minor number of KDE's version, e.g. - 1 for KDE 3.1.2. - @return the minor version number - - @short Returns the minor number of KDE's version, e. - */ - public static native int versionMinor(); - /** - Returns the release of KDE's version, e.g. - 2 for KDE 3.1.2. - @return the release number - - @short Returns the release of KDE's version, e. - */ - public static native int versionRelease(); - /** - Returns the KDE version as string, e.g. "3.1.2". - @return the KDE version. You can keep the string forever - - @short Returns the KDE version as string, e. - */ - public static native String versionString(); - // int KSSLPemCallback(char* arg1,int arg2,int arg3,void* arg4); >>>> NOT CONVERTED - /** - {@link TDELocale} - i18n is the function that does everything you need to translate - a string. You just wrap around every user visible string a i18n - call to get a String with the string in the user's preferred - language. - The argument must be an UTF-8 encoded string (If you only use - characters that are in US-ASCII, you're on the safe side. But - for e.g. German umlauts or French accents should be recoded to - UTF-8) - @short {@link TDELocale} i18n is the function that does everything you need to translate a string. - */ - public static native String i18n(String text); - /** - {@link TDELocale} - If the string is too ambiguous to be translated well to a non-english - language, use this form of i18n to separate lookup string and english - text. - @short {@link TDELocale} If the string is too ambiguous to be translated well to a non-english language, use this form of i18n to separate lookup string and english text. - @see #translate - */ - public static native String i18n(String comment, String text); - /** - {@link TDELocale} - If you want to handle plural forms, use this form of i18n. - @param singular the singular form of the word, for example "file". - @param plural the plural form of the word. Must contain a "%n" that will - be replaced by the number <code>n</code>, for example "%n files" - @param n the number - @return the correct singular or plural for the selected language, - depending on n - - @short {@link TDELocale} If you want to handle plural forms, use this form of i18n. - @see #translate - */ - public static native String i18n(String singular, String plural, long n); - /** - {@link TDELocale} - Qt3's uic generates i18n( "msg", "comment" ) calls which conflict - with our i18n method. We use uic -tr tr2i18n to redirect - to the right i18n() function - @short {@link TDELocale} Qt3's uic generates i18n( "msg", "comment" ) calls which conflict with our i18n method. - */ - public static native String tr2i18n(String message, String arg2); - public static native String tr2i18n(String message); - public static native TQDataStream op_write(TQDataStream s, KFileItem a); - public static native TQDataStream op_read(TQDataStream s, KFileItem a); - public static native int pageNameToPageSize(String name); - public static native String pageSizeToPageName(int s); - /** - {@link KURL} - Compares URLs. They are parsed, split and compared. - Two malformed URLs with the same string representation - are nevertheless considered to be unequal. - That means no malformed URL equals anything else. - @short {@link KURL} Compares URLs. - */ - public static native boolean urlcmp(String _url1, String _url2); - /** - {@link KURL} - Compares URLs. They are parsed, split and compared. - Two malformed URLs with the same string representation - are nevertheless considered to be unequal. - That means no malformed URL equals anything else. - @param _url1 A reference URL - @param _url2 A URL that will be compared with the reference URL - @param _ignore_trailing Described in KURL.cmp - @param _ignore_ref If true, disables comparison of HTML-style references. - @short {@link KURL} Compares URLs. - */ - public static native boolean urlcmp(String _url1, String _url2, boolean _ignore_trailing, boolean _ignore_ref); - public static native TQDataStream op_write(TQDataStream s, KURL a); - public static native TQDataStream op_read(TQDataStream s, KURL a); - /** - Locale-independent tqstricmp. Use this for comparing ascii keywords - in a case-insensitive way. - tqstricmp fails with e.g. the Turkish locale where 'I'.lower() != 'i' - @short Locale-independent tqstricmp. - */ - public static native int kasciistricmp(String str1, String str2); - public static native TQDataStream op_write(TQDataStream s, KSSLCertificate r); - public static native TQDataStream op_read(TQDataStream s, KSSLCertificate r); - public static native int op_equals(KSSLCertificate x, KSSLCertificate y); - public static native int op_not_equals(KSSLCertificate x, KSSLCertificate y); - // TQDataStream& op_read(TQDataStream& arg1,KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED - /** - {@link TDEGlobal} - Check, if a file may be accessed in a given mode. - This is a wrapper around the access() system call. - checkAccess() calls access() with the given parameters. - If this is OK, checkAccess() returns true. If not, and W_OK - is part of mode, it is checked if there is write access to - the directory. If yes, checkAccess() returns true. - In all other cases checkAccess() returns false. - Other than access() this function EXPLICITLY ignores non-existant - files if checking for write access. - @param pathname The full path of the file you want to test - @param mode The access mode, as in the access() system call. - @return Whether the access is allowed, true = Access allowed - - @short {@link TDEGlobal} Check, if a file may be accessed in a given mode. - */ - public static native boolean checkAccess(String pathname, int mode); - public static native TQDataStream op_write(TQDataStream s, KSSLCertDlgRet r); - public static native TQDataStream op_read(TQDataStream s, KSSLCertDlgRet r); - public static native TQDataStream op_write(TQDataStream str, boolean b); - public static native TQDataStream op_read(TQDataStream str, boolean b); - public static native TQDataStream op_write(TQDataStream str, long ll); - // TQDataStream& op_read(TQDataStream& arg1,long long int& arg2); >>>> NOT CONVERTED - // TQDataStream& op_read(TQDataStream& arg1,unsigned long long int& arg2); >>>> NOT CONVERTED - /** - Convert an ASN1 UTCTIME value to a string. Uses TDELocale settings. - @param tm the OpenSSL ASN1_UTCTIME pointer - @return the date formatted in a String - - @short Convert an ASN1 UTCTIME value to a string. - @see ASN1_UTCTIME_QDateTime - */ - // TQString ASN1_UTCTIME_QString(ASN1_UTCTIME* arg1); >>>> NOT CONVERTED - /** - Convert an ASN1 UTCTIME value to a Calendar. Uses TDELocale settings. - @param tm the OpenSSL ASN1_UTCTIME pointer - @param isGmt set to 1 if the date is set to GMT - @return the date formatted in a TQDateTime - - @short Convert an ASN1 UTCTIME value to a TQDateTime. - */ - // TQDateTime ASN1_UTCTIME_QDateTime(ASN1_UTCTIME* arg1,int* arg2); >>>> NOT CONVERTED - /** - Convert an ASN1 INTEGER value to a string. - @param aint the OpenSSL ASN1_INTEGER pointer - @return the number formatted in a String - - @short Convert an ASN1 INTEGER value to a string. - */ - // TQString ASN1_INTEGER_QString(ASN1_INTEGER* arg1); >>>> NOT CONVERTED - /** - {@link TDEIconLoader} - Load a desktop icon. - @short {@link TDEIconLoader} Load a desktop icon. - */ - public static native TQPixmap DesktopIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap DesktopIcon(String name, int size, int state); - public static native TQPixmap DesktopIcon(String name, int size); - public static native TQPixmap DesktopIcon(String name); - /** - {@link TDEIconLoader} - Load a desktop icon. - @short {@link TDEIconLoader} Load a desktop icon. - */ - public static native TQPixmap DesktopIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a desktop icon, and apply the necessary effects to get an IconSet. - @short {@link TDEIconLoader} Load a desktop icon, and apply the necessary effects to get an IconSet. - */ - public static native TQIconSet DesktopIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet DesktopIconSet(String name, int size); - public static native TQIconSet DesktopIconSet(String name); - /** - {@link TDEIconLoader} - Load a toolbar icon. - @short {@link TDEIconLoader} Load a toolbar icon. - */ - public static native TQPixmap BarIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap BarIcon(String name, int size, int state); - public static native TQPixmap BarIcon(String name, int size); - public static native TQPixmap BarIcon(String name); - /** - {@link TDEIconLoader} - Load a toolbar icon. - @short {@link TDEIconLoader} Load a toolbar icon. - */ - public static native TQPixmap BarIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a toolbar icon, and apply the necessary effects to get an IconSet. - @short {@link TDEIconLoader} Load a toolbar icon, and apply the necessary effects to get an IconSet. - */ - public static native TQIconSet BarIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet BarIconSet(String name, int size); - public static native TQIconSet BarIconSet(String name); - /** - {@link TDEIconLoader} - Load a small icon. - @short {@link TDEIconLoader} Load a small icon. - */ - public static native TQPixmap SmallIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap SmallIcon(String name, int size, int state); - public static native TQPixmap SmallIcon(String name, int size); - public static native TQPixmap SmallIcon(String name); - /** - {@link TDEIconLoader} - Load a small icon. - @short {@link TDEIconLoader} Load a small icon. - */ - public static native TQPixmap SmallIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a small icon, and apply the necessary effects to get an IconSet. - @short {@link TDEIconLoader} Load a small icon, and apply the necessary effects to get an IconSet. - */ - public static native TQIconSet SmallIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet SmallIconSet(String name, int size); - public static native TQIconSet SmallIconSet(String name); - /** - {@link TDEIconLoader} - Load a main toolbar icon. - @short {@link TDEIconLoader} Load a main toolbar icon. - */ - public static native TQPixmap MainBarIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap MainBarIcon(String name, int size, int state); - public static native TQPixmap MainBarIcon(String name, int size); - public static native TQPixmap MainBarIcon(String name); - /** - {@link TDEIconLoader} - Load a main toolbar icon. - @short {@link TDEIconLoader} Load a main toolbar icon. - */ - public static native TQPixmap MainBarIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a main toolbar icon, and apply the effects to get an IconSet. - @short {@link TDEIconLoader} Load a main toolbar icon, and apply the effects to get an IconSet. - */ - public static native TQIconSet MainBarIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet MainBarIconSet(String name, int size); - public static native TQIconSet MainBarIconSet(String name); - /** - {@link TDEIconLoader} - Load a user icon. User icons are searched in $appdir/pics. - @short {@link TDEIconLoader} Load a user icon. - */ - public static native TQPixmap UserIcon(String name, int state, TDEInstanceInterface instance); - public static native TQPixmap UserIcon(String name, int state); - public static native TQPixmap UserIcon(String name); - /** - {@link TDEIconLoader} - Load a user icon. User icons are searched in $appdir/pics. - @short {@link TDEIconLoader} Load a user icon. - */ - public static native TQPixmap UserIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a user icon, and apply the effects to get an IconSet. - @short {@link TDEIconLoader} Load a user icon, and apply the effects to get an IconSet. - */ - public static native TQIconSet UserIconSet(String name, TDEInstanceInterface instance); - public static native TQIconSet UserIconSet(String name); - /** - {@link TDEIconLoader} - Returns the current icon size for a specific group. - @short {@link TDEIconLoader} Returns the current icon size for a specific group. - */ - public static native int IconSize(int group, TDEInstanceInterface instance); - public static native int IconSize(int group); - /** - \addtogroup locates Locate Functions - @{ - On The Usage Of 'locate' and 'locateLocal' - Typical KDE applications use resource files in one out of - three ways: - 1) A resource file is read but is never written. A system - default is supplied but the user can override this - default in his local .kde directory: - <pre> - // Code example - myFile = locate("appdata", "groups.lst"); - myData = myReadGroups(myFile); // myFile may be null - </pre> - 2) A resource file is read and written. If the user has no - local version of the file the system default is used. - The resource file is always written to the users local - .kde directory. - <pre> - // Code example - myFile = locate("appdata", "groups.lst") - myData = myReadGroups(myFile); - ... - doSomething(myData); - ... - myFile = locateLocal("appdata", "groups.lst"); - myWriteGroups(myFile, myData); - </pre> - 3) A resource file is read and written. No system default - is used if the user has no local version of the file. - The resource file is always written to the users local - .kde directory. - <pre> - // Code example - myFile = locateLocal("appdata", "groups.lst"); - myData = myReadGroups(myFile); - ... - doSomething(myData); - ... - myFile = locateLocal("appdata", "groups.lst"); - myWriteGroups(myFile, myData); - </pre> - @short \addtogroup locates Locate Functions @{ On The Usage Of 'locate' and 'locateLocal' - */ - public static native String locate(String type, String filename, TDEInstanceInterface instance); - public static native String locate(String type, String filename); - public static native String locateLocal(String type, String filename, TDEInstanceInterface instance); - public static native String locateLocal(String type, String filename); - public static native String locateLocal(String type, String filename, boolean createDir, TDEInstanceInterface instance); - public static native String locateLocal(String type, String filename, boolean createDir); - public static native int op_incr(int group); - public static native int op_incr(int group, int arg2); - public static native TQDataStream op_write(TQDataStream s, int p); - public static native TQDataStream op_read(TQDataStream s, int p); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - Draws a Next-style button (solid black shadow with light and midlight highlight). - @param p The painter to use for drawing the button. - @param r Specifies the rect in which to draw the button. - @param g Specifies the shading colors. - @param sunken Whether to draw the button as sunken (pressed) or not. - @param fill The brush to use for filling the interior of the button. - Pass <b>null</b> to prevent the button from being filled. - @short {@link TDEStyle} @c \#include @c <kdrawutil. - */ - public static native void kDrawNextButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken, TQBrush fill); - public static native void kDrawNextButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken); - public static native void kDrawNextButton(TQPainter p, TQRect r, TQColorGroup g); - /** - {@link TDEStyle} - @overload - @short {@link TDEStyle} @overload - */ - public static native void kDrawNextButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken, TQBrush fill); - public static native void kDrawNextButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken); - public static native void kDrawNextButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - Draws a Be-style button. - @param p The painter to use for drawing the button. - @param r Specifies the rect in which to draw the button. - @param g Specifies the shading colors. - @param sunken Whether to draw the button as sunken (pressed) or not. - @param fill The brush to use for filling the interior of the button. - Pass <b>null</b> to prevent the button from being filled. - @short {@link TDEStyle} @c \#include @c <kdrawutil. - */ - public static native void kDrawBeButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken, TQBrush fill); - public static native void kDrawBeButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken); - public static native void kDrawBeButton(TQPainter p, TQRect r, TQColorGroup g); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - @overload - @short {@link TDEStyle} @c \#include @c <kdrawutil. - */ - public static native void kDrawBeButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken, TQBrush fill); - public static native void kDrawBeButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken); - public static native void kDrawBeButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - Draws a rounded oval button. This function doesn't fill the button. - See kRoundMaskRegion() for setting masks for fills. - @param p The painter to use for drawing the button. - @param r Specifies the rect in which to draw the button. - @param g Specifies the shading colors. - @param sunken Whether to draw the button as sunken (pressed) or not. - @short {@link TDEStyle} @c \#include @c <kdrawutil. - */ - public static native void kDrawRoundButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken); - public static native void kDrawRoundButton(TQPainter p, TQRect r, TQColorGroup g); - /** - {@link TDEStyle} - @overload - @short {@link TDEStyle} @overload - */ - public static native void kDrawRoundButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken); - public static native void kDrawRoundButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - Sets a region to the pixels covered by a round button of the given - size. You can use this to set clipping regions. - @param r Reference to the region to set. - @param x The X coordinate of the button. - @param y The Y coordinate of the button. - @param w The width of the button. - @param h The height of the button. - @short {@link TDEStyle} @c \#include @c <kdrawutil. - @see #kDrawRoundButton - @see #kDrawRoundMask - */ - public static native void kRoundMaskRegion(TQRegion r, int x, int y, int w, int h); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - Paints the pixels covered by a round button of the given size with - Qt.color1. This function is useful in TQStyle.drawControlMask(). - @param p The painter to use for drawing the button. - @param x The X coordinate of the button. - @param y The Y coordinate of the button. - @param w The width of the button. - @param h The height of the button. - @param clear Whether to clear the rectangle specified by <code></code>(x, y, w, h) to - Qt.color0 before drawing the mask. - @short {@link TDEStyle} @c \#include @c <kdrawutil. - */ - public static native void kDrawRoundMask(TQPainter p, int x, int y, int w, int h, boolean clear); - public static native void kDrawRoundMask(TQPainter p, int x, int y, int w, int h); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - Paints the provided bitmaps in the painter, using the supplied colorgroup for - the foreground colors. There's one bitmap for each color. If you want to skip - a color, pass <b>null</b> for the corresponding bitmap. - @note The bitmaps will be self-masked automatically if not masked - prior to calling this routine. - @param p The painter to use for drawing the bitmaps. - @param g Specifies the shading colors. - @param x The X coordinate at which to draw the bitmaps. - @param y The Y coordinate at which to draw the bitmaps. - @param lightColor The bitmap to use for the light part. - @param midColor The bitmap to use for the mid part. - @param midlightColor The bitmap to use for the midlight part. - @param darkColor The bitmap to use for the dark part. - @param blackColor The bitmap to use for the black part. - @param whiteColor The bitmap to use for the white part. - @short {@link TDEStyle} @c \#include @c <kdrawutil. - @see org.kde.qt.TQColorGroup - */ - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor, TQBitmap darkColor, TQBitmap blackColor, TQBitmap whiteColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor, TQBitmap darkColor, TQBitmap blackColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor, TQBitmap darkColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y); - /** - {@link TDEStyle} - <code>#include</code> <code><kdrawutil.h></code> - @overload - @short {@link TDEStyle} @c \#include @c <kdrawutil. - */ - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor, char[] blackColor, char[] whiteColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor, char[] blackColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps); - public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h); - /** - compares two KEntryKeys (needed for TQMap). - @short compares two KEntryKeys (needed for TQMap). - */ - public static native boolean op_lt(KEntryKey k1, KEntryKey k2); - // const char* dcopTypeName(const DCOPArg& arg1); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const DCOPArg& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const DCOPRef& arg2); >>>> NOT CONVERTED - // TQDataStream& op_read(TQDataStream& arg1,DCOPRef& arg2); >>>> NOT CONVERTED - public static native TQDataStream op_write(TQDataStream s, KFileMetaInfoItem arg2); - public static native TQDataStream op_read(TQDataStream s, KFileMetaInfoItem arg2); - public static native TQDataStream op_write(TQDataStream s, KFileMetaInfoGroup arg2); - public static native TQDataStream op_read(TQDataStream s, KFileMetaInfoGroup arg2); - public static native TQDataStream op_write(TQDataStream s, KFileMetaInfo arg2); - public static native TQDataStream op_read(TQDataStream s, KFileMetaInfo arg2); - // TQDataStream& op_read(TQDataStream& arg1,TDEIO::UDSAtom& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const TDEIO::UDSAtom& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const TDEIO::UDSEntry& arg2); >>>> NOT CONVERTED - // TQDataStream& op_read(TQDataStream& arg1,TDEIO::UDSEntry& arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java b/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java deleted file mode 100644 index 2f0e3935..00000000 --- a/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; - -/** - - Mime type for desktop files. - Handles mount/umount icon, and user-defined properties. - @short Mimetype for a .desktop file. - -*/ -public class KDEDesktopMimeType extends KMimeType { - protected KDEDesktopMimeType(Class dummy){super((Class) null);} - public static final int ST_MOUNT = 0; - public static final int ST_UNMOUNT = 1; - public static final int ST_USER_DEFINED = 2; - - /** - Construct a desktop mimetype and take all information from a desktop file. - @param config the desktop configuration file that describes the mime type - @short Construct a desktop mimetype and take all information from a desktop file. - */ - public KDEDesktopMimeType(KDesktopFile config) { - super((Class) null); - newKDEDesktopMimeType(config); - } - private native void newKDEDesktopMimeType(KDesktopFile config); - /** \internal @short \internal - */ - public KDEDesktopMimeType(TQDataStream _str, int offset) { - super((Class) null); - newKDEDesktopMimeType(_str,offset); - } - private native void newKDEDesktopMimeType(TQDataStream _str, int offset); - public native String icon(String _url, boolean _is_local); - public native String icon(KURL _url, boolean _is_local); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size); - public native TQPixmap pixmap(KURL _url, int _group); - public native String comment(String _url, boolean _is_local); - public native String comment(KURL _url, boolean _is_local); - /** - Returns a list of services for the given .desktop file that are handled - by tdeio itself. Namely mount/unmount for FSDevice files. - @return the list of services - - @short Returns a list of services for the given . - */ - // TQValueList<KDEDesktopMimeType::Service> builtinServices(const KURL& arg1); >>>> NOT CONVERTED - /** - Returns a list of services defined by the user as possible actions - on the given .desktop file. May include empty actions which represent where - visual separators should appear in user-visible representations of those actions, - such as separators in a menu. - @param path the path to the desktop file describing the services - @param bLocalFiles true if those services are to be applied to local files only - (if false, services that don't have %u or %U in the Exec line won't be taken into account). - @return the list of user deviced actions - - @short Returns a list of services defined by the user as possible actions on the given . - */ - // TQValueList<KDEDesktopMimeType::Service> userDefinedServices(const TQString& arg1,bool arg2); >>>> NOT CONVERTED - /** - Overload of userDefinedServices for speed purposes: it takes a TDEConfig so that - the caller can check things in the file without having it parsed twice. - @short Overload of userDefinedServices for speed purposes: it takes a TDEConfig so that the caller can check things in the file without having it parsed twice. - */ - // TQValueList<KDEDesktopMimeType::Service> userDefinedServices(const TQString& arg1,TDEConfig& arg2,bool arg3); >>>> NOT CONVERTED - /** - Overload of userDefinedServices but also allows you to pass a list of urls for this file. - This allows for the menu to be changed depending on the exact files via - the X-TDE-GetActionMenu extension. - @short Overload of userDefinedServices but also allows you to pass a list of urls for this file. - */ - // TQValueList<KDEDesktopMimeType::Service> userDefinedServices(const TQString& arg1,TDEConfig& arg2,bool arg3,const KURL::List& arg4); >>>> NOT CONVERTED - /** - Execute <code>service</code> on the list of <code>urls.</code> - @param urls the list of urls - @param service the service to execute - @short Execute <code>service</code> on the list of <code>urls.</code> - */ - // void executeService(const KURL::List& arg1,KDEDesktopMimeType::Service& arg2); >>>> NOT CONVERTED - /** - Invokes the default action for the desktop entry. If the desktop - entry is not local, then only false is returned. Otherwise we - would create a security problem. Only types Link and Mimetype - could be followed. - @param _url the url to run - @param _is_local true if the URL is local, false otherwise - @return true on success and false on failure. - - @short Invokes the default action for the desktop entry. - @see KRun#runURL - */ - public static native int run(KURL _url, boolean _is_local); - public native TQPixmap pixmap(int group, int force_size, int state, StringBuffer path); - public native TQPixmap pixmap(int group, int force_size, int state); - public native TQPixmap pixmap(int group, int force_size); - public native TQPixmap pixmap(int group); - protected static native int runFSDevice(KURL _url, KSimpleConfig cfg); - protected static native int runApplication(KURL _url, String _serviceFile); - protected static native int runLink(KURL _url, KSimpleConfig cfg); - protected static native int runMimeType(KURL _url, KSimpleConfig cfg); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDataTool.java b/kdejava/koala/org/kde/koala/KDataTool.java deleted file mode 100644 index d56a95c4..00000000 --- a/kdejava/koala/org/kde/koala/KDataTool.java +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - A generic tool that processes data. - A data-tool is a "plugin" for an application, that acts (reads/modifies) - on a portion of the data present in the document (e.g. a text document, - a single word or paragraph, a KSpread cell, an image, etc.) - The application has some generic code for presenting the tools in a popupmenu - @short A generic tool that processes data. - @see KDataToolAction - @see #for - @see #activating - @see #a - @see #tool - @see #passing - @see #it - @see #the - @see #data - @see (and - @see #possibly - @see #getting - @see #modified - @see #data - @see #from - @see #it)# - -*/ -public class KDataTool extends TQObject { - protected KDataTool(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - The data-tool is only created when a menu-item, that relates to it, is activated. - @param parent the parent of the TQObject (or 0 for parent-less KDataTools) - @param name the name of the TQObject, can be 0 - @short Constructor The data-tool is only created when a menu-item, that relates to it, is activated. - */ - /** - @short - */ - public native void setInstance(TDEInstanceInterface instance); - /** - Returns the instance of the part that created this tool. - Usually used if the tool wants to read its configuration in the app's config file. - @return the instance of the part that created this tool. - - @short Returns the instance of the part that created this tool. - */ - public native TDEInstanceInterface instance(); - /** - Interface for 'running' this tool. - This is the method that the data-tool must implement. - @param command is the command that was selected (see KDataToolInfo.commands()) - @param data the data provided by the application, on which to run the tool. - The application is responsible for setting that data before running the tool, - and for getting it back and updating itself with it, after the tool ran. - @param datatype defines the type of <code>data.</code> - @param mimetype defines the mimetype of the data (for instance datatype may be - String, but the mimetype can be text/plain, text/html etc.) - @return true if successful, false otherwise - - @short Interface for 'running' this tool. - */ - // bool run(const TQString& arg1,void* arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KDataToolAction.java b/kdejava/koala/org/kde/koala/KDataToolAction.java deleted file mode 100644 index c47a06e3..00000000 --- a/kdejava/koala/org/kde/koala/KDataToolAction.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - This class helps applications implement support for KDataTool. - The steps to follow are simple: - - <li> - query for the available tools using KDataToolInfo.query - </li> - - <li> - pass the result to KDataToolAction.dataToolActionList (with a slot) - </li> - - <li> - plug the resulting actions, either using KXMLGUIClient.plugActionList, or by hand. - </li> - The slot defined for step 2 is called when the action is activated, and - that's where the tool should be created and run. - See {@link KDataToolActionSignals} for signals emitted by KDataToolAction - @short This class helps applications implement support for KDataTool. - -*/ -public class KDataToolAction extends TDEAction { - protected KDataToolAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new KDataToolAction. - @param text The text that will be displayed. - @param info the corresponding KDataToolInfo - @param command the command of the action - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a new KDataToolAction. - */ - public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name) { - super((Class) null); - newKDataToolAction(text,info,command,parent,name); - } - private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name); - public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent) { - super((Class) null); - newKDataToolAction(text,info,command,parent); - } - private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent); - public KDataToolAction(String text, KDataToolInfo info, String command) { - super((Class) null); - newKDataToolAction(text,info,command); - } - private native void newKDataToolAction(String text, KDataToolInfo info, String command); - /** - Creates a list of actions from a list of information about data-tools. - The slot must have a signature corresponding to the toolActivated signal. - Note that it's the caller's responsibility to delete the actions when they're not needed anymore. - @param tools the list of data tool descriptions - @param receiver the receiver for toolActivated() signals - @param slot the slot that will receive the toolActivated() signals - @return the TDEActions - - @short Creates a list of actions from a list of information about data-tools. - */ - // TQPtrList<TDEAction> dataToolActionList(const TQValueList<KDataToolInfo>& arg1,const TQObject* arg2,const char* arg3); >>>> NOT CONVERTED - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDataToolActionSignals.java b/kdejava/koala/org/kde/koala/KDataToolActionSignals.java deleted file mode 100644 index b30496bf..00000000 --- a/kdejava/koala/org/kde/koala/KDataToolActionSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface KDataToolActionSignals { - /** - Emitted when a tool has been activated. - @param info a description of the activated tools - @param command the command for the tool - @short Emitted when a tool has been activated. - */ - void toolActivated(KDataToolInfo info, String command); -} diff --git a/kdejava/koala/org/kde/koala/KDataToolInfo.java b/kdejava/koala/org/kde/koala/KDataToolInfo.java deleted file mode 100644 index a02d5565..00000000 --- a/kdejava/koala/org/kde/koala/KDataToolInfo.java +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; - -/** - - This is a convenience class for KService. You can use it if you have - a KService describing a KDataTool. In this case the KDataToolInfo class - is more convenient to work with. - Especially useful is the method createTool which creates the datatool - described by the service. - @short This is a convenience class for KService. - @see KDataTool - -*/ -public class KDataToolInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KDataToolInfo(Class dummy){} - - /** - Create an invalid KDataToolInfo. - @short Create an invalid KDataToolInfo. - */ - public KDataToolInfo() { - newKDataToolInfo(); - } - private native void newKDataToolInfo(); - /** - Create a valid KDataToolInfo. - @param service the corresponding service - @param instance the instance to use - @short Create a valid KDataToolInfo. - */ - // KDataToolInfo* KDataToolInfo(const KService::Ptr& arg1,TDEInstance* arg2); >>>> NOT CONVERTED - /** - Copy constructor. - @short Copy constructor. - */ - public KDataToolInfo(KDataToolInfo info) { - newKDataToolInfo(info); - } - private native void newKDataToolInfo(KDataToolInfo info); - /** - Returns the data type that the DataTool can accept. - @return the C++ data type that this DataTool accepts. - For example "String" or "TQImage" or something more - complicated. - - @short Returns the data type that the DataTool can accept. - */ - public native String dataType(); - /** - Returns a list of mime type that will be accepted by the DataTool. - The mimetypes are only used if the dataType can be used to store - different mimetypes. For example in a "String" you could save "text/plain" - or "text/html" or "text/xml". - @return the mime types accepted by this DataTool. For example - "image/gif" or "text/plain". In some cases the dataType - determines the accepted type of data perfectly. In this cases - this list may be empty. - - @short Returns a list of mime type that will be accepted by the DataTool. - */ - public native ArrayList mimeTypes(); - /** - Checks whether the DataTool is read-only. - @return true if the DataTool does not modify the data passed to it by KDataTool.run. - - @short Checks whether the DataTool is read-only. - */ - public native boolean isReadOnly(); - /** - Returns the icon name for this DataTool. - @return the name of the icon for the DataTool - - @short Returns the icon name for this DataTool. - */ - public native String iconName(); - /** - Returns a list of strings that you can put in a TQPopupMenu item, for example to - offer the DataTools services to the user. The returned value - is usually something like "Spell checking", "Shrink Image", "Rotate Image" - or something like that. - This list comes from the Comment field of the tool's desktop file - (so that it can be translated). - Each of the strings returned corresponds to a string in the list returned by - commands. - @return a list of strings that you can put in a TQPopupMenu item - - @short Returns a list of strings that you can put in a TQPopupMenu item, for example to offer the DataTools services to the user. - */ - public native ArrayList userCommands(); - /** - Returns the list of commands the DataTool can execute. The application - passes the command to the KDataTool.run method. - This list comes from the Commands field of the tool's desktop file. - Each of the strings returned corresponds to a string in the list returned by - userCommands. - @return the list of commands the DataTool can execute, suitable for - the KDataTool.run method. - - @short Returns the list of commands the DataTool can execute. - */ - public native ArrayList commands(); - /** - Creates the data tool described by this KDataToolInfo. - @param parent the parent of the TQObject (or 0 for parent-less KDataTools) - @param name the name of the TQObject, can be 0 - @return a pointer to the created data tool or 0 on error. - - @short Creates the data tool described by this KDataToolInfo. - */ - public native KDataTool createTool(TQObject parent, String name); - public native KDataTool createTool(TQObject parent); - public native KDataTool createTool(); - /** - The KDataToolInfo's service that is represented by this class. - @return the service - - @short The KDataToolInfo's service that is represented by this class. - */ - // KService::Ptr service(); >>>> NOT CONVERTED - /** - The instance of the service. - @return the instance - - @short The instance of the service. - */ - public native TDEInstanceInterface instance(); - /** - A DataToolInfo may be invalid if the KService passed to its constructor does - not feature the service type "KDataTool". - @return true if valid, false otherwise - - @short A DataToolInfo may be invalid if the KService passed to its constructor does not feature the service type "KDataTool". - */ - public native boolean isValid(); - /** - Queries the TDETrader about installed KDataTool implementations. - @param datatype a type that the application can 'export' to the tools (e.g. String) - @param mimetype the mimetype of the data (e.g. text/plain) - @param instance the application (or the part)'s instance (to check if a tool is excluded from this part, - and also used if the tool wants to read its configuration in the app's config file). - @return the list of results - - @short Queries the TDETrader about installed KDataTool implementations. - */ - // TQValueList<KDataToolInfo> query(const TQString& arg1,const TQString& arg2,TDEInstance* arg3); >>>> NOT CONVERTED - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDatePicker.java b/kdejava/koala/org/kde/koala/KDatePicker.java deleted file mode 100644 index a3711a08..00000000 --- a/kdejava/koala/org/kde/koala/KDatePicker.java +++ /dev/null @@ -1,176 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQFrame; - -/** - - Provides a widget for calendar date input. - Different from the - previous versions, it now emits two types of signals, either - dateSelected() or dateEntered() (see documentation for both - signals). - A line edit has been added in the newer versions to allow the user - to select a date directly by entering numbers like 19990101 - or 990101. - \image html kdatepicker.png "KDE Date Widget" - See {@link KDatePickerSignals} for signals emitted by KDatePicker - @author Tim Gilman, Mirko Boehm - - @version $Id$ - - @short A date selection widget. - -*/ -public class KDatePicker extends TQFrame { - protected KDatePicker(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** The usual constructor. The given date will be displayed - initially. - @short The usual constructor. - */ - public KDatePicker(TQWidget parent, Calendar arg2, String name) { - super((Class) null); - newKDatePicker(parent,arg2,name); - } - private native void newKDatePicker(TQWidget parent, Calendar arg2, String name); - public KDatePicker(TQWidget parent, Calendar arg2) { - super((Class) null); - newKDatePicker(parent,arg2); - } - private native void newKDatePicker(TQWidget parent, Calendar arg2); - public KDatePicker(TQWidget parent) { - super((Class) null); - newKDatePicker(parent); - } - private native void newKDatePicker(TQWidget parent); - public KDatePicker() { - super((Class) null); - newKDatePicker(); - } - private native void newKDatePicker(); - /** The usual constructor. The given date will be displayed - initially. - @short The usual constructor. - */ - public KDatePicker(TQWidget parent, Calendar arg2, String name, int f) { - super((Class) null); - newKDatePicker(parent,arg2,name,f); - } - private native void newKDatePicker(TQWidget parent, Calendar arg2, String name, int f); - /** - Standard qt widget constructor. The initial date will be the - current date. - @short Standard qt widget constructor. - */ - public KDatePicker(TQWidget parent, String name) { - super((Class) null); - newKDatePicker(parent,name); - } - private native void newKDatePicker(TQWidget parent, String name); - /** The size hint for date pickers. The size hint recommends the - minimum size of the widget so that all elements may be placed - without clipping. This sometimes looks ugly, so when using the - size hint, try adding 28 to each of the reported numbers of - pixels. - @short The size hint for date pickers. - */ - public native TQSize sizeHint(); - /** - Sets the date. - @return <code>false</code> and does not change anything - if the date given is invalid. - - @short Sets the date. - */ - public native boolean setDate(Calendar arg1); - /** - @return the selected date. - - @short - */ - public native Calendar date(); - /** - Enables or disables the widget. - @short Enables or disables the widget. - */ - public native void setEnabled(boolean arg1); - /** - @return the KDateTable widget child of this KDatePicker - widget. - - @short - */ - public native KDateTable dateTable(); - /** - Sets the font size of the widgets elements. - @short Sets the font size of the widgets elements. - */ - public native void setFontSize(int arg1); - /** - Returns the font size of the widget elements. - @short Returns the font size of the widget elements. - */ - public native int fontSize(); - /** - By calling this method with <code>enable</code> = true, KDatePicker will show - a little close-button in the upper button-row. Clicking the - close-button will cause the KDatePicker's topLevelWidget()'s close() - method being called. This is mostly useful for toplevel datepickers - without a window manager decoration. - @short By calling this method with <code>enable</code> = true, KDatePicker will show a little close-button in the upper button-row. - @see #hasCloseButton - */ - public native void setCloseButton(boolean enable); - /** - @return true if a KDatePicker shows a close-button. - - @short - @see #setCloseButton - */ - public native boolean hasCloseButton(); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void dateChangedSlot(Calendar arg1); - protected native void tableClickedSlot(); - protected native void monthForwardClicked(); - protected native void monthBackwardClicked(); - protected native void yearForwardClicked(); - protected native void yearBackwardClicked(); - /** - @short - */ - protected native void selectMonthClicked(); - /** - @short - */ - protected native void selectYearClicked(); - /** - @short - */ - protected native void lineEnterPressed(); - /** - @short - */ - protected native void todayButtonClicked(); - /** - @short - */ - protected native void weekSelected(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDatePickerSignals.java b/kdejava/koala/org/kde/koala/KDatePickerSignals.java deleted file mode 100644 index 637413da..00000000 --- a/kdejava/koala/org/kde/koala/KDatePickerSignals.java +++ /dev/null @@ -1,41 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KDatePickerSignals { - /** This signal is emitted each time the selected date is changed. - Usually, this does not mean that the date has been entered, - since the date also changes, for example, when another month is - selected. - @short This signal is emitted each time the selected date is changed. - @see #dateSelected - */ - void dateChanged(Calendar arg1); - /** This signal is emitted each time a day has been selected by - clicking on the table (hitting a day in the current month). It - has the same meaning as dateSelected() in older versions of - KDatePicker. - @short This signal is emitted each time a day has been selected by clicking on the table (hitting a day in the current month). - */ - void dateSelected(Calendar arg1); - /** This signal is emitted when enter is pressed and a VALID date - has been entered before into the line edit. Connect to both - dateEntered() and dateSelected() to receive all events where the - user really enters a date. - @short This signal is emitted when enter is pressed and a VALID date has been entered before into the line edit. - */ - void dateEntered(Calendar arg1); - /** This signal is emitted when the day has been selected by - clicking on it in the table. - @short This signal is emitted when the day has been selected by clicking on it in the table. - */ - void tableClicked(); -} diff --git a/kdejava/koala/org/kde/koala/KDateTable.java b/kdejava/koala/org/kde/koala/KDateTable.java deleted file mode 100644 index d5ca30b9..00000000 --- a/kdejava/koala/org/kde/koala/KDateTable.java +++ /dev/null @@ -1,167 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQGridView; - -/** - - Date selection table. - This is a support class for the KDatePicker class. It just - draws the calender table without titles, but could theoretically - be used as a standalone. - When a date is selected by the user, it emits a signal: - dateSelected(Calendar) - See {@link KDateTableSignals} for signals emitted by KDateTable - @author Tim Gilman, Mirko Boehm - - @version $Id$ - - @short Date selection table. - -*/ -public class KDateTable extends TQGridView { - protected KDateTable(Class dummy){super((Class) null);} - public static final int NoBgMode = 0; - public static final int RectangleMode = 1; - public static final int CircleMode = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - The constructor. - @short The constructor. - */ - public KDateTable(TQWidget parent, Calendar date, String name, int f) { - super((Class) null); - newKDateTable(parent,date,name,f); - } - private native void newKDateTable(TQWidget parent, Calendar date, String name, int f); - public KDateTable(TQWidget parent, Calendar date, String name) { - super((Class) null); - newKDateTable(parent,date,name); - } - private native void newKDateTable(TQWidget parent, Calendar date, String name); - public KDateTable(TQWidget parent, Calendar date) { - super((Class) null); - newKDateTable(parent,date); - } - private native void newKDateTable(TQWidget parent, Calendar date); - public KDateTable(TQWidget parent) { - super((Class) null); - newKDateTable(parent); - } - private native void newKDateTable(TQWidget parent); - public KDateTable() { - super((Class) null); - newKDateTable(); - } - private native void newKDateTable(); - /** - The constructor. - @short The constructor. - */ - public KDateTable(TQWidget parent, String name, int f) { - super((Class) null); - newKDateTable(parent,name,f); - } - private native void newKDateTable(TQWidget parent, String name, int f); - public KDateTable(TQWidget parent, String name) { - super((Class) null); - newKDateTable(parent,name); - } - private native void newKDateTable(TQWidget parent, String name); - /** - Returns a recommended size for the widget. - To save some time, the size of the largest used cell content is - calculated in each paintCell() call, since all calculations have - to be done there anyway. The size is stored in maxCell. The - sizeHint() simply returns a multiple of maxCell. - @short Returns a recommended size for the widget. - */ - public native TQSize sizeHint(); - /** - Set the font size of the date table. - @short Set the font size of the date table. - */ - public native void setFontSize(int size); - /** - Select and display this date. - @short Select and display this date. - */ - public native boolean setDate(Calendar arg1); - public native Calendar getDate(); - /** - Enables a popup menu when right clicking on a date. - When it's enabled, this object emits a aboutToShowContextMenu signal - where you can fill in the menu items. - @short Enables a popup menu when right clicking on a date. - */ - public native void setPopupMenuEnabled(boolean enable); - /** - Returns if the popup menu is enabled or not - @short Returns if the popup menu is enabled or not - */ - public native boolean popupMenuEnabled(); - /** - Makes a given date be painted with a given foregroundColor, and background - (a rectangle, or a circle/ellipse) in a given color. - @short Makes a given date be painted with a given foregroundColor, and background (a rectangle, or a circle/ellipse) in a given color. - */ - public native void setCustomDatePainting(Calendar date, TQColor fgColor, int bgMode, TQColor bgColor); - public native void setCustomDatePainting(Calendar date, TQColor fgColor, int bgMode); - public native void setCustomDatePainting(Calendar date, TQColor fgColor); - /** - Unsets the custom painting of a date so that the date is painted as usual. - @short Unsets the custom painting of a date so that the date is painted as usual. - */ - public native void unsetCustomDatePainting(Calendar date); - /** - calculate the position of the cell in the matrix for the given date. The result is the 0-based index. - @short calculate the position of the cell in the matrix for the given date. - */ - protected native int posFromDate(Calendar date); - /** - calculate the date that is displayed at a given cell in the matrix. pos is the - 0-based index in the matrix. Inverse function to posForDate(). - @short calculate the date that is displayed at a given cell in the matrix. - */ - protected native Calendar dateFromPos(int pos); - /** - Paint a cell. - @short Paint a cell. - */ - public native void paintCell(TQPainter arg1, int arg2, int arg3); - /** - Handle the resize events. - @short Handle the resize events. - */ - protected native void viewportResizeEvent(TQResizeEvent arg1); - /** - React on mouse clicks that select a date. - @short React on mouse clicks that select a date. - */ - protected native void contentsMousePressEvent(TQMouseEvent arg1); - protected native void wheelEvent(TQWheelEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void focusInEvent(TQFocusEvent e); - protected native void focusOutEvent(TQFocusEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateTableSignals.java b/kdejava/koala/org/kde/koala/KDateTableSignals.java deleted file mode 100644 index 3317097f..00000000 --- a/kdejava/koala/org/kde/koala/KDateTableSignals.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; - -public interface KDateTableSignals { - /** - The selected date changed. - @short The selected date changed. - */ - void dateChanged(Calendar arg1); - /** - This function behaves essentially like the one above. - The selected date changed. - @param cur The current date - @param old The date before the date was changed - @short This function behaves essentially like the one above. - */ - void dateChanged(Calendar cur, Calendar old); - /** - A date has been selected by clicking on the table. - @short A date has been selected by clicking on the table. - */ - void tableClicked(); - /** - A popup menu for a given date is about to be shown (as when the user - right clicks on that date and the popup menu is enabled). Connect - the slot where you fill the menu to this signal. - @short A popup menu for a given date is about to be shown (as when the user right clicks on that date and the popup menu is enabled). - */ - void aboutToShowContextMenu(TDEPopupMenu menu, Calendar date); -} diff --git a/kdejava/koala/org/kde/koala/KDateTimeWidget.java b/kdejava/koala/org/kde/koala/KDateTimeWidget.java deleted file mode 100644 index d97e39fd..00000000 --- a/kdejava/koala/org/kde/koala/KDateTimeWidget.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This widget can be used to display or allow user selection of date and time. - \image html kdatetimewidget.png "KDE Date Time Widget" - See {@link KDateTimeWidgetSignals} for signals emitted by KDateTimeWidget - @author Hans Petter Bieker <bieker@kde.org> - - @version $Id$ - - @short A combination of a date and a time selection widget. - @see KDateWidget - -*/ -public class KDateTimeWidget extends TQWidget { - protected KDateTimeWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a date and time selection widget. - @short Constructs a date and time selection widget. - */ - public KDateTimeWidget(TQWidget parent, String name) { - super((Class) null); - newKDateTimeWidget(parent,name); - } - private native void newKDateTimeWidget(TQWidget parent, String name); - public KDateTimeWidget(TQWidget parent) { - super((Class) null); - newKDateTimeWidget(parent); - } - private native void newKDateTimeWidget(TQWidget parent); - public KDateTimeWidget() { - super((Class) null); - newKDateTimeWidget(); - } - private native void newKDateTimeWidget(); - /** - Constructs a date and time selection widget with the initial date and - time set to <code>datetime.</code> - @short Constructs a date and time selection widget with the initial date and time set to <code>datetime.</code> - */ - public KDateTimeWidget(Calendar datetime, TQWidget parent, String name) { - super((Class) null); - newKDateTimeWidget(datetime,parent,name); - } - private native void newKDateTimeWidget(Calendar datetime, TQWidget parent, String name); - public KDateTimeWidget(Calendar datetime, TQWidget parent) { - super((Class) null); - newKDateTimeWidget(datetime,parent); - } - private native void newKDateTimeWidget(Calendar datetime, TQWidget parent); - public KDateTimeWidget(Calendar datetime) { - super((Class) null); - newKDateTimeWidget(datetime); - } - private native void newKDateTimeWidget(Calendar datetime); - /** - Returns the currently selected date and time. - @short Returns the currently selected date and time. - */ - public native Calendar dateTime(); - /** - Changes the selected date and time to <code>datetime.</code> - @short Changes the selected date and time to <code>datetime.</code> - */ - public native void setDateTime(Calendar datetime); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java b/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java deleted file mode 100644 index f4d6b581..00000000 --- a/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; - -public interface KDateTimeWidgetSignals { - /** - Emitted whenever the date or time of the widget - is changed, either with setDateTime() or via user selection. - @short Emitted whenever the date or time of the widget is changed, either with setDateTime() or via user selection. - */ - void valueChanged(Calendar datetime); -} diff --git a/kdejava/koala/org/kde/koala/KDateValidator.java b/kdejava/koala/org/kde/koala/KDateValidator.java deleted file mode 100644 index 8740e296..00000000 --- a/kdejava/koala/org/kde/koala/KDateValidator.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; -import org.kde.qt.TQValidator; - -/** - - Validates user-entered dates. - @short Validates user-entered dates. - -*/ -public class KDateValidator extends TQValidator { - protected KDateValidator(Class dummy){super((Class) null);} - public KDateValidator(TQWidget parent, String name) { - super((Class) null); - newKDateValidator(parent,name); - } - private native void newKDateValidator(TQWidget parent, String name); - public KDateValidator(TQWidget parent) { - super((Class) null); - newKDateValidator(parent); - } - private native void newKDateValidator(TQWidget parent); - public KDateValidator() { - super((Class) null); - newKDateValidator(); - } - private native void newKDateValidator(); - public native int validate(StringBuffer arg1, int[] arg2); - public native void fixup(StringBuffer input); - public native int date(String arg1, Calendar arg2); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateWidget.java b/kdejava/koala/org/kde/koala/KDateWidget.java deleted file mode 100644 index eda48f53..00000000 --- a/kdejava/koala/org/kde/koala/KDateWidget.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This widget can be used to display or allow user selection of a date. - See {@link KDateWidgetSignals} for signals emitted by KDateWidget - @version $Id$ - - @short A pushbutton to display or allow user selection of a date. - @see KDatePicker - -*/ -public class KDateWidget extends TQWidget { - protected KDateWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a date selection widget. - @short Constructs a date selection widget. - */ - public KDateWidget(TQWidget parent, String name) { - super((Class) null); - newKDateWidget(parent,name); - } - private native void newKDateWidget(TQWidget parent, String name); - public KDateWidget(TQWidget parent) { - super((Class) null); - newKDateWidget(parent); - } - private native void newKDateWidget(TQWidget parent); - public KDateWidget() { - super((Class) null); - newKDateWidget(); - } - private native void newKDateWidget(); - /** - Constructs a date selection widget with the initial date set to <code>date.</code> - @short Constructs a date selection widget with the initial date set to <code>date.</code> - */ - public KDateWidget(Calendar date, TQWidget parent, String name) { - super((Class) null); - newKDateWidget(date,parent,name); - } - private native void newKDateWidget(Calendar date, TQWidget parent, String name); - public KDateWidget(Calendar date, TQWidget parent) { - super((Class) null); - newKDateWidget(date,parent); - } - private native void newKDateWidget(Calendar date, TQWidget parent); - public KDateWidget(Calendar date) { - super((Class) null); - newKDateWidget(date); - } - private native void newKDateWidget(Calendar date); - /** - Returns the currently selected date. - @short Returns the currently selected date. - */ - public native Calendar date(); - /** - Changes the selected date to <code>date.</code> - @short Changes the selected date to <code>date.</code> - */ - public native void setDate(Calendar date); - protected native void init(); - protected native void init(Calendar arg1); - protected native void slotDateChanged(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateWidgetSignals.java b/kdejava/koala/org/kde/koala/KDateWidgetSignals.java deleted file mode 100644 index 2fa8d91c..00000000 --- a/kdejava/koala/org/kde/koala/KDateWidgetSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; - -public interface KDateWidgetSignals { - /** - Emitted whenever the date of the widget - is changed, either with setDate() or via user selection. - @short Emitted whenever the date of the widget is changed, either with setDate() or via user selection. - */ - void changed(Calendar arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDesktopFile.java b/kdejava/koala/org/kde/koala/KDesktopFile.java deleted file mode 100644 index 44099eff..00000000 --- a/kdejava/koala/org/kde/koala/KDesktopFile.java +++ /dev/null @@ -1,237 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - KDE Desktop File Management. - @author Pietro Iglio <iglio@kde.org> - - @short KDE Desktop File Management class. - @see TDEConfigBase - @see TDEConfig - -*/ -public class KDesktopFile extends TDEConfig { - protected KDesktopFile(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KDesktopFile object and make it either read-write - or read-only. - @param fileName The name or path of the desktop file. If it - is not absolute, it will be located - using the resource type <code>resType.</code> - @param readOnly Whether the object should be read-only. - @param resType Allows you to change what sort of resource - to search for if <code>fileName</code> is not absolute. For - instance, you might want to specify "config". - @short Constructs a KDesktopFile object and make it either read-write or read-only. - */ - public KDesktopFile(String fileName, boolean readOnly, String resType) { - super((Class) null); - newKDesktopFile(fileName,readOnly,resType); - } - private native void newKDesktopFile(String fileName, boolean readOnly, String resType); - public KDesktopFile(String fileName, boolean readOnly) { - super((Class) null); - newKDesktopFile(fileName,readOnly); - } - private native void newKDesktopFile(String fileName, boolean readOnly); - public KDesktopFile(String fileName) { - super((Class) null); - newKDesktopFile(fileName); - } - private native void newKDesktopFile(String fileName); - /** - Returns the value of the "Type=" entry. - @return the type or null if not specified - - @short Returns the value of the "Type=" entry. - */ - public native String readType(); - /** - Returns the value of the "Icon=" entry. - @return the icon or null if not specified - - @short Returns the value of the "Icon=" entry. - */ - public native String readIcon(); - /** - Returns the value of the "Name=" entry. - @return the name or null if not specified - - @short Returns the value of the "Name=" entry. - */ - public native String readName(); - /** - Returns the value of the "Comment=" entry. - @return the comment or null if not specified - - @short Returns the value of the "Comment=" entry. - */ - public native String readComment(); - /** - Returns the value of the "GenericName=" entry. - @return the generic name or null if not specified - - @short Returns the value of the "GenericName=" entry. - */ - public native String readGenericName(); - /** - Returns the value of the "Path=" entry. - @return the path or null if not specified - - @short Returns the value of the "Path=" entry. - */ - public native String readPath(); - /** - Returns the value of the "Dev=" entry. - @return the device or null if not specified - - @short Returns the value of the "Dev=" entry. - */ - public native String readDevice(); - /** - Returns the value of the "URL=" entry. - @return the URL or null if not specified - - @short Returns the value of the "URL=" entry. - */ - public native String readURL(); - /** - Returns a list of the "Actions=" entries. - @return the list of actions - - @short Returns a list of the "Actions=" entries. - */ - public native ArrayList readActions(); - /** - Sets the desktop action group. - @param group the new action group - @short Sets the desktop action group. - */ - public native void setActionGroup(String group); - /** - Returns true if the action group exists, false otherwise - @param group the action group to test - @return true if the action group exists - - @short Returns true if the action group exists, false otherwise - */ - public native boolean hasActionGroup(String group); - /** - Checks whether there is a "Type=Link" entry. - The link points to the "URL=" entry. - @return true if there is a "Type=Link" entry - - @short Checks whether there is a "Type=Link" entry. - */ - public native boolean hasLinkType(); - /** - Checks whether there is an entry "Type=Application". - @return true if there is a "Type=Application" entry - - @short Checks whether there is an entry "Type=Application". - */ - public native boolean hasApplicationType(); - /** - Checks whether there is an entry "Type=MimeType". - @return true if there is a "Type=MimeType" entry - - @short Checks whether there is an entry "Type=MimeType". - */ - public native boolean hasMimeTypeType(); - /** - Checks whether there is an entry "Type=FSDev". - @return true if there is a "Type=FSDev" entry - - @short Checks whether there is an entry "Type=FSDev". - */ - public native boolean hasDeviceType(); - /** - Checks whether the TryExec field contains a binary - which is found on the local system. - @return true if TryExec contains an existing binary - - @short Checks whether the TryExec field contains a binary which is found on the local system. - */ - public native boolean tryExec(); - /** - Returns the file name. - @return The filename as passed to the constructor. - - @short Returns the file name. - */ - public native String fileName(); - /** - Returns the resource. - @return The resource type as passed to the constructor. - - @short Returns the resource. - */ - public native String resource(); - /** - Returns the value of the "X-DocPath=" Or "DocPath=" entry. - X-DocPath should be used and DocPath is depreciated and will - one day be not supported. - @return The value of the "X-DocPath=" Or "DocPath=" entry. - - @short Returns the value of the "X-DocPath=" Or "DocPath=" entry. - */ - public native String readDocPath(); - /** - Returns the entry of the "SortOrder=" entry. - @return the value of the "SortOrder=" entry. - - @short Returns the entry of the "SortOrder=" entry. - */ - public native ArrayList sortOrder(); - /** - Copies all entries from this config object to a new - KDesktopFile object that will save itself to <code>file.</code> - Actual saving to <code>file</code> happens when the returned object is - destructed or when sync() is called upon it. - @param file the new KDesktopFile object it will save itself to. - @short Copies all entries from this config object to a new KDesktopFile object that will save itself to <code>file.</code> - */ - public native TDEConfig copyTo(String file); - /** - Checks whether this is really a desktop file. - The check is performed looking at the file extension (the file is not - opened). - Currently, valid extensions are ".kdelnk" and ".desktop". - @param path the path of the file to check - @return true if the file appears to be a desktop file. - - @short Checks whether this is really a desktop file. - */ - public static native boolean isDesktopFile(String path); - /** - Checks whether the user is authorized to run this desktop file. - By default users are authorized to run all desktop files but - the KIOSK framework can be used to activate certain restrictions. - See README.kiosk for more information. - @param path the file to check - @return true if the user is authorized to run the file - - @short Checks whether the user is authorized to run this desktop file. - */ - public static native boolean isAuthorizedDesktopFile(String path); - /** - Returns the location where changes for the .desktop file <code>path</code> - should be written to. - @short Returns the location where changes for the . - */ - public static native String locateLocal(String path); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialog.java b/kdejava/koala/org/kde/koala/KDialog.java deleted file mode 100644 index cb3b1d79..00000000 --- a/kdejava/koala/org/kde/koala/KDialog.java +++ /dev/null @@ -1,154 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQLayoutItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQLayoutItemInterface; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDialog; - -/** - - Dialog with extended non-modal support and methods for %KDE standard - compliance. - Generally, you should not use this class directly, but KDialogBase - which inherits KDialog. - If the dialog is non-modal and has a parent, the default keybindings - (<code>escape</code> = <code>reject</code>(), <code>enter</code> = <code>accept</code>(), etc.) are disabled. - The marginHint() and spacingHint() sizes shall be used - whenever you layout the interior of a dialog. One special note. If - you make your own action buttons (OK, Cancel etc), the space - beteween the buttons shall be spacingHint(), whereas the space - above, below, to the right and to the left shall be marginHint(). - If you add a separator line above the buttons, there shall be a - marginHint() between the buttons and the separator and a - marginHint() above the separator as well. - See {@link KDialogSignals} for signals emitted by KDialog - @author Thomas Tanghus <tanghus@earthling.net>, Espen Sand <espensa@online.no> - - @short Dialog with extended non-modal support and methods for %KDE standard compliance. - @see KDialogBase - -*/ -public class KDialog extends TQDialog { - protected KDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - Takes the same arguments as TQDialog. - @short Constructor. - */ - public KDialog(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newKDialog(parent,name,modal,f); - } - private native void newKDialog(TQWidget parent, String name, boolean modal, int f); - public KDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialog(parent,name,modal); - } - private native void newKDialog(TQWidget parent, String name, boolean modal); - public KDialog(TQWidget parent, String name) { - super((Class) null); - newKDialog(parent,name); - } - private native void newKDialog(TQWidget parent, String name); - public KDialog(TQWidget parent) { - super((Class) null); - newKDialog(parent); - } - private native void newKDialog(TQWidget parent); - public KDialog() { - super((Class) null); - newKDialog(); - } - private native void newKDialog(); - /** - If the dialog starts with focus in a TQLineEdit child, - then call selectAll() on the child. - @short If the dialog starts with focus in a TQLineEdit child, then call selectAll() on the child. - */ - public native void polish(); - /** - Make a KDE compliant caption. - @param caption Your caption. Do <code>not</code> include the application name - in this string. It will be added automatically according to the KDE - standard. - @short Make a KDE compliant caption. - */ - public native void setCaption(String caption); - /** - Make a plain caption without any modifications. - @param caption Your caption. This is the string that will be - displayed in the window title. - @short Make a plain caption without any modifications. - */ - public native void setPlainCaption(String caption); - /** - Return the number of pixels you shall use between a - dialog edge and the outermost widget(s) according to the KDE standard. - @short Return the number of pixels you shall use between a dialog edge and the outermost widget(s) according to the KDE standard. - */ - public static native int marginHint(); - /** - Return the number of pixels you shall use between - widgets inside a dialog according to the KDE standard. - @short Return the number of pixels you shall use between widgets inside a dialog according to the KDE standard. - */ - public static native int spacingHint(); - /** - Resize every layout manager used in <code>widget</code> and its nested children. - @param widget The widget used. - @param margin The new layout margin. - @param spacing The new layout spacing. - @short Resize every layout manager used in <code>widget</code> and its nested children. - */ - public static native void resizeLayout(TQWidget widget, int margin, int spacing); - /** - Resize every layout associated with <code>lay</code> and its children. - @param lay layout to be resized - @param margin The new layout margin - @param spacing The new layout spacing - @short Resize every layout associated with <code>lay</code> and its children. - */ - public static native void resizeLayout(TQLayoutItemInterface lay, int margin, int spacing); - /** - Centers <code>widget</code> on the desktop, taking multi-head setups into - account. If <code>screen</code> is -1, <code>widget</code> will be centered on its - current screen (if it was shown already) or on the primary screen. - If <code>screen</code> is -3, <code>widget</code> will be centered on the screen that - currently contains the mouse pointer. - <code>screen</code> will be ignored if a merged display (like Xinerama) is not - in use, or merged display placement is not enabled in kdeglobals. - @short Centers <code>widget</code> on the desktop, taking multi-head setups into account. - */ - public static native void centerOnScreen(TQWidget widget, int screen); - public static native void centerOnScreen(TQWidget widget); - /** - Places <code>widget</code> so that it doesn't cover a certain <code>area</code> of the screen. - This is typically used by the "find dialog" so that the match it finds can - be read. - For <code>screen</code>, see centerOnScreen - @return true on success (widget doesn't cover area anymore, or never did), - false on failure (not enough space found) - - @short Places <code>widget</code> so that it doesn't cover a certain <code>area</code> of the screen. - */ - public static native boolean avoidArea(TQWidget widget, TQRect area, int screen); - public static native boolean avoidArea(TQWidget widget, TQRect area); - /** - @short - */ - protected native void keyPressEvent(TQKeyEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialogBase.java b/kdejava/koala/org/kde/koala/KDialogBase.java deleted file mode 100644 index 4e3a9c83..00000000 --- a/kdejava/koala/org/kde/koala/KDialogBase.java +++ /dev/null @@ -1,1338 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQGrid; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; -import org.kde.qt.TQFrame; -import org.kde.qt.TQHBox; - -/** - - Provides basic functionality needed by nearly all dialogs. - It offers the standard action buttons you'd expect to find in a - dialog as well as the capability to define at most three configurable - buttons. You can define a main widget that contains your specific - dialog layout or you can use a predefined layout. Currently, <code>TreeList</code>/Paged, <code>Tabbed</code>, <code>Plain</code>, <code>Swallow</code> and <code>IconList</code> - mode layouts (faces) are available. - The class takes care of the geometry management. You only need to define - a minimum size for the widget you want to use as the main widget. - You can set a background tile (pixmap) for parts of the dialog. The - tile you select is shared by all instances of this class in your - application so that they all get the same look and feel. - There is a tutorial available on http://developer.kde.org/ (NOT YET) - that contains - copy/paste examples as well a screenshots on how to use this class. - <li><b>Standard buttons (action buttons):</b></li> - You select which buttons should be displayed, but you do not choose the - order in which they are displayed. This ensures a standard interface in - KDE. The button order can be changed, but this ability is only available - for a central KDE control tool. The following buttons are available: - OK, Cancel/Close, Apply/Try, Default, Help and three user definable - buttons: User1, User2 and User3. You must specify the text of the UserN - buttons. Each button has a slot so you can overload the method - when required. The default slots emit a signal as well, so you can choose - to connect a signal instead of overriding the slot. - The default implementation of slotHelp() will automatically enable - the help system if you have provided a path to the help text. - slotCancel() and slotClose() will run TQDialog.reject() - while slotOk() will run TQDialog.accept(). You define a default - button in the constructor. - If you don't want any buttons at all because your dialog is special - in some way, then set the buttonMask argument in the constructor to zero - (0). The optional button box separator line should not be enabled - in this case. Note that the KDialogBase will animate a button press - when the user press Escape. The button that is enabled is either Cancel, - Close or the button that is defined by setEscapeButton() The - animation will not take place when the buttonMask is zero. Your - custom dialog code should reimplement the keyPressEvent and - animate the cancel button so that the dialog behaves like regular - dialogs. NOTE: None of the regular slots (like slotOk() ) or - signals that are related to the standard action buttons will be used - when you don't use these buttons. - <li><b>Dialog shapes:</b></li> - You can either use one of the prebuilt, easy to use, faces or - define your own main widget. The dialog provides ready to use - TreeList, Tabbed, Plain, Swallow and IconList faces. KDialogBase uses - the KJanusWidget class internally to accomplish this. If you - use TreeList, Tabbed or IconList mode, then add pages with addPage(). - Pages that have been added can be removed again by simply deleting - the page. - If you want complete control of how the dialog contents should look, - then you can define a main widget by using setMainWidget(). You - only need to set the minimum size of that widget and the dialog will - resize itself to fit this minimum size. The dialog is resizeable, but - cannot be made smaller than its minimum size. - <li><b>Layout:</b></li> - The dialog consists of a help area on top (becomes visible if you define - a help path and use enableLinkedHelp()), the main area which is - the built-in dialog face or your own widget in the middle and by default - a button box at the bottom. The button box can also be placed at the - right edge (to the right of the main widget). Use - setButtonBoxOrientation() to control this behavior. A separator - can be placed above the button box (or to the left when the button box - is at the right edge). Normally you specify that you want a separator - in the constructor, but you can use enableButtonSeparator() as well. - <li><b>Standard compliance:</b></li> - The class is derived from KDialog, so you get automatic access to - the KDialog.marginHint(), KDialog.spacingHint() and the - extended KDialog.setCaption() method. NOTE: The main widget you - use will be positioned inside the dialog using a margin (or border) - equal to KDialog.marginHint(). You should not add a margin yourself, - since one will be added automatically. - The example below (from kedit) shows how you use the top level widget - and its layout. The second argument (the border) to TQVBoxLayout - is 0. This situation is valid for addPage , addVBoxPage , - addHBoxPage , addGridPage , makeMainWidget , - makeVBoxMainWidget , makeHBoxMainWidget and - makeGridMainWidget as well. - Example: - <pre> - UrlDlg.UrlDlg( TQWidget parent, String caption, - String urltext) - { - TQWidget page = new TQWidget( this ); - setMainWidget(page); - TQVBoxLayout topLayout = new TQVBoxLayout( page, 0, spacingHint() ); - TQLabel label = new TQLabel( caption, page, "caption" ); - topLayout.addWidget( label ); - lineedit = new TQLineEdit( urltext, page, "lineedit" ); - lineedit.setMinimumWidth(fontMetrics().maxWidth()*20); - topLayout.addWidget( lineedit ); - topLayout.addStretch(10); - } - </pre> - If you use makeVBoxMainWidget(), then the dialog above can be made - simpler but you lose the ability to add a stretchable area: - <pre> - UrlDlg.UrlDlg( TQWidget parent, String caption, - String urltext) - { - TQVBox page = makeVBoxMainWidget(); - TQLabel label = new TQLabel( caption, page, "caption" ); - lineedit = new TQLineEdit( urltext, page, "lineedit" ); - lineedit.setMinimumWidth(fontMetrics().maxWidth()*20); - } - </pre> - This class can be used in many ways. Note that most KDE ui widgets - and many of KDE core applications use the KDialogBase so for more - inspiration you should study the code for these. - See {@link KDialogBaseSignals} for signals emitted by KDialogBase - @author Mirko Boehm (mirko@kde.org) and Espen Sand (espen@kde.org) - - @short A dialog base class with standard buttons and predefined layouts. - -*/ -public class KDialogBase extends KDialog { - protected KDialogBase(Class dummy){super((Class) null);} - public static final int Help = 0x00000001; - public static final int Default = 0x00000002; - public static final int Ok = 0x00000004; - public static final int Apply = 0x00000008; - public static final int Try = 0x00000010; - public static final int Cancel = 0x00000020; - public static final int Close = 0x00000040; - public static final int User1 = 0x00000080; - public static final int User2 = 0x00000100; - public static final int User3 = 0x00000200; - public static final int No = 0x00000080; - public static final int Yes = 0x00000100; - public static final int Details = 0x00000400; - public static final int Filler = 0x40000000; - public static final int Stretch = 0x80000000; - public static final int NoDefault = 0; - - public static final int ActionStyle0 = 0; - public static final int ActionStyle1 = 1; - public static final int ActionStyle2 = 2; - public static final int ActionStyle3 = 3; - public static final int ActionStyle4 = 4; - public static final int ActionStyleMAX = 5; - - /** - - <li> - <code>TreeList</code> - A dialog with a tree on the left side and a - representation of the contents on the right side. - </li> - - <li> - <code>Tabbed</code> - A dialog using a TQTabWidget. - </li> - - <li> - <code>Plain</code> - A normal dialog. Use plainPage() as parent for widgets. - </li> - - <li> - <code>Swallow</code> - Simplifes the usage of existing widgets. You specify - the widget to be displayed by setMainWidget(). - </li> - - <li> - <code>IconList</code> - A dialog with an iconlist on the left side and a - representation of the contents on the right side. - - </li> @short - */ - public static final int TreeList = KJanusWidget.TreeList; - public static final int Tabbed = KJanusWidget.Tabbed; - public static final int Plain = KJanusWidget.Plain; - public static final int Swallow = KJanusWidget.Swallow; - public static final int IconList = KJanusWidget.IconList; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor for the standard mode where you must specify the main - widget with setMainWidget() . - @param parent Parent of the dialog. - @param name Dialog name (for internal use only) - @param modal Controls dialog modality. If <code>false</code>, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param separator If <code>true</code>, a separator line is drawn between the - action buttons and the main widget. - @param user1 User button1 item. - @param user2 User button2 item. - @param user3 User button3 item. - @short Constructor for the standard mode where you must specify the main widget with setMainWidget() . - */ - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2,user3); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption) { - super((Class) null); - newKDialogBase(parent,name,modal,caption); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption); - public KDialogBase(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(parent,name,modal); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal); - public KDialogBase(TQWidget parent, String name) { - super((Class) null); - newKDialogBase(parent,name); - } - private native void newKDialogBase(TQWidget parent, String name); - public KDialogBase(TQWidget parent) { - super((Class) null); - newKDialogBase(parent); - } - private native void newKDialogBase(TQWidget parent); - public KDialogBase() { - super((Class) null); - newKDialogBase(); - } - private native void newKDialogBase(); - /** - In KDE4 a WFlag paramater should be added after modal and next - function can be removed. - Constructor for the predefined layout mode where you specify the - kind of layout (face). - @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or - IconList. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If <code>false</code>, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @param separator If <code>true</code>, a separator line is drawn between the - action buttons and the main widget. - @param user1 User button1 text item. - @param user2 User button2 text item. - @param user3 User button3 text item. - @short In KDE4 a WFlag paramater should be added after modal and next function can be removed. - */ - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2,user3); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton); - /** - Constructor for the predefined layout mode where you specify the - kind of layout (face). - @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or - IconList. - @param f widget flags, by default it is just set to WStyle_DialogBorder. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If <code>false</code>, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param separator If <code>true</code>, a separator line is drawn between the - action buttons and the main widget. - @param user1 User button1 text item. - @param user2 User button2 text item. - @param user3 User button3 text item. - @short Constructor for the predefined layout mode where you specify the kind of layout (face). - */ - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2,user3); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name); - public KDialogBase(int dialogFace, int f, TQWidget parent) { - super((Class) null); - newKDialogBase(dialogFace,f,parent); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent); - public KDialogBase(int dialogFace, int f) { - super((Class) null); - newKDialogBase(dialogFace,f); - } - private native void newKDialogBase(int dialogFace, int f); - /** - Constructor for a message box mode where the <code>buttonMask</code> can only - contain Yes, No, or Cancel. - If you need other names you can rename - the buttons with setButtonText(). The dialog box is not resizable - by default but this can be changed by setInitialSize(). If you - select 'modal' to be true, the dialog will return Yes, No, or Cancel - when closed otherwise you can use the signals yesClicked(), - noClicked(), or cancelClicked() to determine the state. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param escapeButton Specifies which button will be activated by - when the dialog receives a <code>Key_Escape</code> keypress. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If <code>false</code>, the rest of the - program interface (example: other dialogs) is accessible - while the dialog is open. - @param separator If <code>true</code>, a separator line is drawn between the - action buttons and the main widget. - @param yes Text to use for the first button (defaults to i18n("Yes")) - @param no Text to use for the second button (defaults to i18n("No")) - @param cancel Text to use for the third button (defaults to i18n("Cancel")) - @short Constructor for a message box mode where the <code>buttonMask</code> can only contain Yes, No, or Cancel. - */ - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes,no,cancel); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes,no); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton); - public KDialogBase(String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton); - public KDialogBase(String caption, int buttonMask) { - super((Class) null); - newKDialogBase(caption,buttonMask); - } - private native void newKDialogBase(String caption, int buttonMask); - public KDialogBase(String caption) { - super((Class) null); - newKDialogBase(caption); - } - private native void newKDialogBase(String caption); - /** - Sets the orientation of the button box. - It can be <code>Vertical</code> or <code>Horizontal.</code> If <code>Horizontal</code> - (default), the button box is positioned at the bottom of the - dialog. If <code>Vertical</code> it will be placed at the right edge of the - dialog. - @param orientation The button box orientation. - @short Sets the orientation of the button box. - */ - public native void setButtonBoxOrientation(int orientation); - /** - Sets the button that will be activated when the Escape key - is pressed. - Normally you should not use this function. By default, - the Escape key is mapped to either the Cancel or the Close button - if one of these buttons are defined. The user expects that Escape will - cancel an operation so use this function with caution. - @param id The button code. - @short Sets the button that will be activated when the Escape key is pressed. - */ - public native void setEscapeButton(int id); - /** - Adjust the size of the dialog to fit the contents just before - TQDialog.exec() or TQDialog.show() is called. - This method will not be called if the dialog has been explicitly - resized before showing it. - @short Adjust the size of the dialog to fit the contents just before TQDialog.exec() or TQDialog.show() is called. - */ - public native void adjustSize(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - /** - Retrieve the empty page when the predefined layout is used in <code>Plain</code> - mode. - This widget must be used as the toplevel widget of your dialog - code. - @return The widget or 0 if the predefined layout mode is not <code>Plain</code> - or if you don't use any predefined layout. - - @short Retrieve the empty page when the predefined layout is used in <code>Plain</code> mode. - */ - public native TQFrame plainPage(); - /** - Add a page to the dialog when the class is used in <code>TreeList</code> , - <code>IconList</code> or <code>Tabbed</code> mode. - The returned widget must be used as the - toplevel widget for this particular page. - Note: The returned frame widget has no - layout manager associated with it. In order to use it you must - create a layout yourself as the example below illustrates: - <pre> - TQFrame page = addPage( i18n("Layout") ); - TQVBoxLayout topLayout = new TQVBoxLayout( page, 0, KDialog.spacingHint() ); - TQLabel label = new TQLabel( i18n("Layout type"), page ); - topLayout.addWidget( label ); - .. - </pre> - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes. Ignored in <code>Tabbed</code> - mode. If empty, the item text is used instead. - @param pixmap Used in <code>IconList</code> mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in <code>TreeList</code> , <code>IconList</code> or <code>Tabbed</code> mode. - */ - public native TQFrame addPage(String itemName, String header, TQPixmap pixmap); - public native TQFrame addPage(String itemName, String header); - public native TQFrame addPage(String itemName); - /** - This is like addPage() just above, with the difference that the first - element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the <code>TreeList</code> face. Later this may - be added for the <code>IconList</code> face too. In other faces than the - <code>TreeList</code>, all the strings except the last one is ignored. - @short This is like addPage() just above, with the difference that the first element is a list of strings. - */ - public native TQFrame addPage(String[] items, String header, TQPixmap pixmap); - public native TQFrame addPage(String[] items, String header); - public native TQFrame addPage(String[] items); - /** - Add a page to the dialog when the class is used in <code>TreeList</code>, - <code>IconList</code> or <code>Tabbed</code> mode. - The returned widget must be used as the toplevel widget for - this particular page. The widget contains a TQVBoxLayout - layout so the widget children are lined up vertically. You can - use it as follows: - <pre> - TQVBox page = addVBoxPage( i18n("Layout") ); - TQLabel label = new TQLabel( i18n("Layout type"), page ); - .. - </pre> - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes. Ignored in <code>Tabbed</code> - mode. If empty, the item text is used instead. - @param pixmap Used in <code>IconList</code> mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. - */ - public native TQVBox addVBoxPage(String itemName, String header, TQPixmap pixmap); - public native TQVBox addVBoxPage(String itemName, String header); - public native TQVBox addVBoxPage(String itemName); - /** - This is like addVBoxPage() just above, with the difference - that the first element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the <code>TreeList</code> face. Later this may - be added for the <code>IconList</code> face too. In other faces than the - <code>TreeList</code>, all the strings except the last one is ignored. - @short This is like addVBoxPage() just above, with the difference that the first element is a list of strings. - */ - public native TQVBox addVBoxPage(String[] items, String header, TQPixmap pixmap); - public native TQVBox addVBoxPage(String[] items, String header); - public native TQVBox addVBoxPage(String[] items); - /** - Add a page to the dialog when the class is used in <code>TreeList</code>, - <code>IconList</code> or <code>Tabbed</code> mode. - The returned widget must be used as the - toplevel widget for this particular page. The widget contains a - TQHBoxLayout layout so the widget children are lined up horizontally. - You can use it as follows: - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes. Ignored in Tabbed - mode. If empty, the item text is used instead. - @param pixmap Used in IconList mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. - */ - public native TQHBox addHBoxPage(String itemName, String header, TQPixmap pixmap); - public native TQHBox addHBoxPage(String itemName, String header); - public native TQHBox addHBoxPage(String itemName); - /** - This is like addHBoxPage() just above, with the - difference that the first element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the <code>TreeList</code> face. Later this may - be added for the <code>IconList</code> face too. In other faces than the - <code>TreeList</code>, all the strings except the last one is ignored. - @short This is like addHBoxPage() just above, with the difference that the first element is a list of strings. - */ - public native TQHBox addHBoxPage(String[] items, String header, TQPixmap pixmap); - public native TQHBox addHBoxPage(String[] items, String header); - public native TQHBox addHBoxPage(String[] items); - /** - Add a page to the dialog when the class is used in <code>TreeList</code>, - <code>IconList</code> or <code>Tabbed</code> mode. - The returned widget must be used as the - toplevel widget for this particular page. The widget contains a - TQGridLayout layout so the widget children are positioned in a grid. - @param n Specifies the number of columns if <code>dir</code> is Qt.Horizontal - or the number of rows if <code>dir</code> is Qt.Vertical. - @param dir Can be Qt.Horizontal or Qt.Vertical. - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes <code>Ignored</code> in <code>Tabbed</code> - mode. If empty, the item text is used instead. - @param pixmap Used in <code>IconList</code> mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. - */ - public native TQGrid addGridPage(int n, int dir, String itemName, String header, TQPixmap pixmap); - public native TQGrid addGridPage(int n, int dir, String itemName, String header); - public native TQGrid addGridPage(int n, int dir, String itemName); - /** - This is like addGridPage() just above, with the difference - that the first element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the <code>TreeList</code> face. Later this may - be added for the <code>IconList</code> face too. In other faces than the - <code>TreeList</code>, all the strings except the last one is ignored. - @short This is like addGridPage() just above, with the difference that the first element is a list of strings. - */ - public native TQGrid addGridPage(int n, int dir, String[] items, String header, TQPixmap pixmap); - public native TQGrid addGridPage(int n, int dir, String[] items, String header); - public native TQGrid addGridPage(int n, int dir, String[] items); - /** - Sets the icon used in <code>TreeList</code> Mode for the given path. - @param path The path for which this icon should be shown. - @param pixmap The icon used. - @short Sets the icon used in <code>TreeList</code> Mode for the given path. - */ - public native void setFolderIcon(String[] path, TQPixmap pixmap); - /** - Make a main widget. - The function will make a TQFrame widget - and use setMainWidget() to register it. You can <b>not</b> use this - function more than once, <b>not</b> if you have already defined a - main widget with setMainWidget() and <b>not</b> if you have used the - constructor where you define the face (<code>Plain</code>, <code>Swallow</code>, <code>Tabbed</code>, - <code>TreeList</code>). - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQFrame makeMainWidget(); - /** - Make a main widget. - The function will make a TQVBox widget - and use setMainWidget() to register it. You <b>can</b> use this - function more than once, but <b>not</b> if you have already defined a - main widget with setMainWidget() and <b>not</b> if you have used the - constructor where you define the face (<code>Plain</code>, <code>Swallow</code>, <code>Tabbed</code>, - <code>TreeList</code>, <code>IconList</code>). - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQVBox makeVBoxMainWidget(); - /** - Make a main widget. - The function will make a TQHBox widget - and use setMainWidget() to register it. You can <b>not</b> use this - function more than once, <b>not</b> if you have already defined a - main widget with setMainWidget() and <code>not</code> if you have used the - constructor where you define the face (<code>Plain</code>, <code>Swallow</code>, <code>Tabbed</code>, - <code>TreeList</code>, <code>IconList</code>). - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQHBox makeHBoxMainWidget(); - /** - Make a main widget. - The function will make a TQGrid widget - and use setMainWidget() to register it. You can <b>not</b> use this - function more than once, <b>not</b> if you have already defined a - main widget with setMainWidget and <b>not</b> if you have used the - constructor where you define the face (Plain, Swallow, Tabbed, - TreeList, IconList). - @param n Specifies the number of columns if 'dir' is Qt.Horizontal - or the number of rows if 'dir' is Qt.Vertical. - @param dir Can be Qt.Horizontal or Qt.Vertical. - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQGrid makeGridMainWidget(int n, int dir); - /** - Hide or display the a separator line drawn between the action - buttons an the main widget. - @short Hide or display the a separator line drawn between the action buttons an the main widget. - */ - public native void enableButtonSeparator(boolean state); - /** - Hide or display a general action button. - Only buttons that have - been created in the constructor can be displayed. This method will - not create a new button. - @param id Button identifier. - @param state true display the button(s). - @short Hide or display a general action button. - */ - public native void showButton(int id, boolean state); - /** - Hide or display the OK button. - The OK button must have - been created in the constructor to be displayed. - @param state If <code>true</code>, display the button(s). - @short Hide or display the OK button. - */ - public native void showButtonOK(boolean state); - /** - Hide or display the Apply button. - The Apply button must have - been created in the constructor to be displayed. - @param state true display the button(s). - @short Hide or display the Apply button. - */ - public native void showButtonApply(boolean state); - /** - Hide or display the Cancel button. The Cancel button must have - been created in the constructor to be displayed. - @param state <code>true</code> display the button(s). - @short Hide or display the Cancel button. - */ - public native void showButtonCancel(boolean state); - /** - Sets the page with <code>index</code> to be displayed. - This method will only - work when the dialog is using the predefined shape of TreeList, - IconList or Tabbed. - @param index Index of the page to be shown. - @return <code>true</code> if the page is shown, <code>false</code> otherwise. - - @short Sets the page with <code>index</code> to be displayed. - */ - public native boolean showPage(int index); - /** - Returns the index of the active page. - This method will only work when the dialog is using the - predefined shape of Tabbed, TreeList or IconList. - @return The page index or -1 if there is no active page. - - @short Returns the index of the active page. - */ - public native int activePageIndex(); - /** - Returns the index of a page created with addPage(), - addVBoxPage(), addHBoxPage() or addGridPage(). - You can can compare this index with the value returned from - activePageIndex() if you need to do some page specific actions - in your code. - The returned index will never change so you can safely use this - function once and save the value. - @param widget The widget returned by addPage(), addVBoxPage(), - addHBoxPage() or addGridPage(). - @return The index or -1 if the face is not Tabbed, TreeList or - IconList - - @short Returns the index of a page created with addPage(), addVBoxPage(), addHBoxPage() or addGridPage(). - */ - public native int pageIndex(TQWidget widget); - /** - Sets the main user definable widget. - If the dialog is using the predefined Swallow mode, the widget will - be reparented to the internal swallow control widget. If the dialog - is being used in the standard mode then the <code>widget</code> must have the - dialog as parent. - @param widget The widget to be displayed as main widget. If it - is 0, then the dialog will show an empty space of 100x100 pixels - instead. - @short Sets the main user definable widget. - */ - public native void setMainWidget(TQWidget widget); - /** - Returns the main widget if any. - @return The current main widget. Can be 0 if no widget has been defined. - - @short Returns the main widget if any. - */ - public native TQWidget mainWidget(); - /** - Convenience method. - Freezes the dialog size using the minimum size - of the dialog. This method should only be called right before - show() or exec(). - @short Convenience method. - */ - public native void disableResize(); - /** - Convenience method. Sets the initial dialog size. - This method should - only be called right before show() or exec(). The initial - size will be - ignored if smaller than the dialog's minimum size. - @param s Startup size. - @param noResize If <code>true</code> the dialog cannot be resized. - @short Convenience method. - */ - public native void setInitialSize(TQSize s, boolean noResize); - public native void setInitialSize(TQSize s); - /** - Convenience method. Add a size to the default minimum size of a - dialog. - This method should only be called right before show() or - exec(). - @param s Size added to minimum size. - @param noResize If <code>true</code> the dialog cannot be resized. - @short Convenience method. - */ - public native void incInitialSize(TQSize s, boolean noResize); - public native void incInitialSize(TQSize s); - /** - read the dialogs size from the configuration according to the screen size. - If no size is saved for one dimension of the screen, sizeHint() is returned. - @param groupName Name of the group to read from. The old group - of TDEGlobal.config is preserved. - @short read the dialogs size from the configuration according to the screen size. - */ - public native TQSize configDialogSize(String groupName); - /** - read the dialogs size from the configuration according to the screen size. - If no size is saved for one dimension of the screen, sizeHint() is returned. - @param config The TDEConfig object to read from - @param groupName Name of the group to read from. The old group - of TDEGlobal.config is preserved. - @short read the dialogs size from the configuration according to the screen size. - */ - public native TQSize configDialogSize(TDEConfig config, String groupName); - /** - save the dialogs size dependant on the screen dimension either to the - global or application config file. - @param groupName The group to which the dialogs size is saved. See configDialogSize - to read the size. - @param global Set to true if the entry should go to the global config rather - than to the applications config. Default is false. - @short save the dialogs size dependant on the screen dimension either to the global or application config file. - */ - public native void saveDialogSize(String groupName, boolean global); - public native void saveDialogSize(String groupName); - /** - save the dialogs size dependant on the screen dimension. - @param config The TDEConfig object to write to. - @param groupName The group to which the dialogs size is saved. See - configDialogSize to read the size. - @param global Set to true if the entry should go to the global config. - Default is false. - @short save the dialogs size dependant on the screen dimension. - */ - public native void saveDialogSize(TDEConfig config, String groupName, boolean global); - public native void saveDialogSize(TDEConfig config, String groupName); - /** - Sets the appearance of the OK button. - If the default parameters are used - (that is, if no KGuiItem is given) KStdGuiItem.ok() is used. - @param item KGuiItem. - @short Sets the appearance of the OK button. - */ - public native void setButtonOK(KGuiItem item); - public native void setButtonOK(); - /** - Sets the appearance of the Apply button. - If the default parameters are used - (that is, if no KGuiItem is given) KStdGuiItem.apply() is used. - @param item KGuiItem. - @short Sets the appearance of the Apply button. - */ - public native void setButtonApply(KGuiItem item); - public native void setButtonApply(); - /** - Sets the appearance of the Cancel button. - If the default parameters are used - (that is, if no KGuiItem is given) KStdGuiItem.cancel() is used. - @param item KGuiItem. - @short Sets the appearance of the Cancel button. - */ - public native void setButtonCancel(KGuiItem item); - public native void setButtonCancel(); - /** - Sets the text of any button. - @param id The button identifier. - @param text Button text. - @short Sets the text of any button. - */ - public native void setButtonText(int id, String text); - /** - Sets the tooltip text of any button. - @param id The button identifier. - @param text Button text. - @short Sets the tooltip text of any button. - */ - public native void setButtonTip(int id, String text); - /** - Sets the "What's this?" text of any button. - @param id The button identifier. - @param text Button text. - @short Sets the "What's this?" text of any button. - */ - public native void setButtonWhatsThis(int id, String text); - /** - Sets the KGuiItem directly for the button instead of using 3 methods to - set the text, tooltip and whatsthis strings. This also allows to set an - icon for the button which is otherwise not possible for the extra - buttons beside Ok, Cancel and Apply. - @param id The button identifier. - @param item The KGuiItem for the button. - @short Sets the KGuiItem directly for the button instead of using 3 methods to set the text, tooltip and whatsthis strings. - */ - public native void setButtonGuiItem(int id, KGuiItem item); - /** - This function has only effect in TreeList mode. - Defines how the tree list widget is resized when the dialog is - resized horizontally. By default the tree list keeps its width - when the dialog becomes wider. - @param state The resize mode. If false (default) the tree list keeps - its current width when the dialog becomes wider. - @short This function has only effect in TreeList mode. - */ - public native void setTreeListAutoResize(boolean state); - /** - This function has only effect in TreeList mode. - This tells the widgets whether the icons given in the addPage, - addVBoxPage, addHBoxPage, or addGridPage methods should - be shown in the TreeList. - Note: This method must be called before calling any of the methods - which add icons to the page. - @param state If true the icons are shown. - @short This function has only effect in TreeList mode. - */ - public native void setShowIconsInTreeList(boolean state); - /** - This function has only effect in TreeList mode. - This tells the widgets whether the root should be decorated. - For details see TQListView.setRootIsDecorated - @param state Root will be decorated if true. - @short This function has only effect in TreeList mode. - */ - public native void setRootIsDecorated(boolean state); - /** - This function has only effect in TreeList mode. - This tells the TreeList to unfold the whole tree so that all entries - are visible. - If the list is empty when you call this method newly created entries - will not automatically be opened. If the <code>persist</code> flag is set opened - entries cannot be closed again, though. - @param persist If true the tree always stays unfolded. - @short This function has only effect in TreeList mode. - */ - public native void unfoldTreeList(boolean persist); - public native void unfoldTreeList(); - /** - Add a widget at the bottom of the TreeList/IconList. - @param widget The widget to be added. It will be reparented into the - KJanusWidget, therefor it will be deleted with the - KJanusWidget, too. To be on the save side just don't keep - the pointer to this widget. - @short Add a widget at the bottom of the TreeList/IconList. - */ - public native void addWidgetBelowList(TQWidget widget); - /** - Add a button at the bottom of the TreeList/IconList. - @param text The text on the PushButton. - @param recv The object that is to receive the signal when the button - is clicked. - @param slot The slot to connect to the clicked signal of the button. - @short Add a button at the bottom of the TreeList/IconList. - */ - public native void addButtonBelowList(String text, TQObject recv, String slot); - /** - The same as the above function, but with a KGuiItem providing the text - and icon for the button at the bottom of the TreeList/IconList. - @param guiitem The text and icon on the PushButton. - @param recv The object that is to receive the signal when the button - is clicked. - @param slot The slot to connect to the clicked signal of the button. - @short The same as the above function, but with a KGuiItem providing the text and icon for the button at the bottom of the TreeList/IconList. - */ - public native void addButtonBelowList(KGuiItem guiitem, TQObject recv, String slot); - /** - This function has only effect in IconList mode. - Defines how the icon list widget is displayed. By default it is - the widgets in the dialog pages that decide the minimum height - of the dialog. A vertical scrollbar can be used in the icon list - area. - @param state The visibility mode. If true, the minimum height is - adjusted so that every icon in the list is visible at the - same time. The vertical scrollbar will never be visible. - @short This function has only effect in IconList mode. - */ - public native void setIconListAllVisible(boolean state); - /** - Enable hiding of the background tile (if any). - @param state <code>true</code> will make the tile visible. - @short Enable hiding of the background tile (if any). - */ - public native void showTile(boolean state); - /** - Calculate the size hint for the dialog. - With this method it is easy to calculate a size hint for a - dialog derived from KDialogBase if you know the width and height of - the elements you add to the widget. The rectangle returned is - calculated so that all elements exactly fit into it. Thus, you may - set it as a minimum size for the resulting dialog. - You should not need to use this method and never if you use one of - the predefined shapes. - @param w The width of you special widget. - @param h The height of you special widget. - @return The minimum width and height of the dialog using <code>w</code> and <code>h</code> - as the size of the main widget. - - @short Calculate the size hint for the dialog. - */ - public native TQSize calculateSize(int w, int h); - /** - Returns the help link text. - If no text has been defined, - "Get help..." (internationalized) is returned. - @return The help link text. - - @short Returns the help link text. - */ - public native String helpLinkText(); - /** - Returns the action button that corresponds to the <code>id.</code> - Normally - you should not use this function. <b>Never</b> delete the object returned - by this function. See also enableButton(), showButton(), - setButtonTip(), setButtonWhatsThis(), and setButtonText(). - @param id Integer identifier of the button. - FIXME KDE 4: Return the actual KPushButton instead of TQPushButton (Martijn) - @return The action button or 0 if the button does not exists. - - @short Returns the action button that corresponds to the <code>id.</code> - */ - public native TQPushButton actionButton(int id); - /** - Enable or disable (gray out) a general action button. - @param id Button identifier. - @param state <code>true</code> enables the button(s). - @short Enable or disable (gray out) a general action button. - */ - public native void enableButton(int id, boolean state); - /** - Enable or disable (gray out) the OK button. - @param state <code>true</code> enables the button. - @short Enable or disable (gray out) the OK button. - */ - public native void enableButtonOK(boolean state); - /** - Enable or disable (gray out) the Apply button. - @param state true enables the button. - @short Enable or disable (gray out) the Apply button. - */ - public native void enableButtonApply(boolean state); - /** - Enable or disable (gray out) the Cancel button. - @param state true enables the button. - @short Enable or disable (gray out) the Cancel button. - */ - public native void enableButtonCancel(boolean state); - /** - Display or hide the help link area on the top of the dialog. - @param state <code>true</code> will display the area. - @short Display or hide the help link area on the top of the dialog. - */ - public native void enableLinkedHelp(boolean state); - /** - Destruct the Dialog delayed. - You can call this function from - slots like closeClicked() and hidden(). - You should not use the dialog any more after - calling this function. - @short Destruct the Dialog delayed. - */ - public native void delayedDestruct(); - /** - Sets the text that is shown as the linked text. - If text is empty, - the text "Get help..." (internationalized) is used instead. - @param text The link text. - @short Sets the text that is shown as the linked text. - */ - public native void setHelpLinkText(String text); - /** - Sets the help path and topic. - @param anchor Defined anchor in your docbook sources - @param appname Defines the appname the help belongs to - If empty it's the current one - @note The help button works differently for the class - KCMultiDialog, so it does not make sense to call this - function for Dialogs of that type. See - KCMultiDialog.slotHelp() for more information. - @short Sets the help path and topic. - */ - public native void setHelp(String anchor, String appname); - public native void setHelp(String anchor); - /** - Connected to help link label. - @short Connected to help link label. - */ - public native void helpClickedSlot(String arg1); - /** - Sets the status of the Details button. - @short Sets the status of the Details button. - */ - public native void setDetails(boolean showDetails); - /** - Sets the widget that gets shown when "Details" is enabled. - The dialog takes over ownership of the widget. - Any previously set widget gets deleted. - @short Sets the widget that gets shown when "Details" is enabled. - */ - public native void setDetailsWidget(TQWidget detailsWidget); - /** - This method is called automatically whenever the background has - changed. You do not need to use this method. - @short This method is called automatically whenever the background has changed. - */ - public native void updateBackground(); - /** - Force closing the dialog, setting its result code to the one Esc would set. - You shouldn't use this, generally (let the user make his choice!) - but it can be useful when you need to make a choice after a timeout - has happened, or when the parent widget has to go somewhere else - (e.g. html redirections). - @short Force closing the dialog, setting its result code to the one Esc would set. - */ - public native void cancel(); - /** - Check whether the background tile is set or not. - @return <code>true</code> if there is defined a background tile. - - @short Check whether the background tile is set or not. - */ - public static native boolean haveBackgroundTile(); - /** - Returns a pointer to the background tile if there is one. - @return The tile pointer or 0 if no tile is defined. - - @short Returns a pointer to the background tile if there is one. - */ - public static native TQPixmap backgroundTile(); - /** - Sets the background tile. - If it is Null (0), the background image is deleted. - @param pix The background tile. - @short Sets the background tile. - */ - public static native void setBackgroundTile(TQPixmap pix); - /** - Maps some keys to the actions buttons. F1 is mapped to the Help - button if present and Escape to the Cancel or Close if present. The - button action event is animated. - @short Maps some keys to the actions buttons. - */ - protected native void keyPressEvent(TQKeyEvent e); - /** - Emits the #hidden signal. You can connect to that signal to - detect when a dialog has been closed. - @short Emits the #hidden signal. - */ - protected native void hideEvent(TQHideEvent arg1); - /** - Detects when a dialog is being closed from the window manager - controls. If the Cancel or Close button is present then the button - is activated. Otherwise standard TQDialog behavior - will take place. - @short Detects when a dialog is being closed from the window manager controls. - */ - protected native void closeEvent(TQCloseEvent e); - /** - Activated when the Help button has been clicked. If a help - text has been defined, the help system will be activated. - @short Activated when the Help button has been clicked. - */ - protected native void slotHelp(); - /** - Activated when the Default button has been clicked. - @short Activated when the Default button has been clicked. - */ - protected native void slotDefault(); - /** - Activated when the Details button has been clicked. - @short Activated when the Details button has been clicked. - @see #detailsClicked(boolean) - */ - protected native void slotDetails(); - /** - Activated when the User3 button has been clicked. - @short Activated when the User3 button has been clicked. - */ - protected native void slotUser3(); - /** - Activated when the User2 button has been clicked. - @short Activated when the User2 button has been clicked. - */ - protected native void slotUser2(); - /** - Activated when the User1 button has been clicked. - @short Activated when the User1 button has been clicked. - */ - protected native void slotUser1(); - /** - Activated when the Ok button has been clicked. The - TQDialog.accept() is activated. - @short Activated when the Ok button has been clicked. - */ - protected native void slotOk(); - /** - Activated when the Apply button has been clicked. - @short Activated when the Apply button has been clicked. - */ - protected native void slotApply(); - /** - Activated when the Try button has been clicked. - @short Activated when the Try button has been clicked. - */ - protected native void slotTry(); - /** - Activated when the Yes button has been clicked. The - TQDialog.done( Yes ) is activated. - @short Activated when the Yes button has been clicked. - */ - protected native void slotYes(); - /** - Activated when the Yes button has been clicked. The - TQDialog.done( No ) is activated. - @short Activated when the Yes button has been clicked. - */ - protected native void slotNo(); - /** - Activated when the Cancel button has been clicked. The - TQDialog.reject() is activated in regular mode and - TQDialog.done( Cancel ) when in message box mode. - @short Activated when the Cancel button has been clicked. - */ - protected native void slotCancel(); - /** - Activated when the Close button has been clicked. The - TQDialog.reject() is activated. - @short Activated when the Close button has been clicked. - */ - protected native void slotClose(); - /** - Updates the margins and spacings. - @short Updates the margins and spacings. - */ - public native void updateGeometry(); - /** - Deletes the dialog immediately. If you want to delete the dialog - delayed use delayedDestruct() or TQObject.deleteLater(). - Attention: Do no use connect this slot to signals from user - actions! - @short Deletes the dialog immediately. - */ - protected native void slotDelayedDestruct(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialogBaseSignals.java b/kdejava/koala/org/kde/koala/KDialogBaseSignals.java deleted file mode 100644 index 457c9fea..00000000 --- a/kdejava/koala/org/kde/koala/KDialogBaseSignals.java +++ /dev/null @@ -1,129 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQGrid; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; -import org.kde.qt.TQFrame; -import org.kde.qt.TQHBox; - -public interface KDialogBaseSignals { - /** - The Help button was pressed. This signal is only emitted if - slotHelp() is not replaced. - @short The Help button was pressed. - */ - void helpClicked(); - /** - The Default button was pressed. This signal is only emitted if - slotDefault() is not replaced. - @short The Default button was pressed. - */ - void defaultClicked(); - /** - The User3 button was pressed. This signal is only emitted if - slotUser3() is not replaced. - @short The User3 button was pressed. - */ - void user3Clicked(); - /** - The User2 button was pressed. This signal is only emitted if - slotUser2() is not replaced. - @short The User2 button was pressed. - */ - void user2Clicked(); - /** - The User1 button was pressed. This signal is only emitted if - slotUser1() is not replaced. - @short The User1 button was pressed. - */ - void user1Clicked(); - /** - The Apply button was pressed. This signal is only emitted if - slotApply() is not replaced. - @short The Apply button was pressed. - */ - void applyClicked(); - /** - The Try button was pressed. This signal is only emitted if - slotTry() is not replaced. - @short The Try button was pressed. - */ - void tryClicked(); - /** - The OK button was pressed. This signal is only emitted if - slotOk() is not replaced. - @short The OK button was pressed. - */ - void okClicked(); - /** - The Yes button was pressed. This signal is only emitted if - slotYes() is not replaced. - @short The Yes button was pressed. - */ - void yesClicked(); - /** - The No button was pressed. This signal is only emitted if - slotNo() is not replaced. - @short The No button was pressed. - */ - void noClicked(); - /** - The Cancel button was pressed. This signal is only emitted if - slotCancel() is not replaced. - @short The Cancel button was pressed. - */ - void cancelClicked(); - /** - The Close button was pressed. This signal is only emitted if - slotClose() is not replaced. - @short The Close button was pressed. - */ - void closeClicked(); - /** - The background tile has changed. - @short The background tile has changed. - */ - void backgroundChanged(); - /** - The dialog is about to be hidden. - A dialog is hidden after a user clicks a button that ends - the dialog or when the user switches to another desktop or - minimizes the dialog. - @short The dialog is about to be hidden. - */ - void hidden(); - /** - The dialog has finished. - A dialog emits finished after a user clicks a button that ends - the dialog. - This signal is also emitted when you call hide() - If you have stored a pointer to the - dialog do <b>not</b> try to delete the pointer in the slot that is - connected to this signal. - You should use delayedDestruct() instead. - @short The dialog has finished. - */ - void finished(); - /** - The detailsWidget is about to get shown. This is your last chance - to call setDetailsWidget if you haven't done so yet. - @short The detailsWidget is about to get shown. - */ - void aboutToShowDetails(); - /** - A page is about to be shown. This signal is only emitted for the TreeList - and IconList faces. - @short A page is about to be shown. - */ - void aboutToShowPage(TQWidget page); -} diff --git a/kdejava/koala/org/kde/koala/KDialogQueue.java b/kdejava/koala/org/kde/koala/KDialogQueue.java deleted file mode 100644 index 60d1e26e..00000000 --- a/kdejava/koala/org/kde/koala/KDialogQueue.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDialog; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** -*/ -public class KDialogQueue extends TQObject { - protected KDialogQueue(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public static native void queueDialog(TQDialog arg1); - public KDialogQueue() { - super((Class) null); - newKDialogQueue(); - } - private native void newKDialogQueue(); - protected static native KDialogQueue self(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialogSignals.java b/kdejava/koala/org/kde/koala/KDialogSignals.java deleted file mode 100644 index 95b646f6..00000000 --- a/kdejava/koala/org/kde/koala/KDialogSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQLayoutItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQLayoutItemInterface; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; - -public interface KDialogSignals { - /** - Emitted when the margin size and/or spacing size - have changed. - Use marginHint() and spacingHint() in your slot - to get the new values. - @short Emitted when the margin size and/or spacing size have changed. - */ - void layoutHintChanged(); -} diff --git a/kdejava/koala/org/kde/koala/KDirLister.java b/kdejava/koala/org/kde/koala/KDirLister.java deleted file mode 100644 index 96679a75..00000000 --- a/kdejava/koala/org/kde/koala/KDirLister.java +++ /dev/null @@ -1,458 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - The dir lister deals with the tdeiojob used to list and update a directory - and has signals for the user of this class (e.g. konqueror view or - kdesktop) to create/destroy its items when asked. - This class is independent from the graphical representation of the dir - (icon container, tree view, ...) and it stores the items (as KFileItems). - Typical usage : - - <li> - Create an instance. - </li> - - <li> - Connect to at least update, clear, newItem, and deleteItem. - </li> - - <li> - Call openURL - the signals will be called. - </li> - - <li> - Reuse the instance when opening a new url (openURL). - </li> - - <li> - Destroy the instance when not needed anymore (usually destructor). - </li> - Advanced usage : call openURL with _keep = true to list directories - without forgetting the ones previously read (e.g. for a tree view) - See {@link KDirListerSignals} for signals emitted by KDirLister - @author Michael Brade <brade@kde.org> - - @short Helper class for the tdeiojob used to list and update a directory. - -*/ -public class KDirLister extends TQObject { - protected KDirLister(Class dummy){super((Class) null);} - /** - Used by items() and itemsForDir() to specify whether you want - all items for a directory or just the filtered ones. - @short Used by items() and itemsForDir() to specify whether you want all items for a directory or just the filtered ones. - */ - public static final int AllItems = 0; - public static final int FilteredItems = 1; - - public static final int NONE = 0; - public static final int NAME_FILTER = 1; - public static final int MIME_FILTER = 2; - public static final int DOT_FILES = 4; - public static final int DIR_ONLY_MODE = 8; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a directory lister. - @param _delayedMimeTypes if true, mime types will be fetched on demand. If false, - they will always be fetched immediately - @short Create a directory lister. - */ - public KDirLister(boolean _delayedMimeTypes) { - super((Class) null); - newKDirLister(_delayedMimeTypes); - } - private native void newKDirLister(boolean _delayedMimeTypes); - public KDirLister() { - super((Class) null); - newKDirLister(); - } - private native void newKDirLister(); - /** - Run the directory lister on the given url. - This method causes KDirLister to emit _all_ the items of <code>_url</code>, in any case. - Depending on <code>_keep</code> either clear() or clear(KURL) will be - emitted first. - The newItems() signal may be emitted more than once to supply you - with KFileItems, up until the signal completed() is emitted - (and isFinished() returns true). - @param _url the directory URL. - @param _keep if true the previous directories aren't forgotten - (they are still watched by kdirwatch and their items - are kept for this KDirLister). This is useful for e.g. - a treeview. - @param _reload indicates wether to use the cache (false) or to reread the - directory from the disk. - Use only when opening a dir not yet listed by this lister - without using the cache. Otherwise use updateDirectory. - @return true if successful, - false otherwise (e.g. invalid <code>_url</code>) - - @short Run the directory lister on the given url. - */ - public native boolean openURL(KURL _url, boolean _keep, boolean _reload); - public native boolean openURL(KURL _url, boolean _keep); - public native boolean openURL(KURL _url); - /** - Stop listing all directories currently being listed. - Emits canceled() if there was at least one job running. - Emits canceled( KURL ) for each stopped job if - there are at least two dirctories being watched by KDirLister. - @short Stop listing all directories currently being listed. - */ - public native void stop(); - /** - Stop listing the given directory. - Emits canceled() if the killed job was the last running one. - Emits canceled( KURL ) for the killed job if - there are at least two directories being watched by KDirLister. - No signal is emitted if there was no job running for <code>_url.</code> - @param _url the directory URL - @short Stop listing the given directory. - */ - public native void stop(KURL _url); - /** - Checks whether KDirWatch will automatically update directories. This is - enabled by default. - @return true if KDirWatch is used to automatically update directories. - - @short Checks whether KDirWatch will automatically update directories. - */ - public native boolean autoUpdate(); - /** - Enable/disable automatic directory updating, when a directory changes - (using KDirWatch). - @param enable true to enable, false to disable - @short Enable/disable automatic directory updating, when a directory changes (using KDirWatch). - */ - public native void setAutoUpdate(boolean enable); - /** - Check whether auto error handling is enabled. - If enabled, it will show an error dialog to the user when an - error occurs. It is turned on by default. - @return true if auto error handling is enabled, false otherwise - - @short Check whether auto error handling is enabled. - @see #setAutoErrorHandlingEnabled - */ - public native boolean autoErrorHandlingEnabled(); - /** - Enable or disable auto error handling is enabled. - If enabled, it will show an error dialog to the user when an - error occurs. It is turned on by default. - @param enable true to enable auto error handling, false to disable - @param parent the parent widget for the error dialogs, can be 0 for - top-level - @short Enable or disable auto error handling is enabled. - @see #autoErrorHandlingEnabled - */ - public native void setAutoErrorHandlingEnabled(boolean enable, TQWidget parent); - /** - Checks whether hidden files (files beginning with a dot) will be - shown. - By default this option is disabled (hidden files will be not shown). - @return true if dot files are shown, false otherwise - - @short Checks whether hidden files (files beginning with a dot) will be shown. - @see #setShowingDotFiles - */ - public native boolean showingDotFiles(); - /** - Changes the "is viewing dot files" setting. - Calls updateDirectory() if setting changed. - By default this option is disabled (hidden files will not be shown). - @param _showDotFiles true to enable showing hidden files, false to - disable - @short Changes the "is viewing dot files" setting. - @see #showingDotFiles - */ - public native void setShowingDotFiles(boolean _showDotFiles); - /** - Checks whether the KDirLister only lists directories or all - files. - By default this option is disabled (all files will be shown). - @return true if setDirOnlyMode(true) was called - - @short Checks whether the KDirLister only lists directories or all files. - */ - public native boolean dirOnlyMode(); - /** - Call this to list only directories. - By default this option is disabled (all files will be shown). - @param dirsOnly true to list only directories - @short Call this to list only directories. - */ - public native void setDirOnlyMode(boolean dirsOnly); - /** - Returns the top level URL that is listed by this KDirLister. - It might be different from the one given with openURL() if there was a - redirection. If you called openURL() with <code>_keep</code> == true this is the - first url opened (e.g. in a treeview this is the root). - @return the url used by this instance to list the files. - - @short Returns the top level URL that is listed by this KDirLister. - */ - public native KURL url(); - /** - Returns all URLs that are listed by this KDirLister. This is only - useful if you called openURL() with <code>_keep</code> == true, as it happens in a - treeview, for example. (Note that the base url is included in the list - as well, of course.) - @return the list of all listed URLs - - @short Returns all URLs that are listed by this KDirLister. - */ - public native ArrayList directories(); - /** - Actually emit the changes made with setShowingDotFiles, setDirOnlyMode, - setNameFilter and setMimeFilter. - @short Actually emit the changes made with setShowingDotFiles, setDirOnlyMode, setNameFilter and setMimeFilter. - */ - public native void emitChanges(); - /** - Update the directory <code>_dir.</code> This method causes KDirLister to _only_ emit - the items of <code>_dir</code> that actually changed compared to the current state in the - cache and updates the cache. - The current implementation calls updateDirectory automatically for - local files, using KDirWatch (if autoUpdate() is true), but it might be - useful to force an update manually. - @param _dir the directory URL - @short Update the directory <code>_dir.</code> - */ - public native void updateDirectory(KURL _dir); - /** - Returns true if no io operation is currently in progress. - @return true if finished, false otherwise - - @short Returns true if no io operation is currently in progress. - */ - public native boolean isFinished(); - /** - Returns the file item of the URL. - @return the file item for url() itself (".") - - @short Returns the file item of the URL. - */ - public native KFileItem rootItem(); - /** - Find an item by its URL. - @param _url the item URL - @return the pointer to the KFileItem - - @short Find an item by its URL. - */ - public native KFileItem findByURL(KURL _url); - public native KFileItem find(KURL _url); - /** - Find an item by its name. - @param name the item name - @return the pointer to the KFileItem - - @short Find an item by its name. - */ - public native KFileItem findByName(String name); - /** - Set a name filter to only list items matching this name, e.g. "*.cpp". - You can set more than one filter by separating them with whitespace, e.g - "*.cpp .h". - Note: the direcory is not automatically reloaded. - @param filter the new filter, null to disable filtering - @short Set a name filter to only list items matching this name, e. - @see #matchesFilter - */ - public native void setNameFilter(String filter); - /** - Returns the current name filter, as set via setNameFilter() - @return the current name filter, can be null if filtering - is turned off - - @short Returns the current name filter, as set via setNameFilter() - */ - public native String nameFilter(); - /** - Set mime-based filter to only list items matching the given mimetypes. - NOTE: setting the filter does not automatically reload direcory. - Also calling this function will not affect any named filter already set. - @param mimeList a list of mime-types. - @short Set mime-based filter to only list items matching the given mimetypes. - @see #clearMimeFilter - @see #matchesMimeFilter - */ - public native void setMimeFilter(String[] mimeList); - /** - Filtering should be done with KFileFilter. This will be implemented in a later - revision of KDirLister. This method may be removed then. - Set mime-based exclude filter to only list items not matching the given mimetypes - NOTE: setting the filter does not automatically reload direcory. - Also calling this function will not affect any named filter already set. - @param mimeList a list of mime-types. - @short Filtering should be done with KFileFilter. - @see #clearMimeFilter - @see #matchesMimeFilter - */ - public native void setMimeExcludeFilter(String[] mimeList); - /** - Clears the mime based filter. - @short Clears the mime based filter. - @see #setMimeFilter - */ - public native void clearMimeFilter(); - /** - Returns the list of mime based filters, as set via setMimeFilter(). - @return the list of mime based filters. Empty, when no mime filter is set. - - @short Returns the list of mime based filters, as set via setMimeFilter(). - */ - public native ArrayList mimeFilters(); - /** - Checks whether <code>name</code> matches a filter in the list of name filters. - @return true if <code>name</code> matches a filter in the list, - otherwise false. - - @short Checks whether <code>name</code> matches a filter in the list of name filters. - @see #setNameFilter - */ - public native boolean matchesFilter(String name); - /** - Checks whether <code>mime</code> matches a filter in the list of mime types - @param mime the mimetype to find in the filter list. - @return true if <code>name</code> matches a filter in the list, - otherwise false. - - @short Checks whether <code>mime</code> matches a filter in the list of mime types - @see #setMimeFilter# - */ - public native boolean matchesMimeFilter(String mime); - /** - Pass the main window this object is associated with - this is used for caching authentication data - @param window the window to associate with, 0 to disassociate - @short Pass the main window this object is associated with this is used for caching authentication data - */ - public native void setMainWindow(TQWidget window); - /** - Returns the main window associated with this object. - @return the associated main window, or 0 if there is none - - @short Returns the main window associated with this object. - */ - public native TQWidget mainWindow(); - /** - Returns the items listed for the current url(). - This method will NOT start listing a directory, you should only call - this when receiving the finished() signal. - The items in the KFileItemList are references to the items used - by KDirLister, so e.g. an item gets destroyed when the deleteItem() - signal is emitted. - @param which specifies whether the returned list will contain all entries - or only the ones that passed the nameFilter(), mimeFilter(), - etc. Note that the latter causes iteration over all the - items, filtering them. If this is too slow for you, use the - newItems() signal, sending out filtered items in chunks. - @return the items listed for the current url(). - - @short Returns the items listed for the current url(). - */ - public native ArrayList items(int which); - public native ArrayList items(); - /** - Returns the items listed for the given <code>dir.</code> - This method will NOT start listing <code>dir</code>, you should only call - this when receiving the finished() signal. - The items in the KFileItemList are references to the items used - by KDirLister, so e.g. an item gets destroyed when the deleteItem() - signal is emitted. - @param dir specifies the url for which the items should be returned. This - is only useful if you use KDirLister with multiple URLs - i.e. using boolean keep = true in openURL(). - @param which specifies whether the returned list will contain all entries - or only the ones that passed the nameFilter, mimeFilter, etc. - Note that the latter causes iteration over all the items, - filtering them. If this is too slow for you, use the - newItems() signal, sending out filtered items in chunks. - @return the items listed for <code>dir.</code> - - @short Returns the items listed for the given <code>dir.</code> - */ - public native ArrayList itemsForDir(KURL dir, int which); - public native ArrayList itemsForDir(KURL dir); - /** - Called for every new item before emitting newItems(). - You may reimplement this method in a subclass to implement your own - filtering. - The default implementation filters out ".." and everything not matching - the name filter(s) - @return true if the item is "ok". - false if the item shall not be shown in a view, e.g. - files not matching a pattern *.cpp ( KFileItem.isHidden()) - - @short Called for every new item before emitting newItems(). - @see #matchesFilter - @see #setNameFilter - */ - protected native boolean matchesFilter(KFileItem arg1); - /** - Called for every new item before emitting newItems(). - You may reimplement this method in a subclass to implement your own - filtering. - The default implementation filters out ".." and everything not matching - the name filter(s) - @return true if the item is "ok". - false if the item shall not be shown in a view, e.g. - files not matching a pattern *.cpp ( KFileItem.isHidden()) - - @short Called for every new item before emitting newItems(). - @see #matchesMimeFilter - @see #setMimeFilter - */ - protected native boolean matchesMimeFilter(KFileItem arg1); - /** - Called by the public matchesFilter() to do the - actual filtering. Those methods may be reimplemented to customize - filtering. - @param name the name to filter - @param filters a list of regular expressions for filtering - @short Called by the public matchesFilter() to do the actual filtering. - */ - // bool doNameFilter(const TQString& arg1,const TQPtrList<TQRegExp>& arg2); >>>> NOT CONVERTED - /** - Called by the public matchesMimeFilter() to do the - actual filtering. Those methods may be reimplemented to customize - filtering. - @param mime the mime type to filter - @param filters the list of mime types to filter - @short Called by the public matchesMimeFilter() to do the actual filtering. - */ - protected native boolean doMimeFilter(String mime, String[] filters); - /** - @short - */ - protected native boolean doMimeExcludeFilter(String mimeExclude, String[] filters); - /** - Checks if an url is malformed or not and displays an error message - if it is and autoErrorHandling is set to true. - @return true if url is valid, otherwise false. - - @short Checks if an url is malformed or not and displays an error message if it is and autoErrorHandling is set to true. - */ - protected native boolean validURL(KURL arg1); - /** Reimplement to customize error handling @short Reimplement to customize error handling - */ - protected native void handleError(Job arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirListerSignals.java b/kdejava/koala/org/kde/koala/KDirListerSignals.java deleted file mode 100644 index db7ee3ea..00000000 --- a/kdejava/koala/org/kde/koala/KDirListerSignals.java +++ /dev/null @@ -1,135 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KDirListerSignals { - /** - Tell the view that we started to list <code>_url.</code> NOTE: this does _not_ imply that there - is really a job running! I.e. KDirLister.jobs() may return an empty list. In this case - the items are taken from the cache. - The view knows that openURL should start it, so it might seem useless, - but the view also needs to know when an automatic update happens. - @param _url the URL to list - @short Tell the view that we started to list <code>_url.</code> - */ - void started(KURL _url); - /** - Tell the view that listing is finished. There are no jobs running anymore. - @short Tell the view that listing is finished. - */ - void completed(); - /** - Tell the view that the listing of the directory <code>_url</code> is finished. - There might be other running jobs left. - This signal is only emitted if KDirLister is watching more than one directory. - @param _url the directory URL - @short Tell the view that the listing of the directory <code>_url</code> is finished. - */ - void completed(KURL _url); - /** - Tell the view that the user canceled the listing. No running jobs are left. - @short Tell the view that the user canceled the listing. - */ - void canceled(); - /** - Tell the view that the listing of the directory <code>_url</code> was canceled. - There might be other running jobs left. - This signal is only emitted if KDirLister is watching more than one directory. - @param _url the directory URL - @short Tell the view that the listing of the directory <code>_url</code> was canceled. - */ - void canceled(KURL _url); - /** - Signal a redirection. - Only emitted if there's just one directory to list, i.e. most - probably openURL() has been called with <code>_keep</code> == <code>false.</code> - @param _url the new URL - @short Signal a redirection. - */ - void redirection(KURL _url); - /** - Signal a redirection. - @param oldUrl the original URL - @param newUrl the new URL - @short Signal a redirection. - */ - void redirection(KURL oldUrl, KURL newUrl); - /** - Signal to clear all items. - It must always be connected to this signal to avoid doubled items! - @short Signal to clear all items. - */ - void clear(); - /** - Signal to empty the directory <code>_url.</code> - It is only emitted if the lister is holding more than one directory. - @param _url the directory that will be emptied - @short Signal to empty the directory <code>_url.</code> - */ - void clear(KURL _url); - /** - Signal new items. - @param items a list of new items - @short Signal new items. - */ - void newItems(ArrayList items); - /** - Send a list of items filtered-out by mime-type. - @param items the list of filtered items - @short Send a list of items filtered-out by mime-type. - */ - void itemsFilteredByMime(ArrayList items); - /** - Signal an item to remove. - ATTENTION: if <code>_fileItem</code> == rootItem() the directory this lister - is holding was deleted and you HAVE to release especially the - rootItem() of this lister, otherwise your app will CRASH!! - The clear() signals have been emitted already. - @param _fileItem the fileItem to delete - @short Signal an item to remove. - */ - void deleteItem(KFileItem _fileItem); - /** - Signal an item to refresh (its mimetype/icon/name has changed). - Note: KFileItem.refresh has already been called on those items. - @param items the items to refresh - @short Signal an item to refresh (its mimetype/icon/name has changed). - */ - void refreshItems(ArrayList items); - /** - Emitted to display information about running jobs. - Examples of message are "Resolving host", "Connecting to host...", etc. - @param msg the info message - @short Emitted to display information about running jobs. - */ - void infoMessage(String msg); - /** - Progress signal showing the overall progress of the KDirLister. - This allows using a progress bar very easily. (see KProgress) - @param percent the progress in percent - @short Progress signal showing the overall progress of the KDirLister. - */ - void percent(int percent); - /** - Emitted when we know the size of the jobs. - @param size the total size in bytes - @short Emitted when we know the size of the jobs. - */ - void totalSize(long size); - /** - Regularly emitted to show the progress of this KDirLister. - @param size the processed size in bytes - @short Regularly emitted to show the progress of this KDirLister. - */ - void processedSize(long size); - /** - Emitted to display information about the speed of the jobs. - @param bytes_per_second the speed in bytes/s - @short Emitted to display information about the speed of the jobs. - */ - void speed(int bytes_per_second); -} diff --git a/kdejava/koala/org/kde/koala/KDirNotify.java b/kdejava/koala/org/kde/koala/KDirNotify.java deleted file mode 100644 index 28c97604..00000000 --- a/kdejava/koala/org/kde/koala/KDirNotify.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - An abstract class that receives notifications of added and removed files - in any directory, local or remote. - The information comes from the konqueror/kdesktop instance where the - operation was done, and can interest KDirListers, bookmark handlers, etc. - @short An abstract class that receives notifications of added and removed files in any directory, local or remote. - -*/ -public class KDirNotify extends DCOPObject { - protected KDirNotify(Class dummy){super((Class) null);} - /** - Notify that files have been added in <code>directory</code> - Note: this is ASYNC so that it can be used with a broadcast. - @param directory the directory that contains the new files - @short Notify that files have been added in <code>directory</code> Note: this is ASYNC so that it can be used with a broadcast. - */ - // void FilesAdded(const KURL& arg1); >>>> NOT CONVERTED - /** - Notify that files have been deleted. - Note: this is ASYNC so that it can be used with a broadcast - @param fileList the files that have been deleted - @short Notify that files have been deleted. - */ - // void FilesRemoved(const KURL::List& arg1); >>>> NOT CONVERTED - /** - Notify that files have been changed. - At the moment, this is only used for new icon, but it could be - used for size etc. as well. - Note: this is ASYNC so that it can be used with a broadcast. - @param fileList the list of changed files - @short Notify that files have been changed. - */ - // void FilesChanged(const KURL::List& arg1); >>>> NOT CONVERTED - /** - Notify that a file has been renamed. - Note: this is ASYNC so that it can be used with a broadcast - @param src a list containing original names of the renamed files - @param dst a list of original names of the renamed files - @short Notify that a file has been renamed. - */ - // void FileRenamed(const KURL& arg1,const KURL& arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KDirNotifyInterface.java b/kdejava/koala/org/kde/koala/KDirNotifyInterface.java deleted file mode 100644 index 41e8cde3..00000000 --- a/kdejava/koala/org/kde/koala/KDirNotifyInterface.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface KDirNotifyInterface { -} diff --git a/kdejava/koala/org/kde/koala/KDirOperator.java b/kdejava/koala/org/kde/koala/KDirOperator.java deleted file mode 100644 index c422056c..00000000 --- a/kdejava/koala/org/kde/koala/KDirOperator.java +++ /dev/null @@ -1,820 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWidget; - -/** - - This widget works as a network transparent filebrowser. You specify a URL - to display and this url will be loaded via KDirLister. The user can - browse through directories, highlight and select files, delete or rename - files. - It supports different views, e.g. a detailed view (see KFileDetailView), - a simple icon view (see KFileIconView), a combination of two views, - separating directories and files ( KCombiView). - Additionally, a preview view is available (see KFilePreview), which can - show either a simple or detailed view and additionally a preview widget - (see setPreviewWidget()). KImageFilePreview is one implementation - of a preview widget, that displays previews for all supported filetypes - utilizing TDEIO.PreviewJob. - Currently, those classes don't support Drag&Drop out of the box -- there - you have to use your own view-classes. You can use some DnD-aware views - from Bj�n Sahlstr� <bjorn@kbear.org> until they will be integrated - into this library. See http://devel-home.kde.org/~pfeiffer/DnD-classes.tar.gz - This widget is the one used in the KFileDialog. - Basic usage is like this: - <pre> - KDirOperator op = new KDirOperator( KURL( "file:/home/gis" ), this ); - // some signals you might be interested in - connect(op, SIGNAL("urlEntered(KURL)"), - SLOT("urlEntered(KURL)")); - connect(op, SIGNAL("fileHighlighted(const KFileItem )"), - SLOT("fileHighlighted(const KFileItem )")); - connect(op, SIGNAL("fileSelected(const KFileItem )"), - SLOT("fileSelected(const KFileItem )")); - connect(op, SIGNAL("finishedLoading()"), - SLOT("slotLoadingFinished()")); - op.readConfig( TDEGlobal.config(), "Your KDiroperator ConfigGroup" ); - op.setView(KFile.Default); - </pre> - This will create a childwidget of 'this' showing the directory contents - of /home/gis in the default-view. The view is determined by the readConfig() - call, which will read the KDirOperator settings, the user left your program - with (and which you saved with op.writeConfig()). - See {@link KDirOperatorSignals} for signals emitted by KDirOperator - @author Stephan Kulow <coolo@kde.org>, Carsten Pfeiffer <pfeiffer@kde.org> - - @short A widget for displaying files and browsing directories. - -*/ -public class KDirOperator extends TQWidget { - protected KDirOperator(Class dummy){super((Class) null);} - /** - The various action types. These values can be or'd together - @short The various action types. - */ - public static final int SortActions = 1; - public static final int ViewActions = 2; - public static final int NavActions = 4; - public static final int FileActions = 8; - public static final int AllActions = 15; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs the KDirOperator with no initial view. As the views are - configurable, call readConfig() to load the user's configuration - and then setView to explicitly set a view. - This constructor doesn't start loading the url, setView will do it. - @short Constructs the KDirOperator with no initial view. - */ - public KDirOperator(KURL urlName, TQWidget parent, String name) { - super((Class) null); - newKDirOperator(urlName,parent,name); - } - private native void newKDirOperator(KURL urlName, TQWidget parent, String name); - public KDirOperator(KURL urlName, TQWidget parent) { - super((Class) null); - newKDirOperator(urlName,parent); - } - private native void newKDirOperator(KURL urlName, TQWidget parent); - public KDirOperator(KURL urlName) { - super((Class) null); - newKDirOperator(urlName); - } - private native void newKDirOperator(KURL urlName); - public KDirOperator() { - super((Class) null); - newKDirOperator(); - } - private native void newKDirOperator(); - /** - Enables/disables showing hidden files. - @short Enables/disables showing hidden files. - */ - public native void setShowHiddenFiles(boolean s); - /** - @return true when hidden files are shown or false otherwise. - - @short - */ - public native boolean showHiddenFiles(); - /** - Stops loading immediately. You don't need to call this, usually. - @short Stops loading immediately. - */ - public native void closeLoading(); - public native boolean close(boolean alsoDelete); - /** - Sets a filter like "*.cpp .h .o". Only files matching that filter - will be shown. Call updateDir() to apply it. - @short Sets a filter like " . - @see KDirLister#setNameFilter - @see #nameFilter - */ - public native void setNameFilter(String filter); - /** - @return the current namefilter. - - @short - @see #setNameFilter - */ - public native String nameFilter(); - /** - Sets a list of mimetypes as filter. Only files of those mimetypes - will be shown. - Example: - <pre> - ArrayList filter; - filter << "text/html" << "image/png" << "inode/directory"; - dirOperator.setMimefilter( filter ); - </pre> - Node: Without the mimetype inode/directory, only files would be shown. - Call updateDir() to apply it. - @short Sets a list of mimetypes as filter. - @see KDirLister#setMimeFilter - @see #mimeFilter - */ - public native void setMimeFilter(String[] mimetypes); - /** - @return the current mime filter. - - @short - */ - public native ArrayList mimeFilter(); - /** - Clears both the namefilter and mimetype filter, so that all files and - directories will be shown. Call updateDir() to apply it. - @short Clears both the namefilter and mimetype filter, so that all files and directories will be shown. - @see #setMimeFilter - @see #setNameFilter - */ - public native void clearFilter(); - /** - @return the current url - - @short - */ - public native KURL url(); - /** - Sets a new url to list. - @param clearforward specifies whether the "forward" history should be cleared. - @param url the URL to set - @short Sets a new url to list. - */ - public native void setURL(KURL url, boolean clearforward); - /** - Clears the current selection and attempts to set <code>filename</code> - the current file. filename is just the name, no path or url. - @short Clears the current selection and attempts to set <code>filename</code> the current file. - */ - public native void setCurrentItem(String filename); - /** - Sets a new KFileView to be used for showing and browsing files. - Note: this will read the current url() to fill the view. - @short Sets a new KFileView to be used for showing and browsing files. - @see KFileView - @see KFileIconView - @see KFileDetailView - @see KCombiView - @see #view - */ - public native void setView(KFileViewInterface view); - /** - @return the currently used view. - - @short - @see #setView - */ - public native KFileViewInterface view(); - /** - Returns the widget of the current view. null if there is no view/widget. - (KFileView itself is not a widget.) - @short Returns the widget of the current view. - */ - public native TQWidget viewWidget(); - /** - Sets one of the predefined fileviews - @short Sets one of the predefined fileviews - @see KFile#FileView - */ - public native void setView(int view); - /** - Sets the way to sort files and directories. - @short Sets the way to sort files and directories. - */ - public native void setSorting(int arg1); - /** - @return the current way of sorting files and directories - - @short - */ - public native int sorting(); - /** - @return true if we are displaying the root directory of the current url - - @short - */ - public native boolean isRoot(); - /** - @return the object listing the directory - - @short - */ - public native KDirLister dirLister(); - /** - @return the progress widget, that is shown during directory listing. - You can for example reparent() it to put it into a statusbar. - - @short - */ - public native KProgress progressBar(); - /** - Sets the listing/selection mode for the views, an OR'ed combination of - - <li> - File - </li> - - <li> - Directory - </li> - - <li> - Files - </li> - - <li> - ExistingOnly - </li> - - <li> - LocalOnly - </li> - You cannot mix File and Files of course, as the former means - single-selection mode, the latter multi-selection. - @short Sets the listing/selection mode for the views, an OR'ed combination of - */ - public native void setMode(int m); - /** - @return the listing/selection mode. - - @short - */ - public native int mode(); - /** - Sets a preview-widget to be shown next to the file-view. - The ownership of <code>w</code> is transferred to KDirOperator, so don't - delete it yourself! - @short Sets a preview-widget to be shown next to the file-view. - */ - public native void setPreviewWidget(TQWidget w); - /** - @return a list of all currently selected items. If there is no view, - then 0L is returned. - - @short - */ - public native ArrayList selectedItems(); - /** - @return true if <code>item</code> is currently selected, or false otherwise. - - @short - */ - public native boolean isSelected(KFileItem item); - /** - @return the number of directories in the currently listed url. - Returns 0 if there is no view. - - @short - */ - public native int numDirs(); - /** - @return the number of files in the currently listed url. - Returns 0 if there is no view. - - @short - */ - public native int numFiles(); - /** - @return a TDECompletion object, containing all filenames and - directories of the current directory/URL. - You can use it to insert it into a KLineEdit or KComboBox - Note: it will only contain files, after prepareCompletionObjects() - has been called. It will be implicitly called from makeCompletion() - or makeDirCompletion() - - @short - */ - public native TDECompletion completionObject(); - /** - @return a TDECompletion object, containing only all directories of the - current directory/URL. - You can use it to insert it into a KLineEdit or KComboBox - Note: it will only contain directories, after - prepareCompletionObjects() has been called. It will be implicitly - called from makeCompletion() or makeDirCompletion() - - @short - */ - public native TDECompletion dirCompletionObject(); - /** - an accessor to a collection of all available Actions. The actions - are static, they will be there all the time (no need to connect to - the signals TDEActionCollection.inserted() or removed(). - There are the following actions: - - <li> - popupMenu : an ActionMenu presenting a popupmenu with all actions - </li> - - <li> - up : changes to the parent directory - </li> - - <li> - back : goes back to the previous directory - </li> - - <li> - forward : goes forward in the history - </li> - - <li> - home : changes to the user's home directory - </li> - - <li> - reload : reloads the current directory - </li> - - <li> - separator : a separator - </li> - - <li> - mkdir : opens a dialog box to create a directory - </li> - - <li> - delete : deletes the selected files/directories - </li> - - <li> - sorting menu : an ActionMenu containing all sort-options - </li> - - <li> - by name : sorts by name - </li> - - <li> - by date : sorts by date - </li> - - <li> - by size : sorts by size - </li> - - <li> - reversed : reverses the sort order - </li> - - <li> - dirs first : sorts directories before files - </li> - - <li> - case insensitive : sorts case insensitively - </li> - - <li> - view menu : an ActionMenu containing all actions concerning the view - </li> - - <li> - short view : shows a simple fileview - </li> - - <li> - detailed view : shows a detailed fileview (dates, permissions ,...) - </li> - - <li> - show hidden : shows hidden files - </li> - - <li> - separate dirs : shows directories in a separate pane - </li> - - <li> - preview : shows a preview next to the fileview - </li> - - <li> - single : hides the separate view for directories or the preview - </li> - - <li> - properties : shows a KPropertiesDialog for the selected files - </li> - The short and detailed view are in an exclusive group. The sort-by - actions are in an exclusive group as well. Also the "separate dirs", - "preview" and "single" actions are in an exclusive group. - You can e.g. use - <pre> - actionCollection().action( "up" ).plug( someToolBar ); - </pre> - to add a button into a toolbar, which makes the dirOperator change to - its parent directory. - @return all available Actions - - @short an accessor to a collection of all available Actions. - */ - public native TDEActionCollection actionCollection(); - /** - Sets the config object and the to be used group in KDirOperator. This - will be used to store the view's configuration via - KFileView.writeConfig() (and for KFileView.readConfig()). - If you don't set this, the views cannot save and restore their - configuration. - Usually you call this right after KDirOperator creation so that the view - instantiation can make use of it already. - Note that KDirOperator does NOT take ownership of that object (typically - it's TDEGlobal.config() anyway. - @short Sets the config object and the to be used group in KDirOperator. - @see #viewConfig - @see #viewConfigGroup - */ - public native void setViewConfig(TDEConfig config, String group); - /** - Returns the TDEConfig object used for saving and restoring view's - configuration. - @return the TDEConfig object used for saving and restoring view's - configuration. - - @short Returns the TDEConfig object used for saving and restoring view's configuration. - */ - public native TDEConfig viewConfig(); - /** - Returns the group name used for saving and restoring view's - configuration. - @return the group name used for saving and restoring view's - configuration. - - @short Returns the group name used for saving and restoring view's configuration. - */ - public native String viewConfigGroup(); - /** - Reads the default settings for a view, i.e. the default KFile.FileView. - Also reads the sorting and whether hidden files should be shown. - Note: the default view will not be set - you have to call - <pre> - setView( KFile.Default ) - </pre> - to apply it. - @short Reads the default settings for a view, i. - @see #setView - @see #setViewConfig - @see #writeConfig - */ - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - /** - Saves the current settings like sorting, simple or detailed view. - @short Saves the current settings like sorting, simple or detailed view. - @see #readConfig - @see #setViewConfig - */ - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - The default is false, set it to true if you don't want files selected - with single click. - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - Creates the given directory/url. If it is a relative path, - it will be completed with the current directory. - If enterDirectory is true, the directory will be entered after a - successful operation. If unsuccessful, a messagebox will be presented - to the user. - @return true if the directory could be created. - - @short Creates the given directory/url. - */ - public native boolean mkdir(String directory, boolean enterDirectory); - public native boolean mkdir(String directory); - /** - Starts and returns a TDEIO.DeleteJob to delete the given <code>items.</code> - @param items the list of items to be deleted - @param ask specifies whether a confirmation dialog should be shown - @param showProgress passed to the DeleteJob to show a progress dialog - @short Starts and returns a TDEIO.DeleteJob to delete the given <code>items.</code> - */ - public native DeleteJob del(ArrayList items, boolean ask, boolean showProgress); - public native DeleteJob del(ArrayList items, boolean ask); - public native DeleteJob del(ArrayList items); - /** - Starts and returns a TDEIO.DeleteJob to delete the given <code>items.</code> - @param items the list of items to be deleted - @param parent the parent widget used for the confirmation dialog - @param ask specifies whether a confirmation dialog should be shown - @param showProgress passed to the DeleteJob to show a progress dialog - @short Starts and returns a TDEIO.DeleteJob to delete the given <code>items.</code> - */ - public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask, boolean showProgress); - public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask); - public native DeleteJob del(ArrayList items, TQWidget parent); - /** - Clears the forward and backward history. - @short Clears the forward and backward history. - */ - public native void clearHistory(); - /** - When going up in the directory hierarchy, KDirOperator can highlight - the directory that was just left. - I.e. when you go from /home/gis/src to /home/gis, the item "src" will - be made the current item. - Default is off. - @short When going up in the directory hierarchy, KDirOperator can highlight the directory that was just left. - */ - public native void setEnableDirHighlighting(boolean enable); - /** - Default is false. - @return whether the last directory will be made the current item - when going up in the directory hierarchy. - - @short - */ - public native boolean dirHighlighting(); - /** - @return true if we are in directory-only mode, that is, no files are - shown. - - @short - */ - public native boolean dirOnlyMode(); - /** - Sets up the action menu. - @param whichActions is an value of OR'd ActionTypes that controls which actions to show in the action menu - @short Sets up the action menu. - */ - public native void setupMenu(int whichActions); - /** - Reimplemented - allow dropping of files if <code>b</code> is true - @param b true if the widget should allow dropping of files - @short Reimplemented - allow dropping of files if <code>b</code> is true - */ - public native void setAcceptDrops(boolean b); - /** - Sets the options for dropping files. - @short Sets the options for dropping files. - @see KFileView#DropOptions - */ - public native void setDropOptions(int options); - /** - Starts and returns a TDEIO.CopyJob to trash the given <code>items.</code> - @param items the list of items to be trashed - @param parent the parent widget used for the confirmation dialog - @param ask specifies whether a confirmation dialog should be shown - @param showProgress passed to the CopyJob to show a progress dialog - @short Starts and returns a TDEIO.CopyJob to trash the given <code>items.</code> - */ - public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask, boolean showProgress); - public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask); - public native CopyJob trash(ArrayList items, TQWidget parent); - /** - Goes one step back in the history and opens that url. - @short Goes one step back in the history and opens that url. - */ - public native void back(); - /** - Goes one step forward in the history and opens that url. - @short Goes one step forward in the history and opens that url. - */ - public native void forward(); - /** - Enters the home directory. - @short Enters the home directory. - */ - public native void home(); - /** - Goes one directory up from the current url. - @short Goes one directory up from the current url. - */ - public native void cdUp(); - /** - to update the view after changing the settings - @short to update the view after changing the settings - */ - public native void updateDir(); - /** - Re-reads the current url. - @short Re-reads the current url. - */ - public native void rereadDir(); - /** - Opens a dialog to create a new directory. - @short Opens a dialog to create a new directory. - */ - public native void mkdir(); - /** - Deletes the currently selected files/directories. - @short Deletes the currently selected files/directories. - */ - public native void deleteSelected(); - /** - Enables/disables actions that are selection dependent. Call this e.g. - when you are about to show a popup menu using some of KDirOperators - actions. - @short Enables/disables actions that are selection dependent. - */ - public native void updateSelectionDependentActions(); - /** - Tries to complete the given string (only completes files). - @short Tries to complete the given string (only completes files). - */ - public native String makeCompletion(String arg1); - /** - Tries to complete the given string (only completes directores). - @short Tries to complete the given string (only completes directores). - */ - public native String makeDirCompletion(String arg1); - /** - Trashes the currently selected files/directories. - @short Trashes the currently selected files/directories. - */ - public native void trashSelected(int arg1, int arg2); - public static native boolean dirOnlyMode(int mode); - /** - A view factory for creating predefined fileviews. Called internally by setView - , but you can also call it directly. Reimplement this if you depend on self defined fileviews. - @param parent is the TQWidget to be set as parent - @param view is the predefined view to be set, note: this can be several ones OR:ed together. - @return the created KFileView - - @short A view factory for creating predefined fileviews. - @see KFileView - @see KCombiView - @see KFileDetailView - @see KFileIconView - @see KFilePreview - @see KFile#FileView - @see #setView - */ - protected native KFileViewInterface createView(TQWidget parent, int view); - /** - Sets a custom KDirLister to list directories. - @short Sets a custom KDirLister to list directories. - */ - protected native void setDirLister(KDirLister lister); - protected native void resizeEvent(TQResizeEvent arg1); - /** - Sets up all the actions. Called from the constructor, you usually - better not call this. - @short Sets up all the actions. - */ - protected native void setupActions(); - /** - Updates the sorting-related actions to comply with the current sorting - @short Updates the sorting-related actions to comply with the current sorting - @see #sorting - */ - protected native void updateSortActions(); - /** - Updates the view-related actions to comply with the current - KFile.FileView - @short Updates the view-related actions to comply with the current KFile.FileView - */ - protected native void updateViewActions(); - /** - Sets up the context-menu with all the necessary actions. Called from the - constructor, you usually don't need to call this. - @short Sets up the context-menu with all the necessary actions. - */ - protected native void setupMenu(); - /** - Synchronizes the completion objects with the entries of the - currently listed url. - Automatically called from makeCompletion() and - makeDirCompletion() - @short Synchronizes the completion objects with the entries of the currently listed url. - */ - protected native void prepareCompletionObjects(); - /** - Checks if there support from TDEIO.PreviewJob for the currently - shown files, taking mimeFilter() and nameFilter() into account - Enables/disables the preview-action accordingly. - @short Checks if there support from TDEIO.PreviewJob for the currently shown files, taking mimeFilter() and nameFilter() into account Enables/disables the preview-action accordingly. - */ - protected native boolean checkPreviewSupport(); - /** - Restores the normal cursor after showing the busy-cursor. Also hides - the progressbar. - @short Restores the normal cursor after showing the busy-cursor. - */ - protected native void resetCursor(); - /** - Called after setURL() to load the directory, update the history, - etc. - @short Called after setURL() to load the directory, update the history, etc. - */ - protected native void pathChanged(); - /** - Adds a new list of KFileItems to the view - (coming from KDirLister) - @short Adds a new list of KFileItems to the view (coming from KDirLister) - */ - protected native void insertNewFiles(ArrayList newone); - /** - Removes the given KFileItem item from the view (usually called from - KDirLister). - @short Removes the given KFileItem item from the view (usually called from KDirLister). - */ - protected native void itemDeleted(KFileItem arg1); - /** - Enters the directory specified by the given <code>item.</code> - @short Enters the directory specified by the given <code>item.</code> - */ - protected native void selectDir(KFileItem item); - /** - Emits fileSelected( item ) - @short Emits fileSelected( item ) - */ - protected native void selectFile(KFileItem item); - /** - Emits fileHighlighted( i ) - @short Emits fileHighlighted( i ) - */ - protected native void highlightFile(KFileItem i); - /** - Called upon right-click to activate the popupmenu. - @short Called upon right-click to activate the popupmenu. - */ - protected native void activatedMenu(KFileItem arg1, TQPoint pos); - /** - Changes sorting to sort by name - @short Changes sorting to sort by name - */ - protected native void sortByName(); - /** - Changes sorting to sort by size - @short Changes sorting to sort by size - */ - protected native void sortBySize(); - /** - Changes sorting to sort by date - @short Changes sorting to sort by date - */ - protected native void sortByDate(); - /** - Changes sorting to reverse sorting - @short Changes sorting to reverse sorting - */ - protected native void sortReversed(); - /** - Toggles showing directories first / having them sorted like files. - @short Toggles showing directories first / having them sorted like files. - */ - protected native void toggleDirsFirst(); - /** - Toggles case sensitive / case insensitive sorting - @short Toggles case sensitive / case insensitive sorting - */ - protected native void toggleIgnoreCase(); - /** - Tries to make the given <code>match</code> as current item in the view and emits - completion( match ) - @short Tries to make the given <code>match</code> as current item in the view and emits completion( match ) - */ - protected native void slotCompletionMatch(String match); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirOperatorSignals.java b/kdejava/koala/org/kde/koala/KDirOperatorSignals.java deleted file mode 100644 index 51d48c97..00000000 --- a/kdejava/koala/org/kde/koala/KDirOperatorSignals.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KDirOperatorSignals { - void urlEntered(KURL arg1); - void updateInformation(int files, int dirs); - void completion(String arg1); - void finishedLoading(); - /** - Emitted whenever the current fileview is changed, either by an explicit - call to setView() or by the user selecting a different view thru - the GUI. - @short Emitted whenever the current fileview is changed, either by an explicit call to setView() or by the user selecting a different view thru the GUI. - */ - void viewChanged(KFileViewInterface newView); - /** - Emitted when a file is highlighted or generally the selection changes in - multiselection mode. In the latter case, <code>item</code> is null. You can access - the selected items with selectedItems(). - @short Emitted when a file is highlighted or generally the selection changes in multiselection mode. - */ - void fileHighlighted(KFileItem item); - void dirActivated(KFileItem item); - void fileSelected(KFileItem item); - /** - Emitted when files are dropped. Dropping files is disabled by - default. You need to enable it with setAcceptDrops() - @param item the item on which the drop occurred or 0. - @param event the drop event itself. - @param urls the urls that where dropped. - @short Emitted when files are dropped. - */ - void dropped(KFileItem item, TQDropEvent event, ArrayList urls); -} diff --git a/kdejava/koala/org/kde/koala/KDirSelectDialog.java b/kdejava/koala/org/kde/koala/KDirSelectDialog.java deleted file mode 100644 index d8d38b59..00000000 --- a/kdejava/koala/org/kde/koala/KDirSelectDialog.java +++ /dev/null @@ -1,102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - A pretty dialog for a KDirSelect control for selecting directories. - @author Michael Jarrett <michaelj@corel.com> - - @short A pretty dialog for a KDirSelect control for selecting directories. - @see KFileDialog - -*/ -public class KDirSelectDialog extends KDialogBase { - protected KDirSelectDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - The constructor. Creates a dialog to select a directory (url). - @param startDir the directory, initially shown - @param localOnly unused. You can only select paths below the startDir - @param parent the parent for the dialog, usually null - @param name the TQObject.name - @param modal if the dialog is modal or not - @short The constructor. - */ - public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly,parent,name,modal); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal); - public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly,parent,name); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name); - public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly,parent); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent); - public KDirSelectDialog(String startDir, boolean localOnly) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly); - public KDirSelectDialog(String startDir) { - super((Class) null); - newKDirSelectDialog(startDir); - } - private native void newKDirSelectDialog(String startDir); - public KDirSelectDialog() { - super((Class) null); - newKDirSelectDialog(); - } - private native void newKDirSelectDialog(); - /** - Returns the currently-selected URL, or a blank URL if none is selected. - @return The currently-selected URL, if one was selected. - - @short Returns the currently-selected URL, or a blank URL if none is selected. - */ - public native KURL url(); - public native KFileTreeView view(); - public native boolean localOnly(); - /** - @return The path for the root node - - @short - */ - public native String startDir(); - public native void setCurrentURL(KURL url); - /** - Creates a KDirSelectDialog, and returns the result. - @param startDir the directory, initially shown - The tree will display this directory and subdirectories of it. - @param localOnly unused. You can only select paths below the startDir - @param parent the parent widget to use for the dialog, or NULL to create a parent-less dialog - @param caption the caption to use for the dialog, or null for the default caption - @return The URL selected, or an empty URL if the user canceled - or no URL was selected. - - @short Creates a KDirSelectDialog, and returns the result. - */ - public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent, String caption); - public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent); - public static native KURL selectDirectory(String startDir, boolean localOnly); - public static native KURL selectDirectory(String startDir); - public static native KURL selectDirectory(); - protected native void accept(); - protected native void slotUser1(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirSize.java b/kdejava/koala/org/kde/koala/KDirSize.java deleted file mode 100644 index 528cf425..00000000 --- a/kdejava/koala/org/kde/koala/KDirSize.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Computes a directory size (similar to "du", but doesn't give the same results - since we simply sum up the dir and file sizes, whereas du speaks disk blocks) - @short Computes a directory size (similar to "du", but doesn't give the same results since we simply sum up the dir and file sizes, whereas du speaks disk blocks) - -*/ -public class KDirSize extends Job { - protected KDirSize(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - @return the size we found - - @short - */ - public native long totalSize(); - /** - @return the total number of files (counting symlinks to files, sockets - and character devices as files) in this directory and all sub-directories - - @short - */ - public native long totalFiles(); - /** - @return the total number of sub-directories found (not including the - directory the search started from and treating symlinks to directories - as directories) - - @short - */ - public native long totalSubdirs(); - /** - Asynchronous method. Connect to the result signal. - This one lists a single directory. - @short Asynchronous method. - */ - public static native KDirSize dirSizeJob(KURL directory); - /** - Asynchronous method. Connect to the result signal. - This one lists the items from <code>lstItems.</code> - The reason we asks for items instead of just urls, is so that - we directly know if the item is a file or a directory, - and in case of a file, we already have its size. - @short Asynchronous method. - */ - public static native KDirSize dirSizeJob(ArrayList lstItems); - /** - Synchronous method - you get the result as soon as - the call returns. - @short Synchronous method - you get the result as soon as the call returns. - */ - public static native long dirSize(KURL directory); - public KDirSize(KURL directory) { - super((Class) null); - newKDirSize(directory); - } - private native void newKDirSize(KURL directory); - public KDirSize(ArrayList lstItems) { - super((Class) null); - newKDirSize(lstItems); - } - private native void newKDirSize(ArrayList lstItems); - /** - @short - */ - protected native void setSync(); - protected native void startNextJob(KURL url); - protected native void slotResult(Job job); - // void slotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED - protected native void processList(); -} diff --git a/kdejava/koala/org/kde/koala/KDirWatch.java b/kdejava/koala/org/kde/koala/KDirWatch.java deleted file mode 100644 index e64c328f..00000000 --- a/kdejava/koala/org/kde/koala/KDirWatch.java +++ /dev/null @@ -1,238 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.Calendar; -import org.kde.qt.TQObject; - -/** - - Watch directories and files for changes. - The watched directories or files don't have to exist yet. - When a watched directory is changed, i.e. when files therein are - created or deleted, KDirWatch will emit the signal dirty(). - When a watched, but previously not existing directory gets created, - KDirWatch will emit the signal created(). - When a watched directory gets deleted, KDirWatch will emit the - signal deleted(). The directory is still watched for new - creation. - When a watched file is changed, i.e. attributes changed or written - to, KDirWatch will emit the signal dirty(). - Scanning of particular directories or files can be stopped temporarily - and restarted. The whole class can be stopped and restarted. - Directories and files can be added/removed from the list in any state. - The implementation uses the FAM service when available; - if FAM is not available, the DNOTIFY functionality is used on LINUX. - As a last resort, a regular polling for change of modification times - is done; the polling interval is a global config option: - DirWatch/PollInterval and DirWatch/NFSPollInterval for NFS mounted - directories. - See {@link KDirWatchSignals} for signals emitted by KDirWatch - @author Sven Radej <sven@lisa.exp.univie.ac.at> - - @short Class for watching directory and file changes. - @see #self - -*/ -public class KDirWatch extends TQObject { - protected KDirWatch(Class dummy){super((Class) null);} - public static final int FAM = 0; - public static final int DNotify = 1; - public static final int Stat = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - Scanning begins immediately when a dir/file watch - is added. - @param parent the parent of the TQObject (or 0 for parent-less KDataTools) - @param name the name of the TQObject, can be 0 - @short Constructor. - */ - public KDirWatch(TQObject parent, String name) { - super((Class) null); - newKDirWatch(parent,name); - } - private native void newKDirWatch(TQObject parent, String name); - public KDirWatch(TQObject parent) { - super((Class) null); - newKDirWatch(parent); - } - private native void newKDirWatch(TQObject parent); - public KDirWatch() { - super((Class) null); - newKDirWatch(); - } - private native void newKDirWatch(); - /** - Adds a directory to be watched. - The directory does not have to exist. When <code>watchFiles</code> is - false (the default), the signals dirty(), created(), deleted() - can be emitted, all for the watched directory. - When <code>watchFiles</code> is true, all files in the watched directory - are watched for changes, too. Thus, the signals dirty(), - created(), deleted() can be emitted. - @param path the path to watch - @param watchFiles if true, the KDirWatch will also watch files - NOT IMPLEMENTED YET - @param recursive if true, all sub directories are also watched - NOT IMPLEMENTED YET - @short Adds a directory to be watched. - */ - public native void addDir(String path, boolean watchFiles, boolean recursive); - public native void addDir(String path, boolean watchFiles); - public native void addDir(String path); - /** - Adds a file to be watched. - @param file the file to watch - @short Adds a file to be watched. - */ - public native void addFile(String file); - /** - Returns the time the directory/file was last changed. - @param path the file to check - @return the date of the last modification - - @short Returns the time the directory/file was last changed. - */ - public native Calendar ctime(String path); - /** - Removes a directory from the list of scanned directories. - If specified path is not in the list this does nothing. - @param path the path of the dir to be removed from the list - @short Removes a directory from the list of scanned directories. - */ - public native void removeDir(String path); - /** - Removes a file from the list of watched files. - If specified path is not in the list this does nothing. - @param file the file to be removed from the list - @short Removes a file from the list of watched files. - */ - public native void removeFile(String file); - /** - Stops scanning the specified path. - The <code>path</code> is not deleted from the interal just, it is just skipped. - Call this function when you perform an huge operation - on this directory (copy/move big files or many files). When finished, - call restartDirScan(path). - @param path the path to skip - @return true if the <code>path</code> is being watched, otherwise false - - @short Stops scanning the specified path. - @see #restartDirScanning - */ - public native boolean stopDirScan(String path); - /** - Restarts scanning for specified path. - Resets ctime. It doesn't notify - the change (by emitted a signal), since the ctime value is reset. - Call it when you are finished with big operations on that path, - <b>and</b> when <b>you</b> have refreshed that path. - @param path the path to restart scanning - @return true if the <code>path</code> is being watched, otherwise false - - @short Restarts scanning for specified path. - @see #stopDirScanning - */ - public native boolean restartDirScan(String path); - /** - Starts scanning of all dirs in list. - @param notify If true, all changed directories (since - stopScan() call) will be notified for refresh. If notify is - false, all ctimes will be reset (except those who are stopped, - but only if <code>skippedToo</code> is false) and changed dirs won't be - notified. You can start scanning even if the list is - empty. First call should be called with <code>false</code> or else all - directories - in list will be notified. - @param skippedToo if true, the skipped directoris (scanning of which was - stopped with stopDirScan() ) will be reset and notified - for change. Otherwise, stopped directories will continue to be - unnotified. - @short Starts scanning of all dirs in list. - */ - public native void startScan(boolean notify, boolean skippedToo); - public native void startScan(boolean notify); - public native void startScan(); - /** - Stops scanning of all directories in internal list. - The timer is stopped, but the list is not cleared. - @short Stops scanning of all directories in internal list. - */ - public native void stopScan(); - /** - Is scanning stopped? - After creation of a KDirWatch instance, this is false. - @return true when scanning stopped - - @short Is scanning stopped? After creation of a KDirWatch instance, this is false. - */ - public native boolean isStopped(); - /** - Check if a directory is being watched by this KDirWatch instance - @param path the directory to check - @return true if the directory is being watched - - @short Check if a directory is being watched by this KDirWatch instance - */ - public native boolean contains(String path); - /** - Emits created(). - @param path the path of the file or directory - @short Emits created(). - */ - public native void setCreated(String path); - /** - Emits dirty(). - @param path the path of the file or directory - @short Emits dirty(). - */ - public native void setDirty(String path); - /** - Emits deleted(). - @param path the path of the file or directory - @short Emits deleted(). - */ - public native void setDeleted(String path); - /** - Returns the preferred internal method to - watch for changes. - @short Returns the preferred internal method to watch for changes. - */ - public native int internalMethod(); - /** - Dump statistic information about all KDirWatch instances. - This checks for consistency, too. - @short Dump statistic information about all KDirWatch instances. - */ - public static native void statistics(); - /** - The KDirWatch instance usually globally used in an application. - It is automatically deleted when the application exits. - However, you can create an arbitrary number of KDirWatch instances - aside from this one - for those you have to take care of memory management. - This function returns an instance of KDirWatch. If there is none, it - will be created. - @return a KDirWatch instance - - @short The KDirWatch instance usually globally used in an application. - */ - public static native KDirWatch self(); - /** - Returns true if there is an instance of KDirWatch. - @return true if there is an instance of KDirWatch. - - @short Returns true if there is an instance of KDirWatch. - @see KDirWatch#self - */ - public static native boolean exists(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirWatchSignals.java b/kdejava/koala/org/kde/koala/KDirWatchSignals.java deleted file mode 100644 index 7040e642..00000000 --- a/kdejava/koala/org/kde/koala/KDirWatchSignals.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.Calendar; - -public interface KDirWatchSignals { - /** - Emitted when a watched object is changed. - For a directory this signal is emitted when files - therein are created or deleted. - For a file this signal is emitted when its size or attributes change. - When you watch a directory, changes in the size or attributes of - contained files may or may not trigger this signal to be emitted - depending on which backend is used by KDirWatch. - The new ctime is set before the signal is emitted. - @param path the path of the file or directory - @short Emitted when a watched object is changed. - */ - void dirty(String path); - /** - Emitted when a file or directory is created. - @param path the path of the file or directory - @short Emitted when a file or directory is created. - */ - void created(String path); - /** - Emitted when a file or directory is deleted. - The object is still watched for new creation. - @param path the path of the file or directory - @short Emitted when a file or directory is deleted. - */ - void deleted(String path); -} diff --git a/kdejava/koala/org/kde/koala/KDiskFreeSp.java b/kdejava/koala/org/kde/koala/KDiskFreeSp.java deleted file mode 100644 index 4920caa9..00000000 --- a/kdejava/koala/org/kde/koala/KDiskFreeSp.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - This class parses the output of "df" to find the disk usage - information for a given partition (mount point). - See {@link KDiskFreeSpSignals} for signals emitted by KDiskFreeSp - @short This class parses the output of "df" to find the disk usage information for a given partition (mount point). - -*/ -public class KDiskFreeSp extends TQObject { - protected KDiskFreeSp(Class dummy){super((Class) null);} - public KDiskFreeSp(TQObject parent, String name) { - super((Class) null); - newKDiskFreeSp(parent,name); - } - private native void newKDiskFreeSp(TQObject parent, String name); - public KDiskFreeSp(TQObject parent) { - super((Class) null); - newKDiskFreeSp(parent); - } - private native void newKDiskFreeSp(TQObject parent); - public KDiskFreeSp() { - super((Class) null); - newKDiskFreeSp(); - } - private native void newKDiskFreeSp(); - /** - Call this to fire a search on the disk usage information - for <code>mountPoint.</code> foundMountPoint will be emitted - if this mount point is found, with the info requested. - done is emitted in any case. - @short Call this to fire a search on the disk usage information for <code>mountPoint.</code> - */ - public native int readDF(String mountPoint); - /** - Call this to fire a search on the disk usage information - for the mount point containing <code>path.</code> - foundMountPoint will be emitted - if this mount point is found, with the info requested. - done is emitted in any case. - @short Call this to fire a search on the disk usage information for the mount point containing <code>path.</code> - */ - public static native KDiskFreeSp findUsageInfo(String path); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java b/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java deleted file mode 100644 index 47b0b6ed..00000000 --- a/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface KDiskFreeSpSignals { - void foundMountPoint(String mountPoint, long kBSize, long kBUsed, long kBAvail); - void foundMountPoint(long arg1, long arg2, long arg3, String arg4); - void done(); -} diff --git a/kdejava/koala/org/kde/koala/KDockArea.java b/kdejava/koala/org/kde/koala/KDockArea.java deleted file mode 100644 index c5bdb25e..00000000 --- a/kdejava/koala/org/kde/koala/KDockArea.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQWidget; - -/** - See {@link KDockAreaSignals} for signals emitted by KDockArea -*/ -public class KDockArea extends TQWidget { - protected KDockArea(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KDockArea(TQWidget parent, String name) { - super((Class) null); - newKDockArea(parent,name); - } - private native void newKDockArea(TQWidget parent, String name); - public KDockArea(TQWidget parent) { - super((Class) null); - newKDockArea(parent); - } - private native void newKDockArea(TQWidget parent); - public KDockArea() { - super((Class) null); - newKDockArea(); - } - private native void newKDockArea(); - public native KDockManager manager(); - public native void setMainDockWidget(KDockWidget arg1); - public native KDockWidget getMainDockWidget(); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap); - public native void writeDockConfig(TQDomElement base); - public native void readDockConfig(TQDomElement base); - public native void writeDockConfig(TDEConfig c, String group); - public native void writeDockConfig(TDEConfig c); - public native void writeDockConfig(); - public native void readDockConfig(TDEConfig c, String group); - public native void readDockConfig(TDEConfig c); - public native void readDockConfig(); - public native void activateDock(); - public native TQPopupMenu dockHideShowMenu(); - public native void makeDockVisible(KDockWidget dock); - public native void makeDockInvisible(KDockWidget dock); - public native void makeWidgetDockVisible(TQWidget widget); - public native void resizeEvent(TQResizeEvent arg1); - protected native void slotDockWidgetUndocked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockAreaSignals.java b/kdejava/koala/org/kde/koala/KDockAreaSignals.java deleted file mode 100644 index e68c249a..00000000 --- a/kdejava/koala/org/kde/koala/KDockAreaSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDomElement; - -public interface KDockAreaSignals { - /** - Signals a certain dockwidget is undocked now. - @short Signals a certain dockwidget is undocked now. - */ - void dockWidgetHasUndocked(KDockWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDockMainWindow.java b/kdejava/koala/org/kde/koala/KDockMainWindow.java deleted file mode 100644 index e749816e..00000000 --- a/kdejava/koala/org/kde/koala/KDockMainWindow.java +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -/** - - A special kind of TDEMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). - The main widget should be a KDockWidget where other KDockWidget can be docked to - the left, right, top, bottom or to the middle. - Note: dock to the middle means to drop on a dockwidget and to unite them to a new widget, a tab control. - Furthermore, the KDockMainWindow has got the KDockManager and some data about the dock states. - If you've got some dockwidgets, you can dock them to the dockmainwindow to initialize a start scene: - Here an example: - <pre> - DockApplication.DockApplication( String name) - { - ... - KDockWidget mainDock; - mainDock = createDockWidget( "Falk's MainDockWidget", mainPixmap, null, "main_dock_widget"); - AnyContentsWidget cw = new AnyContentsWidget( mainDock); - mainDock.setWidget( cw); - // allow others to dock to the 4 sides - mainDock.setDockSite(KDockWidget.DockCorner); - // forbit docking abilities of mainDock itself - mainDock.setEnableDocking(KDockWidget.DockNone); - setView( mainDock); // central widget in a KDE mainwindow - setMainDockWidget( mainDock); // master dockwidget - ... - KDockWidget dockLeft; - dockLeft = createDockWidget( "Intially left one", anyOtherPixmap, null, i18n("The left dockwidget")); - AnotherWidget aw = new AnotherWidget( dockLeft); - dockLeft.setWidget( aw); - dockLeft.manualDock( mainDock, // dock target - KDockWidget.DockLeft, // dock site - 20 ); // relation target/this (in percent) - ... - </pre> - Docking is fully dynamic at runtime. That means you can always move dockwidgets via drag and drop. - And last but not least you can use the popupmenu for showing or hiding any controlled dockwidget - of this class and insert it to your main menu bar or anywhere else. - See {@link KDockMainWindowSignals} for signals emitted by KDockMainWindow - @author Max Judin (documentation: Falk Brettschneider). - - @short A special kind of TDEMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). - -*/ -public class KDockMainWindow extends TDEMainWindow { - protected KDockMainWindow(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a dockmainwindow. It calls its base class constructor and does additional things concerning - to the dock stuff: - - <li> - information about the dock state of this' children gets initialized - </li> - - <li> - a dockmanager is created... - </li> - - <li> - ...and gets initialized - </li> - - <li> - the main dockwidget is set to 0 - </li> - @param parent Parent widget for the dock main widget - @param name internal object name - @param f Qt.WidgetFlags widget flags - @short Constructs a dockmainwindow. - */ - public KDockMainWindow(TQWidget parent, String name, int f) { - super((Class) null); - newKDockMainWindow(parent,name,f); - } - private native void newKDockMainWindow(TQWidget parent, String name, int f); - public KDockMainWindow(TQWidget parent, String name) { - super((Class) null); - newKDockMainWindow(parent,name); - } - private native void newKDockMainWindow(TQWidget parent, String name); - public KDockMainWindow(TQWidget parent) { - super((Class) null); - newKDockMainWindow(parent); - } - private native void newKDockMainWindow(TQWidget parent); - public KDockMainWindow() { - super((Class) null); - newKDockMainWindow(); - } - private native void newKDockMainWindow(); - /** - Returns the dockmanager of this. (see KDockManager) - @return pointer to the wanted dockmanager - - @short Returns the dockmanager of this. - */ - public native KDockManager manager(); - /** - Sets a new main dockwidget. - Additionally, the toolbar is re-initialized. - @param dockwidget dockwidget that become the new main dockwidget - @short Sets a new main dockwidget. - */ - public native void setMainDockWidget(KDockWidget dockwidget); - /** - Returns the main dockwidget. - @return pointer to the main dockwidget - - @short Returns the main dockwidget. - */ - public native KDockWidget getMainDockWidget(); - /** - This is one of the most important methods! - The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget. - The new dockwidget is automatically taken under control by the dockmanager of the dockmainwindow. - @param name TQObject name (default dockwidget caption) - @param pixmap window icon (for instance shown when docked as tabwidget entry) - @param parent parent widget for the new dockwidget - @param strCaption window title (shown when toplevel) - @param strTabPageLabel title of the tab page (visible when in tab page mode), if it is "", only the icon will be shown; if it is null, the label is set to strCaption - @return a pointer to the new created dockwidget - - @short This is one of the most important methods! The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget. - */ - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap); - /** - Saves the current dock window layout into a DOM tree below the given element. - @short Saves the current dock window layout into a DOM tree below the given element. - */ - public native void writeDockConfig(TQDomElement base); - /** - Reads the current dock window layout from a DOM tree below the given element. - @short Reads the current dock window layout from a DOM tree below the given element. - */ - public native void readDockConfig(TQDomElement base); - /** - It writes the current dock state in the given section of TDEConfig. - @param c KDE class for saving configurations - @param group name of section to write to - @short It writes the current dock state in the given section of TDEConfig. - */ - public native void writeDockConfig(TDEConfig c, String group); - public native void writeDockConfig(TDEConfig c); - public native void writeDockConfig(); - /** - It reads the current dock state from the given section of TDEConfig. - @param c KDE class for saving configurations - @param group name of section to read from - @short It reads the current dock state from the given section of TDEConfig. - */ - public native void readDockConfig(TDEConfig c, String group); - public native void readDockConfig(TDEConfig c); - public native void readDockConfig(); - /** - It runs through all dockwidgets which are under control of the dockmanager and calls show() for every - encapsulated widget and show() for the dockwidget itself if it is not in tab mode. - Additionally, if the main dockwidget is not a TQDialog, it will be shown. - @short It runs through all dockwidgets which are under control of the dockmanager and calls show() for every encapsulated widget and show() for the dockwidget itself if it is not in tab mode. - */ - public native void activateDock(); - /** - Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing - them possible. - @return the wanted popup menu - - @short Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing them possible. - */ - public native TQPopupMenu dockHideShowMenu(); - /** - This method shows the given dockwidget. - The clue is that it also considers the dockwidget could be a tab page - and must set to be the activate one. - @param dock the dockwidget that is to be shown - @short This method shows the given dockwidget. - */ - public native void makeDockVisible(KDockWidget dock); - /** - This method hides the given dockwidget. - @param dock the dockwidget that is to be shown - @short This method hides the given dockwidget. - */ - public native void makeDockInvisible(KDockWidget dock); - /** - This is an overloaded member function, provided for convenience. - It differs from the above function only in what argument(s) it accepts. - @short This is an overloaded member function, provided for convenience. - */ - public native void makeWidgetDockVisible(TQWidget widget); - /** - This method calls the base class method. - If the given widget inherits KDockWidget, applyToWidget(this) is called. - @param widget any widget that should become the main view - @short This method calls the base class method. - */ - public native void setView(TQWidget widget); - /** - Called whenever one of the dockwidgets of this has been undocked. - @short Called whenever one of the dockwidgets of this has been undocked. - */ - protected native void slotDockWidgetUndocked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java b/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java deleted file mode 100644 index 712d4893..00000000 --- a/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KDockMainWindowSignals { - /** - Signals a certain dockwidget is undocked now. - @short Signals a certain dockwidget is undocked now. - */ - void dockWidgetHasUndocked(KDockWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDockManager.java b/kdejava/koala/org/kde/koala/KDockManager.java deleted file mode 100644 index 7269e0c7..00000000 --- a/kdejava/koala/org/kde/koala/KDockManager.java +++ /dev/null @@ -1,211 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQObject; - -/** - - The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget class set). - More or less a helper class for the KDockWidget class set but of interest for some functionality - that can be called within a KDockMainWindow or a KDockWidget . - An important feature is the ability to read or save the current state of all things concerning to - dockwidgets to TDEConfig . - The dockmanager is also often used when a certain dockwidget or a child of such dockwidget must be found. - See {@link KDockManagerSignals} for signals emitted by KDockManager - @author Max Judin (documentation: Falk Brettschneider). - - @short The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget class set). - -*/ -public class KDockManager extends TQObject { - protected KDockManager(Class dummy){super((Class) null);} - public static final int Unknown = 0; - public static final int WrapExistingWidgetsOnly = 1; - public static final int RestoreAllDockwidgets = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a dockmanager. Some initialization happen: - - <li> - It installs an event filter for the main window, - </li> - - <li> - a control list for dock objects - </li> - - <li> - a control list for menu items concerning to menus provided by the dockmanager - </li> - - <li> - Some state variables are set - </li> - @param mainWindow the main window controlled by this - @param name the internal TQOject name - @short Constructs a dockmanager. - */ - public KDockManager(TQWidget mainWindow, String name) { - super((Class) null); - newKDockManager(mainWindow,name); - } - private native void newKDockManager(TQWidget mainWindow, String name); - public KDockManager(TQWidget mainWindow) { - super((Class) null); - newKDockManager(mainWindow); - } - private native void newKDockManager(TQWidget mainWindow); - public native void dumpDockWidgets(); - /** - Saves the current state of the dockmanager and of all controlled widgets. - State means here to save the geometry, visibility, parents, internal object names, orientation, - separator positions, dockwidget-group information, tab widget states (if it is a tab group) and - last but not least some necessary things for recovering the dockmainwindow state. - @param c the KDE configuration saver - @param group the name of the section in TDEConfig - @short Saves the current state of the dockmanager and of all controlled widgets. - */ - public native void writeConfig(TDEConfig c, String group); - public native void writeConfig(TDEConfig c); - public native void writeConfig(); - /** - Like writeConfig but reads the whole stuff in. - In order to restore a window configuration - from a config file, it looks up widgets by name - (TQObject.name) in the childDock variable of - KDockManager. This list in turn contains all - KDockWidgets (according to the KDockWidget constructor). - So in principle, in order to restore a window layout, - one must first construct all widgets, put each of them in a - KDockWidget and then call readConfig(). And for all that - to work, each widget must have a unique name. - @param c the KDE configuration saver - @param group the name of the section in TDEConfig - @short Like writeConfig but reads the whole stuff in. - */ - public native void readConfig(TDEConfig c, String group); - public native void readConfig(TDEConfig c); - public native void readConfig(); - public native void setMainDockWidget2(KDockWidget arg1); - /** - Saves the current dock window layout into a DOM tree below the given element. - @short Saves the current dock window layout into a DOM tree below the given element. - */ - public native void writeConfig(TQDomElement base); - /** - Reads the current dock window layout from a DOM tree below the given element. - @short Reads the current dock window layout from a DOM tree below the given element. - */ - public native void readConfig(TQDomElement base); - /** - Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are - parent of a dockwidget tab group. - @short Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are parent of a dockwidget tab group. - */ - public native void activate(); - /** - It's more or less a method that catches several events which are interesting for the dockmanager. - Mainly mouse events during the drag process of a dockwidgets are of interest here. - @param object the object that sends the event - @param event the event - @return the return value of the method call of the base class method - - @short It's more or less a method that catches several events which are interesting for the dockmanager. - */ - public native boolean eventFilter(TQObject object, TQEvent event); - /** - This method finds out what a widgets' dockwidget is. That means the dockmanager has a look at all - dockwidgets it knows and tells you when one of those dockwidgets covers the given widget. - @param w any widget that is supposed to be encapsulated by one of the controlled dockwidgets - @return the dockwidget that encapsulates that widget, otherwise 0 - - @short This method finds out what a widgets' dockwidget is. - */ - public native KDockWidget findWidgetParentDock(TQWidget w); - /** - Works like makeDockVisible() but can be called for widgets that covered by a dockwidget. - @param w the widget that is encapsulated by a dockwidget that turns to visible. - @short Works like makeDockVisible() but can be called for widgets that covered by a dockwidget. - */ - public native void makeWidgetDockVisible(TQWidget w); - /** - @return the popupmenu for showing/hiding dockwidgets - - @short - */ - public native TQPopupMenu dockHideShowMenu(); - /** - @param dockName an internal TQObject name - @return the dockwidget that has got that internal TQObject name - - @short - */ - public native KDockWidget getDockWidgetFromName(String dockName); - /** - Enables opaque resizing. Opaque resizing defaults to TDEGlobalSettings.opaqueResize(). - Call this method before you create any dock widgets! - @short Enables opaque resizing. - */ - public native void setSplitterOpaqueResize(boolean b); - public native void setSplitterOpaqueResize(); - /** - Returns true if opaque resizing is enabled, false otherwise. - @short Returns true if opaque resizing is enabled, false otherwise. - */ - public native boolean splitterOpaqueResize(); - /** - Try to preserve the widget's size. Works like KeepSize resize mode - of TQSplitter. Off by default. - Call this method before you create any dock widgets! - @short Try to preserve the widget's size. - */ - public native void setSplitterKeepSize(boolean b); - public native void setSplitterKeepSize(); - /** - Returns true if the KeepSize is enabled, false otherwise. - @short Returns true if the KeepSize is enabled, false otherwise. - */ - public native boolean splitterKeepSize(); - /** - Operate the splitter with a higher resolution. Off by default. - Call this method before you create any dock widgets! - If high resolution is used all splitter position parameters - are percent*100 instead of percent. - @note Since KDE 3.5 this is ignored. Internally the splitter always - calcualtes in high resolution values. For KDE 4, this will be removed. - @short Operate the splitter with a higher resolution. - */ - public native void setSplitterHighResolution(boolean b); - public native void setSplitterHighResolution(); - /** - Returns true if the splitter uses the high resolution, false otherwise. - @short Returns true if the splitter uses the high resolution, false otherwise. - */ - public native boolean splitterHighResolution(); - /** - @short - */ - public native void setSpecialLeftDockContainer(KDockWidget container); - public native void setSpecialTopDockContainer(KDockWidget container); - public native void setSpecialRightDockContainer(KDockWidget container); - public native void setSpecialBottomDockContainer(KDockWidget container); - public native void removeFromAutoCreateList(KDockWidget pDockWidget); - public native void finishReadDockConfig(); - public native void setReadDockConfigMode(int mode); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockManagerSignals.java b/kdejava/koala/org/kde/koala/KDockManagerSignals.java deleted file mode 100644 index 3cc23e69..00000000 --- a/kdejava/koala/org/kde/koala/KDockManagerSignals.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KDockManagerSignals { - /** - Signals changes of the docking state of a dockwidget. Usually the dock-toolbar will be updated then. - @short Signals changes of the docking state of a dockwidget. - */ - void change(); - /** - Signals a dockwidget is replaced with another one. - @short Signals a dockwidget is replaced with another one. - */ - void replaceDock(KDockWidget oldDock, KDockWidget newDock); - /** - Signals a dockwidget without parent (toplevel) is shown. - @short Signals a dockwidget without parent (toplevel) is shown. - */ - void setDockDefaultPos(KDockWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDockTabGroup.java b/kdejava/koala/org/kde/koala/KDockTabGroup.java deleted file mode 100644 index 078c3668..00000000 --- a/kdejava/koala/org/kde/koala/KDockTabGroup.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQTabWidget; - -/** - - It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget class set). - An abstraction what it is currently. - In general it is like TQTabWidget but is more useful for the dockwidget class set. - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget class set). - -*/ -public class KDockTabGroup extends TQTabWidget { - protected KDockTabGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. It just calls the method of the base class. - @short Constructs this. - */ - public KDockTabGroup(TQWidget parent, String name) { - super((Class) null); - newKDockTabGroup(parent,name); - } - private native void newKDockTabGroup(TQWidget parent, String name); - public KDockTabGroup(TQWidget parent) { - super((Class) null); - newKDockTabGroup(parent); - } - private native void newKDockTabGroup(TQWidget parent); - public KDockTabGroup() { - super((Class) null); - newKDockTabGroup(); - } - private native void newKDockTabGroup(); - public native TQWidget transientTo(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidget.java b/kdejava/koala/org/kde/koala/KDockWidget.java deleted file mode 100644 index 9202ead6..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidget.java +++ /dev/null @@ -1,406 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - Floatable widget that can be dragged around with the mouse and - encapsulate the actual widgets (and member of the dockwidget class - set). - You just grip the double-lined panel, tear it off its parent - widget, drag it somewhere and let it loose. Depending on the - position where you leave it, the dockwidget becomes a toplevel - window on the desktop (floating mode) or docks to a new widget - (dock mode). Note: A KDockWidget can only be docked to a - KDockWidget. - If you want to use this kind of widget, your main application - window has to be a KDockMainWindow. That is because it has - got several additional dock management features, for instance a - KDockManager that has an overview over all dockwidgets and and - a dockmovemanager (internal class) that handles the dock process. - Usually you create an KDockWidget that covers the actual widget in this way: - <pre> - ... - KDockMainWindow mainWidget; - ... - KDockWidget dock = null; - dock = mainWidget.createDockWidget( "Any window caption", nicePixmap, null, i18n("window caption")); // null==no parent - TQWidget actualWidget = new TQWidget( dock); - dock.setWidget( actualWidget); // embed it - dock.setToolTipString(i18n("That's me")); // available when appearing as tab page - ... - </pre> - See KDockMainWindow how a dockwidget is docked in. - See {@link KDockWidgetSignals} for signals emitted by KDockWidget - @author Max Judin (documentation: Falk Brettschneider). - - @short Floatable widget that can be dragged around with the mouse and encapsulate the actual widgets (and member of the dockwidget class set). - -*/ -public class KDockWidget extends TQWidget { - protected KDockWidget(Class dummy){super((Class) null);} - /** - The possible positions where a dockwidget can dock to another dockwidget - @short The possible positions where a dockwidget can dock to another dockwidget - */ - public static final int DockNone = 0; - public static final int DockTop = 0x0001; - public static final int DockLeft = 0x0002; - public static final int DockRight = 0x0004; - public static final int DockBottom = 0x0008; - public static final int DockCenter = 0x0010; - public static final int DockDesktop = 0x0020; - public static final int DockToSpecialSites = 0x0040; - public static final int DockCorner = DockTop|DockLeft|DockRight|DockBottom; - public static final int DockFullSite = DockCorner|DockCenter; - public static final int DockFullDocking = DockFullSite|DockDesktop; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a dockwidget. - Initially, docking to another and docking to this is allowed for - every <code>DockPosition.</code> It is supposed to be no (tab) group. It will - taken under control of its dockmanager. - @param dockManager The responsible manager (dock helper) - @param name Object instance name - @param pixmap An icon (for instance shown when docked centered) - @param parent Parent widget - @param strCaption Title of the dockwidget window (shown when toplevel) - @param strTabPageLabel The title of the tab page (shown when in tab page mode), if it is "", only the icon will be shown, if it is null, the label is set to strCaption - @param f Qt.WidgetFlags widget flags - @short Construct a dockwidget. - */ - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel, int f) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent,strCaption,strTabPageLabel,f); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel, int f); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent,strCaption,strTabPageLabel); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent,strCaption); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap); - /** - This is a key method of this class! Use it to dock dockwidgets to - another dockwidget at the right position within its - KDockMainWindow or a toplevel dockwidget. - If the target is null, it will become a toplevel dockwidget at position pos; - Note: Docking to another dockwidget means exactly: - A new parent dockwidget will be created, that replaces the target dockwidget and contains another single helper widget (tab widget or panner) - which contains both dockwidgets, this and the target dockwidget. So consider parent<.child relationships change completely during such actions. - @param target The dockwidget to dock to - @param dockPos One of the DockPositions this is going to dock to - @param spliPos The split relation (in percent, or percent*100 in high resolution) between both dockwidgets, target and this - @param pos The dock position, mainly of interest for docking to the desktop (as toplevel dockwidget) - @param check Only for internal use; - @param tabIndex The position index of the tab widget (when in tab page mode), -1 (default) means append - @note Since KDE 3.5 the splitter position <code>spliPos</code> is always a value between [0..100]. If - the value is > 100, it will be treated like the old code and normalized to a value between - 0 and 100. Example: If the value was 4000, it will be fixed to 40. In short: The old and - the new behavior both work, so it is compatible with older KDE-versions. - @return result The group dockwidget that replaces the target dockwidget and will be grandparent of target and <code>this.</code> - - @short This is a key method of this class! Use it to dock dockwidgets to another dockwidget at the right position within its KDockMainWindow or a toplevel dockwidget. - */ - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos, boolean check, int tabIndex); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos, boolean check); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos); - public native KDockWidget manualDock(KDockWidget target, int dockPos); - /** - Specify where it is either possible or impossible for this to dock to another dockwidget. - @param pos An OR'ed set of <code>DockPositions</code> - @short Specify where it is either possible or impossible for this to dock to another dockwidget. - */ - public native void setEnableDocking(int pos); - /** - @return Where it is either possible or impossible for this to dock to another dockwidget (an OR'ed set of DockPositions). - - @short - */ - public native int enableDocking(); - /** - Specify where it is either possible or impossible for another dockwidget to dock to this. - @param pos An OR'ed set of <code>DockPositions</code> - @short Specify where it is either possible or impossible for another dockwidget to dock to this. - */ - public native void setDockSite(int pos); - /** - @return There it is either possible or impossible for another dockwidget to dock to this (an OR'ed set of <code>DockPositions</code>). - - @short - */ - public native int dockSite(); - /** - Sets the embedded widget. - A TQLayout takes care about proper resizing, automatically. - @param w The pointer to the dockwidget's child widget. - @short Sets the embedded widget. - */ - public native void setWidget(TQWidget w); - /** - Get the embedded widget. - @return The pointer to the dockwidget's child widget, 0L if there's no such child. - - @short Get the embedded widget. - */ - public native TQWidget getWidget(); - /** - Sets the header of this dockwidget. - A TQLayout takes care about proper resizing, automatically. - The header contains the drag panel, the close button and the stay button. - @param ah A base class pointer to the dockwidget header - @short Sets the header of this dockwidget. - */ - public native void setHeader(KDockWidgetAbstractHeader ah); - /** @since 3.2 - get the pointer to the header widget - @short @since 3. - */ - public native KDockWidgetAbstractHeader getHeader(); - /** - Normally it simply shows the dockwidget. - But additionally, if it is docked to a tab widget (<code>DockCenter</code>), it is set as the active (visible) tab page. - @short Normally it simply shows the dockwidget. - */ - public native void makeDockVisible(); - /** - There are reasons that it's impossible: - - <li> - It is a (tab) group. - </li> - - <li> - It is already invisible ;-) - </li> - - <li> - The parent of this is the KDockMainWindow. - </li> - - <li> - It isn't able to dock to another widget. - - </li> @return If it may be possible to hide this. - - @short - */ - public native boolean mayBeHide(); - /** - - <li> - It is a (tab) group. - </li> - - <li> - It is already visible ;-) - </li> - - <li> - The parent of this is the <code>KDockMainWindow.</code> - - </li> @return If it may be possible to show this. - There are reasons that it's impossible: - - @short - */ - public native boolean mayBeShow(); - /** - @return The dockmanager that is responsible for this. - - @short - */ - public native KDockManager dockManager(); - /** - Stores a string for a tooltip. - That tooltip string has only a meaning when this dockwidget is shown as tab page. - In this case the tooltip is shown when one holds the mouse cursor on the tab page header. - Such tooltip will for instance be useful, if you use only icons there. - Note: Setting an empty string switches the tooltip off. - @param ttStr A string for the tooltip on the tab. - @short Stores a string for a tooltip. - */ - public native void setToolTipString(String ttStr); - /** - @return The tooltip string being shown on the appropriate tab page header when in dock-centered mode. - - @short - */ - public native String toolTipString(); - /** - @return result <code>true</code>, if a dockback is possible, otherwise <code>false.</code> - - @short - */ - public native boolean isDockBackPossible(); - /** - Sets a string that is used for the label of the tab page when in tab page mode - @param label The new tab page label. - @short Sets a string that is used for the label of the tab page when in tab page mode - */ - public native void setTabPageLabel(String label); - /** - @return A string that is used for the label of the tab page when in tab page mode. - - @short - */ - public native String tabPageLabel(); - /** - Catches and processes some TQWidget events that are interesting for dockwidgets. - @short Catches and processes some TQWidget events that are interesting for dockwidgets. - */ - public native boolean event(TQEvent arg1); - /** - Add dockwidget management actions to TQWidget.show. - @short Add dockwidget management actions to TQWidget.show. - */ - public native void show(); - /** - @return the parent widget of this if it inherits class KDockTabGroup - - @short - */ - public native KDockTabGroup parentDockTabGroup(); - public native TQWidget parentDockContainer(); - /** - Sets the type of the dock window - @param windowType is type of dock window - @short Sets the type of the dock window - */ - public native void setDockWindowType(int windowType); - public native void setDockWindowTransient(TQWidget parent, boolean transientEnabled); - /** - Returns the widget this dockwidget is set transient to, otherwise 0 - @short Returns the widget this dockwidget is set transient to, otherwise 0 - */ - public native TQWidget transientTo(); - /** - Lookup the nearest dockwidget docked left/right/top/bottom to this one or return 0 - @param pos is the position the wanted widget is docked to this one - @short Lookup the nearest dockwidget docked left/right/top/bottom to this one or return 0 - */ - public native KDockWidget findNearestDockWidget(int pos); - /** - Allows changing the pixmap which is used for the caption or dock tabs - @param pixmap is the pixmap to set - @short Allows changing the pixmap which is used for the caption or dock tabs - */ - public native void setPixmap(TQPixmap pixmap); - public native void setPixmap(); - /** - Returns the dockwidget's associated caption/dock tab pixmap - @short Returns the dockwidget's associated caption/dock tab pixmap - */ - public native TQPixmap pixmap(); - /** - @return the current dock position. - - @short - */ - public native int currentDockPosition(); - /** - subject to changes. It doesn't completely work yet without small hacks from within the calling application (Perhaps - KDE 3.1.x oder 3.2 - width is in pixel. It only affects a widget, which is placed directly into a horizontal KDockSplitter - @short subject to changes. - */ - public native void setForcedFixedWidth(int arg1); - /** - subject to changes. It doesn't completely work yet without small hacks from within the calling application (Perhaps - KDE 3.1.x oder 3.2 - height is in pixel. It only affects a widget, which is placed directly into a vertical KDockSplitter - @short subject to changes. - */ - public native void setForcedFixedHeight(int arg1); - public native void restoreFromForcedFixedSize(); - public native int forcedFixedWidth(); - public native int forcedFixedHeight(); - /** - Docks a dockwidget back to the dockwidget that was the neighbor - widget before the current dock position. - @short Docks a dockwidget back to the dockwidget that was the neighbor widget before the current dock position. - */ - public native void dockBack(); - /** - Toggles the visibility state of the dockwidget if it is able to be shown or to be hidden. - @short Toggles the visibility state of the dockwidget if it is able to be shown or to be hidden. - */ - public native void changeHideShowState(); - /** - Undocks this. It means it becomes a toplevel widget framed by the system window manager. - A small panel at the top of this undocked widget gives the possibility to drag it into - another dockwidget by mouse (docking). - @short Undocks this. - */ - public native void undock(); - /** - Docks the widget to the desktop (as a toplevel widget) - @short Docks the widget to the desktop (as a toplevel widget) - */ - public native void toDesktop(); - /** - Checks some conditions and shows or hides the dockwidget header (drag panel). - The header is hidden if: - - <li> - the parent widget is the KDockMainWindow - </li> - - <li> - this is a (tab) group dockwidget - </li> - - <li> - it is not able to dock to another dockwidget - - </li> @short Checks some conditions and shows or hides the dockwidget header (drag panel). - */ - protected native void updateHeader(); - protected native void setLatestKDockContainer(TQWidget arg1); - protected native TQWidget latestKDockContainer(); - protected native void setFormerBrotherDockWidget(KDockWidget arg1); - /** Does several things here when it has noticed that the former brother widget (closest neighbor) gets lost. - The former brother widget is needed for a possible dockback action, to speak with the Beatles: - "To get back to where you once belonged" ;-) - @short Does several things here when it has noticed that the former brother widget (closest neighbor) gets lost. - */ - protected native void loseFormerBrotherDockWidget(); - protected native void paintEvent(TQPaintEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void leaveEvent(TQEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java deleted file mode 100644 index 4343e3a8..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQFrame; - -/** - - An abstract base clase for all dockwidget headers (and member of the dockwidget class set). - See the class description of KDockWidgetHeader! - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short An abstract base clase for all dockwidget headers (and member of the dockwidget class set). - -*/ -public class KDockWidgetAbstractHeader extends TQFrame { - protected KDockWidgetAbstractHeader(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget) - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetAbstractHeader(KDockWidget parent, String name) { - super((Class) null); - newKDockWidgetAbstractHeader(parent,name); - } - private native void newKDockWidgetAbstractHeader(KDockWidget parent, String name); - public KDockWidgetAbstractHeader(KDockWidget parent) { - super((Class) null); - newKDockWidgetAbstractHeader(parent); - } - private native void newKDockWidgetAbstractHeader(KDockWidget parent); - /** - Provides things concerning to switching to toplevel mode. Must be overridden by an inheriting class. - @short Provides things concerning to switching to toplevel mode. - */ - public native void setTopLevel(boolean arg1); - /** - Provides saving the current configuration. Must be overridden by an inheriting class. - @short Provides saving the current configuration. - */ - public native void saveConfig(TDEConfig arg1); - /** - Provides loading the current configuration. Must be overridden by an inheriting class - @short Provides loading the current configuration. - */ - public native void loadConfig(TDEConfig arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java deleted file mode 100644 index bdd75e63..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQFrame; - -/** - - An abstract class for all dockwidget drag-panels of a dockwidgets (and member of the dockwidget class set). - See the class description of KDockWidgetHeaderDrag! - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short An abstract class for all dockwidget drag-panels of a dockwidgets (and member of the dockwidget class set). - -*/ -public class KDockWidgetAbstractHeaderDrag extends TQFrame { - protected KDockWidgetAbstractHeaderDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget header) - @param dock the dockwidget where it belongs to - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name) { - super((Class) null); - newKDockWidgetAbstractHeaderDrag(parent,dock,name); - } - private native void newKDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name); - public KDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock) { - super((Class) null); - newKDockWidgetAbstractHeaderDrag(parent,dock); - } - private native void newKDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock); - /** - @return the dockwidget where this belongs to - - @short - */ - public native KDockWidget dockWidget(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetHeader.java b/kdejava/koala/org/kde/koala/KDockWidgetHeader.java deleted file mode 100644 index b9deeeee..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetHeader.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). - It have got the buttons located there. And it is for recording and reading the button states. - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). - -*/ -public class KDockWidgetHeader extends KDockWidgetAbstractHeader { - protected KDockWidgetHeader(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget) - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetHeader(KDockWidget parent, String name) { - super((Class) null); - newKDockWidgetHeader(parent,name); - } - private native void newKDockWidgetHeader(KDockWidget parent, String name); - public KDockWidgetHeader(KDockWidget parent) { - super((Class) null); - newKDockWidgetHeader(parent); - } - private native void newKDockWidgetHeader(KDockWidget parent); - /** - Hides the close button and stay button when switching to toplevel or vice versa shows them. - @param t toplevel or not - @short Hides the close button and stay button when switching to toplevel or vice versa shows them. - */ - public native void setTopLevel(boolean t); - /** - Sets the drag panel of this header. - @param nd A pointer to the new drag panel - @short Sets the drag panel of this header. - */ - public native void setDragPanel(KDockWidgetHeaderDrag nd); - /** - Get the drag panel of this header. - @short Get the drag panel of this header. - */ - public native KDockWidgetHeaderDrag dragPanel(); - public native boolean dragEnabled(); - public native void setDragEnabled(boolean b); - public native void showUndockButton(boolean show); - public native void forceCloseButtonHidden(boolean enable); - public native void forceCloseButtonHidden(); - /** - Saves the current button state to a KDE config container object. - @param c the configuration safe - @short Saves the current button state to a KDE config container object. - */ - public native void saveConfig(TDEConfig c); - /** - Loads the current button state from a KDE config container object. - @param c the configuration safe - @short Loads the current button state from a KDE config container object. - */ - public native void loadConfig(TDEConfig c); - // void addButton(KDockButton_Private* arg1); >>>> NOT CONVERTED - // void removeButton(KDockButton_Private* arg1); >>>> NOT CONVERTED - /** - Sets dragging the dockwidget off when the stay button is pressed down and vice versa. - @short Sets dragging the dockwidget off when the stay button is pressed down and vice versa. - */ - protected native void slotStayClicked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java b/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java deleted file mode 100644 index ffb698c5..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; - -/** - - This special widget is the panel one can grip with the mouses (and member of the dockwidget class set). - The widget for dragging, so to speak. - Usually it is located in the KDockWidgetHeader. - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short This special widget is the panel one can grip with the mouses (and member of the dockwidget class set). - -*/ -public class KDockWidgetHeaderDrag extends KDockWidgetAbstractHeaderDrag { - protected KDockWidgetHeaderDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget header) - @param dock the dockwidget where it belongs to - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name) { - super((Class) null); - newKDockWidgetHeaderDrag(parent,dock,name); - } - private native void newKDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name); - public KDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock) { - super((Class) null); - newKDockWidgetHeaderDrag(parent,dock); - } - private native void newKDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock); - /** - Draws the drag panel (a double line) - @short Draws the drag panel (a double line) - */ - protected native void paintEvent(TQPaintEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetSignals.java b/kdejava/koala/org/kde/koala/KDockWidgetSignals.java deleted file mode 100644 index 65a45469..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetSignals.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KDockWidgetSignals { - /** - @short - */ - void widgetSet(TQWidget arg1); - /** - Emitted when another dock widget is docking to this. - @param dw the dockwidget that is docking to this - @param dp the DockPosition where it wants to dock to - @short Emitted when another dock widget is docking to this. - */ - void docking(KDockWidget dw, int dp); - /** - Signals that the dock default position is set. - @short Signals that the dock default position is set. - */ - void setDockDefaultPos(); - /** - Emitted when the close button of the panel ( KDockWidgetHeader) has been clicked. - @short Emitted when the close button of the panel ( KDockWidgetHeader) has been clicked. - */ - void headerCloseButtonClicked(); - /** - Emitted when the dockback button of the panel ( KDockWidgetHeader) has been clicked. - @short Emitted when the dockback button of the panel ( KDockWidgetHeader) has been clicked. - */ - void headerDockbackButtonClicked(); - /** - Emitted when the widget processes a close event. - @short Emitted when the widget processes a close event. - */ - void iMBeingClosed(); - /** - Emitted when the widget has undocked. - @short Emitted when the widget has undocked. - */ - void hasUndocked(); -} diff --git a/kdejava/koala/org/kde/koala/KDoubleNumInput.java b/kdejava/koala/org/kde/koala/KDoubleNumInput.java deleted file mode 100644 index 4df5264e..00000000 --- a/kdejava/koala/org/kde/koala/KDoubleNumInput.java +++ /dev/null @@ -1,280 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -/** - - KDoubleNumInput combines a TQSpinBox and optionally a TQSlider - with a label to make an easy to use control for setting some float - parameter. This is especially nice for configuration dialogs, - which can have many such combinated controls. - The slider is created only when the user specifies a range - for the control using the setRange function with the slider - parameter set to "true". - A special feature of KDoubleNumInput, designed specifically for - the situation when there are several instances in a column, - is that you can specify what portion of the control is taken by the - TQSpinBox (the remaining portion is used by the slider). This makes - it very simple to have all the sliders in a column be the same size. - It uses the KDoubleValidator validator class. KDoubleNumInput - enforces the value to be in the given range, but see the class - documentation of KDoubleSpinBox for the tricky - interrelationship of precision and values. All of what is said - there applies here, too. - See {@link KDoubleNumInputSignals} for signals emitted by KDoubleNumInput - @short An input control for real numbers, consisting of a spinbox and a slider. - @see KIntNumInput - @see KDoubleSpinBox - -*/ -public class KDoubleNumInput extends KNumInput { - protected KDoubleNumInput(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an input control for double values - with initial value 0.00. - @short Constructs an input control for double values with initial value 0. - */ - public KDoubleNumInput(TQWidget parent, String name) { - super((Class) null); - newKDoubleNumInput(parent,name); - } - private native void newKDoubleNumInput(TQWidget parent, String name); - public KDoubleNumInput(TQWidget parent) { - super((Class) null); - newKDoubleNumInput(parent); - } - private native void newKDoubleNumInput(TQWidget parent); - public KDoubleNumInput() { - super((Class) null); - newKDoubleNumInput(); - } - private native void newKDoubleNumInput(); - /** - Constructor - @param lower lower boundary value - @param upper upper boundary value - @param value initial value for the control - @param step step size to use for up/down arrow clicks - @param precision number of digits after the decimal point - @param parent parent TQWidget - @param name internal name for this widget - @short Constructor - */ - public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step,precision,parent,name); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name); - public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step,precision,parent); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent); - public KDoubleNumInput(double lower, double upper, double value, double step, int precision) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step,precision); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision); - public KDoubleNumInput(double lower, double upper, double value, double step) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step); - public KDoubleNumInput(double lower, double upper, double value) { - super((Class) null); - newKDoubleNumInput(lower,upper,value); - } - private native void newKDoubleNumInput(double lower, double upper, double value); - /** - Constructor - the difference here is the "below" parameter. It tells this - instance that it is visually put below some other KNumInput - widget. Note that these two KNumInput's need not to have the - same parent widget or be in the same layout group. The effect - is that it'll adjust it's layout in correspondence with the - layout of the other KNumInput's (you can build an arbitrary long - chain). - @param below append KDoubleNumInput to the KDoubleNumInput chain - @param lower lower boundary value - @param upper upper boundary value - @param value initial value for the control - @param step step size to use for up/down arrow clicks - @param precision number of digits after the decimal point - @param parent parent TQWidget - @param name internal name for this widget - @short Constructor - */ - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step,precision,parent,name); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step,precision,parent); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step,precision); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value); - /** - @return the current value. - - @short - */ - public native double value(); - /** - @return the suffix. - - @short - @see #setSuffix - */ - public native String suffix(); - /** - @return the prefix. - - @short - @see #setPrefix - */ - public native String prefix(); - /** - @return the precision. - - @short - @see #setPrecision - */ - public native int precision(); - /** - @return the string displayed for a special value. - - @short - @see #setSpecialValueText - */ - public native String specialValueText(); - /** - @param min minimum value - @param max maximum value - @param step step size for the TQSlider - @param slider whether the slider is created or not - @short - */ - public native void setRange(double min, double max, double step, boolean slider); - public native void setRange(double min, double max, double step); - public native void setRange(double min, double max); - /** - Sets the minimum value. - @short Sets the minimum value. - */ - public native void setMinValue(double min); - /** - @return the minimum value. - - @short - */ - public native double minValue(); - /** - Sets the maximum value. - @short Sets the maximum value. - */ - public native void setMaxValue(double max); - /** - @return the maximum value. - - @short - */ - public native double maxValue(); - /** - Specifies the number of digits to use. - @short Specifies the number of digits to use. - */ - public native void setPrecision(int precision); - /** - @return the reference point for relativeValue calculation - - @short - */ - public native double referencePoint(); - /** - @return the current value in units of referencePoint. - - @short - */ - public native double relativeValue(); - /** - Sets the special value text. If set, the spin box will display - this text instead of the numeric value whenever the current - value is equal to minVal(). Typically this is used for indicating - that the choice has a special (default) meaning. - @short Sets the special value text. - */ - public native void setSpecialValueText(String text); - public native void setLabel(String label, int a); - public native void setLabel(String label); - public native TQSize minimumSizeHint(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** - Sets the value of the control. - @short Sets the value of the control. - */ - public native void setValue(double arg1); - /** - Sets the value in units of referencePoint. - @short Sets the value in units of referencePoint. - */ - public native void setRelativeValue(double arg1); - /** - Sets the reference Point to <code>ref.</code> It <code>ref</code> == 0, emitting of - relativeValueChanged is blocked and relativeValue - just returns 0. - @short Sets the reference Point to <code>ref.</code> - */ - public native void setReferencePoint(double ref); - /** - Sets the suffix to be displayed to <code>suffix.</code> Use null to disable - this feature. Note that the suffix is attached to the value without any - spacing. So if you prefer to display a space separator, set suffix - to something like " cm". - @short Sets the suffix to be displayed to <code>suffix.</code> - @see #setSuffix - */ - public native void setSuffix(String suffix); - /** - Sets the prefix to be displayed to <code>prefix.</code> Use null to disable - this feature. Note that the prefix is attached to the value without any - spacing. - @short Sets the prefix to be displayed to <code>prefix.</code> - @see #setPrefix - */ - public native void setPrefix(String prefix); - protected native void doLayout(); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void resetEditBox(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java b/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java deleted file mode 100644 index 1905387b..00000000 --- a/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KDoubleNumInputSignals { - /** - Emitted every time the value changes (by calling setValue() or - by user interaction). - @short Emitted every time the value changes (by calling setValue() or by user interaction). - */ - void valueChanged(double arg1); - /** - This is an overloaded member function, provided for - convenience. It essentially behaves like the above function. - Contains the value in units of referencePoint. - @short This is an overloaded member function, provided for convenience. - */ - void relativeValueChanged(double arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDoubleValidator.java b/kdejava/koala/org/kde/koala/KDoubleValidator.java deleted file mode 100644 index 28cf66d1..00000000 --- a/kdejava/koala/org/kde/koala/KDoubleValidator.java +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDoubleValidator; - -/** - - KDoubleValidator extends TQDoubleValidator to be - locale-aware. That means that - subject to not being disabled - - TDELocale.decimalSymbol(), TDELocale.thousandsSeparator() - and TDELocale.positiveSign() and TDELocale.negativeSign() - are respected. - @author Marc Mutz <mutz@kde.org> - - @short A locale-aware TQDoubleValidator. - @see KIntValidator - -*/ -public class KDoubleValidator extends TQDoubleValidator { - protected KDoubleValidator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** Constuct a locale-aware KDoubleValidator with default range - (whatever TQDoubleValidator uses for that) and parent <code>parent</code> @short Constuct a locale-aware KDoubleValidator with default range (whatever TQDoubleValidator uses for that) and parent <code>parent</code> - */ - public KDoubleValidator(TQObject parent, String name) { - super((Class) null); - newKDoubleValidator(parent,name); - } - private native void newKDoubleValidator(TQObject parent, String name); - public KDoubleValidator(TQObject parent) { - super((Class) null); - newKDoubleValidator(parent); - } - private native void newKDoubleValidator(TQObject parent); - /** Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal - point. @short Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal point. - */ - public KDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { - super((Class) null); - newKDoubleValidator(bottom,top,decimals,parent,name); - } - private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name); - public KDoubleValidator(double bottom, double top, int decimals, TQObject parent) { - super((Class) null); - newKDoubleValidator(bottom,top,decimals,parent); - } - private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent); - /** Overloaded for internal reasons. The API is not affected. @short Overloaded for internal reasons. - */ - public native int validate(StringBuffer input, int[] pos); - /** @return whether localized numbers are accepted (default: true) @short @return whether localized numbers are accepted (default: true) - */ - public native boolean acceptLocalizedNumbers(); - /** Sets whether to accept localized numbers (default: true) @short Sets whether to accept localized numbers (default: true) - */ - public native void setAcceptLocalizedNumbers(boolean accept); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDualColorButton.java b/kdejava/koala/org/kde/koala/KDualColorButton.java deleted file mode 100644 index 03474bf4..00000000 --- a/kdejava/koala/org/kde/koala/KDualColorButton.java +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - KDualColorButton allows the user to select two cascaded colors (usually a - foreground and background color). Other features include drag and drop - from other KDE color widgets, a reset to black and white control, and a - swap colors control. - When the user clicks on the foreground or background rectangle the - rectangle is first sunken and the currentChanged() signal is emitted. - Further clicks will present a color dialog and emit either the fgChanged() - or bgChanged() if a new color is selected. - Note: With drag and drop when dropping a color the current selected color - will be set, while when dragging a color it will use whatever color - rectangle the mouse was pressed inside. - \image html kdualcolorbutton.png "KDE Dual Color Button" - See {@link KDualColorButtonSignals} for signals emitted by KDualColorButton - @author Daniel M. Duley <mosfet@kde.org> - - @short A widget for selecting two related colors. - -*/ -public class KDualColorButton extends TQWidget { - protected KDualColorButton(Class dummy){super((Class) null);} - public static final int Foreground = 0; - public static final int Background = 1; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new KDualColorButton using the default black and white - colors. - @short Constructs a new KDualColorButton using the default black and white colors. - */ - public KDualColorButton(TQWidget parent, String name, TQWidget dialogParent) { - super((Class) null); - newKDualColorButton(parent,name,dialogParent); - } - private native void newKDualColorButton(TQWidget parent, String name, TQWidget dialogParent); - public KDualColorButton(TQWidget parent, String name) { - super((Class) null); - newKDualColorButton(parent,name); - } - private native void newKDualColorButton(TQWidget parent, String name); - public KDualColorButton(TQWidget parent) { - super((Class) null); - newKDualColorButton(parent); - } - private native void newKDualColorButton(TQWidget parent); - public KDualColorButton() { - super((Class) null); - newKDualColorButton(); - } - private native void newKDualColorButton(); - /** - Constructs a new KDualColorButton with the supplied foreground and - background colors. - @short Constructs a new KDualColorButton with the supplied foreground and background colors. - */ - public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name, TQWidget dialogParent) { - super((Class) null); - newKDualColorButton(fgColor,bgColor,parent,name,dialogParent); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name, TQWidget dialogParent); - public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name) { - super((Class) null); - newKDualColorButton(fgColor,bgColor,parent,name); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name); - public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent) { - super((Class) null); - newKDualColorButton(fgColor,bgColor,parent); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent); - public KDualColorButton(TQColor fgColor, TQColor bgColor) { - super((Class) null); - newKDualColorButton(fgColor,bgColor); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor); - /** - Returns the current foreground color. - @short Returns the current foreground color. - */ - public native TQColor foreground(); - /** - Returns the current background color. - @short Returns the current background color. - */ - public native TQColor background(); - /** - Returns the current color item selected by the user. - @short Returns the current color item selected by the user. - */ - public native int current(); - /** - Returns the color of the selected item. - @short Returns the color of the selected item. - */ - public native TQColor currentColor(); - /** - Returns the minimum size needed to display the widget and all its - controls. - @short Returns the minimum size needed to display the widget and all its controls. - */ - public native TQSize sizeHint(); - /** - Sets the foreground color. - @short Sets the foreground color. - */ - public native void setForeground(TQColor c); - /** - Sets the background color. - @short Sets the background color. - */ - public native void setBackground(TQColor c); - /** - Sets the current selected color item. - @short Sets the current selected color item. - */ - public native void setCurrent(int s); - /** - Sets the color of the selected item. - @short Sets the color of the selected item. - */ - public native void setCurrentColor(TQColor c); - /** - Sets the supplied rectangles to the proper size and position for the - current widget size. You can reimplement this to change the layout - of the widget. Restrictions are that the swap control will always - be at the top right, the reset control will always be at the bottom - left, and you must leave at least a 14x14 space in those corners. - @short Sets the supplied rectangles to the proper size and position for the current widget size. - */ - protected native void metrics(TQRect fgRect, TQRect bgRect); - protected native void paintEvent(TQPaintEvent ev); - protected native void mousePressEvent(TQMouseEvent ev); - protected native void mouseMoveEvent(TQMouseEvent ev); - protected native void mouseReleaseEvent(TQMouseEvent ev); - protected native void dragEnterEvent(TQDragEnterEvent ev); - protected native void dropEvent(TQDropEvent ev); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java b/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java deleted file mode 100644 index 1c67bd27..00000000 --- a/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; - -public interface KDualColorButtonSignals { - /** - Emitted when the foreground color is changed. - @short Emitted when the foreground color is changed. - */ - void fgChanged(TQColor c); - /** - Emitted when the background color is changed. - @short Emitted when the background color is changed. - */ - void bgChanged(TQColor c); - /** - Emitted when the user changes the current color selection. - @short Emitted when the user changes the current color selection. - */ - void currentChanged(int s); -} diff --git a/kdejava/koala/org/kde/koala/KEMailSettings.java b/kdejava/koala/org/kde/koala/KEMailSettings.java deleted file mode 100644 index 88b0f7f5..00000000 --- a/kdejava/koala/org/kde/koala/KEMailSettings.java +++ /dev/null @@ -1,124 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - This is just a small class to facilitate accessing e-mail settings in - a sane way, and allowing any program to manage multiple e-mail - profiles effortlessly - @author Alex Zepeda zipzippy@sonic.net - - @short This is just a small class to facilitate accessing e-mail settings in a sane way, and allowing any program to manage multiple e-mail profiles effortlessly - -*/ -public class KEMailSettings implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KEMailSettings(Class dummy){} - - /** - The list of settings that I thought of when I wrote this - class. Any extra settings thought of later can be accessed - easily with getExtendedSetting and setExtendedSetting. - @short The list of settings that I thought of when I wrote this class. - @see #getSetting - @see #setSetting - @see #getExtendedSetting - @see #setExtendedSetting - */ - public static final int ClientProgram = 0; - public static final int ClientTerminal = 1; - public static final int RealName = 2; - public static final int EmailAddress = 3; - public static final int ReplyToAddress = 4; - public static final int Organization = 5; - public static final int OutServer = 6; - public static final int OutServerLogin = 7; - public static final int OutServerPass = 8; - public static final int OutServerType = 9; - public static final int OutServerCommand = 10; - public static final int OutServerTLS = 11; - public static final int InServer = 12; - public static final int InServerLogin = 13; - public static final int InServerPass = 14; - public static final int InServerType = 15; - public static final int InServerMBXType = 16; - public static final int InServerTLS = 17; - - /** - The various extensions allowed. - @short The various extensions allowed. - */ - public static final int POP3 = 0; - public static final int SMTP = 1; - public static final int OTHER = 2; - - /** - Default constructor, just sets things up. - @short Default constructor, just sets things up. - */ - public KEMailSettings() { - newKEMailSettings(); - } - private native void newKEMailSettings(); - /** - List of profiles available. - @return the list of profiles - - @short List of profiles available. - */ - public native ArrayList profiles(); - /** - Returns the name of the current profile. - @return what profile we're currently using - - @short Returns the name of the current profile. - */ - public native String currentProfileName(); - /** - Change the current profile. - @param s the name of the new profile - @short Change the current profile. - */ - public native void setProfile(String s); - /** - Returns the name of the default profile. - @return the name of the one that's currently default null if none - - @short Returns the name of the default profile. - */ - public native String defaultProfileName(); - /** - Sets a new default. - @param def the new default - @short Sets a new default. - */ - public native void setDefault(String def); - /** - Get one of the predefined "basic" settings. - @param s the setting to get - @return the value of the setting, or null if not - set - - @short Get one of the predefined "basic" settings. - */ - public native String getSetting(int s); - /** - Set one of the predefined "basic" settings. - @param s the setting to set - @param v the new value of the setting, or null to - unset - @short Set one of the predefined "basic" settings. - */ - public native void setSetting(int s, String v); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdFind.java b/kdejava/koala/org/kde/koala/KEdFind.java deleted file mode 100644 index de1d8222..00000000 --- a/kdejava/koala/org/kde/koala/KEdFind.java +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - See {@link KEdFindSignals} for signals emitted by KEdFind -*/ -public class KEdFind extends KDialogBase { - protected KEdFind(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KEdFind(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKEdFind(parent,name,modal); - } - private native void newKEdFind(TQWidget parent, String name, boolean modal); - public KEdFind(TQWidget parent, String name) { - super((Class) null); - newKEdFind(parent,name); - } - private native void newKEdFind(TQWidget parent, String name); - public KEdFind(TQWidget parent) { - super((Class) null); - newKEdFind(parent); - } - private native void newKEdFind(TQWidget parent); - public KEdFind() { - super((Class) null); - newKEdFind(); - } - private native void newKEdFind(); - public native String getText(); - public native void setText(String string); - public native void setCaseSensitive(boolean b); - public native boolean case_sensitive(); - public native void setDirection(boolean b); - public native boolean get_direction(); - /** - @return the combobox containing the history of searches. Can be used - to save and restore the history. - - @short - */ - public native KHistoryCombo searchCombo(); - protected native void slotCancel(); - protected native void slotUser1(); - protected native void textSearchChanged(String arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdFindSignals.java b/kdejava/koala/org/kde/koala/KEdFindSignals.java deleted file mode 100644 index c92e23ef..00000000 --- a/kdejava/koala/org/kde/koala/KEdFindSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KEdFindSignals { - void search(); - void done(); -} diff --git a/kdejava/koala/org/kde/koala/KEdGotoLine.java b/kdejava/koala/org/kde/koala/KEdGotoLine.java deleted file mode 100644 index 92ec622e..00000000 --- a/kdejava/koala/org/kde/koala/KEdGotoLine.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** -*/ -public class KEdGotoLine extends KDialogBase { - protected KEdGotoLine(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KEdGotoLine(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKEdGotoLine(parent,name,modal); - } - private native void newKEdGotoLine(TQWidget parent, String name, boolean modal); - public KEdGotoLine(TQWidget parent, String name) { - super((Class) null); - newKEdGotoLine(parent,name); - } - private native void newKEdGotoLine(TQWidget parent, String name); - public KEdGotoLine(TQWidget parent) { - super((Class) null); - newKEdGotoLine(parent); - } - private native void newKEdGotoLine(TQWidget parent); - public KEdGotoLine() { - super((Class) null); - newKEdGotoLine(); - } - private native void newKEdGotoLine(); - public native int getLineNumber(); - public native void selected(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdReplace.java b/kdejava/koala/org/kde/koala/KEdReplace.java deleted file mode 100644 index 3af8fbab..00000000 --- a/kdejava/koala/org/kde/koala/KEdReplace.java +++ /dev/null @@ -1,67 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - See {@link KEdReplaceSignals} for signals emitted by KEdReplace -*/ -public class KEdReplace extends KDialogBase { - protected KEdReplace(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KEdReplace(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKEdReplace(parent,name,modal); - } - private native void newKEdReplace(TQWidget parent, String name, boolean modal); - public KEdReplace(TQWidget parent, String name) { - super((Class) null); - newKEdReplace(parent,name); - } - private native void newKEdReplace(TQWidget parent, String name); - public KEdReplace(TQWidget parent) { - super((Class) null); - newKEdReplace(parent); - } - private native void newKEdReplace(TQWidget parent); - public KEdReplace() { - super((Class) null); - newKEdReplace(); - } - private native void newKEdReplace(); - public native String getText(); - public native String getReplaceText(); - public native void setText(String arg1); - /** - @return the combobox containing the history of searches. Can be used - to save and restore the history. - - @short - */ - public native KHistoryCombo searchCombo(); - /** - @return the combobox containing the history of replaces. Can be used - to save and restore the history. - - @short - */ - public native KHistoryCombo replaceCombo(); - public native boolean case_sensitive(); - public native boolean get_direction(); - protected native void slotCancel(); - protected native void slotClose(); - protected native void slotUser1(); - protected native void slotUser2(); - protected native void slotUser3(); - protected native void textSearchChanged(String arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdReplaceSignals.java b/kdejava/koala/org/kde/koala/KEdReplaceSignals.java deleted file mode 100644 index 0a451f36..00000000 --- a/kdejava/koala/org/kde/koala/KEdReplaceSignals.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KEdReplaceSignals { - void replace(); - void find(); - void replaceAll(); - void done(); -} diff --git a/kdejava/koala/org/kde/koala/KEdit.java b/kdejava/koala/org/kde/koala/KEdit.java deleted file mode 100644 index b6e52757..00000000 --- a/kdejava/koala/org/kde/koala/KEdit.java +++ /dev/null @@ -1,193 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQTextStream; -import org.kde.qt.TQWidget; -import org.kde.qt.TQMultiLineEdit; - -/** - - A simple text editor for the %KDE project. - See {@link KEditSignals} for signals emitted by KEdit - @author Bernd Johannes Wuebben <wuebben@math.cornell.edu>, Waldo Bastian <bastian@kde.org> - - @short A simple text editor for the %KDE project. - -*/ -public class KEdit extends TQMultiLineEdit { - protected KEdit(Class dummy){super((Class) null);} - /** - Search directions. - @short Search directions. - */ - public static final int NONE = 0; - public static final int FORWARD = 1; - public static final int BACKWARD = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - The usual constructor. - @short The usual constructor. - */ - public KEdit(TQWidget _parent, String name) { - super((Class) null); - newKEdit(_parent,name); - } - private native void newKEdit(TQWidget _parent, String name); - public KEdit(TQWidget _parent) { - super((Class) null); - newKEdit(_parent); - } - private native void newKEdit(TQWidget _parent); - public KEdit() { - super((Class) null); - newKEdit(); - } - private native void newKEdit(); - /** - Insert text from the text stream into the edit widget. - @short Insert text from the text stream into the edit widget. - */ - public native void insertText(TQTextStream arg1); - /** - Save text from the edit widget to a text stream. - If <code>softWrap</code> is false soft line wrappings are replaced with line-feeds - If <code>softWrap</code> is true soft line wrappings are ignored. - @short Save text from the edit widget to a text stream. - */ - public native void saveText(TQTextStream arg1, boolean softWrap); - public native void saveText(TQTextStream arg1); - /** - Let the user select a font and set the font of the textwidget to that - selected font. - @short Let the user select a font and set the font of the textwidget to that selected font. - */ - public native void selectFont(); - /** - Present a search dialog to the user - @short Present a search dialog to the user - */ - public native void search(); - /** - Repeat the last search specified on the search dialog. - If the user hasn't searched for anything until now, this method - will simply return without doing anything. - @return <code>true</code> if a search was done. <code>false</code> if no search was done. - - @short Repeat the last search specified on the search dialog. - */ - public native boolean repeatSearch(); - /** - Present a Search and Replace Dialog to the user. - @short Present a Search and Replace Dialog to the user. - */ - public native void replace(); - /** - Present a "Goto Line" dialog to the user. - @short Present a "Goto Line" dialog to the user. - */ - public native void doGotoLine(); - /** - Clean up redundant whitespace from selected text. - @short Clean up redundant whitespace from selected text. - */ - public native void cleanWhiteSpace(); - /** - Install a context menu for KEdit. - The Popup Menu will be activated on a right mouse button press event. - @short Install a context menu for KEdit. - */ - public native void installRBPopup(TQPopupMenu arg1); - /** - Retrieve the current line number. - The current line is the line the cursor is on. - @short Retrieve the current line number. - */ - public native int currentLine(); - /** - Retrieve the actual column number the cursor is on. - This call differs - from TQMultiLineEdit.getCursorPosition() in that it returns the actual cursor - position and not the character position. Use currentLine() and currentColumn() - if you want to display the current line or column in the status bar for - example. - @short Retrieve the actual column number the cursor is on. - */ - public native int currentColumn(); - /** - Start spellchecking mode. - @short Start spellchecking mode. - */ - public native void spellcheck_start(); - /** - Exit spellchecking mode. - @short Exit spellchecking mode. - */ - public native void spellcheck_stop(); - /** - Allow the user to toggle between insert mode and overwrite mode with - the "Insert" key. See also toggle_overwrite_signal(); - The default is false: the user can not toggle. - @short Allow the user to toggle between insert mode and overwrite mode with the "Insert" key. - */ - public native void setOverwriteEnabled(boolean b); - public native String selectWordUnderCursor(); - public native TQPopupMenu createPopupMenu(TQPoint pos); - public native void setAutoUpdate(boolean b); - /** - @short - */ - public native void corrected(String originalword, String newword, int pos); - /** - @short - */ - public native void misspelling(String word, String[] arg2, int pos); - protected native void computePosition(); - protected native int doSearch(String s_pattern, boolean case_sensitive, boolean regex, boolean forward, int line, int col); - protected native int doReplace(String s_pattern, boolean case_sensitive, boolean regex, boolean forward, int line, int col, boolean replace); - /** - Sets line and col to the position pos, considering word wrap. - @short Sets line and col to the position pos, considering word wrap. - */ - protected native void posToRowCol(int pos, int line, int col); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - protected native void create(long arg1, boolean initializeWindow, boolean destroyOldWindow); - protected native void create(long arg1, boolean initializeWindow); - protected native void create(long arg1); - protected native void create(); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - public native void ensureCursorVisible(); - public native void setCursor(TQCursor arg1); - protected native void viewportPaintEvent(TQPaintEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void dragMoveEvent(TQDragMoveEvent e); - protected native void dragEnterEvent(TQDragEnterEvent e); - protected native void dropEvent(TQDropEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDropEvent(TQDropEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEditListBox.java b/kdejava/koala/org/kde/koala/KEditListBox.java deleted file mode 100644 index 26377d58..00000000 --- a/kdejava/koala/org/kde/koala/KEditListBox.java +++ /dev/null @@ -1,236 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListBox; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQGroupBox; - -/** - - An editable listbox - This class provides a editable listbox ;-), this means - a listbox which is accompanied by a line edit to enter new - items into the listbox and pushbuttons to add and remove - items from the listbox and two buttons to move items up and down. - \image html keditlistbox.png "KDE Edit List Box Widget" - See {@link KEditListBoxSignals} for signals emitted by KEditListBox - @short An editable listbox - -*/ -public class KEditListBox extends TQGroupBox { - protected KEditListBox(Class dummy){super((Class) null);} - - /** - Enumeration of the buttons, the listbox offers. Specify them in the - constructor in the buttons parameter, or in setButtons. - @short Enumeration of the buttons, the listbox offers. - */ - public static final int Add = 1; - public static final int Remove = 2; - public static final int UpDown = 4; - - public static final int All = Add|Remove|UpDown; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Create an editable listbox. - If <code>checkAtEntering</code> is true, after every character you type - in the line edit KEditListBox will enable or disable - the Add-button, depending whether the current content of the - line edit is already in the listbox. Maybe this can become a - performance hit with large lists on slow machines. - If <code>checkAtEntering</code> is false, - it will be checked if you press the Add-button. It is not - possible to enter items twice into the listbox. - @short Create an editable listbox. - */ - public KEditListBox(TQWidget parent, String name, boolean checkAtEntering, int buttons) { - super((Class) null); - newKEditListBox(parent,name,checkAtEntering,buttons); - } - private native void newKEditListBox(TQWidget parent, String name, boolean checkAtEntering, int buttons); - public KEditListBox(TQWidget parent, String name, boolean checkAtEntering) { - super((Class) null); - newKEditListBox(parent,name,checkAtEntering); - } - private native void newKEditListBox(TQWidget parent, String name, boolean checkAtEntering); - public KEditListBox(TQWidget parent, String name) { - super((Class) null); - newKEditListBox(parent,name); - } - private native void newKEditListBox(TQWidget parent, String name); - public KEditListBox(TQWidget parent) { - super((Class) null); - newKEditListBox(parent); - } - private native void newKEditListBox(TQWidget parent); - public KEditListBox() { - super((Class) null); - newKEditListBox(); - } - private native void newKEditListBox(); - /** - Create an editable listbox. - The same as the other constructor, additionally it takes - <code>title</code>, which will be the title of the frame around the listbox. - @short Create an editable listbox. - */ - public KEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering, int buttons) { - super((Class) null); - newKEditListBox(title,parent,name,checkAtEntering,buttons); - } - private native void newKEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering, int buttons); - public KEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering) { - super((Class) null); - newKEditListBox(title,parent,name,checkAtEntering); - } - private native void newKEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering); - public KEditListBox(String title, TQWidget parent, String name) { - super((Class) null); - newKEditListBox(title,parent,name); - } - private native void newKEditListBox(String title, TQWidget parent, String name); - public KEditListBox(String title, TQWidget parent) { - super((Class) null); - newKEditListBox(title,parent); - } - private native void newKEditListBox(String title, TQWidget parent); - public KEditListBox(String title) { - super((Class) null); - newKEditListBox(title); - } - private native void newKEditListBox(String title); - /** - Another constructor, which allows to use a custom editing widget - instead of the standard KLineEdit widget. E.g. you can use a - KURLRequester or a KComboBox as input widget. The custom - editor must consist of a lineedit and optionally another widget that - is used as representation. A KComboBox or a KURLRequester have a - KLineEdit as child-widget for example, so the KComboBox is used as - the representation widget. - @short Another constructor, which allows to use a custom editing widget instead of the standard KLineEdit widget. - @see KURLRequester#customEditor - */ - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4,bool arg5,int arg6); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4,bool arg5); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2); >>>> NOT CONVERTED - /** - Return a pointer to the embedded TQListBox. - @short Return a pointer to the embedded TQListBox. - */ - public native TQListBox listBox(); - /** - Return a pointer to the embedded TQLineEdit. - @short Return a pointer to the embedded TQLineEdit. - */ - public native KLineEdit lineEdit(); - /** - Return a pointer to the Add button - @short Return a pointer to the Add button - */ - public native TQPushButton addButton(); - /** - Return a pointer to the Remove button - @short Return a pointer to the Remove button - */ - public native TQPushButton removeButton(); - /** - Return a pointer to the Up button - @short Return a pointer to the Up button - */ - public native TQPushButton upButton(); - /** - Return a pointer to the Down button - @short Return a pointer to the Down button - */ - public native TQPushButton downButton(); - /** - See TQListBox.count() - @short See TQListBox.count() - */ - public native int count(); - /** - See TQListBox.insertStringList() - @short See TQListBox.insertStringList() - */ - public native void insertStringList(String[] list, int index); - public native void insertStringList(String[] list); - /** - See TQListBox.insertStringList() - @short See TQListBox.insertStringList() - */ - public native void insertStrList(String[] list, int index); - public native void insertStrList(String[] list); - /** - See TQListBox.insertStrList() - @short See TQListBox.insertStrList() - */ - public native void insertStrList(String[] list, int numStrings, int index); - /** - See TQListBox.insertItem() - @short See TQListBox.insertItem() - */ - public native void insertItem(String text, int index); - public native void insertItem(String text); - /** - Clears both the listbox and the line edit. - @short Clears both the listbox and the line edit. - */ - public native void clear(); - /** - See TQListBox.text() - @short See TQListBox.text() - */ - public native String text(int index); - /** - See TQListBox.currentItem() - @short See TQListBox.currentItem() - */ - public native int currentItem(); - /** - See TQListBox.currentText() - @short See TQListBox.currentText() - */ - public native String currentText(); - /** - @return a stringlist of all items in the listbox - - @short - */ - public native ArrayList items(); - /** - Clears the listbox and sets the contents to <code>items</code> - @short Clears the listbox and sets the contents to <code>items</code> - */ - public native void setItems(String[] items); - /** - Returns which buttons are visible - @short Returns which buttons are visible - */ - public native int buttons(); - /** - Specifies which buttons should be visible - @short Specifies which buttons should be visible - */ - public native void setButtons(int buttons); - protected native void moveItemUp(); - protected native void moveItemDown(); - protected native void addItem(); - protected native void removeItem(); - protected native void enableMoveButtons(int index); - protected native void typedSomething(String text); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEditListBoxSignals.java b/kdejava/koala/org/kde/koala/KEditListBoxSignals.java deleted file mode 100644 index d3ec12c1..00000000 --- a/kdejava/koala/org/kde/koala/KEditListBoxSignals.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListBox; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; - -public interface KEditListBoxSignals { - void changed(); - /** - This signal is emitted when the user adds a new string to the list, - the parameter is the added string. - @short This signal is emitted when the user adds a new string to the list, the parameter is the added string. - */ - void added(String text); - /** - This signal is emitted when the user removes a string from the list, - the parameter is the removed string. - @short This signal is emitted when the user removes a string from the list, the parameter is the removed string. - */ - void removed(String text); -} diff --git a/kdejava/koala/org/kde/koala/KEditSignals.java b/kdejava/koala/org/kde/koala/KEditSignals.java deleted file mode 100644 index 8f92b582..00000000 --- a/kdejava/koala/org/kde/koala/KEditSignals.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQTextStream; -import org.kde.qt.TQWidget; - -public interface KEditSignals { - /** This signal is emitted if the user dropped a URL over the text editor - TQMultiLineEdit widget. - Note that the user can drop also Text on it, but - this is already handled internally by TQMultiLineEdit. - @short This signal is emitted if the user dropped a URL over the text editor TQMultiLineEdit widget. - */ - void gotUrlDrop(TQDropEvent e); - /** This signal is emitted whenever the cursor position changes. - Use this in conjunction with currentLine(), currentColumn() - if you need to know the cursor position. - @short This signal is emitted whenever the cursor position changes. - */ - void CursorPositionChanged(); - /** - This signal is emitted if the user toggles from insert to overwrite mode - or vice versa. - The user can do so by pressing the "Insert" button on a PC keyboard. - This feature must be activated by calling setOverwriteEnabled(true) - first. - @short This signal is emitted if the user toggles from insert to overwrite mode or vice versa. - */ - void toggle_overwrite_signal(); -} diff --git a/kdejava/koala/org/kde/koala/KEditToolbar.java b/kdejava/koala/org/kde/koala/KEditToolbar.java deleted file mode 100644 index 7dae02a6..00000000 --- a/kdejava/koala/org/kde/koala/KEditToolbar.java +++ /dev/null @@ -1,242 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This dialog only works if your application uses the XML UI - framework for creating menus and toolbars. It depends on the XML - files to describe the toolbar layouts and it requires the actions - to determine which buttons are active. - Typically, you would include the KStdAction.configureToolbars() - standard action in your application. In your slot to this action, - you would have something like so: - <pre> - KEditToolbar dlg(actionCollection()); - if (dlg.exec()) - { - createGUI(); - } - </pre> - That code snippet also takes care of redrawing the menu and - toolbars if you have made any changes. - If you are using TDEMainWindow's settings methods (either save/apply manually - or autoSaveSettings), you should write something like: - <pre> - void MyClass.slotConfigureToolbars() - { - saveMainWindowSettings( TDEGlobal.config(), "MainWindow" ); - KEditToolbar dlg(actionCollection()); - connect(&dlg,SIGNAL("newToolbarConfig()"),this,SLOT("slotNewToolbarConfig()")); - dlg.exec(); - } - void MyClass.slotNewToolbarConfig() // This is called when OK, Apply or Defaults is clicked - { - ...if you use any action list, use plugActionList on each here... - createGUI(); - applyMainWindowSettings( TDEGlobal.config(), "MainWindow" ); - } - </pre> - Note that the procedure is a bit different for KParts applications. - In this case, you need only pass along a pointer to your - application's KXMLGUIFactory object. The editor will take care of - finding all of the action collections and XML files. The editor - aims to be semi-intelligent about where it assigns any - modifications. In other words, it will not write out part specific - changes to your shell's XML file. - An example would be: - <pre> - saveMainWindowSettings( TDEGlobal.config(), "MainWindow" ); - KEditToolbar dlg(factory()); - connect(&dlg,SIGNAL("newToolbarConfig()"),this,SLOT("slotNewToolbarConfig()")); - dlg.exec(); - void MyClass.slotNewToolbarConfig() // This is called when OK, Apply or Defaults is clicked - { - ...if you use any action list, use plugActionList on each here... - // Do NOT call createGUI()! - applyMainWindowSettings( TDEGlobal.config(), "MainWindow" ); - } - </pre> - See {@link KEditToolbarSignals} for signals emitted by KEditToolbar - @author Kurt Granroth <granroth@kde.org> - - @version $Id$ - - @short A dialog used to customize or configure toolbars. - -*/ -public class KEditToolbar extends KDialogBase { - protected KEditToolbar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor for apps that do not use components. - This is the - only entry point to this class. You <b>must</b> pass along your - collection of actions (some of which appear in your toolbars). - The other two parameters are optional. - The second parameter, xmlfile(), is the name (absolute or - relative) of your application's UI resource file. If it is - left blank, then the resource file: share/apps/appname/appnameui.rc - is used. This is the same resource file that is used by the - default createGUI() function in TDEMainWindow so you're usually - pretty safe in leaving it blank. - The third parameter, global(), controls whether or not the - global resource file is used. If this is <code>true</code>, then you may - edit all of the actions in your toolbars -- global ones and - local one. If it is <code>false</code>, then you may edit only your - application's entries. The only time you should set this to - false is if your application does not use the global resource - file at all (very rare). - @param collection The collection of actions to work on. - @param xmlfile The application's local resource file. - @param global If <code>true</code>, then the global resource file will also - be parsed. - @param parent The parent of the dialog. - @param name An internal name. - @short Constructor for apps that do not use components. - */ - public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(collection,xmlfile,global,parent,name); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); - public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbar(collection,xmlfile,global,parent); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global) { - super((Class) null); - newKEditToolbar(collection,xmlfile,global); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global); - public KEditToolbar(TDEActionCollection collection, String xmlfile) { - super((Class) null); - newKEditToolbar(collection,xmlfile); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile); - public KEditToolbar(TDEActionCollection collection) { - super((Class) null); - newKEditToolbar(collection); - } - private native void newKEditToolbar(TDEActionCollection collection); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent,name); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile,global); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection); - /** - Constructor for KParts based apps. - The main parameter, factory(), is a pointer to the - XML GUI factory object for your application. It contains a list - of all of the GUI clients (along with the action collections and - xml files) and the toolbar editor uses that. - Use this like so: - <pre> - KEditToolbar edit(factory()); - if ( edit.exec() ) - ... - </pre> - @param factory Your application's factory object - @param parent The usual parent for the dialog. - @param name An internal name. - Some people seem tempted to use this also in non-KParts apps, using TDEMainWindow.guiFactory(). - This works, but only _if_ setting conserveMemory to false when calling - TDEMainWindow.createGUI()! If not, use the other KEditToolbar constructor. - @short Constructor for KParts based apps. - */ - public KEditToolbar(KXMLGUIFactory factory, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(factory,parent,name); - } - private native void newKEditToolbar(KXMLGUIFactory factory, TQWidget parent, String name); - public KEditToolbar(KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbar(factory,parent); - } - private native void newKEditToolbar(KXMLGUIFactory factory, TQWidget parent); - public KEditToolbar(KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbar(factory); - } - private native void newKEditToolbar(KXMLGUIFactory factory); - /** Constructor for KParts based apps, which has an extra argument - specifying the toolbar to be shown. - @param defaultToolbar The toolbar with this name will appear for editing. - @param factory Your application's factory object - @param parent The usual parent for the dialog. - @param name An internal name. - @short Constructor for KParts based apps, which has an extra argument specifying the toolbar to be shown. - */ - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(defaultToolbar,factory,parent,name); - } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent, String name); - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbar(defaultToolbar,factory,parent); - } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent); - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbar(defaultToolbar,factory); - } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory); - /** Sets the default toolbar, which will be auto-selected when the constructor without the - defaultToolbar argument is used. - @param toolbarName the name of the toolbar - @short Sets the default toolbar, which will be auto-selected when the constructor without the defaultToolbar argument is used. - */ - public static native void setDefaultToolbar(String toolbarName); - /** - Overridden in order to save any changes made to the toolbars - @short Overridden in order to save any changes made to the toolbars - */ - protected native void slotOk(); - /** - idem - @short idem - */ - protected native void slotApply(); - /** should OK really save? - @short should OK really save? - */ - protected native void acceptOK(boolean b); - /** - Set toolbars to default value - @short Set toolbars to default value - */ - protected native void slotDefault(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEditToolbarSignals.java b/kdejava/koala/org/kde/koala/KEditToolbarSignals.java deleted file mode 100644 index 037bfb67..00000000 --- a/kdejava/koala/org/kde/koala/KEditToolbarSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KEditToolbarSignals { - /** - Signal emitted when 'apply' or 'ok' is clicked or toolbars were resetted. - Connect to it, to plug action lists and to call applyMainWindowSettings - (see sample code in this class's documentation) - @short Signal emitted when 'apply' or 'ok' is clicked or toolbars were resetted. - */ - void newToolbarConfig(); -} diff --git a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java deleted file mode 100644 index e6182b3c..00000000 --- a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java +++ /dev/null @@ -1,410 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQWidget; - -/** - - This is the widget that does all of the work for the - KEditToolbar dialog. In most cases, you will want to use the - dialog instead of this widget directly. - Typically, you would use this widget only if you wanted to embed - the toolbar editing directly into your existing configure or - preferences dialog. - This widget only works if your application uses the XML UI - framework for creating menus and toolbars. It depends on the XML - files to describe the toolbar layouts and it requires the actions - to determine which buttons are active. - See {@link KEditToolbarWidgetSignals} for signals emitted by KEditToolbarWidget - @author Kurt Granroth <granroth@kde.org> - - @version $Id$ - - @short A widget used to customize or configure toolbars. - -*/ -public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterface { - protected KEditToolbarWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. This is the only entry point to this class. You - <code>must</code> pass along your collection of actions (some of which - appear in your toolbars). The other three parameters are - optional. - The second parameter, xmlfile, is the name (absolute or - relative) of your application's UI resource file. If it is - left blank, then the resource file: share/apps/appname/appnameui.rc - is used. This is the same resource file that is used by the - default createGUI function in TDEMainWindow so you're usually - pretty safe in leaving it blank. - The third parameter, global, controls whether or not the - global resource file is used. If this is true, then you may - edit all of the actions in your toolbars -- global ones and - local one. If it is false, then you may edit only your - application's entries. The only time you should set this to - false is if your application does not use the global resource - file at all (very rare) - The last parameter, parent, is the standard parent stuff. - @param collection The collection of actions to work on - @param xmlfile The application's local resource file - @param global If true, then the global resource file will also - be parsed - @param parent This widget's parent - @short Constructor. - */ - public KEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(collection,xmlfile,global,parent); - } - private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global) { - super((Class) null); - newKEditToolbarWidget(collection,xmlfile,global); - } - private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global); - public KEditToolbarWidget(TDEActionCollection collection, String xmlfile) { - super((Class) null); - newKEditToolbarWidget(collection,xmlfile); - } - private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile); - public KEditToolbarWidget(TDEActionCollection collection) { - super((Class) null); - newKEditToolbarWidget(collection); - } - private native void newKEditToolbarWidget(TDEActionCollection collection); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection,file,global,parent); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global, TQWidget parent); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection,file,global); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection,file); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection); - /** - Constructor for KParts based apps. - The first parameter, factory, is a pointer to the XML GUI - factory object for your application. It contains a list of all - of the GUI clients (along with the action collections and xml - files) and the toolbar editor uses that. - The second parameter, parent, is the standard parent - Use this like so: - <pre> - KEditToolbar edit(factory()); - if ( edit.exec() ) - ... - </pre> - @param factory Your application's factory object - @param parent This widget's parent - @short Constructor for KParts based apps. - */ - public KEditToolbarWidget(KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(factory,parent); - } - private native void newKEditToolbarWidget(KXMLGUIFactory factory, TQWidget parent); - public KEditToolbarWidget(KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbarWidget(factory); - } - private native void newKEditToolbarWidget(KXMLGUIFactory factory); - public KEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,factory,parent); - } - private native void newKEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent); - public KEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,factory); - } - private native void newKEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory); - /** - @short - */ - public native TDEActionCollection actionCollection(); - /** - Save any changes the user made. The file will be in the user's - local directory (usually $HOME/.trinity/share/apps/\<appname\>). The - filename will be the one specified in the constructor.. or the - made up one if the filename was NULL. - @return The status of whether or not the save succeeded. - - @short Save any changes the user made. - */ - public native boolean save(); - /** - Remove and readd all KMXLGUIClients to update the GUI - @short Remove and readd all KMXLGUIClients to update the GUI - */ - public native void rebuildKXMLGUIClients(); - protected native void setupLayout(); - // void insertActive(ToolbarItem* arg1,TQListViewItem* arg2,bool arg3); >>>> NOT CONVERTED - // void insertActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED - // void removeActive(ToolbarItem* arg1); >>>> NOT CONVERTED - // void moveActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED - protected native void initNonKPart(TDEActionCollection collection, String file, boolean global); - protected native void initKPart(KXMLGUIFactory factory); - protected native void loadToolbarCombo(String defaultToolbar); - protected native void loadToolbarCombo(); - protected native void loadActionList(TQDomElement elem); - protected native void updateLocal(TQDomElement elem); - protected native void slotToolbarSelected(String text); - protected native void slotInactiveSelected(TQListViewItem item); - protected native void slotActiveSelected(TQListViewItem item); - protected native void slotDropped(TDEListView list, TQDropEvent e, TQListViewItem after); - protected native void slotInsertButton(); - protected native void slotRemoveButton(); - protected native void slotUpButton(); - protected native void slotDownButton(); - protected native void slotChangeIcon(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Retrieves an action of the client by name. If not found, it looks in its child clients. - This method is provided for convenience, as it uses actionCollection() - to get the action object. - @short Retrieves an action of the client by name. - */ - public native TDEAction action(String name); - /** - Retrieves an action for a given TQDomElement. The default - implementation uses the "name" attribute to query the action - object via the other action() method. - @short Retrieves an action for a given TQDomElement. - */ - public native TDEAction action(TQDomElement element); - /** - @return The instance ( TDEInstance ) for this GUI client. - - @short - */ - public native TDEInstanceInterface instance(); - /** - @return The parsed XML in a TQDomDocument, set by - setXMLFile() or setXML(). - This document describes the layout of the GUI. - - @short - */ - public native TQDomDocument domDocument(); - /** - This will return the name of the XML file as set by setXMLFile(). - If setXML() is used directly, then this will return NULL. - The filename that this returns is obvious for components as each - component has exactly one XML file. In non-components, however, - there are usually two: the global file and the local file. This - function doesn't really care about that, though. It will always - return the last XML file set. This, in almost all cases, will - be the local XML file. - @return The name of the XML file or null - - @short This will return the name of the XML file as set by setXMLFile(). - */ - public native String xmlFile(); - public native String localXMLFile(); - /** - @short - */ - public native void setXMLGUIBuildDocument(TQDomDocument doc); - /** - @short - */ - public native TQDomDocument xmlguiBuildDocument(); - /** - This method is called by the KXMLGUIFactory as soon as the client - is added to the KXMLGUIFactory's GUI. - @short This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. - */ - public native void setFactory(KXMLGUIFactory factory); - /** - Retrieves a pointer to the KXMLGUIFactory this client is - associated with (will return null if the client's GUI has not been built - by a KXMLGUIFactory. - @short Retrieves a pointer to the KXMLGUIFactory this client is associated with (will return 0L if the client's GUI has not been built by a KXMLGUIFactory. - */ - public native KXMLGUIFactory factory(); - /** - KXMLGUIClients can form a simple child/parent object tree. This - method returns a pointer to the parent client or null if it has no - parent client assigned. - @short KXMLGUIClients can form a simple child/parent object tree. - */ - public native KXMLGUIClientInterface parentClient(); - /** - Use this method to make a client a child client of another client. - Usually you don't need to call this method, as it is called - automatically when using the second constructor, which takes a - parent argument. - @short Use this method to make a client a child client of another client. - */ - public native void insertChildClient(KXMLGUIClientInterface child); - /** - Removes the given <code>child</code> from the client's children list. - @short Removes the given <code>child</code> from the client's children list. - */ - public native void removeChildClient(KXMLGUIClientInterface child); - /** - Retrieves a list of all child clients. - @short Retrieves a list of all child clients. - */ - // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED - /** - A client can have an own KXMLGUIBuilder. - Use this method to assign your builder instance to the client (so that the - KXMLGUIFactory can use it when building the client's GUI) - Client specific guibuilders are useful if you want to create - custom container widgets for your GUI. - @short A client can have an own KXMLGUIBuilder. - */ - public native void setClientBuilder(KXMLGUIBuilderInterface builder); - /** - Retrieves the client's GUI builder or null if no client specific - builder has been assigned via setClientBuilder() - @short Retrieves the client's GUI builder or 0L if no client specific builder has been assigned via setClientBuilder() - */ - public native KXMLGUIBuilderInterface clientBuilder(); - /** - Forces this client to re-read its XML resource file. This is - intended to be used when you know that the resource file has - changed and you will soon be rebuilding the GUI. It has no - useful effect with non-KParts GUIs, so don't bother using it - unless your app is component based. - @short Forces this client to re-read its XML resource file. - */ - public native void reloadXML(); - /** - ActionLists are a way for XMLGUI to support dynamic lists of - actions. E.g. if you are writing a file manager, and there is a - menu file whose contents depend on the mimetype of the file that - is selected, then you can achieve this using ActionLists. It - works as follows: - In your xxxui.rc file ( the one that you set in setXMLFile() - ), you put an <p>\<ActionList name="xxx"\></p> tag. E.g. - <pre> - <kpartgui name="xxx_part" version="1"> - <MenuBar> - <Menu name="file"> - ... <!-- some useful actions-. - <ActionList name="xxx_file_actionlist" /> - ... <!-- even more useful actions-. - </Menu> - ... - </MenuBar> - </kpartgui> - </pre> - This tag will get expanded to a list of actions. In the example - above ( a file manager with a dynamic file menu ), you would call - <pre> - TQPtrList<TDEAction> file_actions; - for( ... ) - if( ... ) - file_actions.append( cool_action ); - unplugActionList( "xxx_file_actionlist" ); - plugActionList( "xxx_file_actionlist", file_actions ); - </pre> - every time a file is selected, unselected or ... - <b>Note:<> You should not call createGUI() after calling this - function. In fact, that would remove the newly added - actionlists again... - <b>Note:<> Forgetting to call unplugActionList() before - plugActionList() would leave the previous actions in the - menu too.. - @short ActionLists are a way for XMLGUI to support dynamic lists of actions. - */ - // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED - /** - The complement of plugActionList() ... - @short The complement of plugActionList() . - */ - public native void unplugActionList(String name); - public native void addStateActionEnabled(String state, String action); - public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(TQWidget arg1); - public native void endXMLPlug(); - public native void prepareXMLUnplug(TQWidget arg1); - public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); - /** - Sets the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor. - (At least before setXMLFile().) - @short Sets the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Sets the name of the rc file containing the XML for the part. - Call this in the Part-inherited class constructor. - @param file Either an absolute path for the file, or simply the - filename, which will then be assumed to be installed - in the "data" resource, under a directory named like - the instance. - @param merge Whether to merge with the global document. - @param setXMLDoc Specify whether to call setXML. Default is true. - and the DOM document at once. - @short Sets the name of the rc file containing the XML for the part. - */ - protected native void setXMLFile(String file, boolean merge, boolean setXMLDoc); - protected native void setXMLFile(String file, boolean merge); - protected native void setXMLFile(String file); - protected native void setLocalXMLFile(String file); - /** - Sets the XML for the part. - Call this in the Part-inherited class constructor if you - don't call setXMLFile(). - @short Sets the XML for the part. - */ - protected native void setXML(String document, boolean merge); - protected native void setXML(String document); - /** - Sets the Document for the part, describing the layout of the GUI. - Call this in the Part-inherited class constructor if you don't call - setXMLFile or setXML . - @short Sets the Document for the part, describing the layout of the GUI. - */ - protected native void setDOMDocument(TQDomDocument document, boolean merge); - protected native void setDOMDocument(TQDomDocument document); - /** - This function will attempt to give up some memory after the GUI - is built. It should never be used in apps where the GUI may be - rebuilt at some later time (components, for instance). - @short This function will attempt to give up some memory after the GUI is built. - */ - protected native void conserveMemory(); - /** - Actions can collectively be assigned a "State". To accomplish this - the respective actions are tagged as \<enable\> or \<disable\> in - a \<State\> \</State\> group of the XMLfile. During program execution the - programmer can call stateChanged() to set actions to a defined state. - @param newstate Name of a State in the XMLfile. - @param reverse If the flag reverse is set to StateReverse, the State is reversed. - (actions to be enabled will be disabled and action to be disabled will be enabled) - Default is reverse=false. - @short Actions can collectively be assigned a "State". - */ - protected native void stateChanged(String newstate, int reverse); - protected native void stateChanged(String newstate); -} diff --git a/kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java b/kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java deleted file mode 100644 index 52d75581..00000000 --- a/kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KEditToolbarWidgetSignals { - /** - Emitted whenever any modifications are made by the user. - @short Emitted whenever any modifications are made by the user. - */ - void enableOk(boolean arg1); -} diff --git a/kdejava/koala/org/kde/koala/KEntry.java b/kdejava/koala/org/kde/koala/KEntry.java deleted file mode 100644 index 3e620bb1..00000000 --- a/kdejava/koala/org/kde/koala/KEntry.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - map/dict/list config node entry. - @short map/dict/list config node entry. - -*/ -public class KEntry implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KEntry(Class dummy){} - - public KEntry() { - newKEntry(); - } - private native void newKEntry(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEntryKey.java b/kdejava/koala/org/kde/koala/KEntryKey.java deleted file mode 100644 index c2181298..00000000 --- a/kdejava/koala/org/kde/koala/KEntryKey.java +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - key structure holding both the actual key and the the group - to which it belongs. - @short key structure holding both the actual key and the the group to which it belongs. - -*/ -public class KEntryKey implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KEntryKey(Class dummy){} - - public KEntryKey(String _group, String _key) { - newKEntryKey(_group,_key); - } - private native void newKEntryKey(String _group, String _key); - public KEntryKey(String _group) { - newKEntryKey(_group); - } - private native void newKEntryKey(String _group); - public KEntryKey() { - newKEntryKey(); - } - private native void newKEntryKey(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KExecMimeType.java b/kdejava/koala/org/kde/koala/KExecMimeType.java deleted file mode 100644 index 829fcdd2..00000000 --- a/kdejava/koala/org/kde/koala/KExecMimeType.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; - -/** - - The mime type for executable files. - @short MimeType for any executable, like /bin/ls. - -*/ -public class KExecMimeType extends KMimeType { - protected KExecMimeType(Class dummy){super((Class) null);} - /** - Construct a executable mimetype and take all information from a desktop file. - @param config the desktop configuration file that describes the mime type - @short Construct a executable mimetype and take all information from a desktop file. - */ - public KExecMimeType(KDesktopFile config) { - super((Class) null); - newKExecMimeType(config); - } - private native void newKExecMimeType(KDesktopFile config); - /** \internal @short \internal - */ - public KExecMimeType(TQDataStream _str, int offset) { - super((Class) null); - newKExecMimeType(_str,offset); - } - private native void newKExecMimeType(TQDataStream _str, int offset); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFile.java b/kdejava/koala/org/kde/koala/KFile.java deleted file mode 100644 index 9de3ff61..00000000 --- a/kdejava/koala/org/kde/koala/KFile.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KFile is a class which provides a namespace for some enumerated - values associated with the tdefile library. You will never need to - construct a KFile object itself. - @short KFile is a class which provides a namespace for some enumerated values associated with the tdefile library. - -*/ -public class KFile implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFile(Class dummy){} - - /** - Modes of operation for the dialog. - - <li> - <code>File</code> - Get a single file name from the user. - </li> - - <li> - <code>Directory</code> - Get a directory name from the user. - </li> - - <li> - <code>Files</code> - Get multiple file names from the user. - </li> - - <li> - <code>ExistingOnly</code> - Never return a filename which does not exist yet - </li> - - <li> - <code>LocalOnly</code> - Don't return remote filenames - - </li> @short Modes of operation for the dialog. - */ - public static final int File = 1; - public static final int Directory = 2; - public static final int Files = 4; - public static final int ExistingOnly = 8; - public static final int LocalOnly = 16; - public static final int ModeMax = 65536; - - public static final int Default = 0; - public static final int Simple = 1; - public static final int Detail = 2; - public static final int SeparateDirs = 4; - public static final int PreviewContents = 8; - public static final int PreviewInfo = 16; - public static final int FileViewMax = 65536; - - public static final int Single = 1; - public static final int Multi = 2; - public static final int Extended = 4; - public static final int NoSelection = 8; - - public KFile() { - newKFile(); - } - private native void newKFile(); - public static native boolean isSortByName(int sort); - public static native boolean isSortBySize(int sort); - public static native boolean isSortByDate(int sort); - public static native boolean isSortDirsFirst(int sort); - public static native boolean isSortCaseInsensitive(int sort); - public static native boolean isDefaultView(int view); - public static native boolean isSimpleView(int view); - public static native boolean isDetailView(int view); - public static native boolean isSeparateDirs(int view); - public static native boolean isPreviewContents(int view); - /** - @short - */ - public static native boolean isPreviewInfo(int view); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileDetailView.java b/kdejava/koala/org/kde/koala/KFileDetailView.java deleted file mode 100644 index 3a07436c..00000000 --- a/kdejava/koala/org/kde/koala/KFileDetailView.java +++ /dev/null @@ -1,229 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQScrollView; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -/** - - A list-view capable of showing KFileItem'. Used in the filedialog - for example. Most of the documentation is in KFileView class. - See {@link KFileDetailViewSignals} for signals emitted by KFileDetailView - @short A list-view capable of showing KFileItem'. - @see KDirOperator - @see KCombiView - @see KFileIconView - -*/ -public class KFileDetailView extends TDEListView implements KFileViewInterface { - protected KFileDetailView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KFileDetailView(TQWidget parent, String name) { - super((Class) null); - newKFileDetailView(parent,name); - } - private native void newKFileDetailView(TQWidget parent, String name); - public native TQWidget widget(); - public native void clearView(); - public native void setAutoUpdate(boolean arg1); - public native void setSelectionMode(int sm); - public native void updateView(boolean arg1); - public native void updateView(KFileItem arg1); - public native void removeItem(KFileItem arg1); - public native void listingCompleted(); - public native void setSelected(KFileItem arg1, boolean arg2); - public native boolean isSelected(KFileItem i); - public native void clearSelection(); - public native void selectAll(); - public native void invertSelection(); - public native void setCurrentItem(KFileItem arg1); - public native KFileItem currentFileItem(); - public native KFileItem firstFileItem(); - public native KFileItem nextItem(KFileItem arg1); - public native KFileItem prevItem(KFileItem arg1); - public native void insertItem(KFileItem i); - public native void setSorting(int arg1); - public native void ensureItemVisible(KFileItem arg1); - public native void mimeTypeDeterminationFinished(); - public native void determineIcon(KFileListViewItem item); - public native TQScrollView scrollWidget(); - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native TQDragObject dragObject(); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDropEvent(TQDropEvent ev); - protected native boolean acceptDrag(TQDropEvent e); - protected native void slotSelectionChanged(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - inserts a list of items. - @short inserts a list of items. - */ - public native void addItemList(ArrayList list); - /** - Sets <code>filename</code> the current item in the view, if available. - @short Sets <code>filename</code> the current item in the view, if available. - */ - public native void setCurrentItem(String filename); - /** - Clears the view and all item lists. - @short Clears the view and all item lists. - */ - public native void clear(); - public native void updateView(); - /** - Returns the sorting order of the internal list. Newly added files - are added through this sorting. - @short Returns the sorting order of the internal list. - */ - public native int sorting(); - /** - Tells whether the current items are in reversed order (shortcut to - sorting() & TQDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). - */ - public native boolean isReversed(); - public native void sortReversed(); - /** - @return the number of dirs and files - - @short - */ - public native int count(); - /** - @return the number of files. - - @short - */ - public native int numFiles(); - /** - @return the number of directories - - @short - */ - public native int numDirs(); - public native void setViewMode(int vm); - public native int viewMode(); - /** - @return the localized name of the view, which could be displayed - somewhere, e.g. in a menu, where the user can choose between views. - - @short - @see #setViewName - */ - public native String viewName(); - /** - Sets the name of the view, which could be displayed somewhere. - E.g. "Image Preview". - @short Sets the name of the view, which could be displayed somewhere. - */ - public native void setViewName(String name); - public native void setParentView(KFileViewInterface parent); - /** - @return all currently highlighted items. - - @short - */ - public native ArrayList selectedItems(); - /** - @return all items currently available in the current sort-order - - @short - */ - public native ArrayList items(); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - Every view has to decide when to call select( item ) when a file was - single-clicked, based on onlyDoubleClickSelectsFiles(). - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - increases the number of dirs and files. - @return true if the item fits the view mode - - @short increases the number of dirs and files. - */ - public native boolean updateNumbers(KFileItem i); - /** - @return the view-specific action-collection. Every view should - add its actions here (if it has any) to make them available to - e.g. the KDirOperator's popup-menu. - - @short - */ - public native TDEActionCollection actionCollection(); - public native KFileViewSignaler signaler(); - /** - Specify DND options. See DropOptions for details. - All options are disabled by default. - @short Specify DND options. - */ - public native void setDropOptions(int options); - /** - Returns the DND options in effect. - See DropOptions for details. - @short Returns the DND options in effect. - */ - public native int dropOptions(); - /** - This method calculates a String from the given parameters, that is - suitable for sorting with e.g. TQIconView or TQListView. Their - Item-classes usually have a setKey( String ) method or a virtual - method String key() that is used for sorting. - @param value Any string that should be used as sort criterion - @param isDir Tells whether the key is computed for an item representing - a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of TQDir.SortSpec flags. - Currently, the values IgnoreCase, Reversed and - DirsFirst are taken into account. - @short This method calculates a String from the given parameters, that is suitable for sorting with e. - */ - public static native String sortingKey(String value, boolean isDir, int sortSpec); - /** - An overloaded method that takes not a String, but a number as sort - criterion. You can use this for file-sizes or dates/times for example. - If you use a time_t, you need to cast that to TDEIO.filesize_t because - of ambiguity problems. - @short An overloaded method that takes not a String, but a number as sort criterion. - */ - public static native String sortingKey(long value, boolean isDir, int sortSpec); - /** - delay before auto opening a directory - @short - */ - public static native int autoOpenDelay(); - protected native void setDropOptions_impl(int options); -} diff --git a/kdejava/koala/org/kde/koala/KFileDetailViewSignals.java b/kdejava/koala/org/kde/koala/KFileDetailViewSignals.java deleted file mode 100644 index 363a59e8..00000000 --- a/kdejava/koala/org/kde/koala/KFileDetailViewSignals.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQScrollView; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -public interface KFileDetailViewSignals { - /** - The user dropped something. - <code>fileItem</code> points to the item dropped on or can be 0 if the - user dropped on empty space. - @short The user dropped something. - */ - void dropped(TQDropEvent event, KFileItem fileItem); - /** - The user dropped the URLs <code>urls.</code> - <code>url</code> points to the item dropped on or can be empty if the - user dropped on empty space. - @short The user dropped the URLs <code>urls.</code> - */ - void dropped(TQDropEvent event, ArrayList urls, KURL url); -} diff --git a/kdejava/koala/org/kde/koala/KFileDialog.java b/kdejava/koala/org/kde/koala/KFileDialog.java deleted file mode 100644 index 6c790874..00000000 --- a/kdejava/koala/org/kde/koala/KFileDialog.java +++ /dev/null @@ -1,874 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; - -/** - - Provides a user (and developer) friendly way to - select files and directories. - The widget can be used as a drop in replacement for the - TQFileDialog widget, but has greater functionality and a nicer GUI. - You will usually want to use one of the static methods - getOpenFileName(), getSaveFileName(), getOpenURL() - or for multiple files getOpenFileNames() or getOpenURLs(). - The dialog has been designed to allow applications to customise it - by subclassing. It uses geometry management to ensure that subclasses - can easily add children that will be incorporated into the layout. - \image html tdefiledialog.png "KDE File Dialog" - See {@link KFileDialogSignals} for signals emitted by KFileDialog - @author Richard J. Moore <rich@kde.org>, Carsten Pfeiffer <pfeiffer@kde.org> - - @short A file selection dialog. - -*/ -public class KFileDialog extends KDialogBase { - protected KFileDialog(Class dummy){super((Class) null);} - /** - Defines some default behavior of the filedialog. - E.g. in mode <code>Opening</code> and <code>Saving</code>, the selected files/urls will - be added to the "recent documents" list. The Saving mode also implies - setKeepLocation() being set. - <code>Other</code> means that no default actions are performed. - @short Defines some default behavior of the filedialog. - @see #setOperationMode - @see #operationMode - */ - public static final int Other = 0; - public static final int Opening = 1; - public static final int Saving = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a file dialog. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter A shell glob or a mime-type-filter that specifies - which files to display. - @param parent The parent widget of this dialog - @param name The name of this object - @param modal Whether to create a modal dialog or not - See setFilter() for details on how to use this argument. - @short Constructs a file dialog. - */ - public KFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKFileDialog(startDir,filter,parent,name,modal); - } - private native void newKFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal); - /** - Constructs a file dialog. - The parameters here are identical to the first constructor except - for the addition of a TQWidget parameter. - Historical note: The original version of KFileDialog did not have this extra - parameter. It was added later, and, in order to maintain binary compatibility, - it was placed in a new constructor instead of added to the original one. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter A shell glob or a mime-type-filter that specifies - which files to display. - See setFilter() for details on how to use this argument. - @param widget A widget, or a widget of widgets, for displaying custom - data in the dialog. This can be used, for example, to - display a check box with the caption "Open as read-only". - When creating this widget, you don't need to specify a parent, - since the widget's parent will be set automatically by KFileDialog. - @param parent The parent widget of this dialog - @param name The name of this object - @param modal Whether to create a modal dialog or not - @short Constructs a file dialog. - */ - public KFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal, TQWidget widget) { - super((Class) null); - newKFileDialog(startDir,filter,parent,name,modal,widget); - } - private native void newKFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal, TQWidget widget); - /** - @return The selected fully qualified filename. - - @short - */ - public native KURL selectedURL(); - /** - @return The list of selected URLs. - - @short - */ - public native ArrayList selectedURLs(); - /** - @return the currently shown directory. - - @short - */ - public native KURL baseURL(); - /** - Returns the full path of the selected file in the local filesystem. - (Local files only) - @short Returns the full path of the selected file in the local filesystem. - */ - public native String selectedFile(); - /** - Returns a list of all selected local files. - @short Returns a list of all selected local files. - */ - public native ArrayList selectedFiles(); - /** - Sets the directory to view. - @param url URL to show. - @param clearforward Indicates whether the forward queue - should be cleared. - @short Sets the directory to view. - */ - public native void setURL(KURL url, boolean clearforward); - public native void setURL(KURL url); - /** - Sets the file name to preselect to <code>name</code> - This takes absolute URLs and relative file names. - @short Sets the file name to preselect to <code>name</code> - */ - public native void setSelection(String name); - /** - Sets the operational mode of the filedialog to <code>Saving</code>, <code>Opening</code> - or <code>Other.</code> This will set some flags that are specific to loading - or saving files. E.g. setKeepLocation() makes mostly sense for - a save-as dialog. So setOperationMode( KFileDialog.Saving ); sets - setKeepLocation for example. - The mode <code>Saving</code>, together with a default filter set via - setMimeFilter() will make the filter combobox read-only. - The default mode is <code>Opening.</code> - Call this method right after instantiating KFileDialog. - @short Sets the operational mode of the filedialog to <code>Saving</code>, <code>Opening</code> or <code>Other.</code> - @see #operationMode - @see KFileDialog#OperationMode - */ - public native void setOperationMode(int arg1); - /** - @return the current operation mode, Opening, Saving or Other. Default - is Other. - - @short - @see #operationMode - @see KFileDialog#OperationMode - */ - public native int operationMode(); - /** - Sets whether the filename/url should be kept when changing directories. - This is for example useful when having a predefined filename where - the full path for that file is searched. - This is implicitly set when operationMode() is KFileDialog.Saving - getSaveFileName() and getSaveURL() set this to true by default, so that - you can type in the filename and change the directory without having - to type the name again. - @short Sets whether the filename/url should be kept when changing directories. - */ - public native void setKeepLocation(boolean keep); - /** - @return whether the contents of the location edit are kept when - changing directories. - - @short - */ - public native boolean keepsLocation(); - /** - Sets the filter to be used to <code>filter.</code> - You can set more - filters for the user to select separated by '\n'. Every - filter entry is defined through namefilter|text to diplay. - If no | is found in the expression, just the namefilter is - shown. Examples: - <pre> - tdefile.setFilter("*.cpp|C++ Source Files\n.h|Header files"); - tdefile.setFilter("*.cpp"); - tdefile.setFilter("*.cpp|Sources (.cpp)"); - tdefile.setFilter("*.cpp|" + i18n("Sources (.cpp)")); - tdefile.setFilter("*.cpp .cc .C|C++ Source Files\n.h .H|Header files"); - </pre> - Note: The text to display is not parsed in any way. So, if you - want to show the suffix to select by a specific filter, you must - repeat it. - If the filter contains an unescaped '/', a mimetype-filter is assumed. - If you would like a '/' visible in your filter it can be escaped with - a '\'. You can specify multiple mimetypes like this (separated with - space): - <pre> - tdefile.setFilter( "image/png text/html text/plain" ); - tdefile.setFilter( "*.cue|CUE\\/BIN Files (.cue)" ); - </pre> - @short Sets the filter to be used to <code>filter.</code> - @see #filterChanged - @see #setMimeFilter - */ - public native void setFilter(String filter); - /** - Returns the current filter as entered by the user or one of the - predefined set via setFilter(). - @short Returns the current filter as entered by the user or one of the predefined set via setFilter(). - @see #setFilter - @see #filterChanged - */ - public native String currentFilter(); - /** - Returns the mimetype for the desired output format. - This is only valid if setFilterMimeType() has been called - previously. - @short Returns the mimetype for the desired output format. - @see #setFilterMimeType - */ - // KMimeType::Ptr currentFilterMimeType(); >>>> NOT CONVERTED - /** - Sets the filter up to specify the output type. - @param types a list of mimetypes that can be used as output format - @param defaultType the default mimetype to use as output format, if any. - If <code>defaultType</code> is set, it will be set as the current item. - Otherwise, a first item showing all the mimetypes will be created. - Typically, <code>defaultType</code> should be empty for loading and set for saving. - Do not use in conjunction with setFilter() - @short Sets the filter up to specify the output type. - */ - public native void setMimeFilter(String[] types, String defaultType); - public native void setMimeFilter(String[] types); - /** - The mimetype for the desired output format. - This is only valid if setMimeFilter() has been called - previously. - @short The mimetype for the desired output format. - @see #setMimeFilter - */ - public native String currentMimeFilter(); - /** - Clears any mime- or namefilter. Does not reload the directory. - @short Clears any mime- or namefilter. - */ - public native void clearFilter(); - /** - Adds a preview widget and enters the preview mode. - In this mode the dialog is split and the right part contains your - preview widget. - Ownership is transferred to KFileDialog. You need to create the - preview-widget with "new", i.e. on the heap. - @param w The widget to be used for the preview. - @short Adds a preview widget and enters the preview mode. - */ - public native void setPreviewWidget(KPreviewWidgetBase w); - public native void show(); - /** - Convenient overload of the other setMode(unsigned int) method. - @short Convenient overload of the other setMode(unsigned int) method. - */ - public native void setMode(int m); - /** - Returns the mode of the filedialog. - @short Returns the mode of the filedialog. - @see #setMode - */ - public native int mode(); - /** - Sets the text to be displayed in front of the selection. - The default is "Location". - Most useful if you want to make clear what - the location is used for. - @short Sets the text to be displayed in front of the selection. - */ - public native void setLocationLabel(String text); - /** - Returns a pointer to the toolbar. - You can use this to insert custom - items into it, e.g.: - <pre> - yourAction = new TDEAction( i18n("Your Action"), 0, - this, SLOT("yourSlot()"), - this, "action name" ); - yourAction.plug( tdefileDialog.toolBar() ); - </pre> - @short Returns a pointer to the toolbar. - */ - public native TDEToolBar toolBar(); - /** - @return a pointer to the OK-Button in the filedialog. You may use it - e.g. to set a custom text to it. - - @short - */ - public native KPushButton okButton(); - /** - @return a pointer to the Cancel-Button in the filedialog. You may use - it e.g. to set a custom text to it. - - @short - */ - public native KPushButton cancelButton(); - /** - Note that this method may return a null-pointer if the user configured - to not use the speed-bar. - @return the KURLBar object used as the "speed bar". You can add custom - entries to it like that: - <pre> - KURLBar *urlBar = fileDialog.speedBar(); - if ( urlBar ) - urlBar.insertDynamicItem( someURL, i18n("The URL's description") ); - </pre> - - @short - @see KURLBar - @see KURLBar#insertDynamicItem - */ - public native KURLBar speedBar(); - /** - @return a pointer to the action collection, holding all the used - TDEActions. - - @short - */ - public native TDEActionCollection actionCollection(); - /** - @return the index of the path combobox so when inserting widgets into - the dialog (e.g. subclasses) they can do so without hardcoding in an index - - @short - */ - public native int pathComboIndex(); - /** - Creates a modal file dialog and return the selected - filename or an empty string if none was chosen. - Note that with - this method the user must select an existing filename. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter This is a space separated list of shell globs. - You can set the text to be displayed for the glob, and - provide multiple globs. See setFilter() for details on - how to do this... - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and return the selected filename or an empty string if none was chosen. - */ - public static native String getOpenFileName(String startDir, String filter, TQWidget parent, String caption); - public static native String getOpenFileName(String startDir, String filter, TQWidget parent); - public static native String getOpenFileName(String startDir, String filter); - public static native String getOpenFileName(String startDir); - public static native String getOpenFileName(); - /** - Use this version only if you have no TQWidget available as - parent widget. This can be the case if the parent widget is - a widget in another process or if the parent widget is a - non-Qt widget. For example, in a GTK program. - @short Use this version only if you have no TQWidget available as parent widget. - */ - public static native String getOpenFileNameWId(String startDir, String filter, long parent_id, String caption); - /** - Creates a modal file dialog and returns the selected - filenames or an empty list if none was chosen. - Note that with - this method the user must select an existing filename. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter This is a space separated list of shell globs. - You can set the text to be displayed for the glob, and - provide multiple globs. See setFilter() for details on - how to do this... - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and returns the selected filenames or an empty list if none was chosen. - */ - public static native ArrayList getOpenFileNames(String startDir, String filter, TQWidget parent, String caption); - public static native ArrayList getOpenFileNames(String startDir, String filter, TQWidget parent); - public static native ArrayList getOpenFileNames(String startDir, String filter); - public static native ArrayList getOpenFileNames(String startDir); - public static native ArrayList getOpenFileNames(); - /** - Creates a modal file dialog and returns the selected - URL or an empty string if none was chosen. - Note that with - this method the user must select an existing URL. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter This is a space separated list of shell globs. - You can set the text to be displayed for the glob, and - provide multiple globs. See setFilter() for details on - how to do this... - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and returns the selected URL or an empty string if none was chosen. - */ - public static native KURL getOpenURL(String startDir, String filter, TQWidget parent, String caption); - public static native KURL getOpenURL(String startDir, String filter, TQWidget parent); - public static native KURL getOpenURL(String startDir, String filter); - public static native KURL getOpenURL(String startDir); - public static native KURL getOpenURL(); - /** - Creates a modal file dialog and returns the selected - URLs or an empty list if none was chosen. - Note that with - this method the user must select an existing filename. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter This is a space separated list of shell globs. - You can set the text to be displayed for the glob, and - provide multiple globs. See setFilter() for details on - how to do this... - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and returns the selected URLs or an empty list if none was chosen. - */ - public static native ArrayList getOpenURLs(String startDir, String filter, TQWidget parent, String caption); - public static native ArrayList getOpenURLs(String startDir, String filter, TQWidget parent); - public static native ArrayList getOpenURLs(String startDir, String filter); - public static native ArrayList getOpenURLs(String startDir); - public static native ArrayList getOpenURLs(); - /** - Creates a modal file dialog and returns the selected - filename or an empty string if none was chosen. - Note that with this - method the user need not select an existing filename. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - a relative path or a filename determining the - directory to start in and the file to be selected. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter This is a space separated list of shell globs. - You can set the text to be displayed for the glob, and - provide multiple globs. See setFilter() for details on - how to do this... - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and returns the selected filename or an empty string if none was chosen. - */ - public static native String getSaveFileName(String startDir, String filter, TQWidget parent, String caption); - public static native String getSaveFileName(String startDir, String filter, TQWidget parent); - public static native String getSaveFileName(String startDir, String filter); - public static native String getSaveFileName(String startDir); - public static native String getSaveFileName(); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native String getSaveFileNameWId(String dir, String filter, long parent_id, String caption); - /** - Creates a modal file dialog and returns the selected - filename or an empty string if none was chosen. - Note that with this - method the user need not select an existing filename. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - a relative path or a filename determining the - directory to start in and the file to be selected. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param filter This is a space separated list of shell globs. - You can set the text to be displayed for the glob, and - provide multiple globs. See setFilter() for details on - how to do this... - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and returns the selected filename or an empty string if none was chosen. - */ - public static native KURL getSaveURL(String startDir, String filter, TQWidget parent, String caption); - public static native KURL getSaveURL(String startDir, String filter, TQWidget parent); - public static native KURL getSaveURL(String startDir, String filter); - public static native KURL getSaveURL(String startDir); - public static native KURL getSaveURL(); - /** - Creates a modal file dialog and returns the selected - directory or an empty string if none was chosen. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and returns the selected directory or an empty string if none was chosen. - */ - public static native String getExistingDirectory(String startDir, TQWidget parent, String caption); - public static native String getExistingDirectory(String startDir, TQWidget parent); - public static native String getExistingDirectory(String startDir); - public static native String getExistingDirectory(); - /** - Creates a modal file dialog and returns the selected - directory or an empty string if none was chosen. - Contrary to getExistingDirectory(), this method allows the - selection of a remote directory. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog and returns the selected directory or an empty string if none was chosen. - */ - public static native KURL getExistingURL(String startDir, TQWidget parent, String caption); - public static native KURL getExistingURL(String startDir, TQWidget parent); - public static native KURL getExistingURL(String startDir); - public static native KURL getExistingURL(); - /** - Creates a modal file dialog with an image previewer and returns the - selected url or an empty string if none was chosen. - @param startDir This can either be - - <li> - The URL of the directory to start in. - </li> - - <li> - null to start in the current working - directory, or the last directory where a file has been - selected. - </li> - - <li> - ':<keyword>' to start in the directory last used - by a filedialog in the same application that specified - the same keyword. - </li> - - <li> - '.<keyword>' to start in the directory last used - by a filedialog in any application that specified the - same keyword. - </li> - @param parent The widget the dialog will be centered on initially. - @param caption The name of the dialog widget. - @short Creates a modal file dialog with an image previewer and returns the selected url or an empty string if none was chosen. - */ - public static native KURL getImageOpenURL(String startDir, TQWidget parent, String caption); - public static native KURL getImageOpenURL(String startDir, TQWidget parent); - public static native KURL getImageOpenURL(String startDir); - public static native KURL getImageOpenURL(); - /** - This method implements the logic to determine the user's default directory - to be listed. E.g. the documents direcory, home directory or a recently - used directory. - @param startDir A url/directory, to be used. May use the ':' and '.' syntax - as documented in the KFileDialog() constructor. - @param recentDirClass If the ':' or '.' syntax is used, recentDirClass - will contain the string to be used later for TDERecentDir.dir() - @return The URL that should be listed by default (e.g. by KFileDialog or - KDirSelectDialog). - - @short This method implements the logic to determine the user's default directory to be listed. - */ - public static native KURL getStartURL(String startDir, StringBuffer recentDirClass); - /** - Used by KDirSelectDialog to share the dialog's start directory. - @short - */ - public static native void setStartDir(KURL directory); - /** - Reimplemented to animate the cancel button. - @short Reimplemented to animate the cancel button. - */ - protected native void keyPressEvent(TQKeyEvent e); - /** - Perform basic initialization tasks. Called by constructors. - @short Perform basic initialization tasks. - */ - protected native void init(String startDir, String filter, TQWidget widget); - /** - rebuild geometry management. - @short rebuild geometry management. - */ - protected native void initGUI(); - /** - called when an item is highlighted/selected in multiselection mode. - handles setting the locationEdit. - @short called when an item is highlighted/selected in multiselection mode. - */ - protected native void multiSelectionChanged(); - /** - Reads configuration and applies it (size, recent directories, ...) - @short Reads configuration and applies it (size, recent directories, . - */ - protected native void readConfig(TDEConfig arg1, String group); - protected native void readConfig(TDEConfig arg1); - /** - Saves the current configuration - @short Saves the current configuration - */ - protected native void writeConfig(TDEConfig arg1, String group); - protected native void writeConfig(TDEConfig arg1); - /** - Reads the recent used files and inserts them into the location combobox - @short Reads the recent used files and inserts them into the location combobox - */ - protected native void readRecentFiles(TDEConfig arg1); - /** - Saves the entries from the location combobox. - @short Saves the entries from the location combobox. - */ - protected native void saveRecentFiles(TDEConfig arg1); - /** - Parses the string "line" for files. If line doesn't contain any ", the - whole line will be interpreted as one file. If the number of " is odd, - an empty list will be returned. Otherwise, all items enclosed in " " - will be returned as correct urls. - @short Parses the string "line" for files. - */ - protected native ArrayList tokenize(String line); - /** - Returns the absolute version of the URL specified in locationEdit. - @short Returns the absolute version of the URL specified in locationEdit. - */ - protected native KURL getCompleteURL(String arg1); - /** - Returns the filename extension associated with the currentFilter(). - null is returned if an extension is not available or if - operationMode() != Saving. - @short Returns the filename extension associated with the currentFilter(). - */ - protected native String currentFilterExtension(); - /** - Updates the currentFilterExtension and the availability of the - Automatically Select Extension Checkbox (visible if operationMode() - == Saving and enabled if an extension _will_ be associated with the - currentFilter(), _after_ this call). You should call this after - filterWidget.setCurrentItem(). - @short Updates the currentFilterExtension and the availability of the Automatically Select Extension Checkbox (visible if operationMode() == Saving and enabled if an extension _will_ be associated with the currentFilter(), _after_ this call). - */ - protected native void updateAutoSelectExtension(); - protected native ArrayList parseSelectedURLs(); - protected native void urlEntered(KURL arg1); - protected native void enterURL(KURL url); - protected native void enterURL(String url); - protected native void locationActivated(String url); - protected native void slotFilterChanged(); - protected native void fileHighlighted(KFileItem i); - protected native void fileSelected(KFileItem i); - protected native void slotStatResult(Job job); - protected native void slotLoadingFinished(); - protected native void fileCompletion(String arg1); - /** - @short - */ - protected native void toggleSpeedbar(boolean arg1); - /** - @short - */ - protected native void toggleBookmarks(boolean show); - protected native void slotOk(); - protected native void accept(); - protected native void slotCancel(); - protected native void slotAutoSelectExtClicked(); - protected native void addToRecentDocuments(); - protected native void initSpeedbar(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileDialogSignals.java b/kdejava/koala/org/kde/koala/KFileDialogSignals.java deleted file mode 100644 index 5d746e23..00000000 --- a/kdejava/koala/org/kde/koala/KFileDialogSignals.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; - -public interface KFileDialogSignals { - /** - Emitted when the user selects a file. It is only emitted in single- - selection mode. The best way to get notified about selected file(s) - is to connect to the okClicked() signal inherited from KDialogBase - and call selectedFile(), selectedFiles(), - selectedURL() or selectedURLs(). - @short Emitted when the user selects a file. - */ - void fileSelected(String arg1); - /** - Emitted when the user highlights a file. - @short Emitted when the user highlights a file. - */ - void fileHighlighted(String arg1); - /** - Emitted when the user hilights one or more files in multiselection mode. - Note: fileHighlighted() or fileSelected() are <b>not</b> - emitted in multiselection mode. You may use selectedItems() to - ask for the current highlighted items. - @short Emitted when the user hilights one or more files in multiselection mode. - @see #fileSelected - */ - void selectionChanged(); - /** - Emitted when the filter changed, i.e. the user entered an own filter - or chose one of the predefined set via setFilter(). - @param filter contains the new filter (only the extension part, - not the explanation), i.e. "*.cpp" or "*.cpp .cc". - @short Emitted when the filter changed, i. - @see #setFilter - @see #currentFilter - */ - void filterChanged(String filter); -} diff --git a/kdejava/koala/org/kde/koala/KFileFilter.java b/kdejava/koala/org/kde/koala/KFileFilter.java deleted file mode 100644 index 89602543..00000000 --- a/kdejava/koala/org/kde/koala/KFileFilter.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A KFileFilter is a simple base class for file filters. Just - reimplement passesFilter(). - @short Base class for file filters. - -*/ -public class KFileFilter implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFileFilter(Class dummy){} - - /** - Checks the given <code>item.</code> - @param item the item to filter - @return true if the <code>item</code> passes the filter, false otherwise - - @short Checks the given <code>item.</code> - */ - public native boolean passesFilter(KFileItem item); -} diff --git a/kdejava/koala/org/kde/koala/KFileFilterCombo.java b/kdejava/koala/org/kde/koala/KFileFilterCombo.java deleted file mode 100644 index 1a1711d2..00000000 --- a/kdejava/koala/org/kde/koala/KFileFilterCombo.java +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - See {@link KFileFilterComboSignals} for signals emitted by KFileFilterCombo -*/ -public class KFileFilterCombo extends KComboBox { - protected KFileFilterCombo(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KFileFilterCombo(TQWidget parent, String name) { - super((Class) null); - newKFileFilterCombo(parent,name); - } - private native void newKFileFilterCombo(TQWidget parent, String name); - public KFileFilterCombo(TQWidget parent) { - super((Class) null); - newKFileFilterCombo(parent); - } - private native void newKFileFilterCombo(TQWidget parent); - public KFileFilterCombo() { - super((Class) null); - newKFileFilterCombo(); - } - private native void newKFileFilterCombo(); - public native void setFilter(String filter); - /** - @return the current filter, either something like "*.cpp *.h" - or the current mimetype, like "text/html", or a list of those, like - " "text/html text/plain image/png", all separated with one space. - - @short - */ - public native String currentFilter(); - /** - Sets the current filter. Filter must match one of the filter items - passed before to this widget. - @short Sets the current filter. - */ - public native void setCurrentFilter(String filter); - /** - Sets a list of mimetypes. - If <code>defaultType</code> is set, it will be set as the current item. - Otherwise, a first item showing all the mimetypes will be created. - @short Sets a list of mimetypes. - */ - public native void setMimeFilter(String[] types, String defaultType); - /** - @return true if the filter's first item is the list of all mimetypes - - @short - */ - public native boolean showsAllTypes(); - /** - This method allows you to set a default-filter, that is used when an - empty filter is set. Make sure you call this before calling - setFilter(). - By default, this is set to i18n("*|All Files") - @short This method allows you to set a default-filter, that is used when an empty filter is set. - @see #defaultFilter - */ - public native void setDefaultFilter(String filter); - /** - @return the default filter, used when an empty filter is set. - - @short - @see #setDefaultFilter - */ - public native String defaultFilter(); - public native boolean eventFilter(TQObject o, TQEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileFilterComboSignals.java b/kdejava/koala/org/kde/koala/KFileFilterComboSignals.java deleted file mode 100644 index 37e4aa09..00000000 --- a/kdejava/koala/org/kde/koala/KFileFilterComboSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KFileFilterComboSignals { - void filterChanged(); -} diff --git a/kdejava/koala/org/kde/koala/KFileIconView.java b/kdejava/koala/org/kde/koala/KFileIconView.java deleted file mode 100644 index c0737ed2..00000000 --- a/kdejava/koala/org/kde/koala/KFileIconView.java +++ /dev/null @@ -1,282 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQScrollView; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -/** - - An icon-view capable of showing KFileItem's. Used in the filedialog - for example. Most of the documentation is in KFileView class. - See {@link KFileIconViewSignals} for signals emitted by KFileIconView - @short An icon-view capable of showing KFileItem's. - @see KDirOperator - @see KCombiView - @see KFileDetailView - -*/ -public class KFileIconView extends TDEIconView implements KFileViewInterface { - protected KFileIconView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KFileIconView(TQWidget parent, String name) { - super((Class) null); - newKFileIconView(parent,name); - } - private native void newKFileIconView(TQWidget parent, String name); - public native TQWidget widget(); - public native void clearView(); - public native void setAutoUpdate(boolean arg1); - public native void updateView(boolean arg1); - public native void updateView(KFileItem arg1); - public native void removeItem(KFileItem arg1); - public native void listingCompleted(); - public native void insertItem(KFileItem i); - public native void setSelectionMode(int sm); - public native void setSelected(KFileItem arg1, boolean arg2); - public native boolean isSelected(KFileItem i); - public native void clearSelection(); - public native void selectAll(); - public native void invertSelection(); - public native void setCurrentItem(KFileItem arg1); - public native KFileItem currentFileItem(); - public native KFileItem firstFileItem(); - public native KFileItem nextItem(KFileItem arg1); - public native KFileItem prevItem(KFileItem arg1); - /** - Sets the size of the icons to show. Defaults to TDEIcon.SizeSmall. - @short Sets the size of the icons to show. - */ - public native void setIconSize(int size); - /** - Sets the size of the previews. Defaults to TDEIcon.SizeLarge. - @short Sets the size of the previews. - */ - public native void setPreviewSize(int size); - /** - Disables the "Maximum file size" configuration option for previews - Set this before calling showPreviews() - @short Disables the "Maximum file size" configuration option for previews - */ - public native void setIgnoreMaximumSize(boolean ignoreSize); - public native void setIgnoreMaximumSize(); - /** - @return the current size used for icons. - - @short - */ - public native int iconSize(); - public native void ensureItemVisible(KFileItem arg1); - public native void setSorting(int sort); - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - public native void mimeTypeDeterminationFinished(); - public native void determineIcon(KFileIconViewItem item); - public native TQScrollView scrollWidget(); - public native void setAcceptDrops(boolean b); - /** - Starts loading previews for all files shown and shows them. Switches - into 'large rows' mode, if that isn't the current mode yet. - @sa setIgnoreMaximumSize - @short Starts loading previews for all files shown and shows them. - */ - public native void showPreviews(); - public native void zoomIn(); - public native void zoomOut(); - /** - Reimplemented for performance reasons. - @short Reimplemented for performance reasons. - */ - public native void arrangeItemsInGrid(boolean updated); - public native void arrangeItemsInGrid(); - /** - Reimplemented to not let TQIconView eat return-key events - @short Reimplemented to not let TQIconView eat return-key events - */ - protected native void keyPressEvent(TQKeyEvent arg1); - /** - Reimplemented to remove an eventual tooltip - @short Reimplemented to remove an eventual tooltip - */ - protected native void hideEvent(TQHideEvent arg1); - public native void showEvent(TQShowEvent arg1); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native TQDragObject dragObject(); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDropEvent(TQDropEvent ev); - protected native boolean acceptDrag(TQDropEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - inserts a list of items. - @short inserts a list of items. - */ - public native void addItemList(ArrayList list); - /** - Sets <code>filename</code> the current item in the view, if available. - @short Sets <code>filename</code> the current item in the view, if available. - */ - public native void setCurrentItem(String filename); - /** - Clears the view and all item lists. - @short Clears the view and all item lists. - */ - public native void clear(); - public native void updateView(); - /** - Returns the sorting order of the internal list. Newly added files - are added through this sorting. - @short Returns the sorting order of the internal list. - */ - public native int sorting(); - /** - Tells whether the current items are in reversed order (shortcut to - sorting() & TQDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). - */ - public native boolean isReversed(); - public native void sortReversed(); - /** - @return the number of dirs and files - - @short - */ - public native int count(); - /** - @return the number of files. - - @short - */ - public native int numFiles(); - /** - @return the number of directories - - @short - */ - public native int numDirs(); - public native void setViewMode(int vm); - public native int viewMode(); - /** - @return the localized name of the view, which could be displayed - somewhere, e.g. in a menu, where the user can choose between views. - - @short - @see #setViewName - */ - public native String viewName(); - /** - Sets the name of the view, which could be displayed somewhere. - E.g. "Image Preview". - @short Sets the name of the view, which could be displayed somewhere. - */ - public native void setViewName(String name); - public native void setParentView(KFileViewInterface parent); - /** - @return all currently highlighted items. - - @short - */ - public native ArrayList selectedItems(); - /** - @return all items currently available in the current sort-order - - @short - */ - public native ArrayList items(); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - Every view has to decide when to call select( item ) when a file was - single-clicked, based on onlyDoubleClickSelectsFiles(). - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - increases the number of dirs and files. - @return true if the item fits the view mode - - @short increases the number of dirs and files. - */ - public native boolean updateNumbers(KFileItem i); - /** - @return the view-specific action-collection. Every view should - add its actions here (if it has any) to make them available to - e.g. the KDirOperator's popup-menu. - - @short - */ - public native TDEActionCollection actionCollection(); - public native KFileViewSignaler signaler(); - /** - Specify DND options. See DropOptions for details. - All options are disabled by default. - @short Specify DND options. - */ - public native void setDropOptions(int options); - /** - Returns the DND options in effect. - See DropOptions for details. - @short Returns the DND options in effect. - */ - public native int dropOptions(); - /** - This method calculates a String from the given parameters, that is - suitable for sorting with e.g. TQIconView or TQListView. Their - Item-classes usually have a setKey( String ) method or a virtual - method String key() that is used for sorting. - @param value Any string that should be used as sort criterion - @param isDir Tells whether the key is computed for an item representing - a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of TQDir.SortSpec flags. - Currently, the values IgnoreCase, Reversed and - DirsFirst are taken into account. - @short This method calculates a String from the given parameters, that is suitable for sorting with e. - */ - public static native String sortingKey(String value, boolean isDir, int sortSpec); - /** - An overloaded method that takes not a String, but a number as sort - criterion. You can use this for file-sizes or dates/times for example. - If you use a time_t, you need to cast that to TDEIO.filesize_t because - of ambiguity problems. - @short An overloaded method that takes not a String, but a number as sort criterion. - */ - public static native String sortingKey(long value, boolean isDir, int sortSpec); - /** - delay before auto opening a directory - @short - */ - public static native int autoOpenDelay(); - protected native void setDropOptions_impl(int options); -} diff --git a/kdejava/koala/org/kde/koala/KFileIconViewItem.java b/kdejava/koala/org/kde/koala/KFileIconViewItem.java deleted file mode 100644 index ce922c0a..00000000 --- a/kdejava/koala/org/kde/koala/KFileIconViewItem.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQIconView; - -/** - - An item for the iconview, that has a reference to its corresponding - KFileItem. - @short An item for the iconview, that has a reference to its corresponding KFileItem. - -*/ -public class KFileIconViewItem extends TDEIconViewItem { - protected KFileIconViewItem(Class dummy){super((Class) null);} - public KFileIconViewItem(TQIconView parent, String text, TQPixmap pixmap, KFileItem fi) { - super((Class) null); - newKFileIconViewItem(parent,text,pixmap,fi); - } - private native void newKFileIconViewItem(TQIconView parent, String text, TQPixmap pixmap, KFileItem fi); - /** - @short - */ - public KFileIconViewItem(TQIconView parent, KFileItem fi) { - super((Class) null); - newKFileIconViewItem(parent,fi); - } - private native void newKFileIconViewItem(TQIconView parent, KFileItem fi); - /** - @return the corresponding KFileItem - - @short - */ - public native KFileItem fileInfo(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileIconViewSignals.java b/kdejava/koala/org/kde/koala/KFileIconViewSignals.java deleted file mode 100644 index bb2fbbed..00000000 --- a/kdejava/koala/org/kde/koala/KFileIconViewSignals.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQScrollView; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -public interface KFileIconViewSignals { - /** - The user dropped something. - <code>fileItem</code> points to the item dropped on or can be 0 if the - user dropped on empty space. - @short The user dropped something. - */ - void dropped(TQDropEvent event, KFileItem fileItem); - /** - The user dropped the URLs <code>urls.</code> - <code>url</code> points to the item dropped on or can be empty if the - user dropped on empty space. - @short The user dropped the URLs <code>urls.</code> - */ - void dropped(TQDropEvent event, ArrayList urls, KURL url); -} diff --git a/kdejava/koala/org/kde/koala/KFileItem.java b/kdejava/koala/org/kde/koala/KFileItem.java deleted file mode 100644 index d3399d9a..00000000 --- a/kdejava/koala/org/kde/koala/KFileItem.java +++ /dev/null @@ -1,565 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; - -/** - - A KFileItem is a generic class to handle a file, local or remote. - In particular, it makes it easier to handle the result of TDEIO.listDir - (UDSEntry isn't very friendly to use). - It includes many file attributes such as mimetype, icon, text, mode, link... - @short A KFileItem is a generic class to handle a file, local or remote. - -*/ -public class KFileItem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFileItem(Class dummy){} - - public static final int Unknown = -1; - - public static final int Modification = 0; - public static final int Access = 1; - public static final int Creation = 2; - public static final int NumFlags = 3; - - /** - Creates an item representing a file, from a UDSEntry. - This is the preferred constructor when using TDEIO.listDir(). - @param _entry the TDEIO entry used to get the file, contains info about it - @param _url the file url - @param _determineMimeTypeOnDemand specifies if the mimetype of the given - URL should be determined immediately or on demand - @param _urlIsDirectory specifies if the url is just the directory of the - fileitem and the filename from the UDSEntry should be used. - @short Creates an item representing a file, from a UDSEntry. - */ - // KFileItem* KFileItem(const TDEIO::UDSEntry& arg1,const KURL& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // KFileItem* KFileItem(const TDEIO::UDSEntry& arg1,const KURL& arg2,bool arg3); >>>> NOT CONVERTED - // KFileItem* KFileItem(const TDEIO::UDSEntry& arg1,const KURL& arg2); >>>> NOT CONVERTED - /** - Creates an item representing a file, from all the necessary info for it. - @param _mode the file mode (according to stat() (e.g. S_IFDIR...) - Set to KFileItem.Unknown if unknown. For local files, KFileItem will use stat(). - @param _permissions the access permissions - If you set both the mode and the permissions, you save a .stat() for - local files. - Set to KFileItem.Unknown if you don't know the mode or the permission. - @param _url the file url - @param _determineMimeTypeOnDemand specify if the mimetype of the given URL - should be determined immediately or on demand - @short Creates an item representing a file, from all the necessary info for it. - */ - public KFileItem(long _mode, long _permissions, KURL _url, boolean _determineMimeTypeOnDemand) { - newKFileItem(_mode,_permissions,_url,_determineMimeTypeOnDemand); - } - private native void newKFileItem(long _mode, long _permissions, KURL _url, boolean _determineMimeTypeOnDemand); - public KFileItem(long _mode, long _permissions, KURL _url) { - newKFileItem(_mode,_permissions,_url); - } - private native void newKFileItem(long _mode, long _permissions, KURL _url); - /** - Creates an item representing a file, for which the mimetype is already known. - @param url the file url - @param mimeType the name of the file's mimetype - @param mode the mode (S_IFDIR...) - @short Creates an item representing a file, for which the mimetype is already known. - */ - public KFileItem(KURL url, String mimeType, long mode) { - newKFileItem(url,mimeType,mode); - } - private native void newKFileItem(KURL url, String mimeType, long mode); - /** - Copy constructor. Note that extra-data set via setExtraData() is not - deeply copied -- just the pointers are copied. - @short Copy constructor. - */ - public KFileItem(KFileItem item) { - newKFileItem(item); - } - private native void newKFileItem(KFileItem item); - /** - Throw away and re-read (for local files) all information about the file. - This is called when the _file_ changes. - @short Throw away and re-read (for local files) all information about the file. - */ - public native void refresh(); - /** - Re-reads mimetype information. - This is called when the mimetype database changes. - @short Re-reads mimetype information. - */ - public native void refreshMimeType(); - /** - Returns the url of the file. - @return the url of the file - - @short Returns the url of the file. - */ - public native KURL url(); - /** - Sets the item's URL. Do not call unless you know what you are doing! - (used for example when an item got renamed). - @param url the item's URL - @short Sets the item's URL. - */ - public native void setURL(KURL url); - /** - Sets the item's name (i.e. the filename). - This is automatically done by setURL, to set the name from the URL's fileName(). - This method is provided for some special cases like relative paths as names (KFindPart) - @param name the item's name - @short Sets the item's name (i. - */ - public native void setName(String name); - /** - Returns the permissions of the file (stat.st_mode containing only permissions). - @return the permissions of the file - - @short Returns the permissions of the file (stat. - */ - public native long permissions(); - /** - Returns the access permissions for the file as a string. - @return the access persmission as string - - @short Returns the access permissions for the file as a string. - */ - public native String permissionsString(); - /** - Tells if the file has extended access level information ( Posix ACL ) - @return true if the file has extend ACL information or false if it hasn't - - @short Tells if the file has extended access level information ( Posix ACL ) - */ - public native boolean hasExtendedACL(); - /** - Returns the access control list for the file. - @return the access control list as a KACL - - @short Returns the access control list for the file. - */ - // KACL ACL(); >>>> NOT CONVERTED - /** - Returns the default access control list for the directory. - @return the default access control list as a KACL - - @short Returns the default access control list for the directory. - */ - // KACL defaultACL(); >>>> NOT CONVERTED - /** - Returns the file type (stat.st_mode containing only S_IFDIR, S_IFLNK, ...). - @return the file type - - @short Returns the file type (stat. - */ - public native long mode(); - /** - Returns the owner of the file. - @return the file's owner - - @short Returns the owner of the file. - */ - public native String user(); - /** - Returns the group of the file. - @return the file's group - - @short Returns the group of the file. - */ - public native String group(); - /** - Returns true if this item represents a link in the UNIX sense of - a link. - @return true if the file is a link - - @short Returns true if this item represents a link in the UNIX sense of a link. - */ - public native boolean isLink(); - /** - Returns true if this item represents a directory. - @return true if the item is a directory - - @short Returns true if this item represents a directory. - */ - public native boolean isDir(); - /** - Returns true if this item represents a file (and not a a directory) - @return true if the item is a file - - @short Returns true if this item represents a file (and not a a directory) - */ - public native boolean isFile(); - /** - Checks whether the file or directory is readable. In some cases - (remote files), we may return true even though it can't be read. - @return true if the file can be read - more precisely, - false if we know for sure it can't - - @short Checks whether the file or directory is readable. - */ - public native boolean isReadable(); - /** - Checks whether the file or directory is writable. In some cases - (remote files), we may return true even though it can't be written to. - @return true if the file or directory can be written to - more precisely, - false if we know for sure it can't - - @short Checks whether the file or directory is writable. - */ - public native boolean isWritable(); - /** - Checks whether the file is hidden. - @return true if the file is hidden. - - @short Checks whether the file is hidden. - */ - public native boolean isHidden(); - /** - Returns the link destination if isLink() == true. - @return the link destination. null if the item is not a link - - @short Returns the link destination if isLink() == true. - */ - public native String linkDest(); - /** - Returns the local path if isLocalFile() == true or the TDEIO item has - a UDS_LOCAL_PATH atom. - @return the item local path, or null if not known - - @short Returns the local path if isLocalFile() == true or the TDEIO item has a UDS_LOCAL_PATH atom. - */ - public native String localPath(); - /** - Returns the size of the file, if known. - @return the file size, or 0 if not known - - @short Returns the size of the file, if known. - */ - public native long size(); - /** - Returns the size of the file, if known, and sets <code>hasSize</code> to false if not known - @param @hasSize This is set to true if the size is known, and false if not known - @return the file size, or 0 if not known - - @short Returns the size of the file, if known, and sets <code>hasSize</code> to false if not known @param @hasSize This is set to true if the size is known, and false if not known - */ - public native long size(boolean hasSize); - /** - Requests the modification, access or creation time, depending on <code>which.</code> - @param which UDS_MODIFICATION_TIME, UDS_ACCESS_TIME or UDS_CREATION_TIME - @return the time asked for, (time_t)0 if not available - - @short Requests the modification, access or creation time, depending on <code>which.</code> - @see #timeString - */ - public native int time(int which); - /** - Requests the modification, access or creation time, depending on <code>which.</code> - @param which UDS_MODIFICATION_TIME, UDS_ACCESS_TIME or UDS_CREATION_TIME - @param hasTime This is set to true is the time is known, and false if not known - @return the time asked for, (time_t)0 if not known/available - - @short Requests the modification, access or creation time, depending on <code>which.</code> - @see #timeString - */ - public native int time(int which, boolean hasTime); - /** - Requests the modification, access or creation time as a string, depending - on <code>which.</code> - @param which UDS_MODIFICATION_TIME, UDS_ACCESS_TIME or UDS_CREATION_TIME - @return a formatted string of the requested time, null if time is not known - - @short Requests the modification, access or creation time as a string, depending on <code>which.</code> - @see #time - */ - public native String timeString(int which); - public native String timeString(); - /** - Returns true if the file is a local file. - @return true if the file is local, false otherwise - - @short Returns true if the file is a local file. - */ - public native boolean isLocalFile(); - /** - Returns the text of the file item. - It's not exactly the filename since some decoding happens ('%2F'.'/'). - @return the text of the file item - - @short Returns the text of the file item. - */ - public native String text(); - /** - Return the name of the file item (without a path). - Similar to text(), but unencoded, i.e. the original name. - @param lowerCase if true, the name will be returned in lower case, - which is useful to speed up sorting by name, case insensitively. - @return the file's name - - @short Return the name of the file item (without a path). - */ - public native String name(boolean lowerCase); - public native String name(); - /** - Returns the mimetype of the file item. - If <code>_determineMimeTypeOnDemand</code> was used in the constructor, this will determine - the mimetype first. Equivalent to determineMimeType().name() - @return the mime type of the file - - @short Returns the mimetype of the file item. - */ - public native String mimetype(); - /** - Returns the mimetype of the file item. - If _determineMimeTypeOnDemand was used in the constructor, this will determine - the mimetype first. - @return the mime type - - @short Returns the mimetype of the file item. - */ - // KMimeType::Ptr determineMimeType(); >>>> NOT CONVERTED - /** - Returns the currently known mimetype of the file item. - This will not try to determine the mimetype if unknown. - @return the known mime type - - @short Returns the currently known mimetype of the file item. - */ - // KMimeType::Ptr mimeTypePtr(); >>>> NOT CONVERTED - public native boolean isMimeTypeKnown(); - /** - Returns the descriptive comment for this mime type, or - the mime type itself if none is present. - @return the mime type description, or the mime type itself - - @short Returns the descriptive comment for this mime type, or the mime type itself if none is present. - */ - public native String mimeComment(); - /** - Returns the full path name to the icon that represents - this mime type. - @return iconName the name of the file's icon - - @short Returns the full path name to the icon that represents this mime type. - */ - public native String iconName(); - /** - Returns a pixmap representing the file. - @param _size Size for the pixmap in pixels. Zero will return the - globally configured default size. - @param _state The state of the icon: TDEIcon.DefaultState, - TDEIcon.ActiveState or TDEIcon.DisabledState. - @return the pixmap - - @short Returns a pixmap representing the file. - */ - public native TQPixmap pixmap(int _size, int _state); - public native TQPixmap pixmap(int _size); - /** - Returns the overlays (bitfield of TDEIcon.Overlay flags) that are used - for this item's pixmap. Overlays are used to show for example, whether - a file can be modified. - @return the overlays of the pixmap - - @short Returns the overlays (bitfield of TDEIcon. Overlay flags) that are used for this item's pixmap. - */ - public native int overlays(); - /** - Returns the string to be displayed in the statusbar, - e.g. when the mouse is over this item - @return the status bar information - - @short Returns the string to be displayed in the statusbar, e. - */ - public native String getStatusBarInfo(); - /** - Returns the string to be displayed in the tool tip when the mouse - is over this item. This may load a plugin to determine additional - information specific to the mimetype of the file. - @param maxcount the maximum number of entries shown - @return the tool tip string - - @short Returns the string to be displayed in the tool tip when the mouse is over this item. - */ - public native String getToolTipText(int maxcount); - public native String getToolTipText(); - /** - Returns true if files can be dropped over this item. - Contrary to popular belief, not only dirs will return true :) - Executables, .desktop files, will do so as well. - @return true if you can drop files over the item - - @short Returns true if files can be dropped over this item. - */ - public native boolean acceptsDrops(); - /** - Let's "KRun" this file ! - (e.g. when file is clicked or double-clicked or return is pressed) - @short Let's "KRun" this file ! (e. - */ - public native void run(); - /** - Returns the UDS entry. Used by the tree view to access all details - by position. - @return the UDS entry - - @short Returns the UDS entry. - */ - // const TDEIO::UDSEntry& entry(); >>>> NOT CONVERTED - /** - Used when updating a directory. marked == seen when refreshing. - @return true if the file item is marked - - @short Used when updating a directory. - */ - public native boolean isMarked(); - /** - Marks the item. - @short Marks the item. - @see #isMarked - */ - public native void mark(); - /** - Unmarks the item. - @short Unmarks the item. - @see #isMarked - */ - public native void unmark(); - /** - Somewhat like a comparison operator, but more explicit. - @param item the item to compare - @return true if all values are equal - - @short Somewhat like a comparison operator, but more explicit. - */ - public native boolean cmp(KFileItem item); - /** - This allows to associate some "extra" data to a KFileItem. As one - KFileItem can be used by several objects (often views) which all need - to add some data, you have to use a key to reference your extra data - within the KFileItem. - That way a KFileItem can hold and provide access to all those views - separately. - I.e. a KFileIconView that associates a KFileIconViewItem (an item suitable - for use with TQIconView) does - <pre> - tdefileItem.setExtraData( this, iconViewItem ); - </pre> - and can later access the iconViewItem by doing - <pre> - KFileIconViewItem iconViewItem = (KFileIconViewItem)( tdefileItem.extraData( this )); - </pre> - This is usually more efficient then having every view associate data to - items by using a separate TQDict or TQMap. - Note: you have to remove and destroy the data you associated yourself - when you don't need it anymore! - @param key the key of the extra data - @param value the value of the extra data - @short This allows to associate some "extra" data to a KFileItem. - @see #extraData - @see #removeExtraData - */ - // void setExtraData(const void* arg1,void* arg2); >>>> NOT CONVERTED - /** - Retrieves the extra data with the given <code>key.</code> - @param key the key of the extra data - @return the extra data associated to an item with <code>key</code> via - setExtraData. 0L if nothing was associated with <code>key.</code> - - @short Retrieves the extra data with the given <code>key.</code> - @see #extraData - */ - // const void* extraData(const void* arg1); >>>> NOT CONVERTED - // void* extraData(const void* arg1); >>>> NOT CONVERTED - /** - Removes the extra data associated with an item via <code>key.</code> - @param key the key of the extra data to remove - @short Removes the extra data associated with an item via <code>key.</code> - */ - // void removeExtraData(const void* arg1); >>>> NOT CONVERTED - /** - Sets the metainfo of this item to <code>info.</code> - @param info the new meta info - @short Sets the metainfo of this item to <code>info.</code> - */ - public native void setMetaInfo(KFileMetaInfo info); - /** - Sets the file type (stat.st_mode containing only S_IFDIR, S_IFLNK, ...). - @param m the new file type - @short Sets the file type (stat. - */ - public native void setFileMode(long m); - /** - Sets new mimetype for item - @param mimetype the new mimetype - @short Sets new mimetype for item - */ - public native void setMimeType(String mimetype); - /** - Returns the metainfo of this item. - @param autoget if true, the metainfo will automatically be created - @param what ignored - @short Returns the metainfo of this item. - */ - public native KFileMetaInfo metaInfo(boolean autoget, int what); - public native KFileMetaInfo metaInfo(boolean autoget); - public native KFileMetaInfo metaInfo(); - /** - Somewhat like an assignment operator, but more explicit. - Note: extra-data set with setExtraData() is not copied, so be careful - what you do! - @param item the item to copy - @short Somewhat like an assignment operator, but more explicit. - */ - public native void assign(KFileItem item); - /** - Reinitialize KFileItem with a new UDSEntry. - Note: extra-data set with setExtraData() is not changed or deleted, so - be careful what you do! - KDirListerCache uses it to save new/delete calls by updating existing - items that are otherwise not needed anymore. - @param entry the UDSEntry to assign to this KFileItem - @param url the file url - @param determineMimeTypeOnDemand specifies if the mimetype of the given - URL should be determined immediately or on demand - @param urlIsDirectory specifies if the url is just the directory of the - fileitem and the filename from the UDSEntry should be used. - @short Reinitialize KFileItem with a new UDSEntry. - */ - // void setUDSEntry(const TDEIO::UDSEntry& arg1,const KURL& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // void setUDSEntry(const TDEIO::UDSEntry& arg1,const KURL& arg2,bool arg3); >>>> NOT CONVERTED - // void setUDSEntry(const TDEIO::UDSEntry& arg1,const KURL& arg2); >>>> NOT CONVERTED - /** - Tries to give a local URL for this file item if possible. - The given booleanean indicates if the returned url is local or not. - @short Tries to give a local URL for this file item if possible. - */ - public native KURL mostLocalURL(boolean local); - /** - Computes the text, mode, and mimetype from the UDSEntry - Called by constructor, but can be called again later - @short Computes the text, mode, and mimetype from the UDSEntry Called by constructor, but can be called again later - */ - protected native void init(boolean _determineMimeTypeOnDemand); - /** - Extracts the data from the UDSEntry member and updates the KFileItem - accordingly. - @short Extracts the data from the UDSEntry member and updates the KFileItem accordingly. - */ - protected native void readUDSEntry(boolean _urlIsDirectory); - /** - Parses the given permission set and provides it for access() - @short Parses the given permission set and provides it for access() - */ - protected native String parsePermissions(long perm); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileListViewItem.java b/kdejava/koala/org/kde/koala/KFileListViewItem.java deleted file mode 100644 index 9ab7d7e0..00000000 --- a/kdejava/koala/org/kde/koala/KFileListViewItem.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQListViewItem; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQListView; - -/** - - An item for the listiew, that has a reference to its corresponding - KFileItem. - @short An item for the listiew, that has a reference to its corresponding KFileItem. - -*/ -public class KFileListViewItem extends TDEListViewItem { - protected KFileListViewItem(Class dummy){super((Class) null);} - public KFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi) { - super((Class) null); - newKFileListViewItem(parent,text,icon,fi); - } - private native void newKFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi); - /** - @short - */ - public KFileListViewItem(TQListView parent, KFileItem fi) { - super((Class) null); - newKFileListViewItem(parent,fi); - } - private native void newKFileListViewItem(TQListView parent, KFileItem fi); - public KFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi, TQListViewItem after) { - super((Class) null); - newKFileListViewItem(parent,text,icon,fi,after); - } - private native void newKFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi, TQListViewItem after); - /** - @return the corresponding KFileItem - - @short - */ - public native KFileItem fileInfo(); - public native String key(int arg1, boolean arg2); - public native void setKey(String key); - public native TQRect rect(); - /** - @short - */ - public native void init(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileMetaInfo.java b/kdejava/koala/org/kde/koala/KFileMetaInfo.java deleted file mode 100644 index e349722d..00000000 --- a/kdejava/koala/org/kde/koala/KFileMetaInfo.java +++ /dev/null @@ -1,314 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQVariant; - -/** - - @brief Meta Information about a file - This is the class for objects that hold meta information about a file. - The information is kept in form of a system of key/value pairs. See also - KFileMetaInfoItem. - This information is retrieved from the file through a plugin system, and - this class is the main interface to it. - If you want to write your own plugin, have a look at KFilePlugin. - There are basically two different kinds of meta information: Fixed ones - that the plugin knows about (e.g. an mp3 id3v1 tag has a well defined - fixed list of fields), and variable keys that exist in mimetypes that - support their own key/value system (comments in png files are of this type). - Almost every file has fixed keys, but some also have variable keys. - The groups and the What enum are not yet supported, but already added to - the interface so that adding support doesn't break compatibility. - @short @brief Meta Information about a file - -*/ -public class KFileMetaInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFileMetaInfo(Class dummy){} - - /** - This is used to specify what a KFileMetaInfo object should read, so - you can specify if you want to read "expensive" items or not. - @short This is used to specify what a KFileMetaInfo object should read, so you can specify if you want to read "expensive" items or not. - */ - public static final int Fastest = 0x1; - public static final int DontCare = 0x2; - public static final int TechnicalInfo = 0x4; - public static final int ContentInfo = 0x8; - public static final int ExtenedAttr = 0x10; - public static final int Thumbnail = 0x20; - public static final int Preferred = 0x40; - public static final int Everything = 0xffff; - - /** - The constructor. - creating a KFileMetaInfo item through this will autoload the plugin - belonging to the mimetype and try to get meta information about - the specified file. - If no info is available, you'll get an empty (not invalid) object. - You can test for it with the isEmpty() method. - @param path The file name. This must be the path to a local file. - @param mimeType The name of the file's mimetype. If ommited, the - mimetype is autodetected - @param what one or more of the What enum values. It gives some - hint to the plugin what information is desired. The plugin - may still return more items. - @note This version will <b></b>nly work for <b></b>ocal (file:/) files. - @short The constructor. - */ - public KFileMetaInfo(String path, String mimeType, int what) { - newKFileMetaInfo(path,mimeType,what); - } - private native void newKFileMetaInfo(String path, String mimeType, int what); - public KFileMetaInfo(String path, String mimeType) { - newKFileMetaInfo(path,mimeType); - } - private native void newKFileMetaInfo(String path, String mimeType); - public KFileMetaInfo(String path) { - newKFileMetaInfo(path); - } - private native void newKFileMetaInfo(String path); - /** - Another constructor - Similar to the above, but takes a URL so that meta-data may be retrieved - over other protocols (ftp, etc.) - @short Another constructor - */ - public KFileMetaInfo(KURL url, String mimeType, int what) { - newKFileMetaInfo(url,mimeType,what); - } - private native void newKFileMetaInfo(KURL url, String mimeType, int what); - public KFileMetaInfo(KURL url, String mimeType) { - newKFileMetaInfo(url,mimeType); - } - private native void newKFileMetaInfo(KURL url, String mimeType); - public KFileMetaInfo(KURL url) { - newKFileMetaInfo(url); - } - private native void newKFileMetaInfo(KURL url); - /** - Default constructor. This will create an invalid object (see - isValid(). - @short Default constructor. - */ - public KFileMetaInfo() { - newKFileMetaInfo(); - } - private native void newKFileMetaInfo(); - /** - Copy constructor. This creates a copy of the original object, but - that copy will point to the same data, so if you change the original, - the copy will be changed, too. After all, they are referring to the same - file. - @short Copy constructor. - */ - public KFileMetaInfo(KFileMetaInfo original) { - newKFileMetaInfo(original); - } - private native void newKFileMetaInfo(KFileMetaInfo original); - /** - Returns a list of all groups. - @return the keys of the groups that the file has. - - @short Returns a list of all groups. - */ - public native ArrayList groups(); - /** - Returns a list of all supported groups. - @return the supported keys of the groups that the file has. - - @short Returns a list of all supported groups. - */ - public native ArrayList supportedGroups(); - /** - Returns a list of the preferred groups. - @return the keys of the preferred groups that the file has. - - @short Returns a list of the preferred groups. - */ - public native ArrayList preferredGroups(); - /** - Returns a list of all preferred keys. - @return a list of all preferred keys. - - @short Returns a list of all preferred keys. - */ - public native ArrayList preferredKeys(); - /** - Returns a list of supported keys. - @return a list of supported keys - - @short Returns a list of supported keys. - */ - public native ArrayList supportedKeys(); - /** - Returns the list of groups that you can add or remove from the file. - @return the groups can be added or removed - - @short Returns the list of groups that you can add or remove from the file. - */ - public native ArrayList editableGroups(); - /** - Returns the KFileMetaInfoItem with the given <code>key.</code> - @param key the key of the item - @return the item. Invalid if there is no item with the given <code>key.</code> - - @short Returns the KFileMetaInfoItem with the given <code>key.</code> - */ - public native KFileMetaInfoItem item(String key); - /** - Returns the KFileMetaInfoItem with the given <code>hint.</code> - @param hint the hint of the item - @return the item. Invalid if there is no item with the given <code>hint.</code> - - @short Returns the KFileMetaInfoItem with the given <code>hint.</code> - */ - // KFileMetaInfoItem item(const KFileMetaInfoItem::Hint arg1); >>>> NOT CONVERTED - /** - Saves the item with the given <code>key.</code> - @param key the key of the item - @param preferredGroup the preferred group, or null - @param createGroup true to create the group if necessary - @return the saved item - - @short Saves the item with the given <code>key.</code> - */ - public native KFileMetaInfoItem saveItem(String key, String preferredGroup, boolean createGroup); - public native KFileMetaInfoItem saveItem(String key, String preferredGroup); - public native KFileMetaInfoItem saveItem(String key); - /** - Returns the KFileMetaInfoGroup with the given <code>key.</code> - @param key the key of the item - @return the group. Invalid if there is no group with the given <code>key.</code> - - @short Returns the KFileMetaInfoGroup with the given <code>key.</code> - */ - public native KFileMetaInfoGroup group(String key); - /** - Returns the KFileMetaInfoGroup with the given <code>key.</code> - @param key the key of the item - @return the group. Invalid if there is no group with the given <code>key.</code> - - @short Returns the KFileMetaInfoGroup with the given <code>key.</code> - */ - public native KFileMetaInfoGroup op_at(String key); - /** - Try to add the specified group. This will only succeed if it is - in the list of editableGroups(). - @note that all non-variable items that belong to this group are - automatically added as empty item. - @param name the name of the group to add - @return true if successful, false if not - - @short Try to add the specified group. - */ - public native boolean addGroup(String name); - /** - Remove the specified group. This will only succeed if it is - in the list of editableGroups(). Beware that this also - removes all the items in that group, so always ask the user - before removing it! - @param name the name of the group to remove - @return true if successful, false if not - - @short Remove the specified group. - */ - public native boolean removeGroup(String name); - /** - Returns a list of removed groups. - @return a list of removed groups. - - @short Returns a list of removed groups. - */ - public native ArrayList removedGroups(); - /** - This method writes all pending changes of the meta info back to the file. - If any items are marked as removed, they are really removed from the - list. The info object as well as all items are updated. - @return true if successful, false if not - - @short This method writes all pending changes of the meta info back to the file. - */ - public native boolean applyChanges(); - /** - Checks whether an item with the given <code>key</code> exists. - @param key the key to check - @return whether an item for this <code>key</code> exists. - - @short Checks whether an item with the given <code>key</code> exists. - */ - public native boolean contains(String key); - /** - Checks whether a group with the given <code>key</code> exists. - @param key the key to check - @return whether a group with this name exists. - - @short Checks whether a group with the given <code>key</code> exists. - */ - public native boolean containsGroup(String key); - /** - Returns the value with the given <code>key.</code> - @param key the key to retrieve - @return the value. Invalid if it does not exist - - @short Returns the value with the given <code>key.</code> - */ - public native TQVariant value(String key); - /** - Returns true if the item is valid, i.e. if actually represents the info - about a file, false if the object is uninitialized. - @return true if valid, false otherwise - - @short Returns true if the item is valid, i. - */ - public native boolean isValid(); - /** - Returns false if the object contains data, true if it's empty. You'll - get an empty object if no plugin for the file could be found. - @return true if empty, false otherwise - - @short Returns false if the object contains data, true if it's empty. - */ - public native boolean isEmpty(); - /** - Returns the mime type of file. - @return the file's mime type - - @short Returns the mime type of file. - */ - public native String mimeType(); - /** - Returns the path of file - or null if file is non-local - @return the file's path - or null if file is non-local - - @short Returns the path of file - or String.null if file is non-local - */ - public native String path(); - /** - Returns the url of file - @return the file's url - - @short Returns the url of file - */ - public native KURL url(); - protected native KFileMetaInfoGroup appendGroup(String name); - /** - @return a pointer to the plugin that belogs to this object's mimetype. - It will be auto-loaded if it's currently not loaded - - @short - */ - // KFilePlugin * const plugin(); >>>> NOT CONVERTED - protected native void ref(); - protected native void deref(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java b/kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java deleted file mode 100644 index 107de482..00000000 --- a/kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java +++ /dev/null @@ -1,201 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQVariant; - -/** - - @brief A group of meta information items about a file - This is one group of meta information items about a file (see - KFileMetaInfo). - @short @brief A group of meta information items about a file - -*/ -public class KFileMetaInfoGroup implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFileMetaInfoGroup(Class dummy){} - - /** - You usually don't need to use this constructor yourself. Let - KFileMetaInfo do it for you. - @short - */ - // KFileMetaInfoGroup* KFileMetaInfoGroup(const TQString& arg1,const KFileMimeTypeInfo* arg2); >>>> NOT CONVERTED - /** - Copy constructor - @short Copy constructor - */ - public KFileMetaInfoGroup(KFileMetaInfoGroup original) { - newKFileMetaInfoGroup(original); - } - private native void newKFileMetaInfoGroup(KFileMetaInfoGroup original); - /** - Default constructor. This creates an "invalid" item - @short Default constructor. - */ - public KFileMetaInfoGroup() { - newKFileMetaInfoGroup(); - } - private native void newKFileMetaInfoGroup(); - /** - Returns true if the item is valid, i.e. if it contains data, false - if it's invalid (created with the default constructor and not been - assigned anything), or if KFileMetaInfoGroup.item() didn't find - your requested item). - @return true if valid, false if invalid - - @short Returns true if the item is valid, i. - */ - public native boolean isValid(); - /** - Returns false if the object contains data, true if it's empty. An - empty group is a group with no items (amazing, isn't it?). - @return true if empty, false otherwise - - @short Returns false if the object contains data, true if it's empty. - */ - public native boolean isEmpty(); - /** - Returns true if an item as added or removed from the group. - @return true if an item was added or removed from the group, otherwise - false. - - @short Returns true if an item as added or removed from the group. - */ - public native boolean isModified(); - /** - Operator for convenience. It does the same as item(), - but you cannot specify a group to search in - @short Operator for convenience. - */ - public native KFileMetaInfoItem op_at(String key); - /** - This method searches for the specified item. - @param key the key of the item to search - @return the specified item if found, an invalid item, if not - - @short This method searches for the specified item. - */ - public native KFileMetaInfoItem item(String key); - /** - Returns the item with the given <code>hint.</code> - @param hint the hint of the item - @return the item with the specified <code>hint</code> - - @short Returns the item with the given <code>hint.</code> - */ - public native KFileMetaInfoItem item(int hint); - /** - Convenience function. Returns the value of the specified key. - It does the same as item(key).value(). - @param key the key of the item to search - @return the value with the given key - - @short Convenience function. - */ - public native TQVariant value(String key); - /** - Use this method to get a list of keys in the specified group that - the plugin knows about. No variable keys. - For a group that doesn't support variable keys, all keys that this - group may have are returned. For a group that does support them, the - non-variable ones are returned. See KFileMetaInfo about variable - keys - @return the list of keys supported for this mimetype - - @short Use this method to get a list of keys in the specified group that the plugin knows about. - */ - public native ArrayList supportedKeys(); - /** - Returns true if this group supports adding or removing arbitrary - keys, false if not. - @return true is variable keys are supported, false otherwise - - @short Returns true if this group supports adding or removing arbitrary keys, false if not. - */ - public native boolean supportsVariableKeys(); - /** - Checks whether an item with the given <code>key</code> exists. - @return true if an item for this <code>key</code> exists. - - @short Checks whether an item with the given <code>key</code> exists. - */ - public native boolean contains(String key); - /** - Returns a list of all keys. - @return a list of all keys in the order they were inserted. - - @short Returns a list of all keys. - */ - public native ArrayList keys(); - /** - Returns a list of all keys in preference order. - @return a list of all keys in preference order. - - @short Returns a list of all keys in preference order. - */ - public native ArrayList preferredKeys(); - /** - Add an item to the info. This is only possible if the specified <code>key</code> - is in the supportedKeys list and not yet defined or if - the group supports variable keys. - @param key the key of the item - @return the KFileMetaInfoItem for the given <code>key</code> - - @short Add an item to the info. - */ - public native KFileMetaInfoItem addItem(String key); - /** - Remove this item from the meta info of the file. You cannot query - KFileMetaInfo for a removed object, but you can query for a list of - removed items with removedItems() if you need to. - If you re-add it, its value will be cleared. - @param key the key of the removed item - @return true if successful, false otherwise - - @short Remove this item from the meta info of the file. - */ - public native boolean removeItem(String key); - /** - Returns a list of all removed items. - @return a list of all removed items - - @short Returns a list of all removed items. - */ - public native ArrayList removedItems(); - /** - The name of this group. - @return the name of this group - - @short The name of this group. - */ - public native String name(); - /** - The translated name of this group. - @return the translated name of this group - - @short The translated name of this group. - */ - public native String translatedName(); - /** - Returns the attributes of this item. - @return the attributes - - @short Returns the attributes of this item. - */ - public native int attributes(); - protected native void setAdded(); - protected native KFileMetaInfoItem appendItem(String key, TQVariant value); - protected native void ref(); - protected native void deref(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileMetaInfoItem.java b/kdejava/koala/org/kde/koala/KFileMetaInfoItem.java deleted file mode 100644 index 422dfcea..00000000 --- a/kdejava/koala/org/kde/koala/KFileMetaInfoItem.java +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQVariant; - -/** - - @brief A meta information item about a file - This is one item of the meta information about a file (see - KFileMetaInfo). - @short @brief A meta information item about a file - -*/ -public class KFileMetaInfoItem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFileMetaInfoItem(Class dummy){} - - /** - You usually don't need to use this constructor yourself. Let - KFileMetaInfo do it for you. - @short - */ - // KFileMetaInfoItem* KFileMetaInfoItem(const KFileMimeTypeInfo::ItemInfo* arg1,const TQString& arg2,const TQVariant& arg3); >>>> NOT CONVERTED - /** - Copy constructor - @short Copy constructor - */ - public KFileMetaInfoItem(KFileMetaInfoItem item) { - newKFileMetaInfoItem(item); - } - private native void newKFileMetaInfoItem(KFileMetaInfoItem item); - /** - Default constructor. This creates an "invalid" item - @short Default constructor. - */ - public KFileMetaInfoItem() { - newKFileMetaInfoItem(); - } - private native void newKFileMetaInfoItem(); - /** - Returns the key of the item. - @return the key of this item - - @short Returns the key of the item. - */ - public native String key(); - /** - Returns a translation of the key for displaying to the user. If the - plugin provides translation to the key, it's also in the user's language - @return the translated key - - @short Returns a translation of the key for displaying to the user. - */ - public native String translatedKey(); - /** - Returns the value of the item. - @return the value of the item. - - @short Returns the value of the item. - */ - public native TQVariant value(); - /** - Returns a string containing the value, if possible. If not, - null is returned. - @param mangle if true, the string will already contain prefix and - suffix - @return the value string, or null if not possible - - @short Returns a string containing the value, if possible. - */ - public native String string(boolean mangle); - public native String string(); - /** - Changes the value of the item. - @param value the new value - @return true if successful, false otherwise - - @short Changes the value of the item. - */ - public native boolean setValue(TQVariant value); - /** - Return the type of the item. - @return the type of the item - - @short Return the type of the item. - */ - public native int type(); - /** - You can query if the application can edit the item and write it back to - the file with this method. - @note This doesn't ensure that you have write access to the file and - that enough space is available. - @return true if the item's value can be changed, false if not - - @short You can query if the application can edit the item and write it back to the file with this method. - */ - public native boolean isEditable(); - /** - If you remove an item, it is only marked for removal for the file. On - the next KFileMetaInfo.applyChanges() , it will be removed from - the file. With this method, you can ask if the item is marked for - removal. - @return true if the item was removed, false if not - - @short If you remove an item, it is only marked for removal for the file. - */ - public native boolean isRemoved(); - /** - If you change an item, it is marked as "dirty". On the next - KFileMetaInfo.applyChanges() , the change will be written to the - file. With this method, you can ask if this item is dirty. - @return true if the item contains changes that have not yet been written - back into the file. Removing or adding an item counts as such a change - - @short If you change an item, it is marked as "dirty". - */ - public native boolean isModified(); - /** - This method returns a translated prefix to be displayed before the - value. Think e.g. of the $ in $30 - @return the prefix - - @short This method returns a translated prefix to be displayed before the value. - */ - public native String prefix(); - /** - This method returns a translated suffix to be displayed after the - value. Think of the kbps in 128kbps - @return the suffix - - @short This method returns a translated suffix to be displayed after the value. - */ - public native String suffix(); - /** - Returns the hint for this item. See KFileMimeTypeInfo.Hint. - @return the hint - - @short Returns the hint for this item. - */ - public native int hint(); - /** - Returns the attributes for this item. See - KFileMimeTypeInfo.Attributes. - @return the attributes - - @short Returns the attributes for this item. - */ - public native int attributes(); - /** - Return true if the item is valid, i.e. if it contains data, false - if it's invalid (created with the default constructor and not been - assigned anything), or if KFileMetaInfoGroup.item() didn't find - your requested item). - @return true if valid, false if invalid - - @short Return true if the item is valid, i. - */ - public native boolean isValid(); - protected native void setAdded(); - protected native void setRemoved(); - protected native void ref(); - protected native void deref(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFilePlugin.java b/kdejava/koala/org/kde/koala/KFilePlugin.java deleted file mode 100644 index 3b00e4c9..00000000 --- a/kdejava/koala/org/kde/koala/KFilePlugin.java +++ /dev/null @@ -1,179 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQValidator; -import org.kde.qt.TQObject; - -/** - - @brief Base class for a meta information plugin - Meta information plugins are used to extract useful information from files - of a given type. These plugins are used in Konqueror's file properties - dialog, for example. - If you want to write your own plugin, you need to derive from this class. - In the constructor of your class, you need to call addMimeTypeInfo() to tell - the KFile framework which mimetype(s) your plugin supports. For each - mimetype, use the addGroupInfo() and addItemInfo() methods to declare the - meta information items the plugin calculates and to group them accordingly. - For groups, use setAttributes() to customize your group (see - KFileMimeTypeInfo.Attributes). For items, use setAttributes() to define the - behaviour of the item; use setHint() to define the meaning of the item; use - setUnit() to define the Unit, such as KFileMimeTypeInfo.Seconds or - KFileMimeTypeInfo.KiloBytes. In short, the constructor defines the data - structure of the meta information supported by your plugin. - Example: - @code - FooPlugin.FooPlugin(TQObject parent, String name, - ArrayListargs) - { - KFileMimeTypeInfo info = addMimeTypeInfo( "application/x-foo" ); - // our new group - KFileMimeTypeInfo.GroupInfo group = null; - group = addGroupInfo(info, "FooInfo", i18n("Foo Information")); - KFileMimeTypeInfo.ItemInfo item; - // our new items in the group - item = addItemInfo(group, "Items", i18n("Items"), TQVariant.Int); - item = addItemInfo(group, "Size", i18n("Size"), TQVariant.Int); - setUnit(item, KFileMimeTypeInfo.KiloBytes); - // strings are possible, too: - //addItemInfo(group, "Document Type", i18n("Document type"), TQVariant.String); - } - @endcode - Some meta information items are likely to be available in several different - file formats, such as @c "Author", @c "Title" (for documents), and - @c "Length" (for multimedia files). Be sure to use the naming scheme from - existing plugins for your meta information items if possible. If, for - example, the meta information of a group of files is shown in a table view, - this will allow two files to share the same column (say "Length") even if - they are of a different file type. - You must overwrite the readInfo() method. In this method you need to extract - the meta information of the given file. You can use a third-party library to - achieve this task. This might be the best way for binary files, since a - change in the file format is likely to be supported by subsequent releases - of that library. Alternatively, for text-based file formats, you can use - TQTextStream to parse the file. For simple file formats, TQRegExp can be of - great help, too. - After you extracted the relevant information, use appendGroup() and - appendItem() to fill the meta information data structure (as defined in the - constructor) with values. Note that you can leave out groups or items - which are not appropriate for a particular file. - Example: - @code - boolean FooPlugin.readInfo( KFileMetaInfo& info, uint what) - { - int numItems = 0; - int size = 0; - // do your calculations here, e.g. using a third-party - // library or by writing an own parser using e.g. TQTextStream - // calculate numItems and size ... - // note: use the same key strings as in the constructor - KFileMetaInfoGroup group = appendGroup(info, "FooInfo"); - appendItem(group, "Items", numItems); - appendItem(group, "Size", size); - return true; - } - @endcode - If you want to define mutable meta information items, you need to overwrite - the writeInfo() method. In this method, you can use third-party library - (appropriate mostly for binary files, see above) or TQTextStream to write the - information back to the file. If you use TQTextStream, be sure to write all - file contents back. - For some items, it might be that not all possible values are allowed. You - can overwrite the createValidator() method to define constraints for a meta - information item. For example, the @c "Year" field for an MP3 file could - reject values outside the range 1500 - 2050 (at least for now). The - validator is used to check values before the writeInfo() method is called so - that writeInfo() is only provided correct values. - In your plugin, you need to create a factory for the KFilePlugin - Example: - @code - typedef KGenericFactory<FooPlugin> FooFactory; - K_EXPORT_COMPONENT_FACTORY(tdefile_foo, FooFactory("tdefile_foo")); - @endcode - To make your plugin available within KDE, you also need to provide a - <code>.desktop</code> file which describes your plugin. The required fields in the - file are: - - <code>Type</code>: must be @c "Service" - - <code>Name</code>: the name of the plugin - - <code>ServiceTypes</code>: must contain @c "KFilePlugin" - - <code>X</code>-KDE-Library: the name of the library containing the KFile plugin - - <code>MimeType</code>: the mimetype(s) which are supported by the plugin - - <code>PreferredGroups</code>: a comma-separated list of the most important groups. - This list defines the order in which the meta information groups should be - displayed - - <code>PreferredItems</code>: a comma-separated list of the most important items. - This list defines the order in which the meta information items should be - displayed - Example: - @code - [Desktop Entry] - Encoding=UTF-8 - Type=Service - Name=Foo Info - ServiceTypes=KFilePlugin - X-TDE-Library=tdefile_foo - MimeType=application/x-foo - PreferredGroups=FooInfo - PreferredItems=Items,Size - @endcode - @short @brief Base class for a meta information plugin - -*/ -public class KFilePlugin extends TQObject { - protected KFilePlugin(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new KFilePlugin instance. You need to implement a constructor - with the same argument list as this is required by KGenericFactory - @param parent the parent of the TQObject, can be <code>0</code> - @param name the name of the TQObject, can be <code>0</code> - @param args currently ignored - @short Creates a new KFilePlugin instance. - @see #addMimeTypeInfo - @see #addGroupInfo - @see #addItemInfo - @see org.kde.qt.TQObject - */ - /** - Read the info from the file in this method and insert it into the - provided KFileMetaInfo object. You can get the path to the file with - KFileMetaInfo.path(). Use appendGroup() and appendItem() to fill - <code>info</code> with the extracted values - @param info the information will be written here - @param what defines what to read, see KFileMetaInfo.What - @return @c true if successful, @c false if it failed - - @short Read the info from the file in this method and insert it into the provided KFileMetaInfo object. - @see #writeInfo - */ - public native boolean readInfo(KFileMetaInfo info, int what); - public native boolean readInfo(KFileMetaInfo info); - /** - Similar to the readInfo() but for writing the info back to the file. - If you don't have any writable keys, don't implement this method - @param info the information that will be written - @return @c true if successful, @c false if it failed - - @short Similar to the readInfo() but for writing the info back to the file. - */ - public native boolean writeInfo(KFileMetaInfo info); - /** - This method should create an appropriate validator for the specified - item if it's editable or return a null pointer if not. If you don't have - any editable items, you don't need to implement this method. - If you you don't need any validation, e.g. you accept any input, you can - simply return <code>null</code>, or not reimplement this method at all. - @param mimeType the mime type - @param group the group name of the validator item - @param key the key name of the validator item - @param parent the TQObject parent, can be <code>0</code> - @param name the name of the TQObject, can be <code>0</code> - @short This method should create an appropriate validator for the specified item if it's editable or return a null pointer if not. - */ - public native TQValidator createValidator(String mimeType, String group, String key, TQObject parent, String name); -} diff --git a/kdejava/koala/org/kde/koala/KFilePreview.java b/kdejava/koala/org/kde/koala/KFilePreview.java deleted file mode 100644 index 17c74195..00000000 --- a/kdejava/koala/org/kde/koala/KFilePreview.java +++ /dev/null @@ -1,218 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQSplitter; - -/** - See {@link KFilePreviewSignals} for signals emitted by KFilePreview -*/ -public class KFilePreview extends TQSplitter implements KFileViewInterface { - protected KFilePreview(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KFilePreview(TQWidget parent, String name) { - super((Class) null); - newKFilePreview(parent,name); - } - private native void newKFilePreview(TQWidget parent, String name); - public KFilePreview(KFileViewInterface view, TQWidget parent, String name) { - super((Class) null); - newKFilePreview(view,parent,name); - } - private native void newKFilePreview(KFileViewInterface view, TQWidget parent, String name); - public native TQWidget widget(); - public native void clearView(); - /** - Delets the current view and sets the view to the given <code>view.</code> - The view is reparented to have this as parent, if necessary. - @short Delets the current view and sets the view to the given <code>view.</code> - */ - public native void setFileView(KFileViewInterface view); - /** - @return the current fileview - - @short - */ - public native KFileViewInterface fileView(); - public native void updateView(boolean arg1); - public native void updateView(KFileItem arg1); - public native void removeItem(KFileItem arg1); - public native void listingCompleted(); - public native void setSelectionMode(int sm); - public native void setSelected(KFileItem arg1, boolean arg2); - public native boolean isSelected(KFileItem arg1); - public native void clearSelection(); - public native void selectAll(); - public native void invertSelection(); - public native void insertItem(KFileItem arg1); - public native void clear(); - public native void setCurrentItem(KFileItem arg1); - public native KFileItem currentFileItem(); - public native KFileItem firstFileItem(); - public native KFileItem nextItem(KFileItem arg1); - public native KFileItem prevItem(KFileItem arg1); - public native void setSorting(int sort); - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - /** - This overrides KFileView.actionCollection() by returning - the actionCollection() of the KFileView (member left) it contains. - This means that KFilePreview will never create a TDEActionCollection - object of its own. - @short This overrides KFileView.actionCollection() by returning the actionCollection() of the KFileView (member left) it contains. - */ - public native TDEActionCollection actionCollection(); - public native void ensureItemVisible(KFileItem arg1); - public native void setPreviewWidget(TQWidget w, KURL u); - protected native void slotHighlighted(KFileItem arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - inserts a list of items. - @short inserts a list of items. - */ - public native void addItemList(ArrayList list); - /** - Sets <code>filename</code> the current item in the view, if available. - @short Sets <code>filename</code> the current item in the view, if available. - */ - public native void setCurrentItem(String filename); - public native void updateView(); - /** - Returns the sorting order of the internal list. Newly added files - are added through this sorting. - @short Returns the sorting order of the internal list. - */ - public native int sorting(); - /** - Tells whether the current items are in reversed order (shortcut to - sorting() & TQDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). - */ - public native boolean isReversed(); - public native void sortReversed(); - /** - @return the number of dirs and files - - @short - */ - public native int count(); - /** - @return the number of files. - - @short - */ - public native int numFiles(); - /** - @return the number of directories - - @short - */ - public native int numDirs(); - public native void setViewMode(int vm); - public native int viewMode(); - /** - @return the localized name of the view, which could be displayed - somewhere, e.g. in a menu, where the user can choose between views. - - @short - @see #setViewName - */ - public native String viewName(); - /** - Sets the name of the view, which could be displayed somewhere. - E.g. "Image Preview". - @short Sets the name of the view, which could be displayed somewhere. - */ - public native void setViewName(String name); - public native void setParentView(KFileViewInterface parent); - /** - @return all currently highlighted items. - - @short - */ - public native ArrayList selectedItems(); - /** - @return all items currently available in the current sort-order - - @short - */ - public native ArrayList items(); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - Every view has to decide when to call select( item ) when a file was - single-clicked, based on onlyDoubleClickSelectsFiles(). - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - increases the number of dirs and files. - @return true if the item fits the view mode - - @short increases the number of dirs and files. - */ - public native boolean updateNumbers(KFileItem i); - public native KFileViewSignaler signaler(); - /** - Specify DND options. See DropOptions for details. - All options are disabled by default. - @short Specify DND options. - */ - public native void setDropOptions(int options); - /** - Returns the DND options in effect. - See DropOptions for details. - @short Returns the DND options in effect. - */ - public native int dropOptions(); - /** - This method calculates a String from the given parameters, that is - suitable for sorting with e.g. TQIconView or TQListView. Their - Item-classes usually have a setKey( String ) method or a virtual - method String key() that is used for sorting. - @param value Any string that should be used as sort criterion - @param isDir Tells whether the key is computed for an item representing - a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of TQDir.SortSpec flags. - Currently, the values IgnoreCase, Reversed and - DirsFirst are taken into account. - @short This method calculates a String from the given parameters, that is suitable for sorting with e. - */ - public static native String sortingKey(String value, boolean isDir, int sortSpec); - /** - An overloaded method that takes not a String, but a number as sort - criterion. You can use this for file-sizes or dates/times for example. - If you use a time_t, you need to cast that to TDEIO.filesize_t because - of ambiguity problems. - @short An overloaded method that takes not a String, but a number as sort criterion. - */ - public static native String sortingKey(long value, boolean isDir, int sortSpec); - /** - delay before auto opening a directory - @short - */ - public static native int autoOpenDelay(); - protected native void setDropOptions_impl(int options); -} diff --git a/kdejava/koala/org/kde/koala/KFilePreviewSignals.java b/kdejava/koala/org/kde/koala/KFilePreviewSignals.java deleted file mode 100644 index 1642a558..00000000 --- a/kdejava/koala/org/kde/koala/KFilePreviewSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KFilePreviewSignals { - void showPreview(KURL arg1); - void clearPreview(); -} diff --git a/kdejava/koala/org/kde/koala/KFileShare.java b/kdejava/koala/org/kde/koala/KFileShare.java deleted file mode 100644 index 64ce86d9..00000000 --- a/kdejava/koala/org/kde/koala/KFileShare.java +++ /dev/null @@ -1,113 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Common functionality for the file sharing - (communication with the backend) - @short Common functionality for the file sharing (communication with the backend) - -*/ -public class KFileShare implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFileShare(Class dummy){} - - public static final int NotInitialized = 0; - public static final int ErrorNotFound = 1; - public static final int Authorized = 2; - public static final int UserNotAllowed = 3; - - /** - The used share mode. - Simple means that the simple sharing dialog is used and - users can share only folders from there HOME folder. - Advanced means that the advanced sharing dialog is used and - users can share any folder. - @short The used share mode. - */ - public static final int Simple = 0; - public static final int Advanced = 1; - - public KFileShare() { - newKFileShare(); - } - private native void newKFileShare(); - /** - Reads the file share configuration file - @short Reads the file share configuration file - */ - public static native void readConfig(); - /** - Reads the list of shared folders - @short Reads the list of shared folders - */ - public static native void readShareList(); - /** - Call this to know if a directory is currently shared - @short Call this to know if a directory is currently shared - */ - public static native boolean isDirectoryShared(String path); - /** - Call this to know if the current user is authorized to share directories - @short Call this to know if the current user is authorized to share directories - */ - public static native int authorization(); - public static native String findExe(String exeName); - /** - Uses a suid perl script to share the given path - with NFS and Samba - @param path the path to share - @param shared whether the path should be shared or not - @return whether the perl script was successful - - @short Uses a suid perl script to share the given path with NFS and Samba - */ - public static native boolean setShared(String path, boolean shared); - /** - Returns whether sharing is enabled - If this is false, file sharing is disabled and - nobody can share files. - @short Returns whether sharing is enabled If this is false, file sharing is disabled and nobody can share files. - */ - public static native boolean sharingEnabled(); - /** - Returns whether file sharing is restricted. - If it is not restricted every user can shar files. - If it is restricted only users in the configured - file share group can share files. - @short Returns whether file sharing is restricted. - */ - public static native boolean isRestricted(); - /** - Returns the group that is used for file sharing. - That is, all users in that group are allowed to - share files if file sharing is restricted. - @short Returns the group that is used for file sharing. - */ - public static native String fileShareGroup(); - /** - Returns the configured share mode - @short Returns the configured share mode - */ - public static native int shareMode(); - /** - Returns whether Samba is enabled - @short Returns whether Samba is enabled - */ - public static native boolean sambaEnabled(); - /** - Returns whether NFS is enabled - @short Returns whether NFS is enabled - */ - public static native boolean nfsEnabled(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileTreeBranch.java b/kdejava/koala/org/kde/koala/KFileTreeBranch.java deleted file mode 100644 index 75dedfa3..00000000 --- a/kdejava/koala/org/kde/koala/KFileTreeBranch.java +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; - -/** - - This is the branch class of the KFileTreeView, which represents one - branch in the treeview. Every branch has a root which is an url. The branch - lists the files under the root. Every branch uses its own dirlister and can - have its own filter etc. - See {@link KFileTreeBranchSignals} for signals emitted by KFileTreeBranch - @short Branch object for KFileTreeView object. - -*/ -public class KFileTreeBranch extends KDirLister { - protected KFileTreeBranch(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - constructs a branch for KFileTreeView. Does not yet start to list it. - @param url start url of the branch. - @param name the name of the branch, which is displayed in the first column of the treeview. - @param pix is a pixmap to display as an icon of the branch. - @param showHidden flag to make hidden files visible or not. - @param branchRoot is the KFileTreeViewItem to use as the root of the - branch, with the default 0 meaning to let KFileTreeBranch create - it for you. - @short constructs a branch for KFileTreeView. - */ - public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden, KFileTreeViewItem branchRoot) { - super((Class) null); - newKFileTreeBranch(arg1,url,name,pix,showHidden,branchRoot); - } - private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden, KFileTreeViewItem branchRoot); - public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden) { - super((Class) null); - newKFileTreeBranch(arg1,url,name,pix,showHidden); - } - private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden); - public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix) { - super((Class) null); - newKFileTreeBranch(arg1,url,name,pix); - } - private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix); - /** - @return the root url of the branch. - - @short - */ - public native KURL rootUrl(); - /** - sets a KFileTreeViewItem as root widget for the branch. - That must be created outside of the branch. All KFileTreeViewItems - the branch is allocating will become children of that object. - @param r the KFileTreeViewItem to become the root item. - @short sets a KFileTreeViewItem as root widget for the branch. - */ - public native void setRoot(KFileTreeViewItem r); - /** - @return the root item. - - @short - */ - public native KFileTreeViewItem root(); - /** - @return the name of the branch. - - @short - */ - public native String name(); - /** - sets the name of the branch. - @short sets the name of the branch. - */ - public native void setName(String n); - public native TQPixmap pixmap(); - public native TQPixmap openPixmap(); - /** - @return whether the items in the branch show their file extensions in the - tree or not. See setShowExtensions for more information. - - @short - */ - public native boolean showExtensions(); - /** - sets the root of the branch open or closed. - @short sets the root of the branch open or closed. - */ - public native void setOpen(boolean setopen); - public native void setOpen(); - /** - sets if children recursion is wanted or not. If this is switched off, the - child directories of a just opened directory are not listed internally. - That means that it can not be determined if the sub directories are - expandable or not. If this is switched off there will be no call to - setExpandable. - @param t set to true to switch on child recursion - @short sets if children recursion is wanted or not. - */ - public native void setChildRecurse(boolean t); - public native void setChildRecurse(); - /** - @return if child recursion is on or off. - - @short - @see #setChildRecurse - */ - public native boolean childRecurse(); - /** - find the according KFileTreeViewItem by an url - @short find the according KFileTreeViewItem by an url - */ - public native KFileTreeViewItem findTVIByURL(KURL arg1); - /** - populates a branch. This method must be called after a branch was added - to a KFileTreeView using method addBranch. - @param url is the url of the root item where the branch starts. - @param currItem is the current parent. - @short populates a branch. - */ - public native boolean populate(KURL url, KFileTreeViewItem currItem); - /** - sets printing of the file extensions on or off. If you pass false to this - slot, all items of this branch will not show their file extensions in the - tree. - @param visible flags if the extensions should be visible or not. - @short sets printing of the file extensions on or off. - */ - public native void setShowExtensions(boolean visible); - public native void setShowExtensions(); - public native void setOpenPixmap(TQPixmap pix); - /** - allocates a KFileTreeViewItem for the branch - for new items. - @short allocates a KFileTreeViewItem for the branch for new items. - */ - protected native KFileTreeViewItem createTreeViewItem(KFileTreeViewItem parent, KFileItem fileItem); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java b/kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java deleted file mode 100644 index 79c8d27e..00000000 --- a/kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; - -public interface KFileTreeBranchSignals { - /** - emitted with the item of a directory which was finished to populate - @short emitted with the item of a directory which was finished to populate - */ - void populateFinished(KFileTreeViewItem arg1); - // void newTreeViewItems(KFileTreeBranch* arg1,const KFileTreeViewItemList& arg2); >>>> NOT CONVERTED - /** - emitted with the exact count of children for a directory. - @short emitted with the exact count of children for a directory. - */ - void directoryChildCount(KFileTreeViewItem item, int count); -} diff --git a/kdejava/koala/org/kde/koala/KFileTreeView.java b/kdejava/koala/org/kde/koala/KFileTreeView.java deleted file mode 100644 index 51a65d57..00000000 --- a/kdejava/koala/org/kde/koala/KFileTreeView.java +++ /dev/null @@ -1,168 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -/** - - The filetreeview offers a treeview on the file system which behaves like - a TQTreeView showing files and/or directories in the file system. - KFileTreeView is able to handle more than one URL, represented by - KFileTreeBranch. - Typical usage: - 1. create a KFileTreeView fitting in your layout and add columns to it - 2. call addBranch to create one or more branches - 3. retrieve the root item with KFileTreeBranch.root() and set it open - if desired. That starts the listing. - See {@link KFileTreeViewSignals} for signals emitted by KFileTreeView - @short The filetreeview offers a treeview on the file system which behaves like a TQTreeView showing files and/or directories in the file system. - -*/ -public class KFileTreeView extends TDEListView { - protected KFileTreeView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KFileTreeView(TQWidget parent, String name) { - super((Class) null); - newKFileTreeView(parent,name); - } - private native void newKFileTreeView(TQWidget parent, String name); - public KFileTreeView(TQWidget parent) { - super((Class) null); - newKFileTreeView(parent); - } - private native void newKFileTreeView(TQWidget parent); - /** - @return the current (i.e. selected) item - - @short - */ - public native KFileTreeViewItem currentKFileTreeViewItem(); - /** - @return the URL of the current selected item. - - @short - */ - public native KURL currentURL(); - /** - Adds a branch to the treeview item. - This high-level function creates the branch, adds it to the treeview and - connects some signals. Note that directory listing does not start until - a branch is expanded either by opening the root item by user or by setOpen - on the root item. - @param path is the base url of the branch - @param name is the name of the branch, which will be the text for column 0 - @param showHidden says if hidden files and directories should be visible - @return a pointer to the new branch or zero - - @short Adds a branch to the treeview item. - */ - public native KFileTreeBranch addBranch(KURL path, String name, boolean showHidden); - public native KFileTreeBranch addBranch(KURL path, String name); - /** - same as the function above but with a pixmap to set for the branch. - @short same as the function above but with a pixmap to set for the branch. - */ - public native KFileTreeBranch addBranch(KURL path, String name, TQPixmap pix, boolean showHidden); - public native KFileTreeBranch addBranch(KURL path, String name, TQPixmap pix); - /** - same as the function above but letting the user create the branch. - @short same as the function above but letting the user create the branch. - */ - public native KFileTreeBranch addBranch(KFileTreeBranch arg1); - /** - removes the branch from the treeview. - @param branch is a pointer to the branch - @return true on success. - - @short removes the branch from the treeview. - */ - public native boolean removeBranch(KFileTreeBranch branch); - /** - @param searchName is the name of a branch - @return a pointer to the KFileTreeBranch in the KFileTreeView or zero on failure. - - @short - */ - public native KFileTreeBranch branch(String searchName); - /** - @return a list of pointers to all existing branches in the treeview. - - @short - */ - // KFileTreeBranchList& branches(); >>>> NOT CONVERTED - /** - set the directory mode for branches. If true is passed, only directories will be loaded. - @param branch is a pointer to a KFileTreeBranch - @short set the directory mode for branches. - */ - public native void setDirOnlyMode(KFileTreeBranch branch, boolean arg2); - /** - searches a branch for a KFileTreeViewItem identified by the relative url given as - second parameter. The method adds the branches base url to the relative path and finds - the item. - @param brnch is a pointer to the branch to search in - @param relUrl is the branch relativ url - @return a pointer to the item or zero if the item does not exist. - - @short searches a branch for a KFileTreeViewItem identified by the relative url given as second parameter. - */ - public native KFileTreeViewItem findItem(KFileTreeBranch brnch, String relUrl); - /** - see method above, differs only in the first parameter. Finds the branch by its name. - @short see method above, differs only in the first parameter. - */ - public native KFileTreeViewItem findItem(String branchName, String relUrl); - /** - @return a flag indicating if extended folder pixmaps are displayed or not. - - @short - */ - public native boolean showFolderOpenPixmap(); - /** - set the flag to show 'extended' folder icons on or off. If switched on, folders will - have an open folder pixmap displayed if their children are visible, and the standard - closed folder pixmap (from mimetype folder) if they are closed. - If switched off, the plain mime pixmap is displayed. - @param showIt = false displays mime type pixmap only - @short set the flag to show 'extended' folder icons on or off. - */ - public native void setShowFolderOpenPixmap(boolean showIt); - public native void setShowFolderOpenPixmap(); - /** - @return true if we can decode the drag and support the action - - @short - */ - protected native boolean acceptDrag(TQDropEvent event); - protected native TQDragObject dragObject(); - protected native void startAnimation(KFileTreeViewItem item, String iconBaseName, int iconCount); - protected native void startAnimation(KFileTreeViewItem item, String iconBaseName); - protected native void startAnimation(KFileTreeViewItem item); - protected native void stopAnimation(KFileTreeViewItem item); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDropEvent(TQDropEvent ev); - // void slotNewTreeViewItems(KFileTreeBranch* arg1,const KFileTreeViewItemList& arg2); >>>> NOT CONVERTED - protected native void slotSetNextUrlToSelect(KURL url); - protected native TQPixmap itemIcon(KFileTreeViewItem arg1, int gap); - protected native TQPixmap itemIcon(KFileTreeViewItem arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileTreeViewItem.java b/kdejava/koala/org/kde/koala/KFileTreeViewItem.java deleted file mode 100644 index 1938b7e6..00000000 --- a/kdejava/koala/org/kde/koala/KFileTreeViewItem.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - An item for a KFileTreeView that knows about its own KFileItem. - @short An item for a KFileTreeView that knows about its own KFileItem. - -*/ -public class KFileTreeViewItem extends TDEListViewItem { - protected KFileTreeViewItem(Class dummy){super((Class) null);} - public KFileTreeViewItem(KFileTreeViewItem arg1, KFileItem arg2, KFileTreeBranch arg3) { - super((Class) null); - newKFileTreeViewItem(arg1,arg2,arg3); - } - private native void newKFileTreeViewItem(KFileTreeViewItem arg1, KFileItem arg2, KFileTreeBranch arg3); - public KFileTreeViewItem(KFileTreeView arg1, KFileItem arg2, KFileTreeBranch arg3) { - super((Class) null); - newKFileTreeViewItem(arg1,arg2,arg3); - } - private native void newKFileTreeViewItem(KFileTreeView arg1, KFileItem arg2, KFileTreeBranch arg3); - /** - @return the KFileTreeBranch the item is sorted in. - - @short - */ - public native KFileTreeBranch branch(); - /** - @return the KFileItem the viewitem is representing. - - @short - */ - public native KFileItem fileItem(); - /** - @return the path of the item. - - @short - */ - public native String path(); - /** - @return the items KURL - - @short - */ - public native KURL url(); - /** - @return if the item represents a directory - - @short - */ - public native boolean isDir(); - /** - @return if this directory was already seen by a KDirLister. - - @short - */ - public native boolean alreadyListed(); - /** - set the flag if the directory was already listed. - @short set the flag if the directory was already listed. - */ - public native void setListed(boolean wasListed); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileTreeViewSignals.java b/kdejava/koala/org/kde/koala/KFileTreeViewSignals.java deleted file mode 100644 index 1964efa1..00000000 --- a/kdejava/koala/org/kde/koala/KFileTreeViewSignals.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -public interface KFileTreeViewSignals { - void onItem(String arg1); - void dropped(TQWidget arg1, TQDropEvent arg2); - void dropped(TQWidget arg1, TQDropEvent arg2, ArrayList arg3); - void dropped(ArrayList arg1, KURL arg2); - void dropped(TQWidget arg1, TQDropEvent arg2, ArrayList arg3, KURL arg4); - void dropped(TQDropEvent arg1, TQListViewItem arg2); - void dropped(KFileTreeView arg1, TQDropEvent arg2, TQListViewItem arg3); - void dropped(TQDropEvent arg1, TQListViewItem arg2, TQListViewItem arg3); - void dropped(KFileTreeView arg1, TQDropEvent arg2, TQListViewItem arg3, TQListViewItem arg4); -} diff --git a/kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java b/kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java deleted file mode 100644 index bda5ac86..00000000 --- a/kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQListView; -import org.kde.qt.TQToolTip; - -/** -*/ -public class KFileTreeViewToolTip extends TQToolTip { - protected KFileTreeViewToolTip(Class dummy){super((Class) null);} - public KFileTreeViewToolTip(TQListView view) { - super((Class) null); - newKFileTreeViewToolTip(view); - } - private native void newKFileTreeViewToolTip(TQListView view); - protected native void maybeTip(TQPoint arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileView.java b/kdejava/koala/org/kde/koala/KFileView.java deleted file mode 100644 index 52b444f7..00000000 --- a/kdejava/koala/org/kde/koala/KFileView.java +++ /dev/null @@ -1,312 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -/** - - This class defines an interface to all file views. Its intent is - to allow to switch the view of the files in the selector very easily. - It defines some pure functions, that must be implemented to - make a file view working. - Since this class is not a widget, but it's meant to be added to other - widgets, its most important function is widget. This should return - a pointer to the implemented widget. - @author Stephan Kulow <coolo@kde.org> - - @short A base class for views of the KDE file selector. - -*/ -public class KFileView implements QtSupport, KFileViewInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KFileView(Class dummy){} - - public static final int VIRTUAL_SET_DROP_OPTIONS = 1; - - public static final int Files = 1; - public static final int Directories = 2; - public static final int All = Files|Directories; - - /** - Various options for drag and drop support. - These values can be or'd together. - - <li> - <code>AutoOpenDirs</code> Automatically open directory after hovering above it - for a short while while dragging. - </li> - @short Various options for drag and drop support. - */ - public static final int AutoOpenDirs = 1; - - /** - inserts a list of items. - @short inserts a list of items. - */ - public native void addItemList(ArrayList list); - /** - a pure function to get a TQWidget, that can be added to - other widgets. This function is needed to make it possible for - derived classes to derive from other widgets. - @short a pure virtual function to get a TQWidget, that can be added to other widgets. - */ - public native TQWidget widget(); - /** - Sets <code>filename</code> the current item in the view, if available. - @short Sets <code>filename</code> the current item in the view, if available. - */ - public native void setCurrentItem(String filename); - /** - Reimplement this to set <code>item</code> the current item in the view, e.g. - the item having focus. - @short Reimplement this to set <code>item</code> the current item in the view, e. - */ - public native void setCurrentItem(KFileItem item); - /** - @return the "current" KFileItem, e.g. where the cursor is. - Returns 0L when there is no current item (e.g. in an empty view). - Subclasses have to implement this. - - @short - */ - public native KFileItem currentFileItem(); - /** - Clears the view and all item lists. - @short Clears the view and all item lists. - */ - public native void clear(); - /** - does a repaint of the view. - The default implementation calls - <pre> - widget().repaint(f) - </pre> - @short does a repaint of the view. - */ - public native void updateView(boolean f); - public native void updateView(); - public native void updateView(KFileItem arg1); - /** - Removes an item from the list; has to be implemented by the view. - Call KFileView.removeItem( item ) after removing it. - @short Removes an item from the list; has to be implemented by the view. - */ - public native void removeItem(KFileItem item); - /** - This hook is called when all items of the currently listed directory - are listed and inserted into the view, i.e. there won't come any new - items anymore. - @short This hook is called when all items of the currently listed directory are listed and inserted into the view, i. - */ - public native void listingCompleted(); - /** - Returns the sorting order of the internal list. Newly added files - are added through this sorting. - @short Returns the sorting order of the internal list. - */ - public native int sorting(); - /** - Sets the sorting order of the view. - Default is TQDir.Name | TQDir.IgnoreCase | TQDir.DirsFirst - Override this in your subclass and sort accordingly (usually by - setting the sorting-key for every item and telling TQIconView - or TQListView to sort. - A view may choose to use a different sorting than TQDir.Name, Time - or Size. E.g. to sort by mimetype or any possible string. Set the - sorting to TQDir.Unsorted for that and do the rest internally. - @short Sets the sorting order of the view. - @see #sortingKey - */ - public native void setSorting(int sort); - /** - Tells whether the current items are in reversed order (shortcut to - sorting() & TQDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). - */ - public native boolean isReversed(); - public native void sortReversed(); - /** - @return the number of dirs and files - - @short - */ - public native int count(); - /** - @return the number of files. - - @short - */ - public native int numFiles(); - /** - @return the number of directories - - @short - */ - public native int numDirs(); - public native void setSelectionMode(int sm); - public native void setViewMode(int vm); - public native int viewMode(); - /** - @return the localized name of the view, which could be displayed - somewhere, e.g. in a menu, where the user can choose between views. - - @short - @see #setViewName - */ - public native String viewName(); - /** - Sets the name of the view, which could be displayed somewhere. - E.g. "Image Preview". - @short Sets the name of the view, which could be displayed somewhere. - */ - public native void setViewName(String name); - public native void setParentView(KFileViewInterface parent); - /** - The derived view must implement this function to add - the file in the widget. - Make sure to call this implementation, i.e. - KFileView.insertItem( i ); - @short The derived view must implement this function to add the file in the widget. - */ - public native void insertItem(KFileItem i); - /** - pure function, that should be implemented to clear - the view. At this moment the list is already empty - @short pure virtual function, that should be implemented to clear the view. - */ - public native void clearView(); - /** - pure function, that should be implemented to make item i - visible, i.e. by scrolling the view appropriately. - @short pure virtual function, that should be implemented to make item i visible, i. - */ - public native void ensureItemVisible(KFileItem i); - /** - Clears any selection, unhighlights everything. Must be implemented by - the view. - @short Clears any selection, unhighlights everything. - */ - public native void clearSelection(); - /** - Selects all items. You may want to override this, if you can implement - it more efficiently than calling setSelected() with every item. - This works only in Multiselection mode of course. - @short Selects all items. - */ - public native void selectAll(); - /** - Inverts the current selection, i.e. selects all items, that were up to - now not selected and deselects the other. - @short Inverts the current selection, i. - */ - public native void invertSelection(); - /** - Tells the view that it should highlight the item. - This function must be implemented by the view. - @short Tells the view that it should highlight the item. - */ - public native void setSelected(KFileItem arg1, boolean enable); - /** - @return whether the given item is currently selected. - Must be implemented by the view. - - @short - */ - public native boolean isSelected(KFileItem arg1); - /** - @return all currently highlighted items. - - @short - */ - public native ArrayList selectedItems(); - /** - @return all items currently available in the current sort-order - - @short - */ - public native ArrayList items(); - public native KFileItem firstFileItem(); - public native KFileItem nextItem(KFileItem arg1); - public native KFileItem prevItem(KFileItem arg1); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - Every view has to decide when to call select( item ) when a file was - single-clicked, based on onlyDoubleClickSelectsFiles(). - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - increases the number of dirs and files. - @return true if the item fits the view mode - - @short increases the number of dirs and files. - */ - public native boolean updateNumbers(KFileItem i); - /** - @return the view-specific action-collection. Every view should - add its actions here (if it has any) to make them available to - e.g. the KDirOperator's popup-menu. - - @short - */ - public native TDEActionCollection actionCollection(); - public native KFileViewSignaler signaler(); - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - /** - Specify DND options. See DropOptions for details. - All options are disabled by default. - @short Specify DND options. - */ - public native void setDropOptions(int options); - /** - Returns the DND options in effect. - See DropOptions for details. - @short Returns the DND options in effect. - */ - public native int dropOptions(); - /** - This method calculates a String from the given parameters, that is - suitable for sorting with e.g. TQIconView or TQListView. Their - Item-classes usually have a setKey( String ) method or a virtual - method String key() that is used for sorting. - @param value Any string that should be used as sort criterion - @param isDir Tells whether the key is computed for an item representing - a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of TQDir.SortSpec flags. - Currently, the values IgnoreCase, Reversed and - DirsFirst are taken into account. - @short This method calculates a String from the given parameters, that is suitable for sorting with e. - */ - public static native String sortingKey(String value, boolean isDir, int sortSpec); - /** - An overloaded method that takes not a String, but a number as sort - criterion. You can use this for file-sizes or dates/times for example. - If you use a time_t, you need to cast that to TDEIO.filesize_t because - of ambiguity problems. - @short An overloaded method that takes not a String, but a number as sort criterion. - */ - public static native String sortingKey(long value, boolean isDir, int sortSpec); - /** - delay before auto opening a directory - @short - */ - public static native int autoOpenDelay(); -} diff --git a/kdejava/koala/org/kde/koala/KFileViewInterface.java b/kdejava/koala/org/kde/koala/KFileViewInterface.java deleted file mode 100644 index b5a05049..00000000 --- a/kdejava/koala/org/kde/koala/KFileViewInterface.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KFileViewInterface { - void addItemList(ArrayList list); - TQWidget widget(); - void setCurrentItem(String filename); - void setCurrentItem(KFileItem item); - KFileItem currentFileItem(); - void clear(); - void updateView(boolean f); - void updateView(); - void updateView(KFileItem arg1); - void removeItem(KFileItem item); - void listingCompleted(); - int sorting(); - void setSorting(int sort); - boolean isReversed(); - void sortReversed(); - int count(); - int numFiles(); - int numDirs(); - void setSelectionMode(int sm); - void setViewMode(int vm); - int viewMode(); - String viewName(); - void setViewName(String name); - void setParentView(KFileViewInterface parent); - void insertItem(KFileItem i); - void clearView(); - void ensureItemVisible(KFileItem i); - void clearSelection(); - void selectAll(); - void invertSelection(); - void setSelected(KFileItem arg1, boolean enable); - boolean isSelected(KFileItem arg1); - ArrayList selectedItems(); - ArrayList items(); - KFileItem firstFileItem(); - KFileItem nextItem(KFileItem arg1); - KFileItem prevItem(KFileItem arg1); - void setOnlyDoubleClickSelectsFiles(boolean enable); - boolean onlyDoubleClickSelectsFiles(); - boolean updateNumbers(KFileItem i); - TDEActionCollection actionCollection(); - KFileViewSignaler signaler(); - void readConfig(TDEConfig arg1, String group); - void readConfig(TDEConfig arg1); - void writeConfig(TDEConfig arg1, String group); - void writeConfig(TDEConfig arg1); - void setDropOptions(int options); - int dropOptions(); -} diff --git a/kdejava/koala/org/kde/koala/KFileViewSignaler.java b/kdejava/koala/org/kde/koala/KFileViewSignaler.java deleted file mode 100644 index efa5f874..00000000 --- a/kdejava/koala/org/kde/koala/KFileViewSignaler.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQObject; - -/** - - internal class to make easier to use signals possible - See {@link KFileViewSignalerSignals} for signals emitted by KFileViewSignaler - @short internal class to make easier to use signals possible - -*/ -public class KFileViewSignaler extends TQObject { - protected KFileViewSignaler(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Call this method when an item is selected (depends on single click / - double click configuration). Emits the appropriate signal. - @short Call this method when an item is selected (depends on single click / double click configuration). - */ - public native void activate(KFileItem item); - /** - emits the highlighted signal for item. Call this in your view class - whenever the selection changes. - @short emits the highlighted signal for item. - */ - public native void highlightFile(KFileItem i); - public native void activateMenu(KFileItem i, TQPoint pos); - public native void changeSorting(int sorting); - public native void dropURLs(KFileItem i, TQDropEvent e, ArrayList urls); - public KFileViewSignaler() { - super((Class) null); - newKFileViewSignaler(); - } - private native void newKFileViewSignaler(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java b/kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java deleted file mode 100644 index 9a0c0463..00000000 --- a/kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; - -public interface KFileViewSignalerSignals { - void dirActivated(KFileItem arg1); - void sortingChanged(int arg1); - /** - the item maybe be null, indicating that we're in multiselection mode and - the selection has changed. - @short the item maybe be 0L, indicating that we're in multiselection mode and the selection has changed. - */ - void fileHighlighted(KFileItem arg1); - void fileSelected(KFileItem arg1); - void activatedMenu(KFileItem i, TQPoint arg2); - void dropped(KFileItem arg1, TQDropEvent arg2, ArrayList arg3); -} diff --git a/kdejava/koala/org/kde/koala/KFilterBase.java b/kdejava/koala/org/kde/koala/KFilterBase.java deleted file mode 100644 index 2d73b097..00000000 --- a/kdejava/koala/org/kde/koala/KFilterBase.java +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; -import org.kde.qt.TQObject; - -/** - - This is the base class for compression filters - such as gzip and bzip2. It's pretty much internal. - Don't use directly, use KFilterDev instead. - @short This is the base class for compression filters such as gzip and bzip2. - -*/ -public class KFilterBase extends TQObject { - protected KFilterBase(Class dummy){super((Class) null);} - /** \internal @short \internal - */ - public static final int OK = 0; - public static final int END = 1; - public static final int ERROR = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Sets the device on which the filter will work - @param dev the device on which the filter will work - @param autodelete if true, <code>dev</code> is deleted when the filter is deleted - @short Sets the device on which the filter will work - */ - public native void setDevice(TQIODeviceInterface dev, boolean autodelete); - public native void setDevice(TQIODeviceInterface dev); - /** - Returns the device on which the filter will work. - @return the device on which the filter will work - - @short Returns the device on which the filter will work. - */ - public native TQIODeviceInterface device(); - /** \internal @short \internal - */ - public native void init(int mode); - /** \internal @short \internal - */ - public native int mode(); - /** \internal @short \internal - */ - public native void terminate(); - /** \internal @short \internal - */ - public native void reset(); - /** \internal @short \internal - */ - public native boolean readHeader(); - /** \internal @short \internal - */ - public native boolean writeHeader(String filename); - /** \internal @short \internal - */ - public native void setOutBuffer(String data, int maxlen); - /** \internal @short \internal - */ - public native void setInBuffer(String data, int size); - /** \internal @short \internal - */ - public native boolean inBufferEmpty(); - /** \internal @short \internal - */ - public native int inBufferAvailable(); - /** \internal @short \internal - */ - public native boolean outBufferFull(); - /** \internal @short \internal - */ - public native int outBufferAvailable(); - /** \internal @short \internal - */ - public native int uncompress(); - /** \internal @short \internal - */ - public native int compress(boolean finish); - /** - Call this to create the appropriate filter for the file - named <code>fileName.</code> - @param fileName the name of the file to filter - @return the filter for the <code>fileName</code>, or 0 if not found - - @short Call this to create the appropriate filter for the file named <code>fileName.</code> - */ - public static native KFilterBase findFilterByFileName(String fileName); - /** - Call this to create the appropriate filter for the mimetype - <code>mimeType.</code> For instance application/x-gzip. - @param mimeType the mime type of the file to filter - @return the filter for the <code>mimeType</code>, or 0 if not found - - @short Call this to create the appropriate filter for the mimetype <code>mimeType.</code> - */ - public static native KFilterBase findFilterByMimeType(String mimeType); -} diff --git a/kdejava/koala/org/kde/koala/KFilterDev.java b/kdejava/koala/org/kde/koala/KFilterDev.java deleted file mode 100644 index beb1e1d8..00000000 --- a/kdejava/koala/org/kde/koala/KFilterDev.java +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; -import org.kde.qt.TQIODevice; - -/** - - A class for reading and writing compressed data onto a device - (e.g. file, but other usages are possible, like a buffer or a socket). - To simply read/write compressed files, see deviceForFile. - @author David Faure <faure@kde.org> - - @short A class for reading and writing compressed data onto a device (e. - -*/ -public class KFilterDev extends TQIODevice { - protected KFilterDev(Class dummy){super((Class) null);} - /** - Constructs a KFilterDev for a given filter (e.g. gzip, bzip2 etc.). - @param filter the KFilterBase to use - @param autoDeleteFilterBase when true this object will become the - owner of <code>filter.</code> - @short Constructs a KFilterDev for a given filter (e. - */ - public KFilterDev(KFilterBase filter, boolean autoDeleteFilterBase) { - super((Class) null); - newKFilterDev(filter,autoDeleteFilterBase); - } - private native void newKFilterDev(KFilterBase filter, boolean autoDeleteFilterBase); - public KFilterDev(KFilterBase filter) { - super((Class) null); - newKFilterDev(filter); - } - private native void newKFilterDev(KFilterBase filter); - /** - Open for reading or writing. - If the KFilterBase's device is not opened, it will be opened. - @short Open for reading or writing. - */ - public native boolean open(int mode); - /** - Close after reading or writing. - If the KFilterBase's device was opened by open(), it will be closed. - @short Close after reading or writing. - */ - public native void close(); - public native void flush(); - /** - For writing gzip compressed files only: - set the name of the original file, to be used in the gzip header. - @param fileName the name of the original file - @short For writing gzip compressed files only: set the name of the original file, to be used in the gzip header. - */ - public native void setOrigFileName(String fileName); - /** - Call this let this device skip the gzip headers when reading/writing. - This way KFilterDev (with gzip filter) can be used as a direct wrapper - around zlib - this is used by KZip. - @short Call this let this device skip the gzip headers when reading/writing. - */ - public native void setSkipHeaders(); - public native long size(); - public native long at(); - /** - That one can be quite slow, when going back. Use with care. - @short That one can be quite slow, when going back. - */ - public native boolean at(long arg1); - public native boolean atEnd(); - public native long readBlock(StringBuffer data, long maxlen); - public native long writeBlock(String data, long len); - public native int getch(); - public native int putch(int arg1); - public native int ungetch(int arg1); - /** - Creates an i/o device that is able to read from <code>fileName</code>, - whether it's compressed or not. Available compression filters - (gzip/bzip2 etc.) will automatically be used. - The compression filter to be used is determined from the <code>fileName</code> - if <code>mimetype</code> is empty. Pass "application/x-gzip" or "application/x-bzip2" - to force the corresponding decompression filter, if available. - Warning: application/x-bzip2 may not be available. - In that case a TQFile opened on the compressed data will be returned ! - Use KFilterBase.findFilterByMimeType and code similar to what - deviceForFile is doing, to better control what's happening. - The returned TQIODevice has to be deleted after using. - @param fileName the name of the file to filter - @param mimetype the mime type of the file to filter, or null if unknown - @param forceFilter if true, the function will either find a compression filter, or return 0. - If false, it will always return a TQIODevice. If no - filter is available it will return a simple TQFile. - This can be useful if the file is usable without a filter. - @return if a filter has been found, the TQIODevice for the filter. If the - filter does not exist, the return value depends on <code>forceFilter.</code> - The returned TQIODevice has to be deleted after using. - - @short Creates an i/o device that is able to read from <code>fileName</code>, whether it's compressed or not. - */ - public static native TQIODeviceInterface deviceForFile(String fileName, String mimetype, boolean forceFilter); - public static native TQIODeviceInterface deviceForFile(String fileName, String mimetype); - public static native TQIODeviceInterface deviceForFile(String fileName); - /** - Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, - whether the data is compressed or not. Available compression filters - (gzip/bzip2 etc.) will automatically be used. - The compression filter to be used is determined <code>mimetype</code> . - Pass "application/x-gzip" or "application/x-bzip2" - to use the corresponding decompression filter. - Warning: application/x-bzip2 may not be available. - In that case 0 will be returned ! - The returned TQIODevice has to be deleted after using. - @param inDevice input device, becomes owned by this device! Automatically deleted! - @param mimetype the mime type for the filter - @return a TQIODevice that filters the original stream. Must be deleted after - using - - @short Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not. - */ - public static native TQIODeviceInterface device(TQIODeviceInterface inDevice, String mimetype); - /** - Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, - whether the data is compressed or not. Available compression filters - (gzip/bzip2 etc.) will automatically be used. - The compression filter to be used is determined <code>mimetype</code> . - Pass "application/x-gzip" or "application/x-bzip2" - to use the corresponding decompression filter. - Warning: application/x-bzip2 may not be available. - In that case 0 will be returned ! - The returned TQIODevice has to be deleted after using. - @param inDevice input device. Won't be deleted if <code>autoDeleteInDevice</code> = false - @param mimetype the mime type for the filter - @param autoDeleteInDevice if true, <code>inDevice</code> will be deleted automatically - @return a TQIODevice that filters the original stream. Must be deleted after - using - - @short Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not. - */ - public static native TQIODeviceInterface device(TQIODeviceInterface inDevice, String mimetype, boolean autoDeleteInDevice); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFind.java b/kdejava/koala/org/kde/koala/KFind.java deleted file mode 100644 index a0b964f1..00000000 --- a/kdejava/koala/org/kde/koala/KFind.java +++ /dev/null @@ -1,259 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQRegExp; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - @brief A generic implementation of the "find" function. - <b></b>etail: - This class includes prompt handling etc. Also provides some - static functions which can be used to create custom behavior - instead of using the class directly. - <b></b>xample: - To use the class to implement a complete find feature: - In the slot connected to the find action, after using KFindDialog: - <pre> - // This creates a find-next-prompt dialog if needed. - m_find = new KFind(pattern, options, this); - // Connect highlight signal to code which handles highlighting - // of found text. - connect( m_find, SIGNAL("highlight( String, int, int )"), - this, SLOT("slotHighlight( String, int, int )") ); - // Connect findNext signal - called when pressing the button in the dialog - connect( m_find, SIGNAL("findNext()"), - this, SLOT("slotFindNext()") ); - </pre> - If you are using a non-modal find dialog (the recommended new way - in KDE-3.2), you should call right away m_find.closeFindNextDialog(). - Then initialize the variables determining the "current position" - (to the cursor, if the option FromCursor is set, - to the beginning of the selection if the option SelectedText is set, - and to the beginning of the document otherwise). - Initialize the "end of search" variables as well (end of doc or end of selection). - Swap begin and end if FindBackwards. - Finally, call slotFindNext(); - <pre> - void slotFindNext() - { - KFind.Result res = KFind.NoMatch; - while ( res == KFind.NoMatch && <position not at end> ) { - if ( m_find.needData() ) - m_find.setData( <current text fragment> ); - // Let KFind inspect the text fragment, and display a dialog if a match is found - res = m_find.find(); - if ( res == KFind.NoMatch ) { - <Move to the next text fragment, honoring the FindBackwards setting for the direction> - } - } - if ( res == KFind.NoMatch ) // i.e. at end - <Call either m_find.displayFinalDialog(); delete m_find; m_find = null; - or if ( m_find.shouldRestart() ) { reinit (w/o FromCursor) and call slotFindNext(); } - else { m_find.closeFindNextDialog(); }> - } - </pre> - Don't forget to delete m_find in the destructor of your class, - unless you gave it a parent widget on construction. - This implementation allows to have a "Find Next" action, which resumes the - search, even if the user closed the "Find Next" dialog. - A "Find Previous" action can simply switch temporarily the value of - FindBackwards and call slotFindNext() - and reset the value afterwards. - See {@link KFindSignals} for signals emitted by KFind - @author S.R.Haque <srhaque@iee.org>, David Faure <faure@kde.org>, - Arend van Beelen jr. <arend@auton.nl> - - @short @brief A generic implementation of the "find" function. - -*/ -public class KFind extends TQObject { - protected KFind(Class dummy){super((Class) null);} - public static final int NoMatch = 0; - public static final int Match = 1; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Only use this constructor if you don't use KFindDialog, or if - you use it as a modal dialog. - @short Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog. - */ - public KFind(String pattern, long options, TQWidget parent) { - super((Class) null); - newKFind(pattern,options,parent); - } - private native void newKFind(String pattern, long options, TQWidget parent); - /** - @return true if the application must supply a new text fragment - It also means the last call returned "NoMatch". But by storing this here - the application doesn't have to store it in a member variable (between - calls to slotFindNext()). - - @short - */ - public native boolean needData(); - /** - Call this when needData returns true, before calling find(). - @param data the text fragment (line) - @param startPos if set, the index at which the search should start. - This is only necessary for the very first call to setData usually, - for the 'find in selection' feature. A value of -1 (the default value) - means "process all the data", i.e. either 0 or data.length()-1 depending - on FindBackwards. - @short Call this when needData returns true, before calling find(). - */ - public native void setData(String data, int startPos); - public native void setData(String data); - /** - Call this when needData returns true, before calling find(). The use of - ID's is especially useful if you're using the FindIncremental option. - @param id the id of the text fragment - @param data the text fragment (line) - @param startPos if set, the index at which the search should start. - This is only necessary for the very first call to setData usually, - for the 'find in selection' feature. A value of -1 (the default value) - means "process all the data", i.e. either 0 or data.length()-1 depending - on FindBackwards. - @short Call this when needData returns true, before calling find(). - */ - public native void setData(int id, String data, int startPos); - public native void setData(int id, String data); - /** - Walk the text fragment (e.g. text-processor line, kspread cell) looking for matches. - For each match, emits the highlight() signal and displays the find-again dialog - proceeding. - @short Walk the text fragment (e. - */ - public native int find(); - /** - Return the current options. - Warning: this is usually the same value as the one passed to the constructor, - but options might change _during_ the replace operation: - e.g. the "All" button resets the PromptOnReplace flag. - @short Return the current options. - */ - public native long options(); - /** - Set new options. Usually this is used for setting or clearing the - FindBackwards options. - @short Set new options. - */ - public native void setOptions(long options); - /** - @return the pattern we're currently looking for - - @short - */ - public native String pattern(); - /** - Change the pattern we're looking for - @short Change the pattern we're looking for - */ - public native void setPattern(String pattern); - /** - Return the number of matches found (i.e. the number of times - the highlight signal was emitted). - If 0, can be used in a dialog box to tell the user "no match was found". - The final dialog does so already, unless you used setDisplayFinalDialog(false). - @short Return the number of matches found (i. - */ - public native int numMatches(); - /** - Call this to reset the numMatches count - (and the numReplacements count for a KReplace). - Can be useful if reusing the same KReplace for different operations, - or when restarting from the beginning of the document. - @short Call this to reset the numMatches count (and the numReplacements count for a KReplace). - */ - public native void resetCounts(); - /** - Virtual method, which allows applications to add extra checks for - validating a candidate match. It's only necessary to reimplement this - if the find dialog extension has been used to provide additional - criterias. - @param text The current text fragment - @param index The starting index where the candidate match was found - @param matchedlength The length of the candidate match - @short Virtual method, which allows applications to add extra checks for validating a candidate match. - */ - public native boolean validateMatch(String text, int index, int matchedlength); - /** - Returns true if we should restart the search from scratch. - Can ask the user, or return false (if we already searched the whole document). - @param forceAsking set to true if the user modified the document during the - search. In that case it makes sense to restart the search again. - @param showNumMatches set to true if the dialog should show the number of - matches. Set to false if the application provides a "find previous" action, - in which case the match count will be erroneous when hitting the end, - and we could even be hitting the beginning of the document (so not all - matches have even been seen). - @short Returns true if we should restart the search from scratch. - */ - public native boolean shouldRestart(boolean forceAsking, boolean showNumMatches); - public native boolean shouldRestart(boolean forceAsking); - public native boolean shouldRestart(); - /** - Displays the final dialog saying "no match was found", if that was the case. - Call either this or shouldRestart(). - @short Displays the final dialog saying "no match was found", if that was the case. - */ - public native void displayFinalDialog(); - /** - Return (or create) the dialog that shows the "find next?" prompt. - Usually you don't need to call this. - One case where it can be useful, is when the user selects the "Find" - menu item while a find operation is under way. In that case, the - program may want to call setActiveWindow() on that dialog. - @short Return (or create) the dialog that shows the "find next?" prompt. - */ - public native KDialogBase findNextDialog(boolean create); - public native KDialogBase findNextDialog(); - /** - Close the "find next?" dialog. The application should do this when - the last match was hit. If the application deletes the KFind, then - "find previous" won't be possible anymore. - IMPORTANT: you should also call this if you are using a non-modal - find dialog, to tell KFind not to pop up its own dialog. - @short Close the "find next?" dialog. - */ - public native void closeFindNextDialog(); - /** - @return the current matching index ( or -1 ). - Same as the matchingIndex parameter passed to highlight. - You usually don't need to use this, except maybe when updating the current data, - so you need to call setData( newData, index() ). - - @short - */ - public native int index(); - /** - Search the given string, and returns whether a match was found. If one is, - the length of the string matched is also returned. - A performance optimised version of the function is provided for use - with regular expressions. - @param text The string to search. - @param pattern The pattern to look for. - @param index The starting index into the string. - @param options The options to use. - @param matchedlength The length of the string that was matched - @return The index at which a match was found, or -1 if no match was found. - - @short Search the given string, and returns whether a match was found. - */ - public static native int find(String text, String pattern, int index, long options, int[] matchedlength); - public static native int find(String text, TQRegExp pattern, int index, long options, int[] matchedlength); - protected native TQWidget parentWidget(); - protected native TQWidget dialogsParent(); - protected native void slotFindNext(); - protected native void slotDialogClosed(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFindDialog.java b/kdejava/koala/org/kde/koala/KFindDialog.java deleted file mode 100644 index a923d72a..00000000 --- a/kdejava/koala/org/kde/koala/KFindDialog.java +++ /dev/null @@ -1,241 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQWidget; - -/** - - @brief A generic "find" dialog. - <b></b>etail: - This widget inherits from KDialogBase and implements - the following additional functionalities: a find string - object and an area for a user-defined widget to extend the dialog. - <b></b>xample: - To use the basic modal find dialog, and then run the search: - <pre> - KFindDialog dlg(....) - if ( dlg.exec() != TQDialog.Accepted ) - return; - // proceed with KFind from here - </pre> - To create a non-modal find dialog: - <pre> - if ( m_findDia ) - KWin.setActiveWindow( m_findDia.winId() ); - else - { - m_findDia = new KFindDialog(false,...); - connect( m_findDia, SIGNAL("okClicked()"), this, SLOT("findTextNext()") ); - } - </pre> - Don't forget to delete and reset m_findDia when closed. - (But do NOT delete your KFind object at that point, it's needed for "Find Next") - To use your own extensions: see findExtension(). - @author S.R.Haque <srhaque@iee.org> - - @short @brief A generic "find" dialog. - -*/ -public class KFindDialog extends KDialogBase { - protected KFindDialog(Class dummy){super((Class) null);} - public static final int WholeWordsOnly = 1; - public static final int FromCursor = 2; - public static final int SelectedText = 4; - public static final int CaseSensitive = 8; - public static final int FindBackwards = 16; - public static final int RegularExpression = 32; - public static final int FindIncremental = 64; - public static final int MinimumUserOption = 65536; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a modal find dialog - @param parent The parent object of this widget. - @param name The name of this widget. - @param options A bitfield of the Options to be checked. - @param findStrings The find history, see findHistory() - @param hasSelection Whether a selection exists - @short Construct a modal find dialog - */ - public KFindDialog(TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection) { - super((Class) null); - newKFindDialog(parent,name,options,findStrings,hasSelection); - } - private native void newKFindDialog(TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection); - public KFindDialog(TQWidget parent, String name, long options, String[] findStrings) { - super((Class) null); - newKFindDialog(parent,name,options,findStrings); - } - private native void newKFindDialog(TQWidget parent, String name, long options, String[] findStrings); - public KFindDialog(TQWidget parent, String name, long options) { - super((Class) null); - newKFindDialog(parent,name,options); - } - private native void newKFindDialog(TQWidget parent, String name, long options); - public KFindDialog(TQWidget parent, String name) { - super((Class) null); - newKFindDialog(parent,name); - } - private native void newKFindDialog(TQWidget parent, String name); - public KFindDialog(TQWidget parent) { - super((Class) null); - newKFindDialog(parent); - } - private native void newKFindDialog(TQWidget parent); - public KFindDialog() { - super((Class) null); - newKFindDialog(); - } - private native void newKFindDialog(); - /** - Construct a non-modal find dialog - @param modal set to false to get a non-modal dialog - @param parent The parent object of this widget. - @param name The name of this widget. - @param options A bitfield of the Options to be checked. - @param findStrings The find history, see findHistory() - @param hasSelection Whether a selection exists - @short Construct a non-modal find dialog - */ - public KFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection) { - super((Class) null); - newKFindDialog(modal,parent,name,options,findStrings,hasSelection); - } - private native void newKFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection); - public KFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings) { - super((Class) null); - newKFindDialog(modal,parent,name,options,findStrings); - } - private native void newKFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings); - public KFindDialog(boolean modal, TQWidget parent, String name, long options) { - super((Class) null); - newKFindDialog(modal,parent,name,options); - } - private native void newKFindDialog(boolean modal, TQWidget parent, String name, long options); - public KFindDialog(boolean modal, TQWidget parent, String name) { - super((Class) null); - newKFindDialog(modal,parent,name); - } - private native void newKFindDialog(boolean modal, TQWidget parent, String name); - public KFindDialog(boolean modal, TQWidget parent) { - super((Class) null); - newKFindDialog(modal,parent); - } - private native void newKFindDialog(boolean modal, TQWidget parent); - public KFindDialog(boolean modal) { - super((Class) null); - newKFindDialog(modal); - } - private native void newKFindDialog(boolean modal); - /** - Provide the list of <code>strings</code> to be displayed as the history - of find strings. <code>strings</code> might get truncated if it is - too long. - @param history The find history. - @short Provide the list of <code>strings</code> to be displayed as the history of find strings. - @see #findHistory - */ - public native void setFindHistory(String[] history); - /** - Returns the list of history items. - @short Returns the list of history items. - @see #setFindHistory - */ - public native ArrayList findHistory(); - /** - Enable/disable the 'search in selection' option, depending - on whether there actually is a selection. - @param hasSelection true if a selection exists - @short Enable/disable the 'search in selection' option, depending on whether there actually is a selection. - */ - public native void setHasSelection(boolean hasSelection); - /** - Hide/show the 'from cursor' option, depending - on whether the application implements a cursor. - @param hasCursor true if the application features a cursor - This is assumed to be the case by default. - @short Hide/show the 'from cursor' option, depending on whether the application implements a cursor. - */ - public native void setHasCursor(boolean hasCursor); - /** - Enable/disable the 'Find backwards' option, depending - on whether the application supports it. - @param supports true if the application supports backwards find - This is assumed to be the case by default. - @short Enable/disable the 'Find backwards' option, depending on whether the application supports it. - */ - public native void setSupportsBackwardsFind(boolean supports); - /** - Enable/disable the 'Case sensitive' option, depending - on whether the application supports it. - @param supports true if the application supports case sensitive find - This is assumed to be the case by default. - @short Enable/disable the 'Case sensitive' option, depending on whether the application supports it. - */ - public native void setSupportsCaseSensitiveFind(boolean supports); - /** - Enable/disable the 'Whole words only' option, depending - on whether the application supports it. - @param supports true if the application supports whole words only find - This is assumed to be the case by default. - @short Enable/disable the 'Whole words only' option, depending on whether the application supports it. - */ - public native void setSupportsWholeWordsFind(boolean supports); - /** - Enable/disable the 'Regular expression' option, depending - on whether the application supports it. - @param supports true if the application supports regular expression find - This is assumed to be the case by default. - @short Enable/disable the 'Regular expression' option, depending on whether the application supports it. - */ - public native void setSupportsRegularExpressionFind(boolean supports); - /** - Set the options which are checked. - @param options The setting of the Options. - @short Set the options which are checked. - */ - public native void setOptions(long options); - /** - Returns the state of the options. Disabled options may be returned in - an indeterminate state. - @short Returns the state of the options. - @see #setOptions - */ - public native long options(); - /** - Returns the pattern to find. - @short Returns the pattern to find. - */ - public native String pattern(); - /** - Sets the pattern to find - @short Sets the pattern to find - */ - public native void setPattern(String pattern); - /** - Returns an empty widget which the user may fill with additional UI - elements as required. The widget occupies the width of the dialog, - and is positioned immediately below the regular expression support - widgets for the pattern string. - @short Returns an empty widget which the user may fill with additional UI elements as required. - */ - public native TQWidget findExtension(); - public native void showEvent(TQShowEvent arg1); - protected native void slotOk(); - protected native void slotSelectedTextToggled(boolean arg1); - protected native void showPatterns(); - protected native void showPlaceholders(); - protected native void textSearchChanged(String arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFindSignals.java b/kdejava/koala/org/kde/koala/KFindSignals.java deleted file mode 100644 index c5b54c62..00000000 --- a/kdejava/koala/org/kde/koala/KFindSignals.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQRegExp; -import org.kde.qt.TQWidget; - -public interface KFindSignals { - /** - Connect to this signal to implement highlighting of found text during the find - operation. - If you've set data with setData(id, text), use the signal highlight(id, - matchingIndex, matchedLength) - WARNING: If you're using the FindIncremental option, the text argument - passed by this signal is not necessarily the data last set through - setData(), but can also be an earlier set data block. - @short Connect to this signal to implement highlighting of found text during the find operation. - @see #setData - */ - void highlight(String text, int matchingIndex, int matchedLength); - /** - Connect to this signal to implement highlighting of found text during the find - operation. - Use this signal if you've set your data with setData(id, text), otherwise - use the signal with highlight(text, matchingIndex, matchedLength). - WARNING: If you're using the FindIncremental option, the id argument - passed by this signal is not necessarily the id of the data last set - through setData(), but can also be of an earlier set data block. - @short Connect to this signal to implement highlighting of found text during the find operation. - @see #setData - */ - void highlight(int id, int matchingIndex, int matchedLength); - void findNext(); - /** - Emitted when the options have changed. - This can happen e.g. with "Replace All", or if our 'find next' dialog - gets a "find previous" one day. - @short Emitted when the options have changed. - */ - void optionsChanged(); - /** - Emitted when the 'find next' dialog is being closed. - Some apps might want to remove the highlighted text when this happens. - Apps without support for "Find Next" can also do m_find.deleteLater() - to terminate the find operation. - @short Emitted when the 'find next' dialog is being closed. - */ - void dialogClosed(); -} diff --git a/kdejava/koala/org/kde/koala/KFloatValidator.java b/kdejava/koala/org/kde/koala/KFloatValidator.java deleted file mode 100644 index b9492515..00000000 --- a/kdejava/koala/org/kde/koala/KFloatValidator.java +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQValidator; - -/** - - \brief TQValidator for floating point entry (Obsolete) - Extends the TQValidator class to properly validate double numeric data. - This can be used by TQLineEdit or subclass to provide validated - text entry. - @author Glen Parker <glenebob@nwlink.com> - - @version 0.0.1 - - @short \brief TQValidator for floating point entry (Obsolete) - -*/ -public class KFloatValidator extends TQValidator { - protected KFloatValidator(Class dummy){super((Class) null);} - /** - Constructor. - @short Constructor. - */ - public KFloatValidator(TQWidget parent, String name) { - super((Class) null); - newKFloatValidator(parent,name); - } - private native void newKFloatValidator(TQWidget parent, String name); - public KFloatValidator(TQWidget parent) { - super((Class) null); - newKFloatValidator(parent); - } - private native void newKFloatValidator(TQWidget parent); - /** - Constructor. Also sets the minimum and maximum values. - @short Constructor. - */ - public KFloatValidator(double bottom, double top, TQWidget parent, String name) { - super((Class) null); - newKFloatValidator(bottom,top,parent,name); - } - private native void newKFloatValidator(double bottom, double top, TQWidget parent, String name); - public KFloatValidator(double bottom, double top, TQWidget parent) { - super((Class) null); - newKFloatValidator(bottom,top,parent); - } - private native void newKFloatValidator(double bottom, double top, TQWidget parent); - /** - Constructor. Sets the validator to be locale aware if <code>localeAware</code> is true. - @short Constructor. - */ - public KFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent, String name) { - super((Class) null); - newKFloatValidator(bottom,top,localeAware,parent,name); - } - private native void newKFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent, String name); - public KFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent) { - super((Class) null); - newKFloatValidator(bottom,top,localeAware,parent); - } - private native void newKFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent); - /** - Validates the text, and return the result. Does not modify the parameters. - @short Validates the text, and return the result. - */ - public native int validate(StringBuffer arg1, int[] arg2); - /** - Fixes the text if possible, providing a valid string. The parameter may be modified. - @short Fixes the text if possible, providing a valid string. - */ - public native void fixup(StringBuffer arg1); - /** - Sets the minimum and maximum value allowed. - @short Sets the minimum and maximum value allowed. - */ - public native void setRange(double bottom, double top); - /** - Returns the current minimum value allowed. - @short Returns the current minimum value allowed. - */ - public native double bottom(); - /** - Returns the current maximum value allowed. - @short Returns the current maximum value allowed. - */ - public native double top(); - /** - Sets the validator to be locale aware if <code>is</code> true. In this case, the - character TDELocale.decimalSymbol() from the global locale is recognized - as decimal separator. - @short Sets the validator to be locale aware if <code>is</code> true. - */ - public native void setAcceptLocalizedNumbers(boolean b); - /** - Returns true if the validator is locale aware. - @short Returns true if the validator is locale aware. - @see #setAcceptLocalizedNumbers# - */ - public native boolean acceptLocalizedNumbers(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFolderType.java b/kdejava/koala/org/kde/koala/KFolderType.java deleted file mode 100644 index 7c8ac7d1..00000000 --- a/kdejava/koala/org/kde/koala/KFolderType.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; - -/** - - Folder mime type. Handles locked folders, for instance. - @short Mimetype for a folder (inode/directory). - -*/ -public class KFolderType extends KMimeType { - protected KFolderType(Class dummy){super((Class) null);} - /** - Construct a folder mimetype and take all information from a desktop file. - @param config the desktop configuration file that describes the mime type - @short Construct a folder mimetype and take all information from a desktop file. - */ - public KFolderType(KDesktopFile config) { - super((Class) null); - newKFolderType(config); - } - private native void newKFolderType(KDesktopFile config); - /** \internal @short \internal - */ - public KFolderType(TQDataStream _str, int offset) { - super((Class) null); - newKFolderType(_str,offset); - } - private native void newKFolderType(TQDataStream _str, int offset); - public native String icon(String _url, boolean _is_local); - public native String icon(KURL _url, boolean _is_local); - public native String comment(String _url, boolean _is_local); - public native String comment(KURL _url, boolean _is_local); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KGradientSelector.java b/kdejava/koala/org/kde/koala/KGradientSelector.java deleted file mode 100644 index e9269952..00000000 --- a/kdejava/koala/org/kde/koala/KGradientSelector.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; - -/** - - The KGradientSelector widget allows the user to choose - from a one-dimensional range of colors which is given as a - gradient between two colors provided by the programmer. - \image html kgradientselector.png "KDE Gradient Selector Widget" - @short The KGradientSelector widget allows the user to choose from a one-dimensional range of colors which is given as a gradient between two colors provided by the programmer. - -*/ -public class KGradientSelector extends TDESelector { - protected KGradientSelector(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a horizontal color selector which - contains a gradient between white and black. - @short Constructs a horizontal color selector which contains a gradient between white and black. - */ - public KGradientSelector(TQWidget parent, String name) { - super((Class) null); - newKGradientSelector(parent,name); - } - private native void newKGradientSelector(TQWidget parent, String name); - public KGradientSelector(TQWidget parent) { - super((Class) null); - newKGradientSelector(parent); - } - private native void newKGradientSelector(TQWidget parent); - public KGradientSelector() { - super((Class) null); - newKGradientSelector(); - } - private native void newKGradientSelector(); - /** - Constructs a colors selector with orientation o which - contains a gradient between white and black. - @short Constructs a colors selector with orientation o which contains a gradient between white and black. - */ - public KGradientSelector(int o, TQWidget parent, String name) { - super((Class) null); - newKGradientSelector(o,parent,name); - } - private native void newKGradientSelector(int o, TQWidget parent, String name); - public KGradientSelector(int o, TQWidget parent) { - super((Class) null); - newKGradientSelector(o,parent); - } - private native void newKGradientSelector(int o, TQWidget parent); - public KGradientSelector(int o) { - super((Class) null); - newKGradientSelector(o); - } - private native void newKGradientSelector(int o); - /** - Sets the two colors which span the gradient. - @short Sets the two colors which span the gradient. - */ - public native void setColors(TQColor col1, TQColor col2); - public native void setText(String t1, String t2); - /** - Set each color on its own. - @short Set each color on its own. - */ - public native void setFirstColor(TQColor col); - public native void setSecondColor(TQColor col); - /** - Set each description on its own - @short Set each description on its own - */ - public native void setFirstText(String t); - public native void setSecondText(String t); - public native TQColor firstColor(); - public native TQColor secondColor(); - public native String firstText(); - public native String secondText(); - protected native void drawContents(TQPainter arg1); - public native TQSize minimumSize(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KGuiItem.java b/kdejava/koala/org/kde/koala/KGuiItem.java deleted file mode 100644 index 94b23269..00000000 --- a/kdejava/koala/org/kde/koala/KGuiItem.java +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIconSet; - -/** - - @author Holger Freyther <freyher@yahoo.com> - - @short An abstract class for GUI data such as ToolTip and Icon. - -*/ -public class KGuiItem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KGuiItem(Class dummy){} - - public KGuiItem() { - newKGuiItem(); - } - private native void newKGuiItem(); - public KGuiItem(String text, String iconName, String toolTip, String whatsThis) { - newKGuiItem(text,iconName,toolTip,whatsThis); - } - private native void newKGuiItem(String text, String iconName, String toolTip, String whatsThis); - public KGuiItem(String text, String iconName, String toolTip) { - newKGuiItem(text,iconName,toolTip); - } - private native void newKGuiItem(String text, String iconName, String toolTip); - public KGuiItem(String text, String iconName) { - newKGuiItem(text,iconName); - } - private native void newKGuiItem(String text, String iconName); - public KGuiItem(String text) { - newKGuiItem(text); - } - private native void newKGuiItem(String text); - public KGuiItem(String text, TQIconSet iconSet, String toolTip, String whatsThis) { - newKGuiItem(text,iconSet,toolTip,whatsThis); - } - private native void newKGuiItem(String text, TQIconSet iconSet, String toolTip, String whatsThis); - public KGuiItem(String text, TQIconSet iconSet, String toolTip) { - newKGuiItem(text,iconSet,toolTip); - } - private native void newKGuiItem(String text, TQIconSet iconSet, String toolTip); - public KGuiItem(String text, TQIconSet iconSet) { - newKGuiItem(text,iconSet); - } - private native void newKGuiItem(String text, TQIconSet iconSet); - public KGuiItem(KGuiItem rhs) { - newKGuiItem(rhs); - } - private native void newKGuiItem(KGuiItem rhs); - public native String text(); - public native String plainText(); - public native TQIconSet iconSet(int arg1, int size, TDEInstanceInterface instance); - public native TQIconSet iconSet(int arg1, int size); - public native TQIconSet iconSet(int arg1); - public native TQIconSet iconSet(); - public native String iconName(); - public native String toolTip(); - public native String whatsThis(); - public native boolean isEnabled(); - /** - returns whether an icon is defined, doesn't tell if it really exists - @short returns whether an icon is defined, doesn't tell if it really exists - */ - public native boolean hasIcon(); - public native boolean hasIconSet(); - public native void setText(String text); - public native void setIconSet(TQIconSet iconset); - public native void setIconName(String iconName); - public native void setToolTip(String tooltip); - public native void setWhatsThis(String whatsThis); - public native void setEnabled(boolean enable); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KHSSelector.java b/kdejava/koala/org/kde/koala/KHSSelector.java deleted file mode 100644 index 5632dfb8..00000000 --- a/kdejava/koala/org/kde/koala/KHSSelector.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -/** - - Widget for Hue/Saturation colour selection. - The actual values can be fetched using the inherited xValue and yValue - methods. - \image html khsselector.png "KDE Hue/Saturation Selection Widget" - @author Martin Jones (mjones@kde.org) - - @short Widget for Hue/Saturation colour selection. - @see KXYSelector - @see KValueSelector - @see KColorDialog - -*/ -public class KHSSelector extends KXYSelector { - protected KHSSelector(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a hue/saturation selection widget. - @short Constructs a hue/saturation selection widget. - */ - public KHSSelector(TQWidget parent, String name) { - super((Class) null); - newKHSSelector(parent,name); - } - private native void newKHSSelector(TQWidget parent, String name); - public KHSSelector(TQWidget parent) { - super((Class) null); - newKHSSelector(parent); - } - private native void newKHSSelector(TQWidget parent); - public KHSSelector() { - super((Class) null); - newKHSSelector(); - } - private native void newKHSSelector(); - /** - Draws the contents of the widget on a pixmap, - which is used for buffering. - @short Draws the contents of the widget on a pixmap, which is used for buffering. - */ - protected native void drawPalette(TQPixmap pixmap); - protected native void resizeEvent(TQResizeEvent arg1); - /** - Reimplemented from KXYSelector. This drawing is - buffered in a pixmap here. As real drawing - routine, drawPalette() is used. - @short Reimplemented from KXYSelector. - */ - protected native void drawContents(TQPainter painter); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KHelpMenu.java b/kdejava/koala/org/kde/koala/KHelpMenu.java deleted file mode 100644 index bb408c66..00000000 --- a/kdejava/koala/org/kde/koala/KHelpMenu.java +++ /dev/null @@ -1,197 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - This class provides the standard %KDE help menu with the default "about" - dialog boxes and help entry. - This class is used in TDEMainWindow so - normally you don't need to use this class yourself. However, if you - need the help menu or any of its dialog boxes in your code that is - not subclassed from TDEMainWindow you should use this class. - The usage is simple: - <pre> - mHelpMenu = new KHelpMenu( this, <someText> ); - tdemenubar.insertItem(i18n("&Help"), mHelpMenu.menu() ); - </pre> - or if you just want to open a dialog box: - <pre> - mHelpMenu = new KHelpMenu( this, <someText> ); - connect( this, SIGNAL("someSignal()"), mHelpMenu,SLOT("mHelpMenu.aboutKDE()")); - </pre> - IMPORTANT: - The first time you use KHelpMenu.menu(), a TDEPopupMenu object is - allocated. Only one object is created by the class so if you call - KHelpMenu.menu() twice or more, the same pointer is returned. The class - will destroy the popupmenu in the destructor so do not delete this - pointer yourself. - The KHelpMenu object will be deleted when its parent is destroyed but you - can delete it yourself if you want. The code below will always work. - <pre> - MyClass.~MyClass() - { - delete mHelpMenu; - } - </pre> - Using your own "about application" dialog box: - The standard "about application" dialog box is quite simple. If you - need a dialog box with more functionality you must design that one - yourself. When you want to display the dialog you can choose one of - two methods. Common for both is that you must make a help menu object - with no text argument If the text is missing the default dialog box - will not be displayed: - Example 1 Using showAboutApplication signal (preferred) - <pre> - void MyClass.myFunc() - { - .. - KHelpMenu helpMenu = new KHelpMenu( this ); - connect( helpMenu, SIGNAL("showAboutApplication()"), - this, SLOT("myDialogSlot()")); - .. - } - void MyClass.myDialogSlot() - { - <activate your custom dialog> - } - </pre> - Example 2 Old style - connecting directly to the menu entry. - <pre> - void MyClass.myFunc() - { - KHelpMenu helpMenu = new KHelpMenu( this ); - TDEPopupMenu help = mHelpMenu.menu(); - help.connectItem( KHelpMenu.menuAboutApp, this, SLOT("myDialogSlot()") ); - } - void MyClass.myDialogSlot() - { - <activate your custom dialog> - } - </pre> - See {@link KHelpMenuSignals} for signals emitted by KHelpMenu - @author Espen Sand (espen@kde.org) - - @short Standard %KDE help menu with dialog boxes. - -*/ -public class KHelpMenu extends TQObject { - protected KHelpMenu(Class dummy){super((Class) null);} - public static final int menuHelpContents = 0; - public static final int menuWhatsThis = 1; - public static final int menuAboutApp = 2; - public static final int menuAboutKDE = 3; - public static final int menuReportBug = 4; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @param parent The parent of the dialog boxes. The boxes are modeless - and will be centered with respect to the parent. - @param aboutAppText User definable string that is used in the - application specific dialog box. Note: The help menu will - not open this dialog box if you don't define a string. See - showAboutApplication() for more information. - @param showWhatsThis Decides whether a "Whats this" entry will be - added to the dialog. - @short Constructor. - */ - public KHelpMenu(TQWidget parent, String aboutAppText, boolean showWhatsThis) { - super((Class) null); - newKHelpMenu(parent,aboutAppText,showWhatsThis); - } - private native void newKHelpMenu(TQWidget parent, String aboutAppText, boolean showWhatsThis); - public KHelpMenu(TQWidget parent, String aboutAppText) { - super((Class) null); - newKHelpMenu(parent,aboutAppText); - } - private native void newKHelpMenu(TQWidget parent, String aboutAppText); - public KHelpMenu(TQWidget parent) { - super((Class) null); - newKHelpMenu(parent); - } - private native void newKHelpMenu(TQWidget parent); - public KHelpMenu() { - super((Class) null); - newKHelpMenu(); - } - private native void newKHelpMenu(); - /** - Constructor. - This alternative constructor is mainly useful if you want to - overide the standard actions (aboutApplication(), aboutKDE(), - helpContents(), reportBug, and optionally whatsThis). - @param parent The parent of the dialog boxes. The boxes are modeless - and will be centered with respect to the parent. - @param aboutData User and app data used in the About app dialog - @param showWhatsThis Decides whether a "Whats this" entry will be - added to the dialog. - @param actions TDEActionCollection that is used instead of the - standard actions. - @short Constructor. - */ - public KHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis, TDEActionCollection actions) { - super((Class) null); - newKHelpMenu(parent,aboutData,showWhatsThis,actions); - } - private native void newKHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis, TDEActionCollection actions); - public KHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis) { - super((Class) null); - newKHelpMenu(parent,aboutData,showWhatsThis); - } - private native void newKHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis); - public KHelpMenu(TQWidget parent, TDEAboutData aboutData) { - super((Class) null); - newKHelpMenu(parent,aboutData); - } - private native void newKHelpMenu(TQWidget parent, TDEAboutData aboutData); - /** - Returns a popup menu you can use in the menu bar or where you - need it. - Note: This method will only create one instance of the menu. If - you call this method twice or more the same pointer is returned - @short Returns a popup menu you can use in the menu bar or where you need it. - */ - public native TDEPopupMenu menu(); - /** - Opens the help page for the application. The application name is - used as a key to determine what to display and the system will attempt - to open \<appName\>/index.html. - @short Opens the help page for the application. - */ - public native void appHelpActivated(); - /** - Activates What's This help for the application. - @short Activates What's This help for the application. - */ - public native void contextHelpActivated(); - /** - Opens an application specific dialog box. The dialog box will display - the string that was defined in the constructor. If that string was - empty the showAboutApplication() is emitted instead. - @short Opens an application specific dialog box. - */ - public native void aboutApplication(); - /** - Opens the standard "About KDE" dialog box. - @short Opens the standard "About KDE" dialog box. - */ - public native void aboutKDE(); - /** - Opens the standard "Report Bugs" dialog box. - @short Opens the standard "Report Bugs" dialog box. - */ - public native void reportBug(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KHelpMenuSignals.java b/kdejava/koala/org/kde/koala/KHelpMenuSignals.java deleted file mode 100644 index 4bce0b26..00000000 --- a/kdejava/koala/org/kde/koala/KHelpMenuSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KHelpMenuSignals { - /** - This signal is emitted from aboutApplication() if no - "about application" string has been defined. The standard - application specific dialog box that is normally activated in - aboutApplication() will not be displayed when this signal - is emitted. - @short This signal is emitted from aboutApplication() if no "about application" string has been defined. - */ - void showAboutApplication(); -} diff --git a/kdejava/koala/org/kde/koala/KHistoryCombo.java b/kdejava/koala/org/kde/koala/KHistoryCombo.java deleted file mode 100644 index 4f0456d6..00000000 --- a/kdejava/koala/org/kde/koala/KHistoryCombo.java +++ /dev/null @@ -1,223 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -/** - - A combobox which implements a history like a unix shell. You can navigate - through all the items by using the Up or Down arrows (configurable of - course). Additionally, weighted completion is available. So you should - load and save the completion list to preserve the weighting between - sessions. - KHistoryCombo obeys the HISTCONTROL environment variable to determine - whether duplicates in the history should be tolerated in - addToHistory() or not. During construction of KHistoryCombo, - duplicates will be disabled when HISTCONTROL is set to "ignoredups" or - "ignoreboth". Otherwise, duplicates are enabled by default. - See {@link KHistoryComboSignals} for signals emitted by KHistoryCombo - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A combobox for offering a history and completion. - -*/ -public class KHistoryCombo extends KComboBox { - protected KHistoryCombo(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a "read-write" combobox. A read-only history combobox - doesn't make much sense, so it is only available as read-write. - Completion will be used automatically for the items in the combo. - The insertion-policy is set to NoInsertion, you have to add the items - yourself via the slot addToHistory. If you want every item added, - use - <pre> - connect( combo, SIGNAL("activated( String )"), - combo, SLOT("addToHistory( String )")); - </pre> - Use TQComboBox.setMaxCount() to limit the history. - <code>parent</code> the parent object of this widget. - <code>name</code> the name of this widget. - @short Constructs a "read-write" combobox. - */ - public KHistoryCombo(TQWidget parent, String name) { - super((Class) null); - newKHistoryCombo(parent,name); - } - private native void newKHistoryCombo(TQWidget parent, String name); - public KHistoryCombo(TQWidget parent) { - super((Class) null); - newKHistoryCombo(parent); - } - private native void newKHistoryCombo(TQWidget parent); - public KHistoryCombo() { - super((Class) null); - newKHistoryCombo(); - } - private native void newKHistoryCombo(); - /** - Same as the previous constructor, but additionally has the option - to specify whether you want to let KHistoryCombo handle completion - or not. If set to <code>true</code>, KHistoryCombo will sync the completion to the - contents of the combobox. - @short Same as the previous constructor, but additionally has the option to specify whether you want to let KHistoryCombo handle completion or not. - */ - public KHistoryCombo(boolean useCompletion, TQWidget parent, String name) { - super((Class) null); - newKHistoryCombo(useCompletion,parent,name); - } - private native void newKHistoryCombo(boolean useCompletion, TQWidget parent, String name); - public KHistoryCombo(boolean useCompletion, TQWidget parent) { - super((Class) null); - newKHistoryCombo(useCompletion,parent); - } - private native void newKHistoryCombo(boolean useCompletion, TQWidget parent); - public KHistoryCombo(boolean useCompletion) { - super((Class) null); - newKHistoryCombo(useCompletion); - } - private native void newKHistoryCombo(boolean useCompletion); - /** - Inserts <code>items</code> into the combobox. <code>items</code> might get - truncated if it is longer than maxCount() - @short Inserts <code>items</code> into the combobox. - @see #historyItems - */ - public native void setHistoryItems(String[] items); - /** - Inserts <code>items</code> into the combobox. <code>items</code> might get - truncated if it is longer than maxCount() - Set <code>setCompletionList</code> to true, if you don't have a list of - completions. This tells KHistoryCombo to use all the items for the - completion object as well. - You won't have the benefit of weighted completion though, so normally - you should do something like - <pre> - TDEConfig config = kapp.config(); - ArrayList list; - // load the history and completion list after creating the history combo - list = config.readListEntry( "Completion list" ); - combo.completionObject().setItems( list ); - list = config.readListEntry( "History list" ); - combo.setHistoryItems( list ); - [...] - // save the history and completion list when the history combo is - // destroyed - list = combo.completionObject().items() - config.writeEntry( "Completion list", list ); - list = combo.historyItems(); - config.writeEntry( "History list", list ); - </pre> - Be sure to use different names for saving with TDEConfig if you have more - than one KHistoryCombo. - Note: When <code>setCompletionList</code> is true, the items are inserted into the - TDECompletion object with mode TDECompletion.Insertion and the mode is set - to TDECompletion.Weighted afterwards. - @short Inserts <code>items</code> into the combobox. - @see #historyItems - @see KComboBox#completionObject - @see TDECompletion#setItems - @see TDECompletion#items - */ - public native void setHistoryItems(String[] items, boolean setCompletionList); - /** - Returns the list of history items. Empty, when this is not a read-write - combobox. - @short Returns the list of history items. - @see #setHistoryItems - */ - public native ArrayList historyItems(); - /** - Removes all items named <code>item.</code> - @return <code>true</code> if at least one item was removed. - - @short Removes all items named <code>item.</code> - @see #addToHistory - */ - public native boolean removeFromHistory(String item); - /** - Sets a pixmap provider, so that items in the combobox can have a pixmap. - KPixmapProvider is just an abstract class with the one pure virtual - method KPixmapProvider.pixmapFor(). This method is called whenever - an item is added to the KHistoryComboBox. Implement it to return your - own custom pixmaps, or use the KURLPixmapProvider from libtdeio, - which uses KMimeType.pixmapForURL to resolve icons. - Set <code>prov</code> to null if you want to disable pixmaps. Default no pixmaps. - @short Sets a pixmap provider, so that items in the combobox can have a pixmap. - @see #pixmapProvider - */ - public native void setPixmapProvider(KPixmapProvider prov); - /** - @return the current pixmap provider. - - @short - @see #setPixmapProvider - @see KPixmapProvider - */ - public native KPixmapProvider pixmapProvider(); - /** - Resets the current position of the up/down history. Call this - when you manually call setCurrentItem() or clearEdit(). - @short Resets the current position of the up/down history. - */ - public native void reset(); - /** - Adds an item to the end of the history list and to the completion list. - If maxCount() is reached, the first item of the list will be - removed. - If the last inserted item is the same as <code>item</code>, it will not be - inserted again. - If duplicatesEnabled() is false, any equal existing item will be - removed before <code>item</code> is added. - Note: By using this method and not the Q and KComboBox insertItem() - methods, you make sure that the combobox stays in sync with the - completion. It would be annoying if completion would give an item - not in the combobox, and vice versa. - @short Adds an item to the end of the history list and to the completion list. - @see #removeFromHistory - @see org.kde.qt.TQComboBox#setDuplicatesEnabled - */ - public native void addToHistory(String item); - /** - Clears the history and the completion list. - @short Clears the history and the completion list. - */ - public native void clearHistory(); - /** - Handling key-events, the shortcuts to rotate the items. - @short Handling key-events, the shortcuts to rotate the items. - */ - protected native void keyPressEvent(TQKeyEvent arg1); - /** - Handling wheel-events, to rotate the items. - @short Handling wheel-events, to rotate the items. - */ - protected native void wheelEvent(TQWheelEvent ev); - /** - Inserts <code>items</code> into the combo, honoring pixmapProvider() - Does not update the completionObject. - Note: duplicatesEnabled() is not honored here. - Called from setHistoryItems() and setPixmapProvider() - @short Inserts <code>items</code> into the combo, honoring pixmapProvider() Does not update the completionObject. - */ - protected native void insertItems(String[] items); - /** - @return if we can modify the completion object or not. - - @short - */ - protected native boolean useCompletion(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KHistoryComboSignals.java b/kdejava/koala/org/kde/koala/KHistoryComboSignals.java deleted file mode 100644 index 9df1432e..00000000 --- a/kdejava/koala/org/kde/koala/KHistoryComboSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface KHistoryComboSignals { - /** - Emitted when the history was cleared by the entry in the popup menu. - @short Emitted when the history was cleared by the entry in the popup menu. - */ - void cleared(); -} diff --git a/kdejava/koala/org/kde/koala/KIDNA.java b/kdejava/koala/org/kde/koala/KIDNA.java deleted file mode 100644 index 59669668..00000000 --- a/kdejava/koala/org/kde/koala/KIDNA.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** -*/ -public class KIDNA { - /** - Converts an International Domain Name <code>idna</code> to - its ASCII representation - If conversion is not possible, an empty string is returned. - @short Converts an International Domain Name <code>idna</code> to its ASCII representation - */ - public static native String toAsciiCString(String idna); - /** - Converts an International Domain Name <code>idna</code> to - its ASCII representation - If conversion is not possible, an empty string is returned. - @short Converts an International Domain Name <code>idna</code> to its ASCII representation - */ - public static native String toAscii(String idna); - /** - Converts an International Domain Name <code>idna</code> to - its UNICODE representation - @short Converts an International Domain Name <code>idna</code> to its UNICODE representation - */ - public static native String toUnicode(String idna); -} diff --git a/kdejava/koala/org/kde/koala/KIPC.java b/kdejava/koala/org/kde/koala/KIPC.java deleted file mode 100644 index a292104c..00000000 --- a/kdejava/koala/org/kde/koala/KIPC.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class implements a very simple IPC mechanism for KDE. You can send - a message of a predefined type to either a specific application, or to all - KDE application on the current display. The message can carry one integer of - data. - KIPC is mainly used in KDE for sending "Change Messages", i.e. a message to - all KDE apps that a certain setting (the font, for example) has changed. - For anything more complex it is recommended to use DCOP -- the Desktop - Communications Protocol. - Messages with id code < 32 are called "System Messages". These are - directly handled by TDEApplication. Examples are: PaletteChanged and - StyleChanged. Messages with id code >= 32 are user messages. TDEApplication - emits the signal kipcMessage(id,arg) for each user message it receives. - KIPC is implemented using X11 ClientMessage events. - @author Geert Jansen <jansen@kde.org> - - @short This class implements a very simple IPC mechanism for KDE. - @see TDEApplication#kipcMessage - -*/ -public class KIPC implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KIPC(Class dummy){} - - /** - A identifier for messages. Messages below UserMessage are system - messages, messages above can be defined by the user. - @short A identifier for messages. - */ - public static final int PaletteChanged = 0; - public static final int FontChanged = 1; - public static final int StyleChanged = 2; - public static final int BackgroundChanged = 3; - public static final int SettingsChanged = 4; - public static final int IconChanged = 5; - public static final int ToolbarStyleChanged = 6; - public static final int ClipboardConfigChanged = 7; - public static final int BlockShortcuts = 8; - public static final int UserMessage = 32; - - public KIPC() { - newKIPC(); - } - private native void newKIPC(); - /** - Send a message to a specific application. - @param msg The message to send. - @param w The window id of a toplevel window of the target application. - @param data An optional integer of data. - @short Send a message to a specific application. - */ - public static native void sendMessage(int msg, long w, int data); - public static native void sendMessage(int msg, long w); - /** - Send a message to all KDE application on the current display. - @param msg The message to send. - @param data An optional integer of data. - @short Send a message to all KDE application on the current display. - */ - public static native void sendMessageAll(int msg, int data); - public static native void sendMessageAll(int msg); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KImageEffect.java b/kdejava/koala/org/kde/koala/KImageEffect.java deleted file mode 100644 index a75e6f0e..00000000 --- a/kdejava/koala/org/kde/koala/KImageEffect.java +++ /dev/null @@ -1,772 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQImage; -import org.kde.qt.TQPoint; -import org.kde.qt.TQSize; - -/** - - This class includes various TQImage based graphical effects. - Everything is - static, so there is no need to create an instance of this class. You can - just call the static methods. They are encapsulated here merely to provide - a common namespace. - @short This class includes various TQImage based graphical effects. - -*/ -public class KImageEffect implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KImageEffect(Class dummy){} - - /** - This enum provides a gradient type specification - @short This enum provides a gradient type specification - @see KImageEffect#blend - @see KImageEffect#gradient - @see KImageEffect#unbalancedGradient - */ - public static final int VerticalGradient = 0; - public static final int HorizontalGradient = 1; - public static final int DiagonalGradient = 2; - public static final int CrossDiagonalGradient = 3; - public static final int PyramidGradient = 4; - public static final int RectangleGradient = 5; - public static final int PipeCrossGradient = 6; - public static final int EllipticGradient = 7; - - /** - This enum provides a RGB channel specification - @short This enum provides a RGB channel specification - @see KImageEffect#blend - @see KImageEffect#channelIntensity - @see KImageEffect#modulate - */ - public static final int Red = 0; - public static final int Green = 1; - public static final int Blue = 2; - public static final int Gray = 3; - public static final int All = 4; - - /** - This enum provides a lighting direction specification - @short This enum provides a lighting direction specification - @see KImageEffect#hash - */ - public static final int NorthLite = 0; - public static final int NWLite = 1; - public static final int WestLite = 2; - public static final int SWLite = 3; - public static final int SouthLite = 4; - public static final int SELite = 5; - public static final int EastLite = 6; - public static final int NELite = 7; - - /** - This enum provides a modulation type specification - @short This enum provides a modulation type specification - @see KImageEffect#modulate - */ - public static final int Intensity = 0; - public static final int Saturation = 1; - public static final int HueShift = 2; - public static final int Contrast = 3; - - /** - This enum provides a noise type specification - @short This enum provides a noise type specification - @see KImageEffect#addNoise - */ - public static final int UniformNoise = 0; - public static final int GaussianNoise = 1; - public static final int MultiplicativeGaussianNoise = 2; - public static final int ImpulseNoise = 3; - public static final int LaplacianNoise = 4; - public static final int PoissonNoise = 5; - - /** - This enum provides a rotation specification. - @short This enum provides a rotation specification. - @see KImageEffect#rotate - */ - public static final int Rotate90 = 0; - public static final int Rotate180 = 1; - public static final int Rotate270 = 2; - - /** - This enum lists possible bumpmapping implementations. - @short This enum lists possible bumpmapping implementations. - @see KImageEffect#bumpmap - */ - public static final int Linear = 0; - public static final int Spherical = 1; - public static final int Sinuosidal = 2; - - /** - Disposition of a source image on top of a destination image. - @short Disposition of a source image on top of a destination image. - @see KImageEffect#computeDestinationRect - @see KImageEffect#blendOnLower - */ - public static final int NoImage = 0; - public static final int Centered = 1; - public static final int Tiled = 2; - public static final int CenterTiled = 3; - public static final int CenteredMaxpect = 4; - public static final int TiledMaxpect = 5; - public static final int Scaled = 6; - public static final int CenteredAutoFit = 7; - - public KImageEffect() { - newKImageEffect(); - } - private native void newKImageEffect(); - /** - Create a gradient from color a to color b of the specified type. - @param size The desired size of the gradient. - @param ca Color a - @param cb Color b - @param type The type of gradient. - @param ncols The number of colors to use when not running on a - truecolor display. The gradient will be dithered to this number of - colors. Pass 0 to prevent dithering. - @short Create a gradient from color a to color b of the specified type. - */ - public static native TQImage gradient(TQSize size, TQColor ca, TQColor cb, int type, int ncols); - public static native TQImage gradient(TQSize size, TQColor ca, TQColor cb, int type); - /** - Create an unbalanced gradient. - An unbalanced gradient is a gradient where the transition from - color a to color b is not linear, but in this case, exponential. - @param size The desired size of the gradient. - @param ca Color a - @param cb Color b - @param type The type of gradient. - @param xfactor The x decay length. Use a value between -200 and 200. - @param yfactor The y decay length. - @param ncols The number of colors. See KImageEffect:gradient. - @short Create an unbalanced gradient. - */ - public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type, int xfactor, int yfactor, int ncols); - public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type, int xfactor, int yfactor); - public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type, int xfactor); - public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type); - /** - Blends a color into the destination image, using an opacity - value for blending one into another. Very fast direct pixel - manipulation is used. - This function uses MMX and SSE2 instructions to blend the - image on processors that support it. - @param clr source color to be blended into the destination image. - @param dst destination image in which the source will be blended into. - @param opacity opacity (between 0.0 and 1.0) which determines how much - the source color will be blended into the destination image. - @return The destination image (dst) containing the result. - - @author Fredrik Höglund (fredrik@kde.org) - - @short Blends a color into the destination image, using an opacity value for blending one into another. - */ - public static native TQImage blend(TQColor clr, TQImage dst, float opacity); - /** - Blend the src image into the destination image, using an opacity - value for blending one into another. Very fast direct pixel - manipulation is used. - This function uses MMX and SSE2 instructions to blend the - images on processors that support it. - @param src source image to be blended into the destination image. - @param dst destination image in which the source will be blended into. - @param opacity opacity (between 0.0 and 1.0) which determines how much - the source image will be blended into the destination image. - @return The destination image (dst) containing the result. - - @author Fredrik Höglund (fredrik@kde.org) - - @short Blend the src image into the destination image, using an opacity value for blending one into another. - */ - public static native TQImage blend(TQImage src, TQImage dst, float opacity); - /** - Blend the provided image into a background of the indicated color. - @param initial_intensity this parameter takes values from -1 to 1: - a) if positive: how much to fade the image in its - less affected spot - b) if negative: roughly indicates how much of the image - remains unaffected - @param bgnd indicates the color of the background to blend in - @param eff lets you choose what kind of blending you like - @param anti_dir blend in the opposite direction (makes no much sense - with concentric blending effects) - @param image must be 32bpp - @short Blend the provided image into a background of the indicated color. - */ - public static native TQImage blend(TQImage image, float initial_intensity, TQColor bgnd, int eff, boolean anti_dir); - public static native TQImage blend(TQImage image, float initial_intensity, TQColor bgnd, int eff); - /** - Blend an image into another one, using a gradient type - for blending from one to another. - @param image1 source1 and result of blending - @param image2 source2 of blending - @param gt gradient type for blending between source1 and source2 - @param xf x decay length for unbalanced gradient tpye - @param yf y decay length for unbalanced gradient tpye - @short Blend an image into another one, using a gradient type for blending from one to another. - */ - public static native TQImage blend(TQImage image1, TQImage image2, int gt, int xf, int yf); - public static native TQImage blend(TQImage image1, TQImage image2, int gt, int xf); - public static native TQImage blend(TQImage image1, TQImage image2, int gt); - /** - Blend an image into another one, using a color channel of a - third image for the decision of blending from one to another. - @param image1 Source 1 and result of blending - @param image2 Source 2 of blending - @param blendImage If the gray value of of pixel is 0, the result - for this pixel is that of image1; for a gray value - of 1, the pixel of image2 is used; for a value - in between, a corresponding blending is used. - @param channel The RBG channel to use for the blending decision. - @short Blend an image into another one, using a color channel of a third image for the decision of blending from one to another. - */ - public static native TQImage blend(TQImage image1, TQImage image2, TQImage blendImage, int channel); - /** - Blend an image into another one, using alpha in the expected way. - @param upper the "upper" image - @param lower the "lower" image - @param output the target image - @author Rik Hemsley (rikkus) <rik@kde.org> - - @short Blend an image into another one, using alpha in the expected way. - */ - public static native boolean blend(TQImage upper, TQImage lower, TQImage output); - /** - Blend an image into another one, using alpha in the expected way and - over coordinates <code>x</code> and <code>y</code> with respect to the lower image. - The output is a TQImage which is the <code>upper</code> image already blended - with the <code>lower</code> one, so its size will be (in general) the same than - <code>upper</code> instead of the same size than <code>lower</code> like the method above. - In fact, the size of <code>output</code> is like upper's one only when it can be - painted on lower, if there has to be some clipping, output's size will - be the clipped area and x and y will be set to the correct up-left corner - where the clipped rectangle begins. - @param x x-coordinate of lower image - @param y y-coordinate of lower image - @param upper the "upper" image - @param lower the "lower" image - @param output the target image - @short Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. - */ - public static native boolean blend(int[] x, int[] y, TQImage upper, TQImage lower, TQImage output); - /** - Blend an image into another one, using alpha in the expected way and - over coordinates <code>x</code> and <code>y</code> with respect to the lower image. - The output is painted in the own <code>lower</code> image. This is an optimization - of the blend method above provided by convenience. - @param x x-coordinate of lower image - @param y y-coordinate of lower image - @param upper the "upper" image - @param lower the "lower" image, which becomes the output image - @short Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. - */ - public static native boolean blendOnLower(int x, int y, TQImage upper, TQImage lower); - /** - Blend part of an image into part of another, using the alpha channel in - the expected way. - Note that the destination rectangle will be correctly clipped. - @param upper the "upper" image - @param upperOffset Offset for the part of the upper image to be used. - @param lower the "lower" image - @param lowerRect Rectangle for the part of the lower image where the - blending will occur. - @short Blend part of an image into part of another, using the alpha channel in the expected way. - */ - public static native void blendOnLower(TQImage upper, TQPoint upperOffset, TQImage lower, TQRect lowerRect); - /** - Blend part of an image into part of another, using the opacity value - and the alpha channel in the expected way. - Note that the destination rectangle will be correctly clipped. - @param upper the "upper" image - @param upperOffset Offset for the part of the upper image to be used. - @param lower the "lower" image - @param lowerRect Rectangle for the part of the lower image where the - blending will occur. - @param opacity Opacity (between 0.0 and 1.0) which determines how much - the source image will be blended into the destination image. - @short Blend part of an image into part of another, using the opacity value and the alpha channel in the expected way. - */ - public static native void blendOnLower(TQImage upper, TQPoint upperOffset, TQImage lower, TQRect lowerRect, float opacity); - /** - Compute the destination rectangle where to draw the upper image on top - of another image using the given disposition. For tiled - disposition, the rectangle should be duplicated on the whole area to - obtained the wanted effect. - @param lowerSize The size of the destination image. - @param disposition The wanted disposition. - @param upper The upper image. Note that this image may be scaled to - adjust to the requested disposition. - @return the computed rectangle. Its size may exceed @e lowerSize. - - @short Compute the destination rectangle where to draw the upper image on top of another image using the given disposition. - */ - public static native TQRect computeDestinationRect(TQSize lowerSize, int disposition, TQImage upper); - /** - Blend an image on top of another using a given disposition and a given - opacity. The alpha channel of the upper image is used in the expected - way. Beware the upper image may be modified. - @short Blend an image on top of another using a given disposition and a given opacity. - */ - public static native void blendOnLower(TQImage upper, TQImage lower, int disposition, float opacity); - /** - Modifies the intensity of a pixmap's RGB channel component. - @param image The TQImage to process. - @param percent Percent value. Use a negative value to dim. - @param channel Which channel(s) should be modified - @return The <code>image</code>, provided for convenience. - - @author Daniel M. Duley (mosfet) - - @short Modifies the intensity of a pixmap's RGB channel component. - */ - public static native TQImage channelIntensity(TQImage image, float percent, int channel); - /** - Fade an image to a certain background color. - The number of colors will not be changed. - @param image The TQImage to process. - @param val The strength of the effect. 0 <= val <= 1. - @param color The background color. - @return Returns the image(), provided for convenience. - - @short Fade an image to a certain background color. - */ - public static native TQImage fade(TQImage image, float val, TQColor color); - /** - This recolors a pixmap. The most dark color will become color a, - the most bright one color b, and in between. - @param image A TQImage to process. - @param ca Color a - @param cb Color b - @param ncols The number of colors to dither the image to. - Pass 0 to prevent dithering. - @short This recolors a pixmap. - */ - public static native TQImage flatten(TQImage image, TQColor ca, TQColor cb, int ncols); - public static native TQImage flatten(TQImage image, TQColor ca, TQColor cb); - /** - Build a hash on any given TQImage - @param image The TQImage to process - @param lite The hash faces the indicated lighting (cardinal poles). - @param spacing How many unmodified pixels in between hashes. - @return Returns the image(), provided for convenience. - - @short Build a hash on any given TQImage - */ - public static native TQImage hash(TQImage image, int lite, int spacing); - public static native TQImage hash(TQImage image, int lite); - public static native TQImage hash(TQImage image); - /** - Either brighten or dim the image by a specified percent. - For example, .50 will modify the colors by 50%. - This function uses MMX instructions to process the image - on processors that support it. - @param image The TQImage to process. - @param percent The percent value. Use a negative value to dim. - @return Returns The image(), provided for convenience. - - @author Benjamin Roe (ben@benroe.com) - - @short Either brighten or dim the image by a specified percent. - */ - public static native TQImage intensity(TQImage image, float percent); - /** - Modulate the image with a color channel of another image. - @param image The TQImage to modulate and result. - @param modImage The TQImage to use for modulation. - @param reverse Invert the meaning of image/modImage; result is image! - @param type The modulation Type to use. - @param factor The modulation amplitude; with 0 no effect [-200;200]. - @param channel The RBG channel of image2 to use for modulation. - @return Returns the image(), provided for convenience. - - @short Modulate the image with a color channel of another image. - */ - public static native TQImage modulate(TQImage image, TQImage modImage, boolean reverse, int type, int factor, int channel); - /** - Convert an image to grayscale. - @param image The TQImage to process. - @param fast Set to <code>true</code> in order to use a faster but non-photographic - quality algorithm. Appropriate for things such as toolbar icons. - @return Returns the image(), provided for convenience. - - @author Daniel M. Duley (mosfet) - - @short Convert an image to grayscale. - */ - public static native TQImage toGray(TQImage image, boolean fast); - public static native TQImage toGray(TQImage image); - /** - Desaturate an image evenly. - @param image The TQImage to process. - @param desat A value between 0 and 1 setting the degree of desaturation - @return Returns the image(), provided for convenience. - - @short Desaturate an image evenly. - */ - public static native TQImage desaturate(TQImage image, float desat); - public static native TQImage desaturate(TQImage image); - /** - Fast, but low quality contrast of an image. Also see contrastHSV. - @param image The TQImage to process. - @param c A contrast value between -255 to 255. - @return The image(), provided for convenience. - - @author Daniel M. Duley (mosfet) - ### KDE 4: remove - - @short Fast, but low quality contrast of an image. - */ - public static native TQImage contrast(TQImage image, int c); - /** - Dither an image using Floyd-Steinberg dithering for low-color - situations. - @param image The TQImage to process. - @param palette The color palette to use - @param size The size of the palette - @return Returns the image(), provided for convenience. - - @short Dither an image using Floyd-Steinberg dithering for low-color situations. - */ - public static native TQImage dither(TQImage image, TQColor palette, int size); - /** - Calculate the image for a selected image, for instance a selected icon - on the desktop. - @param img the TQImage to select - @param col the selected color, usually from TQColorGroup.highlight(). - @short Calculate the image for a selected image, for instance a selected icon on the desktop. - */ - public static native TQImage selectedImage(TQImage img, TQColor col); - /** - High quality, expensive HSV contrast. You can do a faster one by just - taking a intensity threshold (ie: 128) and incrementing RGB color - channels above it and decrementing those below it, but this gives much - better results. - @param img The TQImage to process. - @param sharpen If true sharpness is increase, (spiffed). Otherwise - it is decreased, (dulled). - @author Daniel M. Duley (mosfet) - - @short High quality, expensive HSV contrast. - */ - public static native void contrastHSV(TQImage img, boolean sharpen); - public static native void contrastHSV(TQImage img); - /** - Normalises the pixel values to span the full range of color values. - This is a contrast enhancement technique. - @param img the image that is normalised - @author Daniel M. Duley (mosfet) - - @short Normalises the pixel values to span the full range of color values. - */ - public static native void normalize(TQImage img); - /** - Performs histogram equalisation on the reference - image. - @param img the image that is equalised - @author Daniel M. Duley (mosfet) - - @short Performs histogram equalisation on the reference image. - */ - public static native void equalize(TQImage img); - /** - Thresholds the reference image. You can also threshold images by using - ThresholdDither in the various TQPixmap/TQImage convert methods, but this - lets you specify a threshold value. - @param img The TQImage to process. - @param value The threshold value. - @author Daniel M. Duley (mosfet) - - @short Thresholds the reference image. - */ - public static native void threshold(TQImage img, int value); - public static native void threshold(TQImage img); - /** - Produces a 'solarization' effect seen when exposing a photographic - film to light during the development process. - @param img The TQImage to process. - @param factor The extent of the solarization (0-99.9) - @author Daniel M. Duley (mosfet) - - @short Produces a 'solarization' effect seen when exposing a photographic film to light during the development process. - */ - public static native void solarize(TQImage img, double factor); - public static native void solarize(TQImage img); - /** - Embosses the source image. This involves highlighting the edges - and applying various other enhancements in order to get a metal - effect. - @param src The TQImage to process. - @param radius The radius of the gaussian not counting the - center pixel. Use 0 and a suitable radius will be automatically used. - @param sigma The standard deviation of the gaussian. Use 1 if you're not - sure. - @return The embossed image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Embosses the source image. - */ - public static native TQImage emboss(TQImage src, double radius, double sigma); - /** - Convenience method. - @short Convenience method. - */ - public static native TQImage emboss(TQImage src); - /** - Minimizes speckle noise in the source image using the 8 hull - algorithm. - @param src The TQImage to process. - @return The despeckled image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Minimizes speckle noise in the source image using the 8 hull algorithm. - */ - public static native TQImage despeckle(TQImage src); - /** - Produces a neat little "charcoal" effect. - @param src The TQImage to process. - @param radius The radius of the gaussian not counting the - center pixel. Use 0 and a suitable radius will be automatically used. - @param sigma The standard deviation of the gaussian. Use 1 if you're not - sure. - @return The charcoal image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Produces a neat little "charcoal" effect. - */ - public static native TQImage charcoal(TQImage src, double radius, double sigma); - /** - This is provided for binary compatability only! Use the above method - with a radius and sigma instead! - @short This is provided for binary compatability only! Use the above method with a radius and sigma instead! - */ - public static native TQImage charcoal(TQImage src, double factor); - public static native TQImage charcoal(TQImage src); - /** - Rotates the image by the specified amount - @param src The TQImage to process. - @param r The rotate direction. - @return The rotated image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Rotates the image by the specified amount - */ - public static native TQImage rotate(TQImage src, int r); - /** - Scales an image using simple pixel sampling. This does not produce - nearly as nice a result as TQImage.smoothScale(), but has the - advantage of being much faster - only a few milliseconds. - @param src The TQImage to process. - @param w The new width. - @param h The new height. - @return The scaled image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Scales an image using simple pixel sampling. - */ - public static native TQImage sample(TQImage src, int w, int h); - /** - Adds noise to an image. - @param src The TQImage to process. - @param type The algorithm used to generate the noise. - @return The image with noise added. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Adds noise to an image. - */ - public static native TQImage addNoise(TQImage src, int type); - public static native TQImage addNoise(TQImage src); - /** - Blurs an image by convolving pixel neighborhoods. - @param src The TQImage to process. - @param radius The radius of the gaussian not counting the - center pixel. Use 0 and a suitable radius will be automatically used. - @param sigma The standard deviation of the gaussian. Use 1 if you're not - sure. - @return The blurred image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Blurs an image by convolving pixel neighborhoods. - */ - public static native TQImage blur(TQImage src, double radius, double sigma); - /** - This is provided for binary compatability only! Use the above method - with a radius and sigma instead! - @short This is provided for binary compatability only! Use the above method with a radius and sigma instead! - */ - public static native TQImage blur(TQImage src, double factor); - public static native TQImage blur(TQImage src); - /** - Detects edges in an image using pixel neighborhoods and an edge - detection mask. - @param src The TQImage to process. - @param radius The radius of the gaussian not counting the - center pixel. Use 0 and a suitable radius will be automatically used. - @return The image with edges detected. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Detects edges in an image using pixel neighborhoods and an edge detection mask. - */ - public static native TQImage edge(TQImage src, double radius); - /** - Implodes an image by a specified percent. - @param src The TQImage to process. - @param factor The extent of the implosion. - @param background An RGBA value to use for the background. After the - effect some pixels may be "empty". This value is used for those pixels. - @return The imploded image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Implodes an image by a specified percent. - */ - public static native TQImage implode(TQImage src, double factor, int background); - public static native TQImage implode(TQImage src, double factor); - public static native TQImage implode(TQImage src); - /** - Produces an oil painting effect. - @param src The TQImage to process. - @param radius The radius of the gaussian not counting the - center pixel. Use 0 and a suitable radius will be automatically used. - @return The new image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Produces an oil painting effect. - */ - public static native TQImage oilPaintConvolve(TQImage src, double radius); - /** - This is provided for binary compatability only! Use the above method - instead! - @short This is provided for binary compatability only! Use the above method instead! - */ - public static native TQImage oilPaint(TQImage src, int radius); - public static native TQImage oilPaint(TQImage src); - /** - Sharpens the pixels in the image using pixel neighborhoods. - @param src The TQImage to process. - @param radius The radius of the gaussian not counting the - center pixel. Use 0 and a suitable radius will be automatically used. - @param sigma The standard deviation of the gaussian. Use 1 if you're not - sure. - @return The sharpened image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Sharpens the pixels in the image using pixel neighborhoods. - */ - public static native TQImage sharpen(TQImage src, double radius, double sigma); - /** - This is provided for binary compatability only! Use the above method - instead! - @short This is provided for binary compatability only! Use the above method instead! - */ - public static native TQImage sharpen(TQImage src, double factor); - public static native TQImage sharpen(TQImage src); - /** - Randomly displaces pixels. - @param src The TQImage to process. - @param amount The vicinity for choosing a random pixel to swap. - @return The image with pixels displaced. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Randomly displaces pixels. - */ - public static native TQImage spread(TQImage src, int amount); - public static native TQImage spread(TQImage src); - /** - Shades the image using a distance light source. - @param src The TQImage to process. - @param color_shading If true do color shading, otherwise do grayscale. - @param azimuth Determines the light source and direction. - @param elevation Determines the light source and direction. - @return The shaded image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Shades the image using a distance light source. - */ - public static native TQImage shade(TQImage src, boolean color_shading, double azimuth, double elevation); - public static native TQImage shade(TQImage src, boolean color_shading, double azimuth); - public static native TQImage shade(TQImage src, boolean color_shading); - public static native TQImage shade(TQImage src); - /** - Swirls the image by a specified amount - @param src The TQImage to process. - @param degrees The tightness of the swirl. - @param background An RGBA value to use for the background. After the - effect some pixels may be "empty". This value is used for those pixels. - @return The swirled image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Swirls the image by a specified amount - */ - public static native TQImage swirl(TQImage src, double degrees, int background); - public static native TQImage swirl(TQImage src, double degrees); - public static native TQImage swirl(TQImage src); - /** - Modifies the pixels along a sine wave. - @param src The TQImage to process. - @param amplitude The amplitude of the sine wave. - @param frequency The frequency of the sine wave. - @param background An RGBA value to use for the background. After the - effect some pixels may be "empty". This value is used for those pixels. - @return The new image. The original is not changed. - - @author Daniel M. Duley (mosfet) - - @short Modifies the pixels along a sine wave. - */ - public static native TQImage wave(TQImage src, double amplitude, double frequency, int background); - public static native TQImage wave(TQImage src, double amplitude, double frequency); - public static native TQImage wave(TQImage src, double amplitude); - public static native TQImage wave(TQImage src); - /** - A bumpmapping algorithm. - @param img the image you want bumpmap - @param map the map used - @param azimuth azimuth - @param elevation elevation - @param depth depth (not the depth of the image, but of the map) - @param xofs X offset - @param yofs Y offset - @param waterlevel level that full transparency should represent - @param ambient ambient lighting factor - @param compensate compensate for darkening - @param invert invert bumpmap - @param type type of the bumpmap - @param tiled tile the bumpmap over the image through the Y offset - @return The destination image (dst) containing the result. - - @author Zack Rusin <zack@kde.org> - - @short A bumpmapping algorithm. - */ - public static native TQImage bumpmap(TQImage img, TQImage map, double azimuth, double elevation, int depth, int xofs, int yofs, int waterlevel, int ambient, boolean compensate, boolean invert, int type, boolean tiled); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KImageIO.java b/kdejava/koala/org/kde/koala/KImageIO.java deleted file mode 100644 index 73844ff1..00000000 --- a/kdejava/koala/org/kde/koala/KImageIO.java +++ /dev/null @@ -1,226 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Interface to the KDE Image IO plugin architecture. - This library allows KDE applications to read and write images in a - variety of formats, transparently via the TQImage and TQPixmap load - and save methods. - The image processing backends are written as image handlers compatible - with the TQImageIO handler format. The backends are loaded on demand - when a particular format is requested. Each format can be identified - by a unique type id string. - <b></b>ormats: - Currently supported formats include: - - <li> - BMP \<read\> \<write\> - </li> - - <li> - EPS \<read\> \<write\> - </li> - - <li> - EXR \<read\> - </li> - - <li> - G3 \<read\> - </li> - - <li> - GIF \<read\> - </li> - - <li> - ICO \<read\> - </li> - - <li> - JP2 \<read\> \<write\> - </li> - - <li> - JPEG \<read\> \<write\> - </li> - - <li> - NETPBM \<read\> \<write\> - </li> - - <li> - PCX \<read\> \<write\> - </li> - - <li> - PNG \<read\> \<write, only with newer libraries\> - </li> - - <li> - TGA \<read\> \<write\> - </li> - - <li> - TIFF \<read\> - </li> - - <li> - XBM \<read\> \<write\> - </li> - - <li> - XPM \<read\> \<write\> - </li> - - <li> - XV \<read\> \<write\> - </li> - <b></b>sage: - Simply call the KImageIO.registerFormats() static method declared - in kimageio.h. - <b></b>xample: - <pre> - #include<qpixmap.h> - #include<kimageio.h> - int main( String[] args ) - { - .... - KImageIO.registerFormats(); - ... // start main program - } - </pre> - @author Sirtaj Singh Kang - - @short Interface to the KDE Image IO plugin architecture. - @see KImageIO - @see org.kde.qt.TQPixmap - @see org.kde.qt.TQImage - @see org.kde.qt.TQImageIO - -*/ -public class KImageIO implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KImageIO(Class dummy){} - - /** - Possible image file access modes. - Used in various KImageIO static function. - @short Possible image file access modes. - */ - public static final int Reading = 0; - public static final int Writing = 1; - - public KImageIO() { - newKImageIO(); - } - private native void newKImageIO(); - /** - Registers all KImageIO supported formats. - @short Registers all KImageIO supported formats. - */ - public static native void registerFormats(); - /** - Checks if a special type is supported for writing. - @param type the type id of the image type - @return true if the image format can be written - - @short Checks if a special type is supported for writing. - */ - public static native boolean canWrite(String type); - /** - Checks if a special type is supported for reading. - @param type the type id of the image type - @return true if the image format can be read - - @short Checks if a special type is supported for reading. - */ - public static native boolean canRead(String type); - /** - Returns a list of all KImageIO supported formats. - @param mode Tells whether to retrieve modes that can be read or written. - @return a list of the type ids - - @short Returns a list of all KImageIO supported formats. - */ - public static native ArrayList types(int mode); - public static native ArrayList types(); - /** - Returns a list of patterns of all KImageIO supported formats. - These patterns can be passed to KFileDialog.getOpenFileName() - or KFileDialog.getSaveFileName(), for example. - @param mode Tells whether to retrieve modes that can be read or written. - @return a space-separated list of file globs that describe the - supported formats - - @short Returns a list of patterns of all KImageIO supported formats. - */ - public static native String pattern(int mode); - public static native String pattern(); - /** - Returns the suffix of an image type. - @param type the type id of the file format - @return the suffix of the file format or null if it does not - exist - - @short Returns the suffix of an image type. - */ - public static native String suffix(String type); - /** - Returns the type of a MIME type. - @param mimeType the MIME type to search - @return type id of the MIME type or null if the MIME type - is not supported - - @short Returns the type of a MIME type. - */ - public static native String typeForMime(String mimeType); - /** - Returns the type of given filename. - @param filename the filename to check - @return if the file name's suffix is known the type id of the - file type, otherwise null - - @short Returns the type of given filename. - */ - public static native String type(String filename); - /** - Returns a list of MIME types for all KImageIO supported formats. - @param mode Tells whether to retrieve modes that can be read or written. - @return a list if MIME types of the supported formats - - @short Returns a list of MIME types for all KImageIO supported formats. - */ - public static native ArrayList mimeTypes(int mode); - public static native ArrayList mimeTypes(); - /** - Test to see whether a MIME type is supported to reading/writing. - @param _mimeType the MIME type to check - @param _mode Tells whether to check for reading or writing capabilities - @return true if the type is supported - - @short Test to see whether a MIME type is supported to reading/writing. - */ - public static native boolean isSupported(String _mimeType, int _mode); - public static native boolean isSupported(String _mimeType); - /** - Returns the MIME type of <code>_filename.</code> - @param _filename the filename to check - @return the MIME type of the file, or null - - @short Returns the MIME type of <code>_filename.</code> - */ - public static native String mimeType(String _filename); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KInputDialog.java b/kdejava/koala/org/kde/koala/KInputDialog.java deleted file mode 100644 index 4b6317a6..00000000 --- a/kdejava/koala/org/kde/koala/KInputDialog.java +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQValidator; -import org.kde.qt.TQWidget; - -/** - - The KInputDialog class provides a simple dialog to get a single value - from the user. The value can be a string, a number (either an integer or - a float) or an item from a list. This class is designed to be source - compatible with TQInputDialog. - Five static convenience functions are provided: getText(), getInteger(). - getDouble(), getItem() and getItemList(). - @author Nadeem Hasan <nhasan@kde.org> - - @short The KInputDialog class provides a simple dialog to get a single value from the user. - -*/ -public class KInputDialog extends KDialogBase { - protected KInputDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Static convenience function to get a string from the user. - caption is the text that is displayed in the title bar. label is the - text that appears as a label for the line edit. value is the initial - value of the line edit. ok will be set to true if user pressed Ok - and false if user pressed Cancel. - If you provide a validator, the Ok button is disabled as long as - the validator doesn't return Acceptable. If there is no validator, - the Ok button is enabled whenever the line edit isn't empty. If you - want to accept empty input, create a trivial TQValidator that - always returns acceptable, e.g. TQRegExpValidator with a regexp - of ".*". - @param caption Caption of the dialog - @param label Text of the label for the line edit - @param value Initial value of the line edit - @param ok This boolean would be set to true if user pressed Ok - @param parent Parent of the dialog widget - @param name Name of the dialog widget - @param validator A {@link TQValidator} to be associated with the line edit - @param mask Mask associated with the line edit. See the - documentation for {@link TQLineEdit} about masks. - @return String user entered if Ok was pressed, else a null string - - @short Static convenience function to get a string from the user. - */ - public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator, String mask); - public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator); - public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name); - public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent); - public static native String getText(String caption, String label, String value, boolean[] ok); - public static native String getText(String caption, String label, String value); - public static native String getText(String caption, String label); - /** - Same as {@link #getText} except it provides an extra parameter to specify - a TQWhatsThis text for the input widget. - ### KDE4: Merge with getText. - @short Same as @ref getText except it provides an extra parameter to specify a TQWhatsThis text for the input widget. - */ - public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator, String mask, String whatsThis); - public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator, String mask); - public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator); - public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name); - public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent); - public static native String text(String caption, String label, String value, boolean[] ok); - public static native String text(String caption, String label, String value); - public static native String text(String caption, String label); - /** - Static convenience function to get a multiline string from the user. - caption is the text that is displayed in the title bar. label is the - text that appears as a label for the line edit. value is the initial - value of the line edit. ok will be set to true if user pressed Ok - and false if user pressed Cancel. - @param caption Caption of the dialog - @param label Text of the label for the line edit - @param value Initial value of the line edit - @param ok This boolean would be set to true if user pressed Ok - @param parent Parent of the dialog widget - @param name Name of the dialog widget - @return String user entered if Ok was pressed, else a null string - - @short Static convenience function to get a multiline string from the user. - */ - public static native String getMultiLineText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name); - public static native String getMultiLineText(String caption, String label, String value, boolean[] ok, TQWidget parent); - public static native String getMultiLineText(String caption, String label, String value, boolean[] ok); - public static native String getMultiLineText(String caption, String label, String value); - public static native String getMultiLineText(String caption, String label); - /** - Static convenience function to let the user select an item from a - list. caption is the text that is displayed in the title bar. - label is the text that appears as the label for the list. list - is the string list which is inserted into the list, and current - is the number of the item which should be the selected item. If - editable is true, the user can enter their own text. - @param caption Caption of the dialog - @param label Text of the label for the spin box - @param list List of item for user to choose from - @param current Index of the selected item - @param editable If true, user can enter own text - @param ok This boolean would be set to true if user pressed Ok - @param parent Parent of the dialog widget - @param name Name of the dialog widget - @return Text of the selected item. If <code>editable</code> is true this can be - a text entered by the user. - - @short Static convenience function to let the user select an item from a list. - */ - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent, String name); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable); - public static native String getItem(String caption, String label, String[] list, int current); - public static native String getItem(String caption, String label, String[] list); - /** - Static convenience function to let the user select one or more - items from a listbox. caption is the text that is displayed in the - title bar. label is the text that appears as the label for the listbox. - list is the string list which is inserted into the listbox, select - is the list of item(s) that should be the selected. If multiple is - true, the user can select multiple items. - @param caption Caption of the dialog - @param label Text of the label for the spin box - @param list List of item for user to choose from - @param select List of item(s) that should be selected - @param multiple If true, user can select multiple items - @param ok This boolean would be set to true if user pressed Ok - @param parent Parent of the dialog widget - @param name Name of the dialog widget - @return List of selected items if multiple is true, else currently - selected item as an ArrayList - - @short Static convenience function to let the user select one or more items from a listbox. - */ - public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok, TQWidget parent, String name); - public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok, TQWidget parent); - public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok); - public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple); - public static native ArrayList getItemList(String caption, String label, String[] list, String[] select); - public static native ArrayList getItemList(String caption, String label, String[] list); - public static native ArrayList getItemList(String caption, String label); -} diff --git a/kdejava/koala/org/kde/koala/KIntNumInput.java b/kdejava/koala/org/kde/koala/KIntNumInput.java deleted file mode 100644 index 106936c0..00000000 --- a/kdejava/koala/org/kde/koala/KIntNumInput.java +++ /dev/null @@ -1,266 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -/** - - KIntNumInput combines a TQSpinBox and optionally a TQSlider - with a label to make an easy to use control for setting some integer - parameter. This is especially nice for configuration dialogs, - which can have many such combinated controls. - The slider is created only when the user specifies a range - for the control using the setRange function with the slider - parameter set to "true". - A special feature of KIntNumInput, designed specifically for - the situation when there are several KIntNumInputs in a column, - is that you can specify what portion of the control is taken by the - TQSpinBox (the remaining portion is used by the slider). This makes - it very simple to have all the sliders in a column be the same size. - It uses KIntValidator validator class. KIntNumInput enforces the - value to be in the given range, and can display it in any base - between 2 and 36. - \image html kintnuminput.png "KDE Int Number Input Spinbox" - See {@link KIntNumInputSignals} for signals emitted by KIntNumInput - @version $Id$ - - @short An input widget for integer numbers, consisting of a spinbox and a slider. - -*/ -public class KIntNumInput extends KNumInput { - protected KIntNumInput(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an input control for integer values - with base 10 and initial value 0. - @short Constructs an input control for integer values with base 10 and initial value 0. - */ - public KIntNumInput(TQWidget parent, String name) { - super((Class) null); - newKIntNumInput(parent,name); - } - private native void newKIntNumInput(TQWidget parent, String name); - public KIntNumInput(TQWidget parent) { - super((Class) null); - newKIntNumInput(parent); - } - private native void newKIntNumInput(TQWidget parent); - public KIntNumInput() { - super((Class) null); - newKIntNumInput(); - } - private native void newKIntNumInput(); - /** - Constructor - It constructs a TQSpinBox that allows the input of integer numbers - in the range of -INT_MAX to +INT_MAX. To set a descriptive label, - use setLabel(). To enforce the value being in a range and optionally to - attach a slider to it, use setRange(). - @param value initial value for the control - @param base numeric base used for display - @param parent parent TQWidget - @param name internal name for this widget - @short Constructor It constructs a TQSpinBox that allows the input of integer numbers in the range of -INT_MAX to +INT_MAX. - */ - public KIntNumInput(int value, TQWidget parent, int base, String name) { - super((Class) null); - newKIntNumInput(value,parent,base,name); - } - private native void newKIntNumInput(int value, TQWidget parent, int base, String name); - public KIntNumInput(int value, TQWidget parent, int base) { - super((Class) null); - newKIntNumInput(value,parent,base); - } - private native void newKIntNumInput(int value, TQWidget parent, int base); - public KIntNumInput(int value, TQWidget parent) { - super((Class) null); - newKIntNumInput(value,parent); - } - private native void newKIntNumInput(int value, TQWidget parent); - public KIntNumInput(int value) { - super((Class) null); - newKIntNumInput(value); - } - private native void newKIntNumInput(int value); - /** - Constructor - the difference to the one above is the "below" parameter. It tells - this instance that it is visually put below some other KNumInput widget. - Note that these two KNumInput's need not to have the same parent widget - or be in the same layout group. - The effect is that it'll adjust it's layout in correspondence - with the layout of the other KNumInput's (you can build an arbitrary long - chain). - @param below append KIntNumInput to the KNumInput chain - @param value initial value for the control - @param base numeric base used for display - @param parent parent TQWidget - @param name internal name for this widget - @short Constructor - */ - public KIntNumInput(KNumInput below, int value, TQWidget parent, int base, String name) { - super((Class) null); - newKIntNumInput(below,value,parent,base,name); - } - private native void newKIntNumInput(KNumInput below, int value, TQWidget parent, int base, String name); - public KIntNumInput(KNumInput below, int value, TQWidget parent, int base) { - super((Class) null); - newKIntNumInput(below,value,parent,base); - } - private native void newKIntNumInput(KNumInput below, int value, TQWidget parent, int base); - public KIntNumInput(KNumInput below, int value, TQWidget parent) { - super((Class) null); - newKIntNumInput(below,value,parent); - } - private native void newKIntNumInput(KNumInput below, int value, TQWidget parent); - public KIntNumInput(KNumInput below, int value) { - super((Class) null); - newKIntNumInput(below,value); - } - private native void newKIntNumInput(KNumInput below, int value); - /** - @return the current value. - - @short - */ - public native int value(); - /** - @return the curent value in units of the referencePoint. - - @short - */ - public native double relativeValue(); - /** - @return the current reference point - - @short - */ - public native int referencePoint(); - /** - @return the suffix displayed behind the value. - - @short - @see #setSuffix - */ - public native String suffix(); - /** - @return the prefix displayed in front of the value. - - @short - @see #setPrefix - */ - public native String prefix(); - /** - @return the string displayed for a special value. - - @short - @see #setSpecialValueText - */ - public native String specialValueText(); - /** - @param min minimum value - @param max maximum value - @param step step size for the TQSlider - @param slider whether the slider is created or not - @short - */ - public native void setRange(int min, int max, int step, boolean slider); - public native void setRange(int min, int max, int step); - public native void setRange(int min, int max); - /** - Sets the minimum value. - @short Sets the minimum value. - */ - public native void setMinValue(int min); - /** - @return the minimum value. - - @short - */ - public native int minValue(); - /** - Sets the maximum value. - @short Sets the maximum value. - */ - public native void setMaxValue(int max); - /** - @return the maximum value. - - @short - */ - public native int maxValue(); - /** - Sets the special value text. If set, the SpinBox will display - this text instead of the numeric value whenever the current - value is equal to minVal(). Typically this is used for indicating - that the choice has a special (default) meaning. - @short Sets the special value text. - */ - public native void setSpecialValueText(String text); - public native void setLabel(String label, int a); - public native void setLabel(String label); - /** - This method returns the minimum size necessary to display the - control. The minimum size is enough to show all the labels - in the current font (font change may invalidate the return value). - @return the minimum size necessary to show the control - - @short This method returns the minimum size necessary to display the control. - */ - public native TQSize minimumSizeHint(); - /** - Sets the value of the control. - @short Sets the value of the control. - */ - public native void setValue(int arg1); - /** - Sets the value in units of the referencePoint - @short Sets the value in units of the referencePoint - */ - public native void setRelativeValue(double arg1); - /** - Sets the reference point for relativeValue. - @short Sets the reference point for relativeValue. - */ - public native void setReferencePoint(int arg1); - /** - Sets the suffix to <code>suffix.</code> - Use null to disable this feature. - Formatting has to be provided (e.g. a space separator between the - prepended <code>value</code> and the suffix's text has to be provided - as the first character in the suffix). - @short Sets the suffix to <code>suffix.</code> - @see org.kde.qt.TQSpinBox#setSuffix - @see #setPrefix - */ - public native void setSuffix(String suffix); - /** - Sets the prefix to <code>prefix.</code> - Use null to disable this feature. - Formatting has to be provided (see above). - @short Sets the prefix to <code>prefix.</code> - @see org.kde.qt.TQSpinBox#setPrefix - @see #setSuffix - */ - public native void setPrefix(String prefix); - /** - sets focus to the edit widget and marks all text in if mark == true - @short sets focus to the edit widget and marks all text in if mark == true - */ - public native void setEditFocus(boolean mark); - public native void setEditFocus(); - protected native void doLayout(); - protected native void resizeEvent(TQResizeEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIntNumInputSignals.java b/kdejava/koala/org/kde/koala/KIntNumInputSignals.java deleted file mode 100644 index 952fe2a2..00000000 --- a/kdejava/koala/org/kde/koala/KIntNumInputSignals.java +++ /dev/null @@ -1,23 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KIntNumInputSignals { - /** - Emitted every time the value changes (by calling setValue() or - by user interaction). - @short Emitted every time the value changes (by calling setValue() or by user interaction). - */ - void valueChanged(int arg1); - /** - Emitted whenever valueChanged is. Contains the change - relative to the referencePoint. - @short Emitted whenever valueChanged is. - */ - void relativeValueChanged(double arg1); -} diff --git a/kdejava/koala/org/kde/koala/KIntSpinBox.java b/kdejava/koala/org/kde/koala/KIntSpinBox.java deleted file mode 100644 index efbba247..00000000 --- a/kdejava/koala/org/kde/koala/KIntSpinBox.java +++ /dev/null @@ -1,112 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQSpinBox; - -/** - - A TQSpinBox with support for arbitrary base numbers - (e.g. hexadecimal). - The class provides an easy interface to use other - numeric systems than the decimal. - @short A TQSpinBox with support for arbitrary base numbers. - -*/ -public class KIntSpinBox extends TQSpinBox { - protected KIntSpinBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - Constructs a widget with an integer inputline with a little scrollbar - and a slider, with minimal value 0, maximal value 99, step 1, base 10 - and initial value 0. - @short Constructor. - */ - public KIntSpinBox(TQWidget parent, String name) { - super((Class) null); - newKIntSpinBox(parent,name); - } - private native void newKIntSpinBox(TQWidget parent, String name); - public KIntSpinBox(TQWidget parent) { - super((Class) null); - newKIntSpinBox(parent); - } - private native void newKIntSpinBox(TQWidget parent); - public KIntSpinBox() { - super((Class) null); - newKIntSpinBox(); - } - private native void newKIntSpinBox(); - /** - Constructor. - Constructs a widget with an integer inputline with a little scrollbar - and a slider. - @param lower The lowest valid value. - @param upper The greatest valid value. - @param step The step size of the scrollbar. - @param value The actual value. - @param base The base of the used number system. - @param parent The parent of the widget. - @param name The Name of the widget. - @short Constructor. - */ - public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name) { - super((Class) null); - newKIntSpinBox(lower,upper,step,value,base,parent,name); - } - private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name); - public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent) { - super((Class) null); - newKIntSpinBox(lower,upper,step,value,base,parent); - } - private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent); - public KIntSpinBox(int lower, int upper, int step, int value, int base) { - super((Class) null); - newKIntSpinBox(lower,upper,step,value,base); - } - private native void newKIntSpinBox(int lower, int upper, int step, int value, int base); - public KIntSpinBox(int lower, int upper, int step, int value) { - super((Class) null); - newKIntSpinBox(lower,upper,step,value); - } - private native void newKIntSpinBox(int lower, int upper, int step, int value); - /** - Sets the base in which the numbers in the spin box are represented. - @short Sets the base in which the numbers in the spin box are represented. - */ - public native void setBase(int base); - /** - @return the base in which numbers in the spin box are represented. - - @short - */ - public native int base(); - /** - sets focus and optionally marks all text - @short sets focus and optionally marks all text - */ - public native void setEditFocus(boolean mark); - /** - Overloaded the method in TQSpinBox - to make use of the base given in the constructor. - @short Overloaded the method in TQSpinBox to make use of the base given in the constructor. - */ - protected native String mapValueToText(int arg1); - /** - Overloaded the method in TQSpinBox - to make use of the base given in the constructor. - @short Overloaded the method in TQSpinBox to make use of the base given in the constructor. - */ - protected native int mapTextToValue(boolean[] arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIntValidator.java b/kdejava/koala/org/kde/koala/KIntValidator.java deleted file mode 100644 index 7024a6a8..00000000 --- a/kdejava/koala/org/kde/koala/KIntValidator.java +++ /dev/null @@ -1,103 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQValidator; - -/** - - TQValidator for integers. - This can be used by TQLineEdit or subclass to provide validated - text entry. Can be provided with a base value (default is 10), to allow - the proper entry of hexadecimal, octal, or any other base numeric data. - @author Glen Parker <glenebob@nwlink.com> - - @version 0.0.1 - - @short TQValidator for integers. - -*/ -public class KIntValidator extends TQValidator { - protected KIntValidator(Class dummy){super((Class) null);} - /** - Constuctor. Also sets the base value. - @short Constuctor. - */ - public KIntValidator(TQWidget parent, int base, String name) { - super((Class) null); - newKIntValidator(parent,base,name); - } - private native void newKIntValidator(TQWidget parent, int base, String name); - public KIntValidator(TQWidget parent, int base) { - super((Class) null); - newKIntValidator(parent,base); - } - private native void newKIntValidator(TQWidget parent, int base); - public KIntValidator(TQWidget parent) { - super((Class) null); - newKIntValidator(parent); - } - private native void newKIntValidator(TQWidget parent); - /** - Constructor. Also sets the minimum, maximum, and numeric base values. - @short Constructor. - */ - public KIntValidator(int bottom, int top, TQWidget parent, int base, String name) { - super((Class) null); - newKIntValidator(bottom,top,parent,base,name); - } - private native void newKIntValidator(int bottom, int top, TQWidget parent, int base, String name); - public KIntValidator(int bottom, int top, TQWidget parent, int base) { - super((Class) null); - newKIntValidator(bottom,top,parent,base); - } - private native void newKIntValidator(int bottom, int top, TQWidget parent, int base); - public KIntValidator(int bottom, int top, TQWidget parent) { - super((Class) null); - newKIntValidator(bottom,top,parent); - } - private native void newKIntValidator(int bottom, int top, TQWidget parent); - /** - Validates the text, and return the result. Does not modify the parameters. - @short Validates the text, and return the result. - */ - public native int validate(StringBuffer arg1, int[] arg2); - /** - Fixes the text if possible, providing a valid string. The parameter may be modified. - @short Fixes the text if possible, providing a valid string. - */ - public native void fixup(StringBuffer arg1); - /** - Sets the minimum and maximum values allowed. - @short Sets the minimum and maximum values allowed. - */ - public native void setRange(int bottom, int top); - /** - Sets the numeric base value. - @short Sets the numeric base value. - */ - public native void setBase(int base); - /** - Returns the current minimum value allowed. - @short Returns the current minimum value allowed. - */ - public native int bottom(); - /** - Returns the current maximum value allowed. - @short Returns the current maximum value allowed. - */ - public native int top(); - /** - Returns the current numeric base. - @short Returns the current numeric base. - */ - public native int base(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KJanusWidget.java b/kdejava/koala/org/kde/koala/KJanusWidget.java deleted file mode 100644 index 9a023238..00000000 --- a/kdejava/koala/org/kde/koala/KJanusWidget.java +++ /dev/null @@ -1,447 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQGrid; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; -import org.kde.qt.TQFrame; -import org.kde.qt.TQHBox; -import org.kde.qt.TQWidget; - -/** - - Provides a number of ready to use layouts (faces). It is used - as an internal widget in KDialogBase, but can also used as a - widget of its own. - This class provides KJanusWidget.TreeList, KJanusWidget.IconList, - KJanusWidget.Tabbed, KJanusWidget.Plain and KJanusWidget.Swallow layouts. - For all modes it is important that you specify the TQWidget.minimumSize() - on the page, plain widget or the swallowed widget. If you use a TQLayout - on the page, plain widget or the swallowed widget this will be taken care - of automatically. The size is used when the KJanusWidget determines its - own minimum size. You get the minimum size by using the - minimumSizeHint() or sizeHint() methods. - Pages that have been added in TreeList, IconList or Tabbed mode can be - removed by simply deleting the page. However, it would be preferable to use - the TQObject.deleteLater() function on the page as the main event loop - may have optimized UI update events of the page by scheduling them for later. - See {@link KJanusWidgetSignals} for signals emitted by KJanusWidget - @author Espen Sand (espen@kde.org) - - @short Easy to use widget with many layouts. - -*/ -public class KJanusWidget extends TQWidget { - protected KJanusWidget(Class dummy){super((Class) null);} - public static final int TreeList = 0; - public static final int Tabbed = 1; - public static final int Plain = 2; - public static final int Swallow = 3; - public static final int IconList = 4; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor where you specify the face. - @param parent Parent of the widget. - @param name Widget name. - @param face The kind of dialog, Use TreeList, Tabbed, Plain or - Swallow. - @short Constructor where you specify the face. - */ - public KJanusWidget(TQWidget parent, String name, int face) { - super((Class) null); - newKJanusWidget(parent,name,face); - } - private native void newKJanusWidget(TQWidget parent, String name, int face); - public KJanusWidget(TQWidget parent, String name) { - super((Class) null); - newKJanusWidget(parent,name); - } - private native void newKJanusWidget(TQWidget parent, String name); - public KJanusWidget(TQWidget parent) { - super((Class) null); - newKJanusWidget(parent); - } - private native void newKJanusWidget(TQWidget parent); - public KJanusWidget() { - super((Class) null); - newKJanusWidget(); - } - private native void newKJanusWidget(); - /** - Raises the page which was added by addPage(). - @param index The index of the page you want to raise. - @short Raises the page which was added by addPage(). - */ - public native boolean showPage(int index); - /** - Returns the index of the page that are currently displayed. - @return The index or -1 if the face is not Tabbed, TreeList or - IconList. - - @short Returns the index of the page that are currently displayed. - */ - public native int activePageIndex(); - /** - Use this to verify - that no memory allocation failed. - @return true if the widget was properly created. - - @short Use this to verify that no memory allocation failed. - */ - public native boolean isValid(); - /** - Returns the face type. - @return The face type. - - @short Returns the face type. - */ - public native int face(); - /** - Returns the minimum size that must be made available for the widget - so that UIs can be displayed properly - @return The minimum size. - - @short Returns the minimum size that must be made available for the widget so that UIs can be displayed properly - */ - public native TQSize minimumSizeHint(); - /** - Returns the recommended size for the widget in order to be displayed - properly. - @return The recommended size. - - @short Returns the recommended size for the widget in order to be displayed properly. - */ - public native TQSize sizeHint(); - /** - Returns the empty widget that is available in Plain mode. - @return The widget or 0 if the face in not Plain. - - @short Returns the empty widget that is available in Plain mode. - */ - public native TQFrame plainPage(); - /** - Add a new page when the class is used in TreeList, IconList or Tabbed - mode. The returned widget is empty and you must add your widgets - as children to this widget. In most cases you must create a layout - manager and associate it with this widget as well. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @param item String used in the list or Tab item. - @param header A longer string used in TreeList and IconList mode to - describe the contents of a page. If empty, the item string - will be used instead. - @param pixmap Used in IconList mode or in TreeList mode. You should - prefer a pixmap with size 32x32 pixels. - @return The empty page or 0 if the face is not TreeList, IconList or - Tabbed. - - @short Add a new page when the class is used in TreeList, IconList or Tabbed mode. - */ - public native TQFrame addPage(String item, String header, TQPixmap pixmap); - public native TQFrame addPage(String item, String header); - public native TQFrame addPage(String item); - /** - This is like addPage just above, with the difference that the first - element is a list of strings. These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @short This is like addPage just above, with the difference that the first element is a list of strings. - */ - public native TQFrame addPage(String[] items, String header, TQPixmap pixmap); - public native TQFrame addPage(String[] items, String header); - public native TQFrame addPage(String[] items); - /** - Add a new page when the class is used in TreeList, IconList or Tabbed - mode. The returned widget is empty and you must add your widgets - as children to this widget. The returned widget is a TQVBox - so it contains a TQVBoxLayout layout that lines up the child widgets - are vertically. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @param item String used in the list or Tab item. - @param header A longer string used in TreeList and IconList mode to - describe the contents of a page. If empty, the item string - will be used instead. - @param pixmap Used in IconList mode or in TreeList mode. You should - prefer a pixmap with size 32x32 pixels. - @return The empty page or 0 if the face is not TreeList, IconList or - Tabbed. - @short Add a new page when the class is used in TreeList, IconList or Tabbed mode. - */ - public native TQVBox addVBoxPage(String item, String header, TQPixmap pixmap); - public native TQVBox addVBoxPage(String item, String header); - public native TQVBox addVBoxPage(String item); - /** - This is like addVBoxPage just above, with the difference that the first - element is a list of strings. These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @short This is like addVBoxPage just above, with the difference that the first element is a list of strings. - */ - public native TQVBox addVBoxPage(String[] items, String header, TQPixmap pixmap); - public native TQVBox addVBoxPage(String[] items, String header); - public native TQVBox addVBoxPage(String[] items); - /** - Add a new page when the class is used in TreeList, IconList or Tabbed - mode. The returned widget is empty and you must add your widgets - as children to this widget. The returned widget is a TQHBox - so it contains a TQHBoxLayout layout that lines up the child widgets - are horizontally. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @param itemName String used in the list or Tab item. - @param header A longer string used in TreeList and IconList mode to - describe the contents of a page. If empty, the item string - will be used instead. - @param pixmap Used in IconList mode or in TreeList mode. You should - prefer a pixmap with size 32x32 pixels. - @return The empty page or 0 if the face is not TreeList, IconList or - Tabbed. - - @short Add a new page when the class is used in TreeList, IconList or Tabbed mode. - */ - public native TQHBox addHBoxPage(String itemName, String header, TQPixmap pixmap); - public native TQHBox addHBoxPage(String itemName, String header); - public native TQHBox addHBoxPage(String itemName); - /** - This is like addHBoxPage just above, with the difference that the first - element is a list of strings. These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @short This is like addHBoxPage just above, with the difference that the first element is a list of strings. - */ - public native TQHBox addHBoxPage(String[] items, String header, TQPixmap pixmap); - public native TQHBox addHBoxPage(String[] items, String header); - public native TQHBox addHBoxPage(String[] items); - /** - Add a new page when the class is used in either TreeList or Tabbed - mode. The returned widget is empty and you must add your widgets - as children to this widget. The returned widget is a TQGrid - so it contains a TQGridLayout layout that places up the child widgets - in a grid. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @param n Specifies the number of columns if 'dir' is TQGrid.Horizontal - or the number of rows if 'dir' is TQGrid.Vertical. - @param dir Can be TQGrid.Horizontal or TQGrid.Vertical. - @param itemName String used in the list or Tab item. - @param header A longer string used in TreeList and IconList mode to - describe the contents of a page. If empty, the item string - will be used instead. - @param pixmap Used in IconList mode or in TreeList mode. You should - prefer a pixmap with size 32x32 pixels. - @return The empty page or 0 if the face is not TreeList, IconList or - Tabbed. - - @short Add a new page when the class is used in either TreeList or Tabbed mode. - */ - public native TQGrid addGridPage(int n, int dir, String itemName, String header, TQPixmap pixmap); - public native TQGrid addGridPage(int n, int dir, String itemName, String header); - public native TQGrid addGridPage(int n, int dir, String itemName); - /** - This is like addGridPage just above, with the difference that the first - element is a list of strings. These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - Deleting the returned frame will cause the listitem or tab to be - removed (you can re-add a page with the same name later. - @short This is like addGridPage just above, with the difference that the first element is a list of strings. - */ - public native TQGrid addGridPage(int n, int dir, String[] items, String header, TQPixmap pixmap); - public native TQGrid addGridPage(int n, int dir, String[] items, String header); - public native TQGrid addGridPage(int n, int dir, String[] items); - /** - @param page The widget returned by addPage , addVBoxPage , - addHBoxPage or addGridPage . - @short Removes a page created with addPage, addVBoxPage, addHBoxPage or addGridPage. If the page has already been deleted or has already been removed, nothing happens. The widget itself is not deleted. - */ - public native void removePage(TQWidget page); - /** - Returns the index of a page created with addPage , - addVBoxPage , addHBoxPage or addGridPage . - You can can compare this index with the value returned from - activePageIndex if you need to do some page specific actions - in your code. - The returned index will never change so you can safely use this - function once and save the value. - @param widget The widget returned by addPage , addVBoxPage , - addHBoxPage or addGridPage . - @return The index or -1 if the face is not Tabbed, TreeList or - IconList - - @short Returns the index of a page created with addPage , addVBoxPage , addHBoxPage or addGridPage . - */ - public native int pageIndex(TQWidget widget); - /** - Defines the widget to be swallowed. - This method can be used several - times. Only the latest defined widget will be shown. - @param widget The widget to be swallowed. If 0, then an empty rectangle - is displayed. - @short Defines the widget to be swallowed. - */ - public native boolean setSwallowedWidget(TQWidget widget); - /** - This function has only effect in TreeList mode. - Defines how the tree list is resized when the widget is resized - horizontally. By default the tree list keeps its width when the - widget becomes wider. - @param state The resize mode. If false (default) the TreeList keeps - its current width when the widget becomes wider. - @short This function has only effect in TreeList mode. - */ - public native void setTreeListAutoResize(boolean state); - /** - This function has only effect in TreeList mode. - This tells the widgets whether the icons given in the addPage, - addVBoxPage, addHBoxPage, or addGridPage methods should - be shown in the TreeList. - Note: This method must be called before calling any of the methods - which add icons to the page. - @param state If true the icons are shown. - @short This function has only effect in TreeList mode. - */ - public native void setShowIconsInTreeList(boolean state); - /** - This function has only effect in TreeList mode. - This tells the widgets whether the root should be decorated. - For details see TQListView.setRootIsDecorated - @param state Root will be decorated if true. - @short This function has only effect in TreeList mode. - */ - public native void setRootIsDecorated(boolean state); - /** - This function has only effect in TreeList mode. - This tells the TreeList to unfold the whole tree so that all entries - are visible. - If the list is empty when you call this method newly created entries - will not automatically be opened. If the <code>persist</code> flag is set opened - entries cannot be closed again, though. - @param persist If true the tree always stays unfolded. - @short This function has only effect in TreeList mode. - */ - public native void unfoldTreeList(boolean persist); - public native void unfoldTreeList(); - /** - Add a widget at the bottom of the TreeList/IconList. - @param widget The widget to be added. It will be reparented into the - KJanusWidget, therefor it will be deleted with the - KJanusWidget, too. To be on the save side just don't keep - the pointer to this widget. - @short Add a widget at the bottom of the TreeList/IconList. - */ - public native void addWidgetBelowList(TQWidget widget); - /** - Add a button at the bottom of the TreeList/IconList. - @param text The text on the PushButton. - @param recv The object that is to receive the signal when the button - is clicked. - @param slot The slot to connect to the clicked signal of the button. - @short Add a button at the bottom of the TreeList/IconList. - */ - public native void addButtonBelowList(String text, TQObject recv, String slot); - /** - The same as the above function, but with a KGuiItem providing the text - and icon for the button at the bottom of the TreeList/IconList. - @param guiitem The text and icon on the PushButton. - @param recv The object that is to receive the signal when the button - is clicked. - @param slot The slot to connect to the clicked signal of the button. - @short The same as the above function, but with a KGuiItem providing the text and icon for the button at the bottom of the TreeList/IconList. - */ - public native void addButtonBelowList(KGuiItem guiitem, TQObject recv, String slot); - /** - This function has only effect in IconList mode. - Defines how the icon list widget is displayed. By default it is - the widgets in the pages that decide the minimum height - of the toplevel widget. A vertical scrollbar can be used in - the icon list area. - @param state The visibility mode. If true, the minimum height is - adjusted so that every icon in the list is visible at the - same time. The vertical scrollbar will never be visible. - @short This function has only effect in IconList mode. - */ - public native void setIconListAllVisible(boolean state); - /** - Sets the icon used in TreeList Mode for the given path. - @param path The path for which this icon should be shown. - @param pixmap The icon used. - @short Sets the icon used in TreeList Mode for the given path. - */ - public native void setFolderIcon(String[] path, TQPixmap pixmap); - /** - Returns the title string associated with a page index in TreeList or IconList mode. - @param index The index of the page or null if there is no such page. - @short Returns the title string associated with a page index in TreeList or IconList mode. - @see #pageIndex - */ - public native String pageTitle(int index); - /** - Returns the page widget associated with a page index or null if there is - no such page. - @param index The index of the page. - @short Returns the page widget associated with a page index or null if there is no such page. - @see #pageIndex - */ - public native TQWidget pageWidget(int index); - /** - Give the keyboard input focus to the widget. - @short Give the keyboard input focus to the widget. - */ - public native void setFocus(); - /** - Reimplemented to handle the splitter width when the the face - is TreeList - @short Reimplemented to handle the splitter width when the the face is TreeList - */ - public native void showEvent(TQShowEvent arg1); - /** - This function is used internally when in IconList mode. If you - reimplement this class a make your own event filter, make sure to - call this function from your filter. - @param o Object that has received an event. - @param e The event. - @short This function is used internally when in IconList mode. - */ - public native boolean eventFilter(TQObject o, TQEvent e); - protected native boolean showPage(TQWidget w); - protected native void addPageWidget(TQFrame page, String[] items, String header, TQPixmap pixmap); - protected native void InsertTreeListItem(String[] items, TQPixmap pixmap, TQFrame page); - protected native TQWidget FindParent(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KJanusWidgetSignals.java b/kdejava/koala/org/kde/koala/KJanusWidgetSignals.java deleted file mode 100644 index 2108a8e9..00000000 --- a/kdejava/koala/org/kde/koala/KJanusWidgetSignals.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQGrid; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; -import org.kde.qt.TQFrame; -import org.kde.qt.TQHBox; - -public interface KJanusWidgetSignals { - /** - This signal is emitted whenever the current page changes. - @param page the new page. - @short This signal is emitted whenever the current page changes. - */ - void aboutToShowPage(TQWidget page); -} diff --git a/kdejava/koala/org/kde/koala/KKey.java b/kdejava/koala/org/kde/koala/KKey.java deleted file mode 100644 index 9a021119..00000000 --- a/kdejava/koala/org/kde/koala/KKey.java +++ /dev/null @@ -1,267 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQKeySequence; -import org.kde.qt.QtSupport; -import org.kde.qt.TQKeyEvent; - -/** - - A KKey object represents a single key with possible modifiers - (Shift, Ctrl, Alt, Win). It can represent both keys which are - understood by Qt as well as those which are additionally supported - by the underlying system (e.g. X11). - @short A KKey object represents a single key with possible modifiers (Shift, Ctrl, Alt, Win). - @see KKeyNative - @see KKeySequence - @see TDEShortcut - -*/ -public class KKey implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KKey(Class dummy){} - - /** - The number of flags. - @short The number of flags. - @see ModFlag - */ - public static final int MOD_FLAG_COUNT = 4; - - public static final int QtWIN = (Qt.META); - - /** - Flags to represent the modifiers. You can combine modifiers - by ORing them. - @short Flags to represent the modifiers. - */ - public static final int SHIFT = 0x01; - public static final int CTRL = 0x02; - public static final int ALT = 0x04; - public static final int WIN = 0x08; - - /** - Creates a new null KKey. - @short Creates a new null KKey. - @see #clear - @see #isNull - @see #null - */ - public KKey() { - newKKey(); - } - private native void newKKey(); - /** - Creates a new key for the given Qt key code. - @param keyQt the qt keycode - @short Creates a new key for the given Qt key code. - @see org.kde.qt.Qt#Key - */ - public KKey(int keyQt) { - newKKey(keyQt); - } - private native void newKKey(int keyQt); - /** - Creates a new key from the first key code of the given key sequence. - @param keySeq the key sequence that contains the key - @short Creates a new key from the first key code of the given key sequence. - */ - public KKey(TQKeySequence keySeq) { - newKKey(keySeq); - } - private native void newKKey(TQKeySequence keySeq); - /** - Extracts the key from the given key event. - @param keyEvent the key event to get the key from - @short Extracts the key from the given key event. - */ - public KKey(TQKeyEvent keyEvent) { - newKKey(keyEvent); - } - private native void newKKey(TQKeyEvent keyEvent); - /** - Copy constructor. - @short Copy constructor. - */ - public KKey(KKey key) { - newKKey(key); - } - private native void newKKey(KKey key); - /** - Creates a new key from the given description. The form of the description - is "[modifier+[modifier+]]+key", for example "e", "CTRL+q" or - "CTRL+ALT+DEL". Allowed modifiers are "SHIFT", "CTRL", "ALT", "WIN" and - "META". "WIN" and "META" are equivalent. Modifiers are not case-sensitive. - @param key the description of the key - @short Creates a new key from the given description. - @see KKeyServer#Sym#init - */ - public KKey(String key) { - newKKey(key); - } - private native void newKKey(String key); - /** - @short - */ - public KKey(int key, int mod) { - newKKey(key,mod); - } - private native void newKKey(int key, int mod); - /** - Clears the key. The key is null after calling this function. - @short Clears the key. - @see #isNull - */ - public native void clear(); - /** - Initializes the key with the given Qt key code. - @param keyQt the qt keycode - @return true if successful, false otherwise - - @short Initializes the key with the given Qt key code. - @see org.kde.qt.Qt#Key - */ - public native boolean init(int keyQt); - /** - Initializes the key with the first key code of the given key sequence. - @param keySeq the key sequence that contains the key - @return true if successful, false otherwise - - @short Initializes the key with the first key code of the given key sequence. - */ - public native boolean init(TQKeySequence keySeq); - /** - Initializes the key by extracting the code from the given key event. - @param keyEvent the key event to get the key from - @return true if successful, false otherwise - - @short Initializes the key by extracting the code from the given key event. - */ - public native boolean init(TQKeyEvent keyEvent); - /** - Copies the given key. - @param key the key to copy - @return true if successful, false otherwise - - @short Copies the given key. - */ - public native boolean init(KKey key); - /** - Initializes the key with the given description. The form of the description - is "[modifier+[modifier+]]+key", for example "e", "CTRL+q" or - "CTRL+ALT+DEL". Allowed modifiers are "SHIFT", "CTRL", "ALT", "WIN" and - "META". "WIN" and "META" are equivalent. Modifiers are not case-sensitive. - @param key the description of the key - @return true if successful, false otherwise - - @short Initializes the key with the given description. - @see KKeyServer#Sym#init - */ - public native boolean init(String key); - /** - @short - */ - public native boolean init(int key, int mod); - /** - Returns true if the key is null (after clear() or empty - constructor). - @return true if the key is null - - @short Returns true if the key is null (after clear() or empty constructor). - @see #clear - @see #null - */ - public native boolean isNull(); - /** - @short - */ - public native int sym(); - /** - @short - */ - public native int modFlags(); - /** - Compares this key with the given KKey object. Returns a negative - number if the given KKey is larger, 0 if they are equal and - a positive number this KKey is larger. The returned value - is the difference between the symbol or, if the symbols - are equal, the difference between the encoded modifiers. - @param key the key to compare with this key - @return a negative number if the given KKey is larger, 0 if - they are equal and a positive number this KKey is larger - - @short Compares this key with the given KKey object. - */ - public native int compare(KKey key); - /** - Compares the symbol and modifiers of both keys. - @short Compares the symbol and modifiers of both keys. - @see #compare - */ - public native boolean op_equals(KKey key); - /** - Compares the symbol and modifiers of both keys. - @short Compares the symbol and modifiers of both keys. - @see #compare - */ - public native boolean op_not_equals(KKey key); - /** - Compares the symbol and modifiers of both keys. - @short Compares the symbol and modifiers of both keys. - @see #compare - */ - public native boolean op_lt(KKey key); - /** - Returns the qt key code. - @return the qt key code or 0 if there is no key set. - - @short Returns the qt key code. - @see org.kde.qt.Qt#Key - */ - public native int keyCodeQt(); - /** - Returns a human-readable representation of the key in the form - "modifier+key". Note that the representation is localised, - use toStringInternal() for cases like saving to configuration files. - @return the string representation of the key - - @short Returns a human-readable representation of the key in the form "modifier+key". - @see #toStringInternal - */ - public native String toString(); - /** - Returns an untranslated text representation of the key in the form - "modifier+key", suitable e.g. for saving in configuration files. - @short Returns an untranslated text representation of the key in the form "modifier+key", suitable e. - */ - public native String toStringInternal(); - /** - @short - */ - public native void simplify(); - /** - Returns a null key. - @return the null key - - @short Returns a null key. - @see #isNull - @see #clear - */ - public static native KKey nil(); - /** - Returns a user-readable representation of the given modifiers. - @param f the modifiers to convert - @return the string representation of the modifiers - - @short Returns a user-readable representation of the given modifiers. - */ - public static native String modFlagLabel(int f); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KKeyButton.java b/kdejava/koala/org/kde/koala/KKeyButton.java deleted file mode 100644 index e3e034b8..00000000 --- a/kdejava/koala/org/kde/koala/KKeyButton.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - You must call setShortcut() to set the widget's currently displayed key. - You can call captureShortcut() to get a new shortcut from the user. - If captureShortcut() succeeds, then the capturedShortcut() signal will be - emitted with the value of the new shortcut. The widget containing - a KKeyButton widget must connect to this signal and check if the shortcut - is valid. If it is, you will need to call setShortcut() with the new - value in order make it the key currently displayed. - See {@link KKeyButtonSignals} for signals emitted by KKeyButton - @author Mark Donohoe <donohoe@kde.org> - - @short A push button that looks like a keyboard key. - -*/ -public class KKeyButton extends TQPushButton { - protected KKeyButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs key button widget. - @short Constructs key button widget. - */ - public KKeyButton(TQWidget parent, String name) { - super((Class) null); - newKKeyButton(parent,name); - } - private native void newKKeyButton(TQWidget parent, String name); - public KKeyButton(TQWidget parent) { - super((Class) null); - newKKeyButton(parent); - } - private native void newKKeyButton(TQWidget parent); - public KKeyButton() { - super((Class) null); - newKKeyButton(); - } - private native void newKKeyButton(); - public native void setShortcut(TDEShortcut cut, boolean bQtShortcut); - public native TDEShortcut shortcut(); - /** - Reimplemented for internal purposes. - @short Reimplemented for internal purposes. - */ - public native void setText(String text); - /** - Call this method to capture a shortcut from the keyboard. - If it succeeds, the capturedShortcut() signal will be emitted. - @short Call this method to capture a shortcut from the keyboard. - */ - public native void captureShortcut(); - /** - Reimplemented for internal reasons. - @short Reimplemented for internal reasons. - */ - protected native void drawButton(TQPainter _painter); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KKeyButtonSignals.java b/kdejava/koala/org/kde/koala/KKeyButtonSignals.java deleted file mode 100644 index ad86343a..00000000 --- a/kdejava/koala/org/kde/koala/KKeyButtonSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; - -public interface KKeyButtonSignals { - void capturedShortcut(TDEShortcut arg1); -} diff --git a/kdejava/koala/org/kde/koala/KKeyChooser.java b/kdejava/koala/org/kde/koala/KKeyChooser.java deleted file mode 100644 index 8e23ae50..00000000 --- a/kdejava/koala/org/kde/koala/KKeyChooser.java +++ /dev/null @@ -1,195 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - Configure dictionaries of key/action associations for TDEAccel and - TDEGlobalAccel. - The class takes care of all aspects of configuration, including - handling key conflicts internally. Connect to the allDefault() - slot if you want to set all configurable shortcuts to their - default values. - See {@link KKeyChooserSignals} for signals emitted by KKeyChooser - @author Nicolas Hadacek <hadacek@via.ecp.fr> - - @short Widget for configuration of TDEAccel and TDEGlobalAccel. - @see KKeyDialog - -*/ -public class KKeyChooser extends TQWidget { - protected KKeyChooser(Class dummy){super((Class) null);} - public static final int NoKey = 1; - public static final int DefaultKey = 2; - public static final int CustomKey = 3; - - public static final int Application = 0; - public static final int ApplicationGlobal = 1; - public static final int Standard = 2; - public static final int Global = 3; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @param parent the parent widget for this widget - @param type the ActionType for this KKeyChooser - @param bAllowLetterShortcuts Set to false if unmodified alphanumeric - keys ('A', '1', etc.) are not permissible shortcuts. - @short Constructor. - */ - // KKeyChooser* KKeyChooser(TQWidget* arg1,ActionType arg2,bool arg3); >>>> NOT CONVERTED - // KKeyChooser* KKeyChooser(TQWidget* arg1,ActionType arg2); >>>> NOT CONVERTED - public KKeyChooser(TQWidget parent) { - super((Class) null); - newKKeyChooser(parent); - } - private native void newKKeyChooser(TQWidget parent); - /** - \overload - @param parent parent widget - @param coll the TDEActionCollection to configure - @param bAllowLetterShortcuts Set to false if unmodified alphanumeric - keys ('A', '1', etc.) are not permissible shortcuts. - @short \overload - */ - public KKeyChooser(TDEActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts) { - super((Class) null); - newKKeyChooser(coll,parent,bAllowLetterShortcuts); - } - private native void newKKeyChooser(TDEActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts); - public KKeyChooser(TDEActionCollection coll, TQWidget parent) { - super((Class) null); - newKKeyChooser(coll,parent); - } - private native void newKKeyChooser(TDEActionCollection coll, TQWidget parent); - public KKeyChooser(TDEAccel actions, TQWidget parent, boolean bAllowLetterShortcuts) { - super((Class) null); - newKKeyChooser(actions,parent,bAllowLetterShortcuts); - } - private native void newKKeyChooser(TDEAccel actions, TQWidget parent, boolean bAllowLetterShortcuts); - public KKeyChooser(TDEAccel actions, TQWidget parent) { - super((Class) null); - newKKeyChooser(actions,parent); - } - private native void newKKeyChooser(TDEAccel actions, TQWidget parent); - public KKeyChooser(TDEGlobalAccel actions, TQWidget parent) { - super((Class) null); - newKKeyChooser(actions,parent); - } - private native void newKKeyChooser(TDEGlobalAccel actions, TQWidget parent); - // KKeyChooser* KKeyChooser(TDEShortcutList* arg1,TQWidget* arg2,ActionType arg3,bool arg4); >>>> NOT CONVERTED - // KKeyChooser* KKeyChooser(TDEShortcutList* arg1,TQWidget* arg2,ActionType arg3); >>>> NOT CONVERTED - public KKeyChooser(TDEShortcutList arg1, TQWidget parent) { - super((Class) null); - newKKeyChooser(arg1,parent); - } - private native void newKKeyChooser(TDEShortcutList arg1, TQWidget parent); - /** - Insert an action collection, i.e. add all its actions to the ones - already associated with the KKeyChooser object. - @short Insert an action collection, i. - */ - public native boolean insert(TDEActionCollection arg1); - /** - Insert an action collection, i.e. add all its actions to the ones - already associated with the KKeyChooser object. - @param title subtree title of this collection of shortcut. - @short Insert an action collection, i. - */ - public native boolean insert(TDEActionCollection arg1, String title); - public native void syncToConfig(String sConfigGroup, TDEConfigBase pConfig, boolean bClearUnset); - /** - This function writes any shortcut changes back to the original - action set(s). - @short This function writes any shortcut changes back to the original action set(s). - */ - public native void commitChanges(); - /** - This commits and then saves the actions to disk. - Any TDEActionCollection objects with the xmlFile() value set - will be written to an XML file. All other will be written - to the application's rc file. - @short This commits and then saves the actions to disk. - */ - public native void save(); - /** - Set all keys to their default values (bindings). - @short Set all keys to their default values (bindings). - */ - public native void allDefault(); - /** - Specifies whether to use the 3 or 4 modifier key scheme. - This determines which default is used when the 'Default' button is - clicked. - @short Specifies whether to use the 3 or 4 modifier key scheme. - */ - public native void setPreferFourModifierKeys(boolean preferFourModifierKeys); - /** - Rebuild list entries based on underlying map. - Use this if you changed the underlying map. - @short Rebuild list entries based on underlying map. - */ - public native void listSync(); - /** - Checks whether the given shortcut conflicts with global keyboard shortcuts. - If yes, and the warnUser argument is true, warns the user and gives them a chance - to reassign the shortcut from the global shortcut. - @param cut the shortcut that will be checked for conflicts - @param warnUser if true, the user will be warned about a conflict and given a chance - to reassign the shortcut - @param parent parent widget for the warning dialog - @return true if there was conflict (and the user didn't reassign the shortcut) - - @short Checks whether the given shortcut conflicts with global keyboard shortcuts. - */ - public static native boolean checkGlobalShortcutsConflict(TDEShortcut cut, boolean warnUser, TQWidget parent); - /** - Checks whether the given shortcut conflicts with standard keyboard shortcuts. - If yes, and the warnUser argument is true, warns the user and gives them a chance - to reassign the shortcut from the standard shortcut. - @param cut the shortcut that will be checked for conflicts - @param warnUser if true, the user will be warned about a conflict and given a chance - to reassign the shortcut - @param parent parent widget for the warning dialog - @return true if there was conflict (and the user didn't reassign the shortcut) - - @short Checks whether the given shortcut conflicts with standard keyboard shortcuts. - */ - public static native boolean checkStandardShortcutsConflict(TDEShortcut cut, boolean warnUser, TQWidget parent); - // void initGUI(ActionType arg1,bool arg2); >>>> NOT CONVERTED - protected native boolean insert(TDEAccel arg1); - protected native boolean insert(TDEGlobalAccel arg1); - protected native boolean insert(TDEShortcutList arg1); - protected native void buildListView(int iList, String title); - protected native void buildListView(int iList); - protected native void readGlobalKeys(); - protected native void updateButtons(); - protected native void fontChange(TQFont _font); - protected native void setShortcut(TDEShortcut cut); - protected native boolean isKeyPresent(TDEShortcut cut, boolean warnuser); - protected native boolean isKeyPresent(TDEShortcut cut); - // bool isKeyPresentLocally(const TDEShortcut& arg1,KKeyChooserItem* arg2,const TQString& arg3); >>>> NOT CONVERTED - protected native void _warning(KKeySequence seq, String sAction, String sTitle); - protected native void slotNoKey(); - protected native void slotDefaultKey(); - protected native void slotCustomKey(); - protected native void slotListItemSelected(TQListViewItem item); - protected native void capturedShortcut(TDEShortcut cut); - protected native void slotSettingsChanged(int arg1); - protected native void slotListItemDoubleClicked(TQListViewItem ipoTQListViewItem, TQPoint ipoTQPoint, int c); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KKeyChooserSignals.java b/kdejava/koala/org/kde/koala/KKeyChooserSignals.java deleted file mode 100644 index cf23df80..00000000 --- a/kdejava/koala/org/kde/koala/KKeyChooserSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQWidget; - -public interface KKeyChooserSignals { - /** - Emitted when an action's shortcut has been changed. - @short Emitted when an action's shortcut has been changed. - */ - void keyChange(); -} diff --git a/kdejava/koala/org/kde/koala/KKeyDialog.java b/kdejava/koala/org/kde/koala/KKeyDialog.java deleted file mode 100644 index a94c6831..00000000 --- a/kdejava/koala/org/kde/koala/KKeyDialog.java +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - The KKeyDialog class is used for configuring dictionaries of key/action - associations for TDEActionCollection, TDEAccel, and TDEGlobalAccel. It uses the KKeyChooser widget - and offers buttons to set all keys to defaults and invoke on-line help. - Several static methods are supplied which provide the most convenient interface - to the dialog. The most common and most encouraged use is with TDEActionCollection. - <pre> - KKeyDialog.configure( actionCollection() ); - </pre> - @author Nicolas Hadacek <hadacek@via.ecp.fr> - - @short Dialog for configuration of TDEActionCollection, TDEAccel, and TDEGlobalAccel. - -*/ -public class KKeyDialog extends KDialogBase { - protected KKeyDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KKeyDialog called <code>name</code> as a child of <code>parent.</code> - Set <code>bAllowLetterShortcuts</code> to false if unmodified alphanumeric - keys ('A', '1', etc.) are not permissible shortcuts. - @short Constructs a KKeyDialog called <code>name</code> as a child of <code>parent.</code> - */ - public KKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent, String name) { - super((Class) null); - newKKeyDialog(bAllowLetterShortcuts,parent,name); - } - private native void newKKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent, String name); - public KKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent) { - super((Class) null); - newKKeyDialog(bAllowLetterShortcuts,parent); - } - private native void newKKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent); - public KKeyDialog(boolean bAllowLetterShortcuts) { - super((Class) null); - newKKeyDialog(bAllowLetterShortcuts); - } - private native void newKKeyDialog(boolean bAllowLetterShortcuts); - public KKeyDialog() { - super((Class) null); - newKKeyDialog(); - } - private native void newKKeyDialog(); - /** - Insert an action collection, i.e. add all its actions to the ones - displayed by the dialog. - This method can be useful in applications following the document/view - design, with actions in both the document and the view. - Simply call insert with the action collections of each one in turn. - @return true :) - - @short Insert an action collection, i. - */ - public native boolean insert(TDEActionCollection arg1); - /** - Insert an action collection, i.e. add all its actions to the ones - displayed by the dialog. - This method can be useful in applications following the document/view - design, with actions in both the document and the view. - Simply call insert with the action collections of each one in turn. - @param title the title associated with the collection (if null, the - TDEAboutData.progName() of the collection's instance is used) - @return true :) - - @short Insert an action collection, i. - */ - public native boolean insert(TDEActionCollection arg1, String title); - /** - Run the dialog and call commitChanges() if <code>bSaveSettings</code> - is true. - @short Run the dialog and call commitChanges() if <code>bSaveSettings</code> is true. - */ - public native boolean configure(boolean bSaveSettings); - public native boolean configure(); - /** - Commit key setting changes so that changed settings actually become active. - This method is implicitly called from configure(boolean) if - <code>bSaveSettings</code> is true. - @short Commit key setting changes so that changed settings actually become active. - */ - public native void commitChanges(); - /** - Pops up a modal dialog for configuring key settings. The new - shortcut settings will be active if the user presses OK. If - <code>bSaveSettings</code> if true, the settings will also be saved back to - the uirc file which they were intially read from. - @return Accept if the dialog was closed with OK, Reject otherwise. - - @short Pops up a modal dialog for configuring key settings. - */ - public static native int configure(TDEActionCollection coll, TQWidget parent, boolean bSaveSettings); - public static native int configure(TDEActionCollection coll, TQWidget parent); - public static native int configure(TDEActionCollection coll); - /** - This is an overloaded member function, provided for convenience. - It behaves essentially like the above function, except that settings - are saved to a .rc file using TDEConfig. - @short This is an overloaded member function, provided for convenience. - */ - public static native int configure(TDEAccel keys, TQWidget parent, boolean bSaveSettings); - public static native int configure(TDEAccel keys, TQWidget parent); - public static native int configure(TDEAccel keys); - /** - This is an overloaded member function, provided for convenience. - It behaves essentially like the above function. - @short This is an overloaded member function, provided for convenience. - */ - public static native int configure(TDEGlobalAccel keys, TQWidget parent, boolean bSaveSettings); - public static native int configure(TDEGlobalAccel keys, TQWidget parent); - public static native int configure(TDEGlobalAccel keys); - /** - This is an overloaded member function, provided for convenience. - It behaves essentially like the above function. - @param coll the TDEActionCollection to configure - @param bAllowLetterShortcuts Set to false if unmodified alphanumeric - keys ('A', '1', etc.) are not permissible shortcuts. - @param parent the parent widget to attach to - @param bSaveSettings if true, the settings will also be saved back to - the uirc file which they were intially read from. - @short This is an overloaded member function, provided for convenience. - */ - public static native int configure(TDEActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); - public static native int configure(TDEActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent); - public static native int configure(TDEActionCollection coll, boolean bAllowLetterShortcuts); - /** - This is an overloaded member function, provided for convenience. - It behaves essentially like the above function. - @short This is an overloaded member function, provided for convenience. - */ - public static native int configure(TDEAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); - public static native int configure(TDEAccel keys, boolean bAllowLetterShortcuts, TQWidget parent); - public static native int configure(TDEAccel keys, boolean bAllowLetterShortcuts); - /** - This is an overloaded member function, provided for convenience. - It behaves essentially like the above function. - @short This is an overloaded member function, provided for convenience. - */ - public static native int configure(TDEGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); - public static native int configure(TDEGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent); - public static native int configure(TDEGlobalAccel keys, boolean bAllowLetterShortcuts); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KKeyNative.java b/kdejava/koala/org/kde/koala/KKeyNative.java deleted file mode 100644 index 79c0a363..00000000 --- a/kdejava/koala/org/kde/koala/KKeyNative.java +++ /dev/null @@ -1,128 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Representation of a key in the format native of the windowing system (eg. X11). - @short Representation of a key in the format native of the windowing system (eg. - @see KKey - -*/ -public class KKeyNative implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KKeyNative(Class dummy){} - - /** - Creates a new null KKey. - @short Creates a new null KKey. - @see #clear - @see #isNull - @see #null - */ - public KKeyNative() { - newKKeyNative(); - } - private native void newKKeyNative(); - /** - Creates a new native key for the given KKey code. - @param key the KKey that contains the generic key - @short Creates a new native key for the given KKey code. - */ - public KKeyNative(KKey key) { - newKKeyNative(key); - } - private native void newKKeyNative(KKey key); - /** - @short - */ - public KKeyNative(int code, int mod, int sym) { - newKKeyNative(code,mod,sym); - } - private native void newKKeyNative(int code, int mod, int sym); - /** - Clears the key. The key is null after calling this function. - @short Clears the key. - @see #isNull - */ - public native void clear(); - /** - Creates a new native key for the given KKey code. - @param key the KKey that contains the generic key - @return true if successful, false otherwise - - @short Creates a new native key for the given KKey code. - */ - public native boolean init(KKey key); - /** - Returns the qt key code. - @return the qt key code or 0 if there is no key set. - - @short Returns the qt key code. - @see org.kde.qt.Qt#Key - */ - public native int keyCodeQt(); - /** - Returns the KKey representation of this key. - @return the KKey representation - - @short Returns the KKey representation of this key. - */ - public native KKey key(); - /** - The native keycode of the key. - @return the native keycode - - @short The native keycode of the key. - */ - public native int code(); - /** - The native modifier flags of the key. - @return the native modifier flags - - @short The native modifier flags of the key. - */ - public native int mod(); - /** - The native symbol (KeySym) of the key. - @return the native symbol (KeySym) - - @short The native symbol (KeySym) of the key. - */ - public native int sym(); - /** - Returns true if the key is null (after clear() or empty - constructor). - @return true if the key is null - - @short Returns true if the key is null (after clear() or empty constructor). - @see #clear - @see #null - */ - public native boolean isNull(); - /** - Returns a null key. - @return the null key - - @short Returns a null key. - @see #isNull - @see #clear - */ - public static native KKeyNative nil(); - /** - Checks whether the keyboard has a Win key. - @return true if the keyboard has a Win key - - @short Checks whether the keyboard has a Win key. - */ - public static native boolean keyboardHasWinKey(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KKeySequence.java b/kdejava/koala/org/kde/koala/KKeySequence.java deleted file mode 100644 index abe0a8fb..00000000 --- a/kdejava/koala/org/kde/koala/KKeySequence.java +++ /dev/null @@ -1,211 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQKeySequence; -import org.kde.qt.QtSupport; - -/** - - A KKeySequence object holds a sequence of up to 4 keys. - Ex: Ctrl+X,I - @short A KKeySequence object holds a sequence of up to 4 keys. - @see KKey - @see TDEShortcut - -*/ -public class KKeySequence implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KKeySequence(Class dummy){} - - public static final int MAX_KEYS = 4; - - /** - Create a new null key sequence. - @short Create a new null key sequence. - @see #isNull - @see #null - @see #clear - */ - public KKeySequence() { - newKKeySequence(); - } - private native void newKKeySequence(); - /** - Copies the given qt key sequence. - @param keySeq the qt key sequence to copy - @short Copies the given qt key sequence. - */ - public KKeySequence(TQKeySequence keySeq) { - newKKeySequence(keySeq); - } - private native void newKKeySequence(TQKeySequence keySeq); - /** - Create a new key sequence that only contains the given key. - @param key the key to add - @short Create a new key sequence that only contains the given key. - */ - public KKeySequence(KKey key) { - newKKeySequence(key); - } - private native void newKKeySequence(KKey key); - /** - Copies the given key sequence. - @param keySeq the key sequence to copy - @short Copies the given key sequence. - */ - public KKeySequence(KKeySequence keySeq) { - newKKeySequence(keySeq); - } - private native void newKKeySequence(KKeySequence keySeq); - /** - Creates a new key sequence that contains the given key sequence. - The description consists of comma-separated keys as - required by KKey.KKey(String). - @param keySeq the description of the key - @short Creates a new key sequence that contains the given key sequence. - @see KKeyServer#Sym#init - @see KKey#KKey(const - */ - public KKeySequence(String keySeq) { - newKKeySequence(keySeq); - } - private native void newKKeySequence(String keySeq); - /** - Clears the key sequence. The key sequence is null after calling this - function. - @short Clears the key sequence. - @see #isNull - */ - public native void clear(); - /** - Returns the number of key strokes of this sequence. - @return the number of key strokes - - @short Returns the number of key strokes of this sequence. - @see MAX_KEYS - */ - public native int count(); - /** - Return the <code>i</code>'th key of this sequence, or a null key if there - are less then i keys. - @param i the key to retrieve - @return the <code>i</code>'th key, or KKey.null() if there are less - than i keys - - @short Return the <code>i</code>'th key of this sequence, or a null key if there are less then i keys. - @see MAX_KEYS - */ - public native KKey key(int i); - /** - @short - */ - public native boolean isTriggerOnRelease(); - /** - Sets the <code>i</code>'th key of the sequence. You can not introduce gaps - in a sequence, so you must use an <code>i</code> <= count(). Also note that - the maximum length of a key sequence is MAX_KEYS. - @param i the position of the new key (<= count(), <= MAX_KEYS) - @param key the key to set - @return true if successful, false otherwise - - @short Sets the <code>i</code>'th key of the sequence. - */ - public native boolean setKey(int i, KKey key); - /** - Returns true if the key sequence is null (after clear() or empty - constructor). - @return true if the key sequence is null - - @short Returns true if the key sequence is null (after clear() or empty constructor). - @see #clear - @see #null - */ - public native boolean isNull(); - /** - Returns true if this key sequence begins with the given sequence. - @param keySeq the key sequence to search - @return true if this key sequence begins with the given sequence - - @short Returns true if this key sequence begins with the given sequence. - */ - public native boolean startsWith(KKeySequence keySeq); - /** - Compares this object with the given key sequence. Returns a negative - number if the given KKeySequence is larger, 0 if they are equal and - a positive number this KKeySequence is larger. Key sequences are - compared by comparing the individual keys, starting from the beginning - until an unequal key has been found. If a sequence contains more - keys, it is considered larger. - @param keySeq the key sequence to compare to - @return a negative number if the given KKeySequence is larger, 0 if - they are equal and a positive number this KKeySequence is larger - - @short Compares this object with the given key sequence. - @see KKey#sequence - */ - public native int compare(KKeySequence keySeq); - /** - Compares the keys of both sequences. - @short Compares the keys of both sequences. - @see #compare - */ - public native boolean op_equals(KKeySequence seq); - /** - Compares the keys of both sequences. - @short Compares the keys of both sequences. - @see #compare - */ - public native boolean op_not_equals(KKeySequence seq); - /** - Compares the keys of both sequences. - @short Compares the keys of both sequences. - @see #compare - */ - public native boolean op_lt(KKeySequence seq); - /** - Converts this key sequence to a TQKeySequence. - @return the TQKeySequence - - @short Converts this key sequence to a TQKeySequence. - */ - public native TQKeySequence qt(); - /** - Returns the qt key code of the first key. - @return the qt key code of the first key - - @short Returns the qt key code of the first key. - @see org.kde.qt.Qt#Key - @see KKey#keyCodeQt - */ - public native int keyCodeQt(); - /** - Returns the key sequence as a number of key presses as - returned by KKey.toString(), separated by commas. - @return the string represenation of this key sequence - - @short Returns the key sequence as a number of key presses as returned by KKey.toString(), separated by commas. - @see KKey#toString - */ - public native String toString(); - /** - @short - */ - public native String toStringInternal(); - /** - Returns a null key sequence. - @return the null key sequence - - @short Returns a null key sequence. - @see #isNull - @see #clear - */ - public static native KKeySequence nil(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KLed.java b/kdejava/koala/org/kde/koala/KLed.java deleted file mode 100644 index 7ff61c08..00000000 --- a/kdejava/koala/org/kde/koala/KLed.java +++ /dev/null @@ -1,288 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - Displays a round or rectangular light emitting diode. - It is configurable to five colors, the two on/off states and three - styles (or "looks"); - It may display itself in a performant flat view, a round view with - light spot or a round view sunken in the screen. - \image html kled.png "KDE LED Widget" - @author Joerg Habenicht, Richard J. Moore (rich@kde.org) 1998, 1999 - - @short An LED widget. - -*/ -public class KLed extends TQWidget { - protected KLed(Class dummy){super((Class) null);} - /** - Status of the light is on/off. - @short LED on/off. - */ - public static final int Off = 0; - public static final int On = 1; - - /** - Shades of the lamp. - @short LED shape. - */ - public static final int Rectangular = 0; - public static final int Circular = 1; - - /** - Displays a flat, round or sunken LED. - Displaying the LED flat is less time and color consuming, - but not so nice to see. - The sunken LED itself is (certainly) smaller than the round LED - because of the 3 shading circles and is - most time consuming. Makes sense for LED > 15x15 pixels. - <b></b>imings: \n - ( AMD K5/133, Diamond Stealth 64 PCI Graphics, widgetsize 29x29 ) - - <li> - flat Approximately 0.7 msec per paint - </li> - - <li> - round Approximately 2.9 msec per paint - </li> - - <li> - sunken Approximately 3.3 msec per paint - </li> - The widget will be updated on the next repaining event. - @short LED look. - */ - public static final int Flat = 0; - public static final int Raised = 1; - public static final int Sunken = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a green, round LED widget which will initially - be turned on. - @short Constructs a green, round LED widget which will initially be turned on. - */ - public KLed(TQWidget parent, String name) { - super((Class) null); - newKLed(parent,name); - } - private native void newKLed(TQWidget parent, String name); - public KLed(TQWidget parent) { - super((Class) null); - newKLed(parent); - } - private native void newKLed(TQWidget parent); - public KLed() { - super((Class) null); - newKLed(); - } - private native void newKLed(); - /** - Constructor with the ledcolor, the parent widget, and the name. - The State will be defaulted On and the Look round. - @param col Initial color of the LED. - @param parent Will be handed over to TQWidget. - @param name Will be handed over to TQWidget. - @short Constructor. - */ - public KLed(TQColor col, TQWidget parent, String name) { - super((Class) null); - newKLed(col,parent,name); - } - private native void newKLed(TQColor col, TQWidget parent, String name); - public KLed(TQColor col, TQWidget parent) { - super((Class) null); - newKLed(col,parent); - } - private native void newKLed(TQColor col, TQWidget parent); - public KLed(TQColor col) { - super((Class) null); - newKLed(col); - } - private native void newKLed(TQColor col); - /** - Constructor with the ledcolor, ledstate, ledlook, - the parent widget, and the name. - Differs from above only in the parameters, which configure all settings. - @param col Initial color of the LED. - @param state Sets the State. - @param look Sets the Look. - @param shape Sets the Shape (rectangular or circular) - @param parent Will be handed over to TQWidget. - @param name Will be handed over to TQWidget. - @short Constructor. - */ - public KLed(TQColor col, int state, int look, int shape, TQWidget parent, String name) { - super((Class) null); - newKLed(col,state,look,shape,parent,name); - } - private native void newKLed(TQColor col, int state, int look, int shape, TQWidget parent, String name); - public KLed(TQColor col, int state, int look, int shape, TQWidget parent) { - super((Class) null); - newKLed(col,state,look,shape,parent); - } - private native void newKLed(TQColor col, int state, int look, int shape, TQWidget parent); - public KLed(TQColor col, int state, int look, int shape) { - super((Class) null); - newKLed(col,state,look,shape); - } - private native void newKLed(TQColor col, int state, int look, int shape); - /** - Returns the current state of the widget (on/off). - @short Returns LED state. - @see State - */ - public native int state(); - public native int shape(); - /** - Returns the color of the widget - @short Returns LED color. - @see Color - */ - public native TQColor color(); - /** - Returns the look of the widget. - @short Returns LED look. - @see Look - */ - public native int look(); - /** - Returns the factor to darken the LED. - @short Returns dark factor. - @see #setDarkFactor - */ - public native int darkFactor(); - /** - Sets the state of the widget to On or Off. - The widget will be painted immediately. - @param state The LED state: on or off. - @short Set LED state. - @see #on - @see #off - @see #toggle - @see #toggleState - */ - public native void setState(int state); - /** - Set the shape of the LED to <code>s.</code> - @short Set the shape of the LED to <code>s.</code> - */ - public native void setShape(int s); - /** - Set the color of the widget. - The Color is shown with the KLed.On state. - The KLed.Off state is shown with TQColor.dark() method - The widget calls the update() method, so it will - be updated when entering the main event loop. - @param color New color of the LED. - @short Sets the LED color. - @see Color - */ - public native void setColor(TQColor color); - /** - Sets the factor to darken the LED in OFF state. - Same as TQColor.dark(). - "darkfactor should be greater than 100, else the LED gets lighter - in OFF state. - Defaults to 300. - @param darkfactor sets the factor to darken the LED. - @short sets the factor to darken the LED. - @see org.kde.qt.TQColor - */ - public native void setDarkFactor(int darkfactor); - /** - Sets the look of the widget. - The look may be flat, round or sunken. - The widget calls the update() method, so it will - be updated when entering the main event loop. - @param look New look of the LED. - @short Sets LED look. - @see Look - */ - public native void setLook(int look); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - /** - Toggles the state of the led from Off to On or vice versa. - The widget repaints itself immediately. - @short Toggles the state of the led from Off to On or vice versa. - */ - public native void toggle(); - /** - Sets the state of the widget to On. - The widget will be painted immediately. - @short Sets the state of the widget to On. - @see #off - @see #toggle - @see #toggleState - @see #setState - */ - public native void on(); - /** - Sets the state of the widget to Off. - The widget will be painted immediately. - @short Sets the state of the widget to Off. - @see #on - @see #toggle - @see #toggleState - @see #setState - */ - public native void off(); - /** - Paints a circular, flat LED. - @short Paints a circular, flat LED. - */ - protected native void paintFlat(); - /** - Paints a circular, raised LED. - @short Paints a circular, raised LED. - */ - protected native void paintRound(); - /** - Paints a circular, sunken LED. - @short Paints a circular, sunken LED. - */ - protected native void paintSunken(); - /** - Paints a rectangular, flat LED. - @short Paints a rectangular, flat LED. - */ - protected native void paintRect(); - /** - Paints a rectangular LED, either raised or - sunken, depending on its argument. - @short Paints a rectangular LED, either raised or sunken, depending on its argument. - */ - protected native void paintRectFrame(boolean raised); - protected native void paintEvent(TQPaintEvent arg1); - /** - Compute LED width - @short Compute LED width - */ - protected native int ensureRoundLed(); - /** - Paint the cached antialiased pixmap corresponding to the state if any - @return true if the pixmap was painted, false if it hasn't been created yet - - @short Paint the cached antialiased pixmap corresponding to the state if any - */ - protected native boolean paintCachedPixmap(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KLibFactory.java b/kdejava/koala/org/kde/koala/KLibFactory.java deleted file mode 100644 index 1fb8caed..00000000 --- a/kdejava/koala/org/kde/koala/KLibFactory.java +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - If you develop a library that is to be loaded dynamically at runtime, then - you should return a pointer to your factory. The K_EXPORT_COMPONENT_FACTORY - macro is provided for this purpose: - <pre> - K_EXPORT_COMPONENT_FACTORY( libkspread, KSpreadFactory ) - </pre> - The first macro argument is the name of your library, the second specifies the name - of your factory. - NOTE: you probably want to use KGenericFactory<PluginClassName> - instead of writing your own factory. - In the constructor of your factory you should create an instance of TDEInstance - like this: - <pre> - s_global = new TDEInstance( "kspread" ); - </pre> - This TDEInstance is comparable to TDEGlobal used by normal applications. - It allows you to find resource files (images, XML, sound etc.) belonging - to the library. - If you want to load a library, use KLibLoader. You can query KLibLoader - directly for a pointer to the libraries factory by using the KLibLoader.factory() - function. - The KLibFactory is used to create the components, the library has to offer. - The factory of KSpread for example will create instances of KSpreadDoc, - while the Konqueror factory will create KonqView widgets. - All objects created by the factory must be derived from TQObject, since TQObject - offers type safe casting. - KLibFactory is an abstract class. Reimplement the - createObject() method to give it functionality. - See {@link KLibFactorySignals} for signals emitted by KLibFactory - @author Torben Weis <weis@kde.org> - - @short If you develop a library that is to be loaded dynamically at runtime, then you should return a pointer to your factory. - -*/ -public class KLibFactory extends TQObject { - protected KLibFactory(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a new factory. - @param parent the parent of the TQObject, 0 for no parent - @param name the name of the TQObject, 0 for no name - @short Create a new factory. - */ - /** - Creates a new object. The returned object has to be derived from - the requested classname. - It is valid behavior to create different kinds of objects - depending on the requested <code>classname.</code> For example a koffice - library may usually return a pointer to KoDocument. But - if asked for a "TQWidget", it could create a wrapper widget, - that encapsulates the Koffice specific features. - create() automatically emits a signal objectCreated to tell - the library about its newly created object. This is very - important for reference counting, and allows unloading the - library automatically once all its objects have been destroyed. - @param parent the parent of the TQObject, 0 for no parent - @param name the name of the TQObject, 0 for no name - @param classname the name of the class - @param args a list of arguments - @short Creates a new object. - */ - public native TQObject create(TQObject parent, String name, String classname, String[] args); - public native TQObject create(TQObject parent, String name, String classname); - public native TQObject create(TQObject parent, String name); - public native TQObject create(TQObject parent); - public native TQObject create(); -} diff --git a/kdejava/koala/org/kde/koala/KLibFactorySignals.java b/kdejava/koala/org/kde/koala/KLibFactorySignals.java deleted file mode 100644 index 7cf57c00..00000000 --- a/kdejava/koala/org/kde/koala/KLibFactorySignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface KLibFactorySignals { - /** - Emitted in #create - @param obj the new object - @short Emitted in #create - */ - void objectCreated(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/KLibLoader.java b/kdejava/koala/org/kde/koala/KLibLoader.java deleted file mode 100644 index fb173996..00000000 --- a/kdejava/koala/org/kde/koala/KLibLoader.java +++ /dev/null @@ -1,166 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - The KLibLoader allows you to load libraries dynamically at runtime. - Dependent libraries are loaded automatically. - KLibLoader follows the singleton pattern. You can not create multiple - instances. Use self() to get a pointer to the loader. - @author Torben Weis <weis@kde.org> - - @short The KLibLoader allows you to load libraries dynamically at runtime. - @see KLibrary - -*/ -public class KLibLoader extends TQObject { - protected KLibLoader(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Loads and initializes a library. Loading a library multiple times is - handled gracefully. - This is a convenience function that returns the factory immediately - @param libname This is the library name without extension. Usually that is something like - "libkspread". The function will then search for a file named - "libkspread.la" in the KDE library paths. - The .la files are created by libtool and contain - important information especially about the libraries dependencies - on other shared libs. Loading a "libfoo.so" could not solve the - dependencies problem. - You can, however, give a library name ending in ".so" - (or whatever is used on your platform), and the library - will be loaded without resolving dependencies. Use with caution. - @return the KLibFactory, or 0 if the library does not exist or it does - not have a factory - - @short Loads and initializes a library. - @see #library - */ - public native KLibFactory factory(String libname); - /** - Loads and initializes a library. Loading a library multiple times is - handled gracefully. - @param libname This is the library name without extension. Usually that is something like - "libkspread". The function will then search for a file named - "libkspread.la" in the KDE library paths. - The .la files are created by libtool and contain - important information especially about the libraries dependencies - on other shared libs. Loading a "libfoo.so" could not solve the - dependencies problem. - You can, however, give a library name ending in ".so" - (or whatever is used on your platform), and the library - will be loaded without resolving dependencies. Use with caution. - @return KLibrary is invalid (0) when the library couldn't be dlopened. in such - a case you can retrieve the error message by calling KLibLoader.lastErrorMessage() - - @short Loads and initializes a library. - @see #factory - */ - // KLibrary* library(const char* arg1); >>>> NOT CONVERTED - /** - Loads and initializes a library. Loading a library multiple times is - handled gracefully. The library is loaded such that the symbols are - globally accessible so libraries with dependencies can be loaded - sequentially. - @param name This is the library name without extension. Usually that is something like - "libkspread". The function will then search for a file named - "libkspread.la" in the KDE library paths. - The .la files are created by libtool and contain - important information especially about the libraries dependencies - on other shared libs. Loading a "libfoo.so" could not solve the - dependencies problem. - You can, however, give a library name ending in ".so" - (or whatever is used on your platform), and the library - will be loaded without resolving dependencies. Use with caution. - @return KLibrariy is invalid (0) when the library couldn't be dlopened. in such - a case you can retrieve the error message by calling KLibLoader.lastErrorMessage() - - @short Loads and initializes a library. - @see #factory - */ - // KLibrary* globalLibrary(const char* arg1); >>>> NOT CONVERTED - /** - Returns an error message that can be useful to debug the problem. - Returns null if the last call to library() was successful. - You can call this function more than once. The error message is only - reset by a new call to library(). - @return the last error message, or null if there was no error - - @short Returns an error message that can be useful to debug the problem. - */ - public native String lastErrorMessage(); - /** - Unloads the library with the given name. - @param libname This is the library name without extension. Usually that is something like - "libkspread". The function will then search for a file named - "libkspread.la" in the KDE library paths. - The .la files are created by libtool and contain - important information especially about the libraries dependencies - on other shared libs. Loading a "libfoo.so" could not solve the - dependencies problem. - You can, however, give a library name ending in ".so" - (or whatever is used on your platform), and the library - will be loaded without resolving dependencies. Use with caution. - @short Unloads the library with the given name. - */ - public native void unloadLibrary(String libname); - /** - Returns a pointer to the factory. Use this function to get an instance - of KLibLoader. - @return a pointer to the loader. If no loader exists until now - then one is created. - - @short Returns a pointer to the factory. - */ - public static native KLibLoader self(); - /** - Internal Method, called by the TDEApplication destructor. - Do not call it. - This is what makes it possible to rely on ~KLibFactory - being called in all cases, whether the library is unloaded - while the application is running or when exiting. - @short - */ - public static native void cleanUp(); - /** - Helper method which looks for a library in the standard paths - ("module" and "lib" resources). - Made public for code that doesn't use KLibLoader itself, but still - wants to open modules. - @param name of the library. If it is not a path, the function searches in - the "module" and "lib" resources. If there is no extension, - ".la" will be appended. - @param instance a TDEInstance used to get the standard paths - @short Helper method which looks for a library in the standard paths ("module" and "lib" resources). - */ - public static native String findLibrary(String name, TDEInstanceInterface instance); - public static native String findLibrary(String name); - public KLibLoader(TQObject parent, String name) { - super((Class) null); - newKLibLoader(parent,name); - } - private native void newKLibLoader(TQObject parent, String name); - public KLibLoader(TQObject parent) { - super((Class) null); - newKLibLoader(parent); - } - private native void newKLibLoader(TQObject parent); - public KLibLoader() { - super((Class) null); - newKLibLoader(); - } - private native void newKLibLoader(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KLineEdit.java b/kdejava/koala/org/kde/koala/KLineEdit.java deleted file mode 100644 index e9691923..00000000 --- a/kdejava/koala/org/kde/koala/KLineEdit.java +++ /dev/null @@ -1,605 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQLineEdit; - -/** - - An enhanced TQLineEdit widget for inputting text. - <li><b>Detail </b></li> - This widget inherits from TQLineEdit and implements the following - additional functionalities: a completion object that provides both - automatic and manual text completion as well as multiple match iteration - features, configurable key-bindings to activate these features and a - popup-menu item that can be used to allow the user to set text completion - modes on the fly based on their preference. - To support these new features KLineEdit also emits a few more - additional signals. These are: completion( String ), - textRotation( KeyBindingType ), and returnPressed( String ). - The completion signal can be connected to a slot that will assist the - user in filling out the remaining text. The text rotation signal is - intended to be used to iterate through the list of all possible matches - whenever there is more than one match for the entered text. The - <code>returnPressed</code>( String ) signals are the same as TQLineEdit's - except it provides the current text in the widget as its argument whenever - appropriate. - This widget by default creates a completion object when you invoke - the completionObject( boolean ) member function for the first time or - use setCompletionObject( TDECompletion, boolean ) to assign your own - completion object. Additionally, to make this widget more functional, - KLineEdit will by default handle the text rotation and completion - events internally when a completion object is created through either one - of the methods mentioned above. If you do not need this functionality, - simply use TDECompletionBase.setHandleSignals( boolean ) or set the - booleanean parameter in the above functions to false. - The default key-bindings for completion and rotation is determined - from the global settings in TDEStdAccel. These values, however, - can be overridden locally by invoking TDECompletionBase.setKeyBinding(). - The values can easily be reverted back to the default setting, by simply - calling useGlobalSettings(). An alternate method would be to default - individual key-bindings by using setKeyBinding() with the default - second argument. - If <code>EchoMode</code> for this widget is set to something other than <code>TQLineEdit</code>.Normal, - the completion mode will always be defaulted to TDEGlobalSettings.CompletionNone. - This is done purposefully to guard against protected entries such as passwords being - cached in TDECompletion's list. Hence, if the <code>EchoMode</code> is not TQLineEdit.Normal, the - completion mode is automatically disabled. - A read-only KLineEdit will have the same background color as a - disabled KLineEdit, but its foreground color will be the one used - for the read-write mode. This differs from TQLineEdit's implementation - and is done to give visual distinction between the three different modes: - disabled, read-only, and read-write. - <li><b>Usage </b></li> - To enable the basic completion feature : - <pre> - KLineEdit edit = new KLineEdit( this, "mywidget" ); - TDECompletion comp = edit.completionObject(); - // Connect to the return pressed signal - optional - connect(edit,SIGNAL("returnPressed(String)"),comp,SLOT("addItem(String)")); - </pre> - To use a customized completion objects or your - own completion object : - <pre> - KLineEdit edit = new KLineEdit( this,"mywidget" ); - KURLCompletion comp = new KURLCompletion(); - edit.setCompletionObject( comp ); - // Connect to the return pressed signal - optional - connect(edit,SIGNAL("returnPressed(String)"),comp,SLOT("addItem(String)")); - </pre> - Note if you specify your own completion object you have to either delete - it when you don't need it anymore, or you can tell KLineEdit to delete it - for you: - <pre> - edit.setAutoDeleteCompletionObject( true ); - </pre> - <li><b>Miscellaneous function calls :</b></li> - <pre> - // Tell the widget to not handle completion and iteration automatically. - edit.setHandleSignals( false ); - // Set your own key-bindings for a text completion mode. - edit.setKeyBinding( TDECompletionBase.TextCompletion, Qt.End ); - // Hide the context (popup) menu - edit.setContextMenuEnabled( false ); - // Temporarily disable signal (both completion & iteration) emitions - edit.disableSignals(); - // Default the key-bindings back to the default system settings. - edit.useGlobalKeyBindings(); - </pre> - See {@link KLineEditSignals} for signals emitted by KLineEdit - @author Dawit Alemayehu <adawit@kde.org> - - @short An enhanced TQLineEdit widget for inputting text. - -*/ -public class KLineEdit extends TQLineEdit implements TDECompletionBaseInterface { - protected KLineEdit(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KLineEdit object with a default text, a parent, - and a name. - @param string Text to be shown in the edit widget. - @param parent The parent object of this widget. - @param name the name of this widget - @short Constructs a KLineEdit object with a default text, a parent, and a name. - */ - public KLineEdit(String string, TQWidget parent, String name) { - super((Class) null); - newKLineEdit(string,parent,name); - } - private native void newKLineEdit(String string, TQWidget parent, String name); - public KLineEdit(String string, TQWidget parent) { - super((Class) null); - newKLineEdit(string,parent); - } - private native void newKLineEdit(String string, TQWidget parent); - /** - Constructs a KLineEdit object with a parent and a name. - @param parent The parent object of this widget. - @param name The name of this widget. - @short Constructs a KLineEdit object with a parent and a name. - */ - public KLineEdit(TQWidget parent, String name) { - super((Class) null); - newKLineEdit(parent,name); - } - private native void newKLineEdit(TQWidget parent, String name); - public KLineEdit(TQWidget parent) { - super((Class) null); - newKLineEdit(parent); - } - private native void newKLineEdit(TQWidget parent); - public KLineEdit() { - super((Class) null); - newKLineEdit(); - } - private native void newKLineEdit(); - /** - Sets <code>url</code> into the lineedit. It uses KURL.prettyURL() so - that the url is properly decoded for displaying. - @short Sets <code>url</code> into the lineedit. - */ - public native void setURL(KURL url); - /** - Re-implemented from TDECompletionBase for internal reasons. - This function is re-implemented in order to make sure that - the EchoMode is acceptable before we set the completion mode. - See TDECompletionBase.setCompletionMode - @short Re-implemented from TDECompletionBase for internal reasons. - */ - public native void setCompletionMode(int mode); - /** - Enables/disables the popup (context) menu. - Note that when this function is invoked with its argument - set to <code>true</code>, then both the context menu and the completion - menu item are enabled. If you do not want to the completion - item to be visible simply invoke hideModechanger() right - after calling this method. Also by default, the context - menu is automatically created if this widget is editable. Thus - you need to call this function with the argument set to false - if you do not want this behavior. - @param showMenu If <code>true</code>, show the context menu. - @short Enables/disables the popup (context) menu. - */ - public native void setContextMenuEnabled(boolean showMenu); - /** - Returns <code>true</code> when the context menu is enabled. - @short Returns <code>true</code> when the context menu is enabled. - */ - public native boolean isContextMenuEnabled(); - /** - Enables/Disables handling of URL drops. If enabled and the user - drops an URL, the decoded URL will be inserted. Otherwise the default - behavior of TQLineEdit is used, which inserts the encoded URL. - @param enable If <code>true</code>, insert decoded URLs - @short Enables/Disables handling of URL drops. - */ - public native void setURLDropsEnabled(boolean enable); - /** - Returns <code>true</code> when decoded URL drops are enabled - @short Returns <code>true</code> when decoded URL drops are enabled - */ - public native boolean isURLDropsEnabled(); - /** - By default, KLineEdit recognizes <code>Key_Return</code> and <code>Key_Enter</code> and emits - the returnPressed() signals, but it also lets the event pass, - for example causing a dialog's default-button to be called. - Call this method with <code>trap</code> = <code>true</code> to make <code>KLineEdit</code> stop these - events. The signals will still be emitted of course. - @short By default, KLineEdit recognizes <code>Key_Return</code> and <code>Key_Enter</code> and emits the returnPressed() signals, but it also lets the event pass, for example causing a dialog's default-button to be called. - @see #trapReturnKey - */ - public native void setTrapReturnKey(boolean trap); - /** - @return <code>true</code> if keyevents of <code>Key_Return</code> or - <code>Key_Enter</code> will be stopped or if they will be propagated. - - @short - @see #setTrapReturnKey - */ - public native boolean trapReturnKey(); - /** - Re-implemented for internal reasons. API not affected. - @short Re-implemented for internal reasons. - */ - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** - @param create Set this to false if you don't want the box to be created - i.e. to test if it is available. - @return the completion-box, that is used in completion mode - TDEGlobalSettings.CompletionPopup. - This method will create a completion-box if none is there, yet. - - @short - */ - public native TDECompletionBox completionBox(boolean create); - public native TDECompletionBox completionBox(); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - public native void setCompletionObject(TDECompletion arg1, boolean hsig); - public native void setCompletionObject(TDECompletion arg1); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - public native void copy(); - /** - Enable text squeezing whenever the supplied text is too long. - Only works for "read-only" mode. - Note that once text squeezing is enabled, TQLineEdit.text() - and TQLineEdit.displayText() return the squeezed text. If - you want the original text, use {@link #originalText}. - @short Enable text squeezing whenever the supplied text is too long. - @see org.kde.qt.TQLineEdit - */ - public native void setEnableSqueezedText(boolean enable); - /** - Returns true if text squeezing is enabled. - This is only valid when the widget is in read-only mode. - @short Returns true if text squeezing is enabled. - */ - public native boolean isSqueezedTextEnabled(); - /** - Returns the original text if text squeezing is enabled. - If the widget is not in "read-only" mode, this function - returns the same thing as TQLineEdit.text(). - @short Returns the original text if text squeezing is enabled. - @see org.kde.qt.TQLineEdit - */ - public native String originalText(); - /** - Set the completion-box to be used in completion mode - TDEGlobalSettings.CompletionPopup. - This will do nothing if a completion-box already exists. - @param box The TDECompletionBox to set - @short Set the completion-box to be used in completion mode TDEGlobalSettings.CompletionPopup. - */ - public native void setCompletionBox(TDECompletionBox box); - /** - Re-implemented for internal reasons. API not changed. - @short Re-implemented for internal reasons. - */ - public native void setReadOnly(boolean arg1); - /** - Iterates through all possible matches of the completed text or - the history list. - This function simply iterates over all possible matches in case - multimple matches are found as a result of a text completion request. - It will have no effect if only a single match is found. - @param type The key-binding invoked. - @short Iterates through all possible matches of the completed text or the history list. - */ - public native void rotateText(int type); - /** - See TDECompletionBase.setCompletedText. - @short See TDECompletionBase.setCompletedText. - */ - public native void setCompletedText(String arg1); - /** - Sets <code>items</code> into the completion-box if completionMode() is - CompletionPopup. The popup will be shown immediately. - @param items list of completion matches to be shown in the completion box. - @short Sets <code>items</code> into the completion-box if completionMode() is CompletionPopup. - */ - public native void setCompletedItems(String[] items); - /** - Same as the above function except it allows you to temporarily - turn off text completion in CompletionPopupAuto mode. - TODO: Merge with above function in KDE 4. - TODO: Does that make this or the above @deprecated ? - @param items list of completion matches to be shown in the completion box. - @param autoSuggest true if you want automatic text completion (suggestion) enabled. - @short Same as the above function except it allows you to temporarily turn off text completion in CompletionPopupAuto mode. - */ - public native void setCompletedItems(String[] items, boolean autoSuggest); - /** - Reimplemented to workaround a buggy TQLineEdit.clear() - (changing the clipboard to the text we just had in the lineedit) - @short Reimplemented to workaround a buggy TQLineEdit.clear() (changing the clipboard to the text we just had in the lineedit) - */ - public native void clear(); - /** - Squeezes <code>text</code> into the line edit. - This can only be used with read-only line-edits. - @short Squeezes <code>text</code> into the line edit. - */ - public native void setSqueezedText(String text); - /** - Re-implemented to enable text squeezing. API is not affected. - @short Re-implemented to enable text squeezing. - */ - public native void setText(String arg1); - /** - Re-implemented for internal reasons. API not affected. - See TQLineEdit.resizeEvent(). - @short Re-implemented for internal reasons. - */ - protected native void resizeEvent(TQResizeEvent arg1); - /** - Re-implemented for internal reasons. API not affected. - See TQLineEdit.keyPressEvent(). - @short Re-implemented for internal reasons. - */ - protected native void keyPressEvent(TQKeyEvent arg1); - /** - Re-implemented for internal reasons. API not affected. - See TQLineEdit.mousePressEvent(). - @short Re-implemented for internal reasons. - */ - protected native void mousePressEvent(TQMouseEvent arg1); - /** - Re-implemented for internal reasons. API not affected. - See TQWidget.mouseDoubleClickEvent(). - @short Re-implemented for internal reasons. - */ - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - /** - Re-implemented for internal reasons. API not affected. - See TQLineEdit.contextMenuEvent(). - @short Re-implemented for internal reasons. - */ - protected native void contextMenuEvent(TQContextMenuEvent arg1); - /** - Re-implemented for internal reasons. API not affected. - See TQLineEdit.createPopupMenu(). - @short Re-implemented for internal reasons. - */ - protected native TQPopupMenu createPopupMenu(); - /** - Re-implemented to handle URI drops. - See TQLineEdit.dropEvent(). - @short Re-implemented to handle URI drops. - */ - protected native void dropEvent(TQDropEvent arg1); - protected native void setCompletedText(String arg1, boolean arg2); - /** - Sets the widget in userSelection mode or in automatic completion - selection mode. This changes the colors of selections. - @short Sets the widget in userSelection mode or in automatic completion selection mode. - */ - protected native void setUserSelection(boolean userSelection); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - protected native void create(long arg1, boolean initializeWindow, boolean destroyOldWindow); - protected native void create(long arg1, boolean initializeWindow); - protected native void create(long arg1); - protected native void create(); - /** - Re-implemented for internal reasons. API not affected. - See TQLineEdit.focusInEvent(). - @short Re-implemented for internal reasons. - */ - protected native void focusInEvent(TQFocusEvent arg1); - /** - Whether in current state text should be auto-suggested - @short Whether in current state text should be auto-suggested - */ - protected native boolean autoSuggest(); - /** - Completes the remaining text with a matching one from - a given list. - @short Completes the remaining text with a matching one from a given list. - */ - protected native void makeCompletion(String arg1); - /** - Resets the current displayed text. - Call this function to revert a text completion if the user - cancels the request. Mostly applies to popup completions. - @short Resets the current displayed text. - */ - protected native void userCancelled(String cancelText); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Returns a pointer to the current completion object. - If the completion object does not exist, it is automatically created and - by default handles all the completion signals internally unless <code>hsig</code> - is set to false. It is also automatically destroyed when the destructor - is called. You can change this default behavior using the - {@link #setAutoDeleteCompletionObject} and {@link #setHandleSignals} member - functions. - See also {@link #compObj}. - @param hsig if true, handles completion signals internally. - @return a pointer the completion object. - - @short Returns a pointer to the current completion object. - */ - public native TDECompletion completionObject(boolean hsig); - public native TDECompletion completionObject(); - /** - Enables this object to handle completion and rotation - events internally. - This function simply assigns a booleanean value that - indicates whether it should handle rotation and - completion events or not. Note that this does not - stop the object from emitting signals when these - events occur. - @param handle if true, handle completion & rotation internally. - @short Enables this object to handle completion and rotation events internally. - */ - public native void setHandleSignals(boolean handle); - /** - Returns true if the completion object is deleted - upon this widget's destruction. - See setCompletionObject() and enableCompletion() - for details. - @return true if the completion object will be deleted - automatically - - @short Returns true if the completion object is deleted upon this widget's destruction. - */ - public native boolean isCompletionObjectAutoDeleted(); - /** - Sets the completion object when this widget's destructor - is called. - If the argument is set to true, the completion object - is deleted when this widget's destructor is called. - @param autoDelete if true, delete completion object on destruction. - @short Sets the completion object when this widget's destructor is called. - */ - public native void setAutoDeleteCompletionObject(boolean autoDelete); - /** - Sets the widget's ability to emit text completion and - rotation signals. - Invoking this function with <code>enable</code> set to <code>false</code> will - cause the completion & rotation signals not to be emitted. - However, unlike setting the completion object to <code>NULL</code> - using setCompletionObject, disabling the emition of - the signals through this method does not affect the current - completion object. - There is no need to invoke this function by default. When a - completion object is created through completionObject or - setCompletionObject, these signals are set to emit - automatically. Also note that disabling this signals will not - necessarily interfere with the objects ability to handle these - events internally. See setHandleSignals. - @param enable if false, disables the emition of completion & rotation signals. - @short Sets the widget's ability to emit text completion and rotation signals. - */ - public native void setEnableSignals(boolean enable); - /** - Returns true if the object handles the signals. - @return true if this signals are handled internally. - - @short Returns true if the object handles the signals. - */ - public native boolean handleSignals(); - /** - Returns true if the object emits the signals. - @return true if signals are emitted - - @short Returns true if the object emits the signals. - */ - public native boolean emitSignals(); - /** - Returns the current completion mode. - The return values are of type TDEGlobalSettings.Completion. - See setCompletionMode() for details. - @return the completion mode. - - @short Returns the current completion mode. - */ - public native int completionMode(); - /** - Sets the key-binding to be used for manual text - completion, text rotation in a history list as - well as a completion list. - When the keys set by this function are pressed, a - signal defined by the inheriting widget will be activated. - If the default value or 0 is specified by the second - parameter, then the key-binding as defined in the global - setting should be used. This method returns false value - for <code>key</code> is negative or the supplied key-binding conflicts - with the ones set for one of the other features. - NOTE: To use a modifier key (Shift, Ctrl, Alt) as part of - the key-binding simply simply <code>sum</code> up the values of the - modifier and the actual key. For example, to use CTRL+E as - a key binding for one of the items, you would simply supply - <code></code>"Qt.CtrlButton + Qt.Key_E" as the second argument to this - function. - @param item the feature whose key-binding needs to be set: - - <li> - TextCompletion the manual completion key-binding. - </li> - - <li> - PrevCompletionMatch the previous match key for multiple completion. - </li> - - <li> - NextCompletionMatch the next match key for for multiple completion. - </li> - - <li> - SubstringCompletion the key for substring completion - </li> - @param key key-binding used to rotate down in a list. - @return true if key-binding can successfully be set. - - @short Sets the key-binding to be used for manual text completion, text rotation in a history list as well as a completion list. - @see #getKeyBinding - */ - public native boolean setKeyBinding(int item, TDEShortcut key); - /** - Returns the key-binding used for the specified item. - This methods returns the key-binding used to activate - the feature feature given by <code>item.</code> If the binding - contains modifier key(s), the SUM of the modifier key - and the actual key code are returned. - @param item the item to check - @return the key-binding used for the feature given by <code>item.</code> - - @short Returns the key-binding used for the specified item. - @see #setKeyBinding - */ - public native TDEShortcut getKeyBinding(int item); - /** - Sets this object to use global values for key-bindings. - This method changes the values of the key bindings for - rotation and completion features to the default values - provided in TDEGlobalSettings. - NOTE: By default inheriting widgets should uses the - global key-bindings so that there will be no need to - call this method. - @short Sets this object to use global values for key-bindings. - */ - public native void useGlobalKeyBindings(); - /** - Returns a pointer to the completion object. - This method is only different from completionObject() - in that it does not create a new TDECompletion object even if - the internal pointer is <code>NULL.</code> Use this method to get the - pointer to a completion object when inheriting so that you - won't inadvertently create it!! - @return the completion object or NULL if one does not exist. - - @short Returns a pointer to the completion object. - */ - public native TDECompletion compObj(); - /** - Returns a key-binding map. - This method is the same as getKeyBinding() except it - returns the whole keymap containing the key-bindings. - @return the key-binding used for the feature given by <code>item.</code> - - @short Returns a key-binding map. - */ - // TDECompletionBase::KeyBindingMap getKeyBindings(); >>>> NOT CONVERTED - /** - Sets or removes the delegation object. If a delegation object is - set, all function calls will be forwarded to the delegation object. - @param delegate the delegation object, or 0 to remove it - @short Sets or removes the delegation object. - */ - protected native void setDelegate(TDECompletionBaseInterface delegate); - /** - Returns the delegation object. - @return the delegation object, or 0 if there is none - - @short Returns the delegation object. - @see #setDelegate - */ - protected native TDECompletionBaseInterface delegate(); -} diff --git a/kdejava/koala/org/kde/koala/KLineEditSignals.java b/kdejava/koala/org/kde/koala/KLineEditSignals.java deleted file mode 100644 index c6df71ac..00000000 --- a/kdejava/koala/org/kde/koala/KLineEditSignals.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KLineEditSignals { - /** - Emitted whenever the completion box is activated. - @short Emitted whenever the completion box is activated. - */ - void completionBoxActivated(String arg1); - /** - Emitted when the user presses the return key. - The argument is the current text. Note that this - signal is <b>not</b> emitted if the widget's <code>EchoMode</code> is set to - TQLineEdit.EchoMode. - @short Emitted when the user presses the return key. - */ - void returnPressed(String arg1); - /** - Emitted when the completion key is pressed. - Please note that this signal is <b>not</b> emitted if the - completion mode is set to <code>CompletionNone</code> or <code>EchoMode</code> is - <b>normal</b>. - @short Emitted when the completion key is pressed. - */ - void completion(String arg1); - /** - Emitted when the shortcut for substring completion is pressed. - @short Emitted when the shortcut for substring completion is pressed. - */ - void substringCompletion(String arg1); - /** - Emitted when the text rotation key-bindings are pressed. - The argument indicates which key-binding was pressed. - In KLineEdit's case this can be either one of two values: - PrevCompletionMatch or NextCompletionMatch. See - TDECompletionBase.setKeyBinding for details. - Note that this signal is <b>not</b> emitted if the completion - mode is set to <code>TDEGlobalSettings</code>.CompletionNone or <code>echoMode</code>() is <b>not</b> normal. - @short Emitted when the text rotation key-bindings are pressed. - */ - void textRotation(int arg1); - /** - Emitted when the user changed the completion mode by using the - popupmenu. - @short Emitted when the user changed the completion mode by using the popupmenu. - */ - void completionModeChanged(int arg1); - /** - Emitted before the context menu is displayed. - The signal allows you to add your own entries into the - the context menu that is created on demand. - NOTE: Do not store the pointer to the TQPopupMenu - provided through since it is created and deleted - on demand. - @param p the context menu about to be displayed - @short Emitted before the context menu is displayed. - */ - void aboutToShowContextMenu(TQPopupMenu p); -} diff --git a/kdejava/koala/org/kde/koala/KMD5.java b/kdejava/koala/org/kde/koala/KMD5.java deleted file mode 100644 index 5e8e0bcb..00000000 --- a/kdejava/koala/org/kde/koala/KMD5.java +++ /dev/null @@ -1,174 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - The default constructor is designed to provide much the same - functionality as the most commonly used C-implementation, while - the other three constructors are meant to further simplify the - process of obtaining a digest by calculating the result in a - single step. - KMD5 is state-based, that means you can add new contents with - update() as long as you didn't request the digest value yet. - After the digest value was requested, the object is "finalized" - and you have to call reset() to be able to do another calculation - with it. The reason for this behavior is that upon requesting - the message digest KMD5 has to pad the received contents up to a - 64 byte boundary to calculate its value. After this operation it - is not possible to resume consuming data. - <b></b>sage: - A common usage of this class: - <pre> - String test1; - KMD5.Digest rawResult; - test1 = "This is a simple test."; - KMD5 context (test1); - cout << "Hex Digest output: " << context.hexDigest().data() << endl; - </pre> - To cut down on the unnecessary overhead of creating multiple KMD5 - objects, you can simply invoke reset() to reuse the same object - in making another calculation: - <pre> - context.reset (); - context.update ("TWO"); - context.update ("THREE"); - cout << "Hex Digest output: " << context.hexDigest().data() << endl; - </pre> - @author Dirk Mueller <mueller@kde.org>, Dawit Alemayehu <adawit@kde.org> - - @short An adapted C++ implementation of RSA Data Securities MD5 algorithm. - -*/ -public class KMD5 implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KMD5(Class dummy){} - - public KMD5() { - newKMD5(); - } - private native void newKMD5(); - /** - Constructor that updates the digest for the given string. - @param in C string or binary data - @param len if negative, calculates the length by using - strlen on the first parameter, otherwise - it trusts the given length (does not stop on NUL byte). - @short Constructor that updates the digest for the given string. - */ - public KMD5(String in, int len) { - newKMD5(in,len); - } - private native void newKMD5(String in, int len); - public KMD5(String in) { - newKMD5(in); - } - private native void newKMD5(String in); - /** - @overload - Same as above except it accepts a byte[] as its argument. - @short @overload - */ - public KMD5(byte[] a) { - newKMD5(a); - } - private native void newKMD5(byte[] a); - /** - Updates the message to be digested. Be sure to add all data - before you read the digest. After reading the digest, you - can <b>not</b> add more data! - @param in message to be added to digest - @param len the length of the given message. - @short Updates the message to be digested. - */ - public native void update(String in, int len); - public native void update(String in); - /** - @overload - @short @overload - */ - public native void update(short in, int len); - public native void update(short in); - /** - @overload - @param in message to be added to the digest (byte[]). - @short @overload - */ - public native void update(byte[] in); - /** - @overload - reads the data from an I/O device, i.e. from a file (TQFile). - NOTE that the file must be open for reading. - @param file a pointer to FILE as returned by calls like f{d,re}open - @return false if an error occurred during reading. - - @short @overload - */ - public native boolean update(TQIODevice file); - /** - Calling this function will reset the calculated message digest. - Use this method to perform another message digest calculation - without recreating the KMD5 object. - @short Calling this function will reset the calculated message digest. - */ - public native void reset(); - /** - @return the raw representation of the digest - - @short - */ - // const KMD5::Digest& rawDigest(); >>>> NOT CONVERTED - /** - Fills the given array with the binary representation of the - message digest. - Use this method if you do not want to worry about making - copy of the digest once you obtain it. - @param bin an array of 16 characters ( char[16] ) - @short Fills the given array with the binary representation of the message digest. - */ - // void rawDigest(KMD5::Digest& arg1); >>>> NOT CONVERTED - /** - Returns the value of the calculated message digest in - a hexadecimal representation. - @short Returns the value of the calculated message digest in a hexadecimal representation. - */ - public native String hexDigest(); - /** - @overload - @short @overload - */ - public native void hexDigest(StringBuffer arg1); - /** - Returns the value of the calculated message digest in - a base64-encoded representation. - @short Returns the value of the calculated message digest in a base64-encoded representation. - */ - public native String base64Digest(); - /** - returns true if the calculated digest for the given - message matches the given one. - @short returns true if the calculated digest for the given message matches the given one. - */ - // bool verify(const KMD5::Digest& arg1); >>>> NOT CONVERTED - /** - @overload - @short @overload - */ - public native boolean verify(String arg1); - /** - finalizes the digest - @short finalizes the digest - */ - protected native void finalizeDigest(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMacroCommand.java b/kdejava/koala/org/kde/koala/KMacroCommand.java deleted file mode 100644 index 545bed37..00000000 --- a/kdejava/koala/org/kde/koala/KMacroCommand.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A Macro Command is a command that holds several sub-commands. - It will appear as one to the user and in the command history, - but it can use the implementation of multiple commands internally. - @short A Macro Command is a command that holds several sub-commands. - -*/ -public class KMacroCommand extends KNamedCommand { - protected KMacroCommand(Class dummy){super((Class) null);} - /** - Creates a macro command. You will then need to call addCommand - for each subcommand to be added to this macro command. - @param name the name of this command, translated, since it will appear - in the menus. - @short Creates a macro command. - */ - public KMacroCommand(String name) { - super((Class) null); - newKMacroCommand(name); - } - private native void newKMacroCommand(String name); - /** - Appends a command to this macro command. - The ownership is transfered to the macro command. - @short Appends a command to this macro command. - */ - public native void addCommand(KCommand command); - /** - Executes this command, i.e. execute all the sub-commands - in the order in which they were added. - @short Executes this command, i. - */ - public native void execute(); - /** - Undoes the execution of this command, i.e. #unexecute all the sub-commands - in the _reverse_ order to the one in which they were added. - @short Undoes the execution of this command, i. - */ - public native void unexecute(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdi.java b/kdejava/koala/org/kde/koala/KMdi.java deleted file mode 100644 index a948d85a..00000000 --- a/kdejava/koala/org/kde/koala/KMdi.java +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - @short A namespace for the KMDI library. - -*/ -public class KMdi { - /** extent Qt events - @short extent Qt events - @see org.kde.qt.TQCustomEvent - @see org.kde.qt.TQEvent#User - @see <pre> - @see #boolean - @see B_MyWidget#event( - @see org.kde.qt.TQEvent* - @see #e) - @see #if( - @see #e#type - @see org.kde.qt.TQEvent#Type(TQEvent#User - @see #int(KMdi#EV_Move))) - @see </pre> - */ - public static final int EV_Move = 1; - public static final int EV_DragBegin = 2; - public static final int EV_DragEnd = 3; - public static final int EV_ResizeBegin = 4; - public static final int EV_ResizeEnd = 5; - - /** - During KMdiMainFrm.addWindow the enum AddWindowFlags is used to determine how the view is initialy being added to the MDI system - @short During KMdiMainFrm.addWindow the enum AddWindowFlags is used to determine how the view is initialy being added to the MDI system - */ - public static final int StandardAdd = 0; - public static final int Maximize = 1; - public static final int Minimize = 2; - public static final int Hide = 4; - public static final int Detach = 8; - public static final int ToolWindow = 16; - public static final int UseKMdiSizeHint = 32; - public static final int AddWindowFlags = 0xff; - - public static final int Win95Look = 0; - public static final int KDE1Look = 1; - public static final int KDELook = 2; - public static final int KDELaptopLook = 3; - - public static final int UndefinedMode = 0; - public static final int ToplevelMode = 1; - public static final int ChildframeMode = 2; - public static final int TabPageMode = 3; - public static final int IDEAlMode = 4; - - public static final int AlwaysShowTabs = 0; - public static final int ShowWhenMoreThanOneTab = 1; - public static final int NeverShowTabs = 2; - - /** - The style of the toolview tabs - \since 3.3 - @short The style of the toolview tabs \since 3. - */ - public static final int IconOnly = 0; - public static final int TextOnly = 1; - public static final int TextAndIcon = 3; - -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildArea.java b/kdejava/koala/org/kde/koala/KMdiChildArea.java deleted file mode 100644 index 677d57c1..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildArea.java +++ /dev/null @@ -1,193 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQFrame; - -/** - - The main frame widget KMdiMainFrm consists of 2 child widgets. One is this class. - It's the widget where the child frames (emulated toplevel MDI views) live in. - This class is the manager for the child frame widgets because it controls the - Z-order widget stack of KMdiChildFrm's. - It provides all placing and positioning algorithms for docked (attached) MDI views. - KMdiChildArea doesn't know anything about the actual MDI views. It only knows - and manages the frame widgets of attached MDI views. - All actions and stuff concerning only to childframes are handled here. - See {@link KMdiChildAreaSignals} for signals emitted by KMdiChildArea - @short Internal class. - -*/ -public class KMdiChildArea extends TQFrame { - protected KMdiChildArea(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Consruction. Note: This class needn't to know about KMdiMainFrm . - @short Consruction. - */ - public KMdiChildArea(TQWidget parent) { - super((Class) null); - newKMdiChildArea(parent); - } - private native void newKMdiChildArea(TQWidget parent); - /** - Appends a new KMdiChildFrm to this manager. - The child is shown,raised and gets focus if this window has it. - @short Appends a new KMdiChildFrm to this manager. - */ - public native void manageChild(KMdiChildFrm lpC, boolean bShow, boolean bCascade); - public native void manageChild(KMdiChildFrm lpC, boolean bShow); - public native void manageChild(KMdiChildFrm lpC); - /** - Destroys a managed KMdiChildFrm - Also deletes the client attached to this child. - @short Destroys a managed KMdiChildFrm Also deletes the client attached to this child. - */ - public native void destroyChild(KMdiChildFrm child, boolean focusTopChild); - public native void destroyChild(KMdiChildFrm child); - /** - Destroys a managed KMdiChildFrm - Clients attached to the KMdiChildFrm are not deleted. - @short Destroys a managed KMdiChildFrm Clients attached to the KMdiChildFrm are not deleted. - */ - public native void destroyChildButNotItsView(KMdiChildFrm lpC, boolean bFocusTopChild); - public native void destroyChildButNotItsView(KMdiChildFrm lpC); - /** - Brings the child to the top of the stack - The child is focused if setFocus is true. If setFocus is false, the - child is just raised. - @short Brings the child to the top of the stack The child is focused if setFocus is true. - */ - public native void setTopChild(KMdiChildFrm child, boolean setFocus); - public native void setTopChild(KMdiChildFrm child); - /** - Returns the topmost child (the active one) or 0 if there are no children. - Note that the topmost child may be also hidded , if ALL the windows are minimized. - @short Returns the topmost child (the active one) or 0 if there are no children. - */ - public native KMdiChildFrm topChild(); - /** - Returns the number of visible children - @short Returns the number of visible children - */ - public native int getVisibleChildCount(); - /** - Calculates the cascade point for the given index. If index is -1 - the cascade point is calculated for the window following the last window - @param indexOfWindow the index of the window in relation the z-ordered window list - @short Calculates the cascade point for the given index. - */ - public native TQPoint getCascadePoint(int indexOfWindow); - public native TQPoint getCascadePoint(); - /** - Sets the MDI childframe window caption font - A relayout does not occur when using this function - @short Sets the MDI childframe window caption font A relayout does not occur when using this function - */ - public native void setMdiCaptionFont(TQFont fnt); - /** - Sets the foreground color of the active MDI childframe window caption - A relayout does not occur when using this function - @short Sets the foreground color of the active MDI childframe window caption A relayout does not occur when using this function - */ - public native void setMdiCaptionActiveForeColor(TQColor clr); - /** - Sets the background color of the active MDI childframe window captions - A relayout does not occur when using this function - @short Sets the background color of the active MDI childframe window captions A relayout does not occur when using this function - */ - public native void setMdiCaptionActiveBackColor(TQColor clr); - /** - Sets the foreground color of inactive MDI childframe window captions - A relayout does not occur when using this function - @short Sets the foreground color of inactive MDI childframe window captions A relayout does not occur when using this function - */ - public native void setMdiCaptionInactiveForeColor(TQColor clr); - /** - Sets the background color of inactive MDI childframe window captions - A relayout does not occur when using this function - @short Sets the background color of inactive MDI childframe window captions A relayout does not occur when using this function - */ - public native void setMdiCaptionInactiveBackColor(TQColor clr); - /** - Cascades all windows resizing them to the minimum size. - @short Cascades all windows resizing them to the minimum size. - */ - public native void cascadeWindows(); - /** - Cascades all windows resizing them to the maximum available size. - @short Cascades all windows resizing them to the maximum available size. - */ - public native void cascadeMaximized(); - /** - Maximize all windows but only in vertical direction - @short Maximize all windows but only in vertical direction - */ - public native void expandVertical(); - /** - Maximize all windows but only in horizontal direction - @short Maximize all windows but only in horizontal direction - */ - public native void expandHorizontal(); - /** - Gives focus to the topmost child if it doesn't get focus - automatically or you want to wait to give it focus - @short Gives focus to the topmost child if it doesn't get focus automatically or you want to wait to give it focus - */ - public native void focusTopChild(); - /** - Tile Pragma - @short Tile Pragma - */ - public native void tilePragma(); - /** - Tile Anodine - @short Tile Anodine - */ - public native void tileAnodine(); - /** - Tile all the windows in the child area vertically - @short Tile all the windows in the child area vertically - */ - public native void tileVertically(); - /** - Position and layout the minimized child frames - @short Position and layout the minimized child frames - */ - public native void layoutMinimizedChildren(); - /** - Internally used for the tile algorithm - @short Internally used for the tile algorithm - */ - protected native void tileAllInternal(int maxWnds); - /** - Automatically resizes a maximized MDI view and layouts the positions of minimized MDI views. - @short Automatically resizes a maximized MDI view and layouts the positions of minimized MDI views. - */ - protected native void resizeEvent(TQResizeEvent arg1); - /** - Shows the 'Window' popup menu on right mouse button click - @short Shows the 'Window' popup menu on right mouse button click - */ - protected native void mousePressEvent(TQMouseEvent e); - /** - Internally used. Actions that are necessary when an MDI view gets minimized - @short Internally used. - */ - protected native void childMinimized(KMdiChildFrm lpC, boolean bWasMaximized); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java b/kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java deleted file mode 100644 index 7be1a1de..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KMdiChildAreaSignals { - /** - Signals that there aren't maximized child frames any more - @short Signals that there aren't maximized child frames any more - */ - void noMaximizedChildFrmLeft(KMdiChildFrm arg1); - /** - Signals that the child frames are maximized now - @short Signals that the child frames are maximized now - */ - void nowMaximized(boolean arg1); - /** - Signals a KMdiMainFrm that the signal/slot connections of the system buttons in the - menubar (only in Maximize mode) must be updated to another MDI view because the focused - MDI view has changed - @short Signals a KMdiMainFrm that the signal/slot connections of the system buttons in the menubar (only in Maximize mode) must be updated to another MDI view because the focused MDI view has changed - */ - void sysButtonConnectionsMustChange(KMdiChildFrm arg1, KMdiChildFrm arg2); - /** - Signals a KMdiMainFrm that the 'Window' popup menu must be shown - @short Signals a KMdiMainFrm that the 'Window' popup menu must be shown - */ - void popupWindowMenu(TQPoint arg1); - /** - Signals that the last attached (docked) MDI view has been closed. - Note: Detached MDI views can remain. - @short Signals that the last attached (docked) MDI view has been closed. - */ - void lastChildFrmClosed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrm.java b/kdejava/koala/org/kde/koala/KMdiChildFrm.java deleted file mode 100644 index 10732335..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildFrm.java +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPoint; -import org.kde.qt.TQFrame; - -/** - - @short Internal class. It's an MDI child frame widget. It contains a view widget and a frame caption. Usually you derive from its view. - -*/ -public class KMdiChildFrm extends TQFrame { - protected KMdiChildFrm(Class dummy){super((Class) null);} - public static final int Normal = 0; - public static final int Maximized = 1; - public static final int Minimized = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new KMdiChildFrm class. - @short Creates a new KMdiChildFrm class. - */ - /** - Reparents the widget w to this KMdiChildFrm (if this is not already done) - Installs an event filter to catch focus events. - Resizes this mdi child in a way that the child fits perfectly in. - @short Reparents the widget w to this KMdiChildFrm (if this is not already done) Installs an event filter to catch focus events. - */ - public native void setClient(KMdiChildView w, boolean bAutomaticResize); - public native void setClient(KMdiChildView w); - /** - Reparents the client widget to 0 (desktop), moves with an offset from the original position - Removes the event filter. - @short Reparents the client widget to 0 (desktop), moves with an offset from the original position Removes the event filter. - */ - public native void unsetClient(TQPoint positionOffset); - public native void unsetClient(); - /** - Sets the window icon pointer. - @short Sets the window icon pointer. - */ - public native void setIcon(TQPixmap pxm); - /** - Returns the child frame icon. - @short Returns the child frame icon. - */ - public native TQPixmap icon(); - /** - Enables or disables the close button - @short Enables or disables the close button - */ - public native void enableClose(boolean bEnable); - /** - Sets the caption of this window - @short Sets the caption of this window - */ - public native void setCaption(String text); - /** - Gets the caption of this mdi child. - @short Gets the caption of this mdi child. - */ - public native String caption(); - /** - Minimizes, Maximizes, or restores the window. - @short Minimizes, Maximizes, or restores the window. - */ - public native void setState(int state, boolean bAnimate); - public native void setState(int state); - /** - Returns the current state of the window - @short Returns the current state of the window - */ - public native int state(); - /** - Returns the inner client area of the parent of this (which is KMdiChildArea). - @short Returns the inner client area of the parent of this (which is KMdiChildArea). - */ - public native TQRect mdiAreaContentsRect(); - /** - Returns the geometry that will be restored by calling restore(). - @short Returns the geometry that will be restored by calling restore(). - */ - public native TQRect restoreGeometry(); - /** - Sets the geometry that will be restored by calling restore(). - @short Sets the geometry that will be restored by calling restore(). - */ - public native void setRestoreGeometry(TQRect newRestGeo); - /** - Forces updating the rects of the caption and so... - It may be useful when setting the mdiCaptionFont of the MdiManager - @short Forces updating the rects of the caption and so. - */ - public native void updateRects(); - /** - Returns the system menu. - @short Returns the system menu. - */ - public native TQPopupMenu systemMenu(); - /** - Returns the caption bar height - @short Returns the caption bar height - */ - public native int captionHeight(); - /** - sets new raise behavior and pixmaps of the buttons depending on the current decoration style - @short sets new raise behavior and pixmaps of the buttons depending on the current decoration style - */ - public native void redecorateButtons(); - /** - returns the mouse state "In Drag" - @short returns the mouse state "In Drag" - */ - public native boolean isInDrag(); - /** - returns the mouse state "In Resize" - @short returns the mouse state "In Resize" - */ - public native boolean isInResize(); - /** - Internally called from the signal focusInEventOccurs. - It raises the MDI childframe to the top of all other MDI child frames and sets the focus on it. - @short Internally called from the signal focusInEventOccurs. - */ - public native void raiseAndActivate(); - /** - Sets the minimum size of the widget to w by h pixels. - It extends it's base clase method in a way that the minimum size of - the child area will be set additionally if the view is maximized. - @short Sets the minimum size of the widget to w by h pixels. - */ - public native void setMinimumSize(int minw, int minh); - public native void slot_resizeViaSystemMenu(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java b/kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java deleted file mode 100644 index ac0183c0..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - It's the caption bar of a child frame widget. - @short Internal class. - -*/ -public class KMdiChildFrmCaption extends TQWidget { - protected KMdiChildFrmCaption(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @short Constructor - */ - /** - Repaint the caption bar in active background colors - @short Repaint the caption bar in active background colors - */ - public native void setActive(boolean bActive); - /** - Repaint with a new caption bar title - @short Repaint with a new caption bar title - */ - public native void setCaption(String text); - /** - Returns the caption bar height depending on the used font - @short Returns the caption bar height depending on the used font - */ - public native int heightHint(); - /** - Grabs the mouse, a move cursor, sets a move indicator variable to true and keeps the global mouse position in mind - @short Grabs the mouse, a move cursor, sets a move indicator variable to true and keeps the global mouse position in mind - */ - public native void slot_moveViaSystemMenu(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java deleted file mode 100644 index 608ce164..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQCustomEvent; - -/** - - @short a TQCustomEvent for begin of dragging This special event will be useful, to inform view about child frame event. - -*/ -public class KMdiChildFrmDragBeginEvent extends TQCustomEvent { - protected KMdiChildFrmDragBeginEvent(Class dummy){super((Class) null);} -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java deleted file mode 100644 index 36eb389b..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQCustomEvent; - -/** - - @short a TQCustomEvent for end of dragging This special event will be useful, to inform view about child frame event. - -*/ -public class KMdiChildFrmDragEndEvent extends TQCustomEvent { - protected KMdiChildFrmDragEndEvent(Class dummy){super((Class) null);} -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java deleted file mode 100644 index bd59b924..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMoveEvent; -import org.kde.qt.TQCustomEvent; - -/** - - @short a TQCustomEvent for move This special event will be useful, to inform view about child frame event. - -*/ -public class KMdiChildFrmMoveEvent extends TQCustomEvent { - protected KMdiChildFrmMoveEvent(Class dummy){super((Class) null);} -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java deleted file mode 100644 index 3e925987..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQCustomEvent; - -/** - - @short a TQCustomEvent for begin of resizing This special event will be useful, to inform view about child frame event. - -*/ -public class KMdiChildFrmResizeBeginEvent extends TQCustomEvent { - protected KMdiChildFrmResizeBeginEvent(Class dummy){super((Class) null);} -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java deleted file mode 100644 index df29e75d..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQCustomEvent; - -/** - - @short a TQCustomEvent for end of resizing This special event will be useful, to inform view about child frame event. - -*/ -public class KMdiChildFrmResizeEndEvent extends TQCustomEvent { - protected KMdiChildFrmResizeEndEvent(Class dummy){super((Class) null);} -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildView.java b/kdejava/koala/org/kde/koala/KMdiChildView.java deleted file mode 100644 index b4caa8fe..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildView.java +++ /dev/null @@ -1,423 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQPixmap; -import java.util.Calendar; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWidget; - -/** - - Base class for all MDI view widgets. KMdi stores additional information in this class - to handle the attach/detach mechanism and such things. - All such windows 'lives' attached to a KMdiChildFrm widget - managed by KMdiChildArea, or detached (managed by the window manager.) - So remember that the KMdiChildView.parent pointer may change, and may be null, too. - There are 2 possibilities for you to put your widgets under MDI control: - Either you inherit all the views from KMdiChildView: - <pre> - public class MyMdiWidget implements KMdiChildView - { .... } - ... - MyMdiWidget w; - mainframe.addWindow(w, flags); - </pre> - or you wrap them by a KMdiChildView somehow like this: - <pre> - void DocViewMan.addKMdiFrame(TQWidget pNewView, boolean bShow, TQPixmap icon) - { - // cover it by a KMdi childview and add that MDI system - KMdiChildView pMDICover = new KMdiChildView( pNewView.caption()); - pMDICover.setIcon(icon); - m_MDICoverList.append( pMDICover); - TQBoxLayout pLayout = new TQHBoxLayout( pMDICover, 0, -1, "layout"); - pNewView.reparent( pMDICover, TQPoint(0,0)); - pLayout.addWidget( pNewView); - pMDICover.setName( pNewView.name()); - // captions - String shortName = pNewView.caption(); - int length = shortName.length(); - shortName = shortName.right(length - (shortName.findRev('/') +1)); - pMDICover.setTabCaption( shortName); - pMDICover.setCaption(pNewView.caption()); - // fake a viewActivated to update the currentEditView/currentBrowserView pointers _before_ adding to MDI control - slot_viewActivated( pMDICover); - // take it under MDI mainframe control (note: this triggers also a setFocus()) - int flags; - if (bShow) { - flags = KMdi.StandardAdd; - } - else { - flags = KMdi.Hide; - } - // set the accelerators for Toplevel MDI mode (each toplevel window needs its own accels - connect( m_pParent, SIGNAL("childViewIsDetachedNow(TQWidget)"), this, SLOT("initKeyAccel(TQWidget)") ); - m_pParent.addWindow( pMDICover, flags); - // correct the default settings of KMdi ('cause we haven't a tab order for subwidget focuses) - pMDICover.setFirstFocusableChildWidget(null); - pMDICover.setLastFocusableChildWidget(null); - } - </pre> - See {@link KMdiChildViewSignals} for signals emitted by KMdiChildView - @short Base class for all your special view windows. - -*/ -public class KMdiChildView extends TQWidget { - protected KMdiChildView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @short Constructor - */ - public KMdiChildView(String caption, TQWidget parentWidget, String name, int f) { - super((Class) null); - newKMdiChildView(caption,parentWidget,name,f); - } - private native void newKMdiChildView(String caption, TQWidget parentWidget, String name, int f); - public KMdiChildView(String caption, TQWidget parentWidget, String name) { - super((Class) null); - newKMdiChildView(caption,parentWidget,name); - } - private native void newKMdiChildView(String caption, TQWidget parentWidget, String name); - public KMdiChildView(String caption, TQWidget parentWidget) { - super((Class) null); - newKMdiChildView(caption,parentWidget); - } - private native void newKMdiChildView(String caption, TQWidget parentWidget); - public KMdiChildView(String caption) { - super((Class) null); - newKMdiChildView(caption); - } - private native void newKMdiChildView(String caption); - /** - Constructor - sets "Unnamed" as default caption - @short Constructor sets "Unnamed" as default caption - */ - public KMdiChildView(TQWidget parentWidget, String name, int f) { - super((Class) null); - newKMdiChildView(parentWidget,name,f); - } - private native void newKMdiChildView(TQWidget parentWidget, String name, int f); - public KMdiChildView(TQWidget parentWidget, String name) { - super((Class) null); - newKMdiChildView(parentWidget,name); - } - private native void newKMdiChildView(TQWidget parentWidget, String name); - public KMdiChildView(TQWidget parentWidget) { - super((Class) null); - newKMdiChildView(parentWidget); - } - private native void newKMdiChildView(TQWidget parentWidget); - public KMdiChildView() { - super((Class) null); - newKMdiChildView(); - } - private native void newKMdiChildView(); - /** - This method does the same as focusInEvent(). That's why it is a replacement for the setFocus() call. It makes - sense if you for instance want to focus (I mean raise and activate) this view although the real focus is - in another toplevel widget. focusInEvent() will never get called in that case and your setFocus() call for this - widget would fail without any effect. - Use this method with caution, it always raises the view and pushes the taskbar button. Also when the focus is - still on another MDI view in the same toplevel window where this is located! - @short This method does the same as focusInEvent(). - */ - public native void activate(); - /** - Memorizes the first focusable child widget of this widget - @short Memorizes the first focusable child widget of this widget - */ - public native void setFirstFocusableChildWidget(TQWidget arg1); - /** - Memorizes the last focusable child widget of this widget - @short Memorizes the last focusable child widget of this widget - */ - public native void setLastFocusableChildWidget(TQWidget arg1); - /** - Returns the current focused child widget of this widget - @short Returns the current focused child widget of this widget - */ - public native TQWidget focusedChildWidget(); - /** - Returns true if the MDI view is a child window within the MDI mainframe widget - or false if the MDI view is in toplevel mode - @short Returns true if the MDI view is a child window within the MDI mainframe widget or false if the MDI view is in toplevel mode - */ - public native boolean isAttached(); - /** - Returns the caption of the child window (different from the caption on the button in the taskbar) - @short Returns the caption of the child window (different from the caption on the button in the taskbar) - */ - public native String caption(); - /** - Returns the caption of the button on the taskbar - @short Returns the caption of the button on the taskbar - */ - public native String tabCaption(); - /** - Sets the window caption string... - Calls updateButton on the taskbar button if it has been set. - @short Sets the window caption string. - */ - public native void setCaption(String szCaption); - /** - Sets the caption of the button referring to this window - @short Sets the caption of the button referring to this window - */ - public native void setTabCaption(String caption); - /** - Sets the caption of both the window and the button on the taskbar - @short Sets the caption of both the window and the button on the taskbar - */ - public native void setMDICaption(String caption); - /** - Returns the KMdiChildFrm parent widget (or 0 if the window is not attached) - @short Returns the KMdiChildFrm parent widget (or 0 if the window is not attached) - */ - public native KMdiChildFrm mdiParent(); - /** - Tells if the window is minimized when attached to the Mdi manager, - or if it is VISIBLE when 'floating'. - @short Tells if the window is minimized when attached to the Mdi manager, or if it is VISIBLE when 'floating'. - */ - public native boolean isMinimized(); - /** - Tells if the window is minimized when attached to the Mdi manager, - otherwise returns false. - @short Tells if the window is minimized when attached to the Mdi manager, otherwise returns false. - */ - public native boolean isMaximized(); - /** - Returns the geometry of this MDI child window as TQWidget.geometry() does. - @short Returns the geometry of this MDI child window as TQWidget.geometry() does. - */ - public native TQRect internalGeometry(); - /** - Sets the geometry of the client area of this MDI child window. The - top left position of the argument is the position of the top left point - of the client area in its parent coordinates and the arguments width - and height is the width and height of the client area. Please note: This - differs from the behavior of TQWidget.setGeometry()! - @short Sets the geometry of the client area of this MDI child window. - */ - public native void setInternalGeometry(TQRect newGeomety); - /** - Returns the frame geometry of this window or of the parent if there is any... - @short Returns the frame geometry of this window or of the parent if there is any. - */ - public native TQRect externalGeometry(); - /** - Sets the geometry of the frame of this MDI child window. The top left - position of the argument is the position of the top left point of the - frame in its parent coordinates and the arguments width and height is - the width and height of the widget frame. Please note: This differs - from the behavior of TQWidget.setGeometry()! - @short Sets the geometry of the frame of this MDI child window. - */ - public native void setExternalGeometry(TQRect newGeomety); - /** - You should override this function in the derived class. - @short You should override this function in the derived class. - */ - public native TQPixmap myIconPtr(); - /** - Minimizes this window when it is attached to the Mdi manager. - Otherwise has no effect - @short Minimizes this window when it is attached to the Mdi manager. - */ - public native void minimize(boolean bAnimate); - /** - Maximizes this window when it is attached to the Mdi manager. - Otherwise has no effect - @short Maximizes this window when it is attached to the Mdi manager. - */ - public native void maximize(boolean bAnimate); - /** - Returns the geometry that will be restored by calling restore(). - @short Returns the geometry that will be restored by calling restore(). - */ - public native TQRect restoreGeometry(); - /** - Sets the geometry that will be restored by calling restore(). - @short Sets the geometry that will be restored by calling restore(). - */ - public native void setRestoreGeometry(TQRect newRestGeo); - /** - Switches interposing in event loop of all current child widgets off. - @short Switches interposing in event loop of all current child widgets off. - */ - public native void removeEventFilterForAllChildren(); - /** - Internally used for setting an ID for the 'Window' menu entry - @short Internally used for setting an ID for the 'Window' menu entry - */ - public native void setWindowMenuID(int id); - /** - Sets the minimum size of the widget to w by h pixels. - It extends it base clase method in a way that the minimum size of - its childframe (if there is one) will be set, additionally. - @short Sets the minimum size of the widget to w by h pixels. - */ - public native void setMinimumSize(int minw, int minh); - /** - Sets the maximum size of the widget to w by h pixels. - It extends it base clase method in a way that the maximum size of - its childframe (if there is one) will be set, additionally. - @short Sets the maximum size of the widget to w by h pixels. - */ - public native void setMaximumSize(int maxw, int maxh); - /** - Returns if this is added as MDI tool-view - @short Returns if this is added as MDI tool-view - */ - public native boolean isToolView(); - /** - Remember the current time - @short Remember the current time - */ - public native void updateTimeStamp(); - /** - Recall a previously remembered time, i.e. the value of m_time - @short Recall a previously remembered time, i. - */ - public native Calendar getTimeStamp(); - /** - Attaches this window to the Mdi manager. - It calls the KMdiMainFrm attachWindow function , so if you have a pointer - to this KMdiMainFrm you'll be faster calling that function. - @short Attaches this window to the Mdi manager. - */ - public native void attach(); - /** - Detaches this window from the Mdi manager. - It calls the KMdiMainFrm detachWindow function , so if you have a pointer - to this KMdiMainFrm you'll be faster calling that function. - @short Detaches this window from the Mdi manager. - */ - public native void detach(); - /** - Mimimizes the MDI view. If attached, the covering childframe widget is minimized (only a mini widget - showing the caption bar and the system buttons will remain visible). If detached, it will use the - minimize of the underlying system ( TQWidget.showMinimized ). - @short Mimimizes the MDI view. - */ - public native void minimize(); - /** - Maximizes the MDI view. If attached, this widget will fill the whole MDI view area widget. The system buttons - move to the main menubar (if set by KMdiMainFrm.setMenuForSDIModeSysButtons ). - If detached, it will use the minimize of the underlying system ( TQWidget.showMaximized ). - @short Maximizes the MDI view. - */ - public native void maximize(); - /** - Restores this window to its normal size. Also known as 'normalize'. - @short Restores this window to its normal size. - */ - public native void restore(); - /** - Internally called, if KMdiMainFrm.attach is called. - Actually, only the caption of the covering childframe is set. - @short Internally called, if KMdiMainFrm.attach is called. - */ - public native void youAreAttached(KMdiChildFrm lpC); - /** - Internally called, if KMdiMainFrm.detach is called. - Some things for going toplevel will be done here. - @short Internally called, if KMdiMainFrm.detach is called. - */ - public native void youAreDetached(); - /** - Called if someone click on the "Window" menu item for this child frame window - @short Called if someone click on the "Window" menu item for this child frame window - */ - public native void slot_clickedInWindowMenu(); - /** - Called if someone click on the "Dock/Undock..." menu item for this child frame window - @short Called if someone click on the "Dock/Undock. - */ - public native void slot_clickedInDockMenu(); - /** - Calls TQWidget.show but also for it's parent widget if attached - @short Calls TQWidget.show but also for it's parent widget if attached - */ - public native void show(); - /** - Calls TQWidget.hide() or it's parent widget hide() if attached - @short Calls TQWidget.hide() or it's parent widget hide() if attached - */ - public native void hide(); - /** - Calls TQWidget.raise() or it's parent widget raise() if attached - @short Calls TQWidget.raise() or it's parent widget raise() if attached - */ - public native void raise(); - /** - Overridden from its base class method. Emits a signal KMdiChildView.isMinimizedNow , additionally. - Note that this method is not used by an external windows manager call on system minimizing. - @short Overridden from its base class method. - */ - public native void showMinimized(); - /** - Overridden from its base class method. Emits a signal KMdiChildView.isMaximizedNow , additionally. - Note that this method is not used by an external windows manager call on system maximizing. - @short Overridden from its base class method. - */ - public native void showMaximized(); - /** - Overridden from its base class method. Emits a signal KMdiChildView.isRestoredNow , additionally. - Note that this method is not used by an external windows manager call on system normalizing. - @short Overridden from its base class method. - */ - public native void showNormal(); - /** - Ignores the event and calls KMdiMainFrm.childWindowCloseRequest instead. This is because the - mainframe has control over the views. Therefore the MDI view has to request the mainframe for a close. - @short Ignores the event and calls KMdiMainFrm.childWindowCloseRequest instead. - */ - protected native void closeEvent(TQCloseEvent e); - /** - It only catches TQEvent.KeyPress events there. If a Qt.Key_Tab is pressed, the internal MDI focus - handling is called. That means if the last focusable child widget of this is called, it will jump to the - first focusable child widget of this. - See KMdiChildView.setFirstFocusableChildWidget and KMdiChildView.lastFirstFocusableChildWidget - @short It only catches TQEvent.KeyPress events there. - */ - public native boolean eventFilter(TQObject arg1, TQEvent e); - /** - If attached, the childframe will be activated and the MDI taskbar button will be pressed. Additionally, the - memorized old focused child widget of this is focused again. - Sends the focusInEventOccurs signal before changing the focus and the - gotFocus signal after changing the focus. - @short If attached, the childframe will be activated and the MDI taskbar button will be pressed. - */ - protected native void focusInEvent(TQFocusEvent e); - /** - Send the lostFocus signal - @short Send the lostFocus signal - */ - protected native void focusOutEvent(TQFocusEvent e); - /** - Internally used for the minimize/maximize/restore mechanism when in attach mode. - @short Internally used for the minimize/maximize/restore mechanism when in attach mode. - */ - protected native void resizeEvent(TQResizeEvent e); - protected native void trackIconAndCaptionChanges(TQWidget view); - protected native void slot_childDestroyed(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiChildViewSignals.java b/kdejava/koala/org/kde/koala/KMdiChildViewSignals.java deleted file mode 100644 index e8619aab..00000000 --- a/kdejava/koala/org/kde/koala/KMdiChildViewSignals.java +++ /dev/null @@ -1,115 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQPixmap; -import java.util.Calendar; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KMdiChildViewSignals { - /** - Internally used by KMdiChildView.attach to send it as command to the mainframe. - @short Internally used by KMdiChildView.attach to send it as command to the mainframe. - */ - void attachWindow(KMdiChildView arg1, boolean arg2); - /** - Internally used by KMdiChildView.detach to send it as command to the mainframe. - @short Internally used by KMdiChildView.detach to send it as command to the mainframe. - */ - void detachWindow(KMdiChildView arg1, boolean arg2); - /** - Is sent when this MDI child view is going to receive focus (before actually changing the focus). - Internally used to send information to the mainframe that this MDI child view is focused. - See KMdiChildView.focusInEvent - @short Is sent when this MDI child view is going to receive focus (before actually changing the focus). - */ - void focusInEventOccurs(KMdiChildView arg1); - /** - Is sent when this MDI child has received the focus (after actually changing the focus). - See KMdiChildView.focusInEvent - @short Is sent when this MDI child has received the focus (after actually changing the focus). - */ - void gotFocus(KMdiChildView arg1); - /** - Is sent when this MDI child was set to the activate view of all MDI views (after actually changing the focus). - See KMdiChildView.activate - @short Is sent when this MDI child was set to the activate view of all MDI views (after actually changing the focus). - */ - void activated(KMdiChildView arg1); - /** Is sent when this MDI child view has lost the focus (after actually changing the focus). - See KMdiChildView.focusOutEvent - @short Is sent when this MDI child view has lost the focus (after actually changing the focus). - */ - void lostFocus(KMdiChildView arg1); - /** Is sent when this MDI child view was deactivated (after actually changing the focus). - See KMdiChildView.focusOutEvent - @short Is sent when this MDI child view was deactivated (after actually changing the focus). - */ - void deactivated(KMdiChildView arg1); - /** - Internally used to send information to the mainframe that this MDI child view wants to be closed. - See KMdiChildView.closeEvent and KMdiMainFrm.closeWindow - @short Internally used to send information to the mainframe that this MDI child view wants to be closed. - */ - void childWindowCloseRequest(KMdiChildView arg1); - /** - Emitted when the window caption is changed via KMdiChildView.setCaption or KMdiChildView.setMDICaption - @short Emitted when the window caption is changed via KMdiChildView.setCaption or KMdiChildView.setMDICaption - */ - void windowCaptionChanged(String arg1); - /** - Emitted when the window caption is changed via KMdiChildView.setTabCaption or KMdiChildView.setMDICaption - @short Emitted when the window caption is changed via KMdiChildView.setTabCaption or KMdiChildView.setMDICaption - */ - void tabCaptionChanged(String arg1); - /** - Internally used to send information to the mainframe that this MDI view is maximized now. - Usually, the mainframe switches system buttons. - @short Internally used to send information to the mainframe that this MDI view is maximized now. - */ - void mdiParentNowMaximized(boolean arg1); - /** - Is automatically emitted when slot_clickedInWindowMenu is called - @short Is automatically emitted when slot_clickedInWindowMenu is called - */ - void clickedInWindowMenu(int arg1); - /** - Is automatically emitted when slot_clickedInDockMenu is called - @short Is automatically emitted when slot_clickedInDockMenu is called - */ - void clickedInDockMenu(int arg1); - /** - Signals this has been maximized - @short Signals this has been maximized - */ - void isMaximizedNow(); - /** - Signals this has been minimized - @short Signals this has been minimized - */ - void isMinimizedNow(); - /** - Signals this has been restored (normalized) - @short Signals this has been restored (normalized) - */ - void isRestoredNow(); - /** - Signals this has been attached - @short Signals this has been attached - */ - void isAttachedNow(); - /** - Signals this has been detached - @short Signals this has been detached - */ - void isDetachedNow(); - void iconUpdated(TQWidget arg1, TQPixmap arg2); - void captionUpdated(TQWidget arg1, String arg2); -} diff --git a/kdejava/koala/org/kde/koala/KMdiMainFrm.java b/kdejava/koala/org/kde/koala/KMdiMainFrm.java deleted file mode 100644 index 2c3c5fef..00000000 --- a/kdejava/koala/org/kde/koala/KMdiMainFrm.java +++ /dev/null @@ -1,699 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPoint; -import org.kde.qt.TQSize; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -/** - - \short Base class for all your special main frames. - It contains the child frame area (TQMainWindow's central widget) and a child view taskbar - for switching the MDI views. Most methods are functions for later overriding. - Basically, this class provides functionality for docking/undocking view windows and - manages the taskbar. Usually a developer will only need to know about this class and - \ref KMdiChildView. - \par General usage - Your program mainwidget should inherit KMdiMainFrm. Then usually you'll just need - addWindow() and removeWindowFromMdi() to control the views. - <pre> - public class MyMainWindow implements KMdiMainFrm - { .... } - </pre> - to define your main window class and - <pre> - MyMainWindow mainframe; - tqApp.setMainWidget(&mainframe); - mainframe.addWindow(view1); // put it under MDI control - mainframe.addWindow(view2); - </pre> - when you wish to use your main window class. The above example also adds a few windows - to the frame. - KMdiMainFrm will provide the "Window" menu needed in common MDI applications. Just - insert it in your main menu: - <pre> - if ( !isFakingSDIApplication() ) - { - menuBar().insertItem( i18n( "&Window" ), windowMenu() ); - } - </pre> - To synchronize the positions of the MDI control buttons inserted in your mainmenu: - <pre> - void B_MainModuleWidget.initMenuBar() - { - setMenuForSDIModeSysButtons( menuBar() ); - } - ... - void B_MainModuleWidget.resizeEvent ( TQResizeEvent e ) - { - KMdiMainFrm.resizeEvent( e ); - setSysButtonsAtMenuPosition(); - } - </pre> - \par Dynamic mode switching - Dynamic switching of the MDI mode can be done via the following functions: - - switchToChildframeMode() - - switchToToplevelMode() - - switchToTabPageMode() - - switchToIDEAlMode() - The MDI mode can be gotten using mdiMode(). If you need to fake the look of an SDI application - use fakeSDIApplication() to fake it and isFakingSDIApplication() to query whether or not an SDI - interface is being faked. - You can dynamically change the shape of the attached MDI views using setFrameDecorOfAttachedViews(). - Additionally, here's a hint how to restore the mainframe's settings from config file: - <pre> - // restore MDI mode (toplevel, childframe, tabpage) - int mdiMode = config.readIntEntry( "mainmodule session", "MDI mode", KMdi.ChildframeMode); - switch (mdiMode) { - case KMdi.ToplevelMode: - { - int childFrmModeHt = config.readIntEntry( "mainmodule session", "Childframe mode height", desktop().height() - 50); - mainframe.resize( m_pMdiMainFrm.width(), childFrmModeHt); - mainframe.switchToToplevelMode(); - } - break; - case KMdi.ChildframeMode: - break; - case KMdi.TabPageMode: - { - int childFrmModeHt = m_pCfgFileManager.readIntEntry( "mainmodule session", "Childframe mode height", desktop().height() - 50); - mainframe.resize( m_pMdiMainFrm.width(), childFrmModeHt); - mainframe.switchToTabPageMode(); - } - break; - default: - break; - } - // restore a possible maximized Childframe mode - boolean maxChildFrmMode = config.readBoolEntry( "mainmodule session", "maximized childframes", true); - mainframe.setEnableMaximizedChildFrmMode(maxChildFrmMode); - </pre> - The maximized-Childframe mode means that currently all views are maximized in Childframe mode's application desktop. - \par Managing views - This class provides placing algorithms in Childframe mode. The following is a list of the window placement functions - - tilePragma() - Tile the windows and allow them to overlap - - tileAnodine() - Tile the windows but don't allow them to overlap - - tileVertically() - Tile the windows vertically - - cascadeWindows() - cascade windows - - cascadeMaximized() - cascade windows and maximize their viewing area - - expandVertical() - expand all the windows to use the most amount of vertical space - - expandHorizontal() - expand all the windows to use the most amount of horizontal space - activateView(KMdiChildView) and activateView(int index) set the appropriate MDI child view as the active - one. It will be raised, will get an active MDI frame and will get the focus. Call activeView() to find out what the - current MDI view is. - Use detachWindow() and attachWindow() for docking the MDI views to desktop and back. - Connect accels of your program with activatePrevWin(), activateNextWin() and activateView(int index). - Note: KMdiChildViews can be added in 2 meanings: Either as a normal child view (usually containing - user document views) or as a tool-view (usually containing status, info or control widgets). - The tool-views can be added as floating dockwidgets or as stay-on-top desktop windows in tool style. - Also, pay attention to the fact that when you click on the close button of MDI views that their - close event should be redirected to closeWindow(). Otherwise the mainframe class will - not get noticed about the deleted view and a dangling pointer will remain in the MDI control. The - closeWindow() or the removeWindowFromMdi() method is for that issue. The difference is closeWindow() - deletes the view object. So if your application wants to control that by itself, call removeWindowFromMdi() - and call delete by yourself. See also KMdiChildView.closeEvent() for that issue. - Here's an example how you can suggest things for the adding of views to the MDI control via flags: - <pre> - m_mapOfMdiWidgets.insert( pWnd, mh ); - unsigned int mdiFlags = KMdi.StandardAdd; - if ( !show ) - mdiFlags |= KMdi.Hide; - if ( !attach ) - mdiFlags |= KMdi.Detach; - if ( minimize ) - mdiFlags |= KMdi.Minimize; - if ( bToolWindow) - mdiFlags |= KMdi.ToolWindow; - if ( m_pMdiMainFrm.isFakingSDIApplication() ) - { - if ( attach ) //fake an SDI app - mdiFlags |= KMdi.Maximize; - } - else - { - m_pMdiMainFrm.addWindow( pWnd, TQPoint(20, 20), KMdi.AddWindowFlags(mdiFlags)); - return; - } - m_pMdiMainFrm.addWindow( pWnd, KMdi.AddWindowFlags(mdiFlags)); - </pre> - See {@link KMdiMainFrmSignals} for signals emitted by KMdiMainFrm - @short \short Base class for all your special main frames. - -*/ -public class KMdiMainFrm extends DockMainWindow { - protected KMdiMainFrm(Class dummy){super((Class) null);} - public static final int DocumentView = 0; - public static final int ToolView = 1; - public static final int AnyView = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public KMdiMainFrm(TQWidget parentWidget, String name, int mdiMode, int flags) { - super((Class) null); - newKMdiMainFrm(parentWidget,name,mdiMode,flags); - } - private native void newKMdiMainFrm(TQWidget parentWidget, String name, int mdiMode, int flags); - public KMdiMainFrm(TQWidget parentWidget, String name, int mdiMode) { - super((Class) null); - newKMdiMainFrm(parentWidget,name,mdiMode); - } - private native void newKMdiMainFrm(TQWidget parentWidget, String name, int mdiMode); - public KMdiMainFrm(TQWidget parentWidget, String name) { - super((Class) null); - newKMdiMainFrm(parentWidget,name); - } - private native void newKMdiMainFrm(TQWidget parentWidget, String name); - public KMdiMainFrm(TQWidget parentWidget) { - super((Class) null); - newKMdiMainFrm(parentWidget); - } - private native void newKMdiMainFrm(TQWidget parentWidget); - /** - Control whether or not the standard MDI menu is displayed - when a context menu is displayed - @short Control whether or not the standard MDI menu is displayed when a context menu is displayed - */ - public native void setStandardMDIMenuEnabled(boolean showModeMenu); - public native void setStandardMDIMenuEnabled(); - public native void setManagedDockPositionModeEnabled(boolean enabled); - /** - Returns whether the application's MDI views are in maximized state or not. - @short Returns whether the application's MDI views are in maximized state or not. - */ - public native boolean isInMaximizedChildFrmMode(); - /** - Returns the MDI mode. This can be one of the enumerations KMdi.MdiMode. - @short Returns the MDI mode. - */ - public native int mdiMode(); - /** - Returns the focused attached MDI view. - @short Returns the focused attached MDI view. - */ - public native KMdiChildView activeWindow(); - /** - Returns a popup menu filled according to the MDI view state. You can override this - method to insert additional entries there. The popup menu is usually popuped when the user - clicks with the right mouse button on a taskbar entry. The default entries are: - Undock/Dock, Restore/Maximize/Minimize, Close and an empty sub-popup ( windowPopup() ) - menu called Operations. - @short Returns a popup menu filled according to the MDI view state. - */ - public native TQPopupMenu taskBarPopup(KMdiChildView pWnd, boolean bIncludeWindowPopup); - public native TQPopupMenu taskBarPopup(KMdiChildView pWnd); - /** - Returns a popup menu with only a title "Window". You can fill it with own operations entries - on the MDI view. This popup menu is inserted as last menu item in taskBarPopup() . - @short Returns a popup menu with only a title "Window". - */ - public native TQPopupMenu windowPopup(KMdiChildView pWnd, boolean bIncludeTaskbarPopup); - public native TQPopupMenu windowPopup(KMdiChildView pWnd); - /** - Called in the constructor (forces a resize of all MDI views) - @short Called in the constructor (forces a resize of all MDI views) - */ - public native void applyOptions(); - /** - Returns the KMdiChildView belonging to the given caption string. - @short Returns the KMdiChildView belonging to the given caption string. - */ - public native KMdiChildView findWindow(String caption); - /** - Returns whether this MDI child view is under MDI control (using addWindow() ) or not. - @short Returns whether this MDI child view is under MDI control (using addWindow() ) or not. - */ - public native boolean windowExists(KMdiChildView pWnd, int as); - /** - Catches certain Qt events and processes it here. - Currently, here this catches only the KMdiViewCloseEvent (a KMdi user event) which is sent - from itself in childWindowCloseRequest() right after a KMdiChildView.closeEvent() . - The reason for this event to itself is simple: It just wants to break the function call stack. - It continues the processing with calling closeWindow() . - You see, a close() is translated to a closeWindow() . - It is necessary that the main frame has to start an MDI view close action because it must - remove the MDI view from MDI control, additionally. - This method calls TQMainWindow.event , additionally. - @short Catches certain Qt events and processes it here. - */ - public native boolean event(TQEvent e); - /** - If there's a main menubar given, it will create the 4 maximize mode buttons there (undock, minimize, restore, close). - @short If there's a main menubar given, it will create the 4 maximize mode buttons there (undock, minimize, restore, close). - */ - public native void setSysButtonsAtMenuPosition(); - /** - Returns the height of the taskbar. - @short Returns the height of the taskbar. - */ - public native int taskBarHeight(); - /** - Sets an offset value that is used on detachWindow() . The undocked window - is visually moved on the desktop by this offset. - @short Sets an offset value that is used on detachWindow() . - */ - public native void setUndockPositioningOffset(TQPoint offset); - /** - If you don't want to know about the inner structure of the KMdi system, you can use - this iterator to handle with the MDI view list in a more abstract way. - The iterator hides what special data structure is used in KMdi. - @short If you don't want to know about the inner structure of the KMdi system, you can use this iterator to handle with the MDI view list in a more abstract way. - */ - // KMdiIterator<KMdiChildView*>* createIterator(); >>>> NOT CONVERTED - /** - Deletes an KMdiIterator created in the KMdi library (needed for the windows dll problem). - @short Deletes an KMdiIterator created in the KMdi library (needed for the windows dll problem). - */ - // void deleteIterator(KMdiIterator<KMdiChildView*>* arg1); >>>> NOT CONVERTED - /** - Returns a popup menu that contains the MDI controlled view list. - Additionally, this menu provides some placing actions for these views. - Usually, you insert this popup menu in your main menubar as "Window" menu. - @short Returns a popup menu that contains the MDI controlled view list. - */ - public native TQPopupMenu windowMenu(); - /** - Sets a background color for the MDI view area widget. - @short Sets a background color for the MDI view area widget. - */ - public native void setBackgroundColor(TQColor c); - /** - Sets a background pixmap for the MDI view area widget. - @short Sets a background pixmap for the MDI view area widget. - */ - public native void setBackgroundPixmap(TQPixmap pm); - /** - Sets a size that is used as the default size for a newly to the MDI system added KMdiChildView . - By default this size is 600x400. So all non-resized added MDI views appear in that size. - @short Sets a size that is used as the default size for a newly to the MDI system added KMdiChildView . - */ - public native void setDefaultChildFrmSize(TQSize sz); - /** - Returns the default size for a newly added KMdiChildView. See setDefaultChildFrmSize() . - @short Returns the default size for a newly added KMdiChildView. - */ - public native TQSize defaultChildFrmSize(); - /** - Do nothing when in Toplevel mode - @short Do nothing when in Toplevel mode - */ - public native void setMinimumSize(int minw, int minh); - /** - Returns the Childframe mode height of this. Makes only sense when in Toplevel mode. - @short Returns the Childframe mode height of this. - */ - public native int childFrameModeHeight(); - /** - Tells the MDI system a TQMenu where it can insert buttons for - the system menu, undock, minimize, restore actions. - If no such menu is given, KMdi simply overlays the buttons - at the upper right-hand side of the main widget. - @short Tells the MDI system a TQMenu where it can insert buttons for the system menu, undock, minimize, restore actions. - */ - public native void setMenuForSDIModeSysButtons(KMenuBar menuBar); - public native void setMenuForSDIModeSysButtons(); - /** - An SDI application user interface is faked: - - <li> - an opened view is always maximized - </li> - - <li> - buttons for maximized childframe mode aren't inserted in the main menubar - </li> - - <li> - taskbar and windowmenu are not created/updated - - </li> @short An SDI application user interface is faked: - */ - public native void fakeSDIApplication(); - /** - @return if we are faking an SDI application (fakeSDIApplication()) - - @short - */ - public native boolean isFakingSDIApplication(); - public native boolean eventFilter(TQObject arg1, TQEvent e); - // void findRootDockWidgets(TQPtrList<KDockWidget>* arg1,TQValueList<TQRect>* arg2); >>>> NOT CONVERTED - /** We're switching something. @short We're switching something. - */ - public native void setSwitching(boolean switching); - public native boolean switching(); - /** - addWindow demands a KMdiChildView. This method wraps every TQWidget in such an object and - this way you can put every widget under MDI control. - @short addWindow demands a KMdiChildView. - */ - public native KMdiChildView createWrapper(TQWidget view, String name, String shortName); - /** - Adds a KMdiChildView to the MDI system. The main frame takes control of it. - \param pWnd the parent view. - \param flags the flags for the view such as: - <li>whether</li> the view should be attached or detached. - <li>whether</li> the view should be shown or hidden - <li>whether</li> the view should be maximized, minimized or restored (normalized) - <li>whether</li> the view should be added as tool view (stay-on-top and toplevel) or added as document-type view. - @short Adds a KMdiChildView to the MDI system. - */ - public native void addWindow(KMdiChildView pWnd, int flags); - public native void addWindow(KMdiChildView pWnd); - /** - Adds a KMdiChildView to the MDI system. The main frame takes control of it. - \param pWnd the parent view. - \param flags - You can specify here whether: - <li>the</li> view should be attached or detached. - <li>shown</li> or hidden - <li>maximized</li>, minimized or restored (normalized) - <li>added</li> as tool view (stay-on-top and toplevel) or added as - document-type view. - \param index the index of the tab we should insert the new tab after. - If index == -1 then the tab will just be appended to the end. - Using this parameter in childview mode has no effect. - \since 3.3 - @short Adds a KMdiChildView to the MDI system. - */ - public native void addWindow(KMdiChildView pWnd, int flags, int index); - /** - Adds a KMdiChildView to the MDI system. The main frame takes control of it. - \param pWnd the parent view. - \param pos move the child view to the specified position - \param flags the flags for the view such as: - <li>whether</li> the view should be attached or detached. - <li>whether</li> the view should be shown or hidden - <li>whether</li> the view should be maximized, minimized or restored (normalized) - <li>whether</li> the view should be added as tool view (stay-on-top and toplevel) or - added as document-type view. - @short Adds a KMdiChildView to the MDI system. - */ - public native void addWindow(KMdiChildView pWnd, TQPoint pos, int flags); - public native void addWindow(KMdiChildView pWnd, TQPoint pos); - /** - Adds a KMdiChildView to the MDI system. The main frame takes control of it. - \param pWnd the parent view. - \param rectNormal Sets the geometry for this child view - \param flags the flags for the view such as: - <li>whether</li> the view should be attached or detached. - <li>whether</li> the view should be shown or hidden - <li>whether</li> the view should be maximized, minimized or restored (normalized) - <li>whether</li> the view should be added as tool view (stay-on-top and toplevel) or - added as document-type view. - @short Adds a KMdiChildView to the MDI system. - */ - public native void addWindow(KMdiChildView pWnd, TQRect rectNormal, int flags); - public native void addWindow(KMdiChildView pWnd, TQRect rectNormal); - /** - Usually called from addWindow() when adding a tool view window. It reparents the given widget - as toplevel and stay-on-top on the application's main widget. - @short Usually called from addWindow() when adding a tool view window. - */ - public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd, int percent, String tabToolTip, String tabCaption); - public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd, int percent, String tabToolTip); - public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd, int percent); - public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd); - public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos); - public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd); - public native void deleteToolWindow(TQWidget pWnd); - public native void deleteToolWindow(KMdiToolViewAccessor accessor); - /** - Using this method you have to use the setWidget method of the access object, and it is very recommendet, that you use - the widgetContainer() method for the parent of your newly created widget - @short Using this method you have to use the setWidget method of the access object, and it is very recommendet, that you use the widgetContainer() method for the parent of your newly created widget - */ - public native KMdiToolViewAccessor createToolWindow(); - /** - Removes a KMdiChildView from the MDI system and from the main frame`s control. - The caller is responsible for deleting the view. If the view is not deleted it will - be reparented to 0 - @short Removes a KMdiChildView from the MDI system and from the main frame`s control. - */ - public native void removeWindowFromMdi(KMdiChildView pWnd); - /** - Removes a KMdiChildView from the MDI system and from the main frame`s control. - Note: The view will be deleted! - @short Removes a KMdiChildView from the MDI system and from the main frame`s control. - */ - public native void closeWindow(KMdiChildView pWnd, boolean layoutTaskBar); - public native void closeWindow(KMdiChildView pWnd); - /** - Switches the KMdiTaskBar on and off. - @short Switches the KMdiTaskBar on and off. - */ - public native void slot_toggleTaskBar(); - /** - Makes a main frame controlled undocked KMdiChildView docked. - Doesn't work on KMdiChildView which aren't added to the MDI system. - Use addWindow() for that. - @short Makes a main frame controlled undocked KMdiChildView docked. - */ - public native void attachWindow(KMdiChildView pWnd, boolean bShow, boolean bAutomaticResize); - public native void attachWindow(KMdiChildView pWnd, boolean bShow); - public native void attachWindow(KMdiChildView pWnd); - /** - Makes a docked KMdiChildView undocked. - The view window still remains under the main frame's MDI control. - @short Makes a docked KMdiChildView undocked. - */ - public native void detachWindow(KMdiChildView pWnd, boolean bShow); - public native void detachWindow(KMdiChildView pWnd); - /** - Someone wants that the MDI view to be closed. This method sends a KMdiViewCloseEvent to itself - to break the function call stack. See also event() . - @short Someone wants that the MDI view to be closed. - */ - public native void childWindowCloseRequest(KMdiChildView pWnd); - /** - Close all views - @short Close all views - */ - public native void closeAllViews(); - /** - Iconfiy all views - @short Iconfiy all views - */ - public native void iconifyAllViews(); - /** - Closes the view of the active (topchild) window - @short Closes the view of the active (topchild) window - */ - public native void closeActiveView(); - /** - Undocks all view windows (unix-like) - @short Undocks all view windows (unix-like) - */ - public native void switchToToplevelMode(); - public native void finishToplevelMode(); - /** - Docks all view windows (Windows-like) - @short Docks all view windows (Windows-like) - */ - public native void switchToChildframeMode(); - public native void finishChildframeMode(); - /** - Docks all view windows (Windows-like) - @short Docks all view windows (Windows-like) - */ - public native void switchToTabPageMode(); - public native void finishTabPageMode(); - /** - Docks all view windows. Toolviews use dockcontainers - @short Docks all view windows. - */ - public native void switchToIDEAlMode(); - public native void finishIDEAlMode(boolean full); - public native void finishIDEAlMode(); - /** - Sets the appearance of the toolview tabs. - @param flags See KMdi.ToolviewStyle. - @short Sets the appearance of the toolview tabs. - */ - public native void setToolviewStyle(int flags); - /** - @return if the view taskbar should be shown if there are MDI views - - @short - */ - public native boolean isViewTaskBarOn(); - /** - Shows the view taskbar. This should be connected with your "View" menu. - @short Shows the view taskbar. - */ - public native void showViewTaskBar(); - /** - Hides the view taskbar. This should be connected with your "View" menu. - @short Hides the view taskbar. - */ - public native void hideViewTaskBar(); - /** - Update of the window menu contents. - @short Update of the window menu contents. - */ - public native void fillWindowMenu(); - /** - Cascades the windows without resizing them. - @short Cascades the windows without resizing them. - */ - public native void cascadeWindows(); - /** - Cascades the windows resizing them to the maximum available size. - @short Cascades the windows resizing them to the maximum available size. - */ - public native void cascadeMaximized(); - /** - Maximizes only in vertical direction. - @short Maximizes only in vertical direction. - */ - public native void expandVertical(); - /** - Maximizes only in horizontal direction. - @short Maximizes only in horizontal direction. - */ - public native void expandHorizontal(); - /** - Tile Pragma - @short Tile Pragma - */ - public native void tilePragma(); - /** - Tile Anodine - @short Tile Anodine - */ - public native void tileAnodine(); - /** - Tile Vertically - @short Tile Vertically - */ - public native void tileVertically(); - /** - If in Childframe mode, we can switch between maximized or restored shown MDI views - @short If in Childframe mode, we can switch between maximized or restored shown MDI views - */ - public native void setEnableMaximizedChildFrmMode(boolean bEnable); - /** - Activates the next open view - @short Activates the next open view - */ - public native void activateNextWin(); - /** - Activates the previous open view - @short Activates the previous open view - */ - public native void activatePrevWin(); - /** - Activates the view first viewed concerning to the access time. - @short Activates the view first viewed concerning to the access time. - */ - public native void activateFirstWin(); - /** - Activates the view last viewed concerning to the access time. - @short Activates the view last viewed concerning to the access time. - */ - public native void activateLastWin(); - /** - Activates the view with the tab page index (TabPage mode only) - @short Activates the view with the tab page index (TabPage mode only) - */ - public native void activateView(int index); - public native void prevToolViewInDock(); - public native void nextToolViewInDock(); - /** - @return the decoration of the window frame of docked (attached) MDI views - - @short - */ - public static native int frameDecorOfAttachedViews(); - protected native void resizeEvent(TQResizeEvent arg1); - /** - Creates a new MDI taskbar (showing the MDI views as taskbar entries) and shows it. - @short Creates a new MDI taskbar (showing the MDI views as taskbar entries) and shows it. - */ - protected native void createTaskBar(); - /** - Creates the MDI view area and connects some signals and slots with the KMdiMainFrm widget. - @short Creates the MDI view area and connects some signals and slots with the KMdiMainFrm widget. - */ - protected native void createMdiManager(); - /** - prevents fillWindowMenu() from m_pWindowMenu.clear(). You have to care for it by yourself. - This is useful if you want to add some actions in your overridden fillWindowMenu() method. - @short prevents fillWindowMenu() from m_pWindowMenu.clear(). - */ - protected native void blockClearingOfWindowMenu(boolean bBlocked); - // void findToolViewsDockedToMain(TQPtrList<KDockWidget>* arg1,KDockWidget::DockPosition arg2); >>>> NOT CONVERTED - // void dockToolViewsIntoContainers(TQPtrList<KDockWidget>& arg1,KDockWidget* arg2); >>>> NOT CONVERTED - protected native ArrayList prepareIdealToTabs(KDockWidget container); - protected native void idealToolViewsToStandardTabs(String[] widgetNames, int pos, int sizee); - /** Get tabwidget visibility @short Get tabwidget visibility - */ - protected native int tabWidgetVisibility(); - /** Set tabwidget visibility @short Set tabwidget visibility - */ - protected native void setTabWidgetVisibility(int arg1); - /** Returns the tabwidget used in IDEAl and Tabbed modes. Returns 0 in other modes. @short Returns the tabwidget used in IDEAl and Tabbed modes. - */ - protected native KTabWidget tabWidget(); - /** - Sets the focus to this MDI view, raises it, activates its taskbar button and updates - the system buttons in the main menubar when in maximized (Maximize mode). - @short Sets the focus to this MDI view, raises it, activates its taskbar button and updates the system buttons in the main menubar when in maximized (Maximize mode). - */ - protected native void activateView(KMdiChildView pWnd); - /** - Activates the MDI view (see activateView() ) and popups the taskBar popup menu (see taskBarPopup() ). - @short Activates the MDI view (see activateView() ) and popups the taskBar popup menu (see taskBarPopup() ). - */ - protected native void taskbarButtonRightClicked(KMdiChildView pWnd); - /** - Turns the system buttons for maximize mode (SDI mode) off, and disconnects them - @short Turns the system buttons for maximize mode (SDI mode) off, and disconnects them - */ - protected native void switchOffMaximizeModeForMenu(KMdiChildFrm oldChild); - /** - Reconnects the system buttons form maximize mode (SDI mode) with the new child frame - @short Reconnects the system buttons form maximize mode (SDI mode) with the new child frame - */ - protected native void updateSysButtonConnections(KMdiChildFrm oldChild, KMdiChildFrm newChild); - /** - Usually called when the user clicks an MDI view item in the "Window" menu. - @short Usually called when the user clicks an MDI view item in the "Window" menu. - */ - protected native void windowMenuItemActivated(int id); - /** - Usually called when the user clicks an MDI view item in the sub-popup menu "Docking" of the "Window" menu. - @short Usually called when the user clicks an MDI view item in the sub-popup menu "Docking" of the "Window" menu. - */ - protected native void dockMenuItemActivated(int id); - /** - Popups the "Window" menu. See also windowPopup() . - @short Popups the "Window" menu. - */ - protected native void popupWindowMenu(TQPoint p); - /** - The timer for main widget moving has elapsed . send drag end to all concerned views. - @short The timer for main widget moving has elapsed . send drag end to all concerned views. - */ - protected native void dragEndTimeOut(); - /** - internally used to handle click on view close button (TabPage mode, only) - @short internally used to handle click on view close button (TabPage mode, only) - */ - protected native void closeViewButtonPressed(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java b/kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java deleted file mode 100644 index 0b729117..00000000 --- a/kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPoint; -import org.kde.qt.TQSize; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KMdiMainFrmSignals { - /** - Signals the last attached KMdiChildView has been closed - @short Signals the last attached KMdiChildView has been closed - */ - void lastChildFrmClosed(); - /** - Signals the last KMdiChildView (that is under MDI control) has been closed - @short Signals the last KMdiChildView (that is under MDI control) has been closed - */ - void lastChildViewClosed(); - /** - Signals that the Toplevel mode has been left - @short Signals that the Toplevel mode has been left - */ - void leftTopLevelMode(); - /** - Signals that a child view has been detached (undocked to desktop) - @short Signals that a child view has been detached (undocked to desktop) - */ - void childViewIsDetachedNow(TQWidget arg1); - /** Signals we need to collapse the overlapped containers @short Signals we need to collapse the overlapped containers - */ - void collapseOverlapContainers(); - /** Signals the MDI mode has been changed @short Signals the MDI mode has been changed - */ - void mdiModeHasBeenChangedTo(int arg1); - void viewActivated(KMdiChildView arg1); - void viewDeactivated(KMdiChildView arg1); - void toggleTop(); - void toggleLeft(); - void toggleRight(); - void toggleBottom(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiTaskBar.java b/kdejava/koala/org/kde/koala/KMdiTaskBar.java deleted file mode 100644 index f4ed3612..00000000 --- a/kdejava/koala/org/kde/koala/KMdiTaskBar.java +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQResizeEvent; - -/** - - It's a special kind of TQToolBar that acts as taskbar for child views. - KMdiTaskBarButtons can be added or removed dynamically.<br> - The button sizes are adjusted dynamically, as well. - @short Internal class. - -*/ -public class KMdiTaskBar extends TDEToolBar { - protected KMdiTaskBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor (NoFocus, minimum width = 1, an internal TQPtrList of taskbar buttons (autodelete)) - @short Constructor (NoFocus, minimum width = 1, an internal TQPtrList of taskbar buttons (autodelete)) - */ - public KMdiTaskBar(KMdiMainFrm parent, int dock) { - super((Class) null); - newKMdiTaskBar(parent,dock); - } - private native void newKMdiTaskBar(KMdiMainFrm parent, int dock); - /** - Add a new KMdiTaskBarButton . The width doesn't change. - If there's not enough space, all taskbar buttons will be resized to a new smaller size. - Probably button texts must be abbreviated now. - @short Add a new KMdiTaskBarButton . - */ - public native KMdiTaskBarButton addWinButton(KMdiChildView win_ptr); - /** - Removes a KMdiTaskBarButton and deletes it. If the rest of the buttons are smaller - than they usually are, all those buttons will be resized in a way that the new free size is used as well. - @short Removes a KMdiTaskBarButton and deletes it. - */ - public native void removeWinButton(KMdiChildView win_ptr, boolean haveToLayoutTaskBar); - public native void removeWinButton(KMdiChildView win_ptr); - /** - Returns the neighbor taskbar button of the taskbar button of the MDI view given by parameter - bRight specifies the side, of course left is used if bRight is false. - @short Returns the neighbor taskbar button of the taskbar button of the MDI view given by parameter bRight specifies the side, of course left is used if bRight is false. - */ - public native KMdiTaskBarButton getNextWindowButton(boolean bRight, KMdiChildView win_ptr); - /** - Get the button belonging to the MDI view given as parameter. - @short Get the button belonging to the MDI view given as parameter. - */ - public native KMdiTaskBarButton getButton(KMdiChildView win_ptr); - /** - Switch it on or off. - @short Switch it on or off. - */ - public native void switchOn(boolean bOn); - /** - @return whether switched on or off. - - @short - */ - public native boolean isSwitchedOn(); - /** - Pushes the desired taskbar button down (switch on), the old one is released (switched off). - Actually it's a radiobutton group behavior. - @short Pushes the desired taskbar button down (switch on), the old one is released (switched off). - */ - public native void setActiveButton(KMdiChildView win_ptr); - /** - Reimplemented from its base class to call layoutTaskBar, additionally. - @short Reimplemented from its base class to call layoutTaskBar, additionally. - */ - protected native void resizeEvent(TQResizeEvent arg1); - /** - Checks if all buttons fits into this. If not, it recalculates all button widths - in a way that all buttons fits into the taskbar and have got equal width. - The text of the buttons will be abbreviated when nessecary, all buttons get a - fixed width and show() is called for each one. - If one drags the taskbar to a vertical orientation, the button width is set to 80 pixel. - @short Checks if all buttons fits into this. - */ - protected native void layoutTaskBar(int taskBarWidth); - protected native void layoutTaskBar(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java b/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java deleted file mode 100644 index 1566cf5e..00000000 --- a/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQPushButton; - -/** - - It's a special kind of TQPushButton catching mouse clicks. - And you have the ability to abbreviate the text that it fits in the button. - See {@link KMdiTaskBarButtonSignals} for signals emitted by KMdiTaskBarButton - @short Internal class. - -*/ -public class KMdiTaskBarButton extends TQPushButton { - protected KMdiTaskBarButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus - @short Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus - */ - public KMdiTaskBarButton(KMdiTaskBar pTaskBar, KMdiChildView win_ptr) { - super((Class) null); - newKMdiTaskBarButton(pTaskBar,win_ptr); - } - private native void newKMdiTaskBarButton(KMdiTaskBar pTaskBar, KMdiChildView win_ptr); - /** - text() returns the possibly abbreviated text including the dots in it. But actualText() returns the full text. - @short text() returns the possibly abbreviated text including the dots in it. - */ - public native String actualText(); - /** - Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text. - @short Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text. - */ - public native void fitText(String arg1, int newWidth); - /** - Sets the text and avoids any abbreviation. Memorizes that text in m_actualText, too. - @short Sets the text and avoids any abbreviation. - */ - public native void setText(String arg1); - /** - A slot version of setText - @short A slot version of setText - */ - public native void setNewText(String arg1); - /** - Reimplemented from its base class to catch right and left mouse button clicks - @short Reimplemented from its base class to catch right and left mouse button clicks - */ - protected native void mousePressEvent(TQMouseEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java b/kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java deleted file mode 100644 index 3760ef8f..00000000 --- a/kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; - -public interface KMdiTaskBarButtonSignals { - /** - Emitted when the button has been clicked. Internally connected to setFocus of the according MDI view. - @short Emitted when the button has been clicked. - */ - void clicked(KMdiChildView arg1); - /** - Internally connected with KMdiMainFrm.activateView - @short Internally connected with KMdiMainFrm.activateView - */ - void leftMouseButtonClicked(KMdiChildView arg1); - /** - Internally connected with KMdiMainFrm.taskbarButtonRightClicked - @short Internally connected with KMdiMainFrm.taskbarButtonRightClicked - */ - void rightMouseButtonClicked(KMdiChildView arg1); - /** - Emitted when the button text has changed. Internally connected with KMdiTaskBar.layoutTaskBar - @short Emitted when the button text has changed. - */ - void buttonTextChanged(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java b/kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java deleted file mode 100644 index c834464d..00000000 --- a/kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** -*/ -public class KMdiToolViewAccessor extends TQObject { - protected KMdiToolViewAccessor(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native TQWidget wrapperWidget(); - public native TQWidget wrappedWidget(); - public native void place(int pos, TQWidget pTargetWnd, int percent); - public native void place(int pos, TQWidget pTargetWnd); - public native void place(int pos); - public native void place(); - public native void placeAndShow(int pos, TQWidget pTargetWnd, int percent); - public native void placeAndShow(int pos, TQWidget pTargetWnd); - public native void placeAndShow(int pos); - public native void placeAndShow(); - public native void show(); - public native void setWidgetToWrap(TQWidget widgetToWrap, String tabToolTip, String tabCaption); - public native void setWidgetToWrap(TQWidget widgetToWrap, String tabToolTip); - public native void setWidgetToWrap(TQWidget widgetToWrap); - public native void hide(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java b/kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java deleted file mode 100644 index 2267193f..00000000 --- a/kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCustomEvent; - -/** - - This special event is needed because the view has to inform the main frame that it`s being closed. - @short Internal class. - -*/ -public class KMdiViewCloseEvent extends TQCustomEvent { - protected KMdiViewCloseEvent(Class dummy){super((Class) null);} - public KMdiViewCloseEvent(KMdiChildView pWnd) { - super((Class) null); - newKMdiViewCloseEvent(pWnd); - } - private native void newKMdiViewCloseEvent(KMdiChildView pWnd); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiWin32IconButton.java b/kdejava/koala/org/kde/koala/KMdiWin32IconButton.java deleted file mode 100644 index 78fa9397..00000000 --- a/kdejava/koala/org/kde/koala/KMdiWin32IconButton.java +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQLabel; - -/** - - See {@link KMdiWin32IconButtonSignals} for signals emitted by KMdiWin32IconButton - @short Internal class, only used on Win32. This class provides a label widget that can process mouse click events. - -*/ -public class KMdiWin32IconButton extends TQLabel { - protected KMdiWin32IconButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KMdiWin32IconButton(TQWidget parent, String name) { - super((Class) null); - newKMdiWin32IconButton(parent,name); - } - private native void newKMdiWin32IconButton(TQWidget parent, String name); - public KMdiWin32IconButton(TQWidget parent) { - super((Class) null); - newKMdiWin32IconButton(parent); - } - private native void newKMdiWin32IconButton(TQWidget parent); - public native void mousePressEvent(TQMouseEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java b/kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java deleted file mode 100644 index 0f1d22c4..00000000 --- a/kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; - -public interface KMdiWin32IconButtonSignals { - void pressed(); -} diff --git a/kdejava/koala/org/kde/koala/KMenuBar.java b/kdejava/koala/org/kde/koala/KMenuBar.java deleted file mode 100644 index a0dedf0d..00000000 --- a/kdejava/koala/org/kde/koala/KMenuBar.java +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQMenuBar; - -/** - - %KDE Style-able menubar. - This is required since TQMenuBar is currently not handled by - TQStyle. - @author Daniel "Mosfet" Duley. - - @version $Id$ - - @short %KDE Style-able menubar. - -*/ -public class KMenuBar extends TQMenuBar { - protected KMenuBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KMenuBar(TQWidget parent, String name) { - super((Class) null); - newKMenuBar(parent,name); - } - private native void newKMenuBar(TQWidget parent, String name); - public KMenuBar(TQWidget parent) { - super((Class) null); - newKMenuBar(parent); - } - private native void newKMenuBar(TQWidget parent); - public KMenuBar() { - super((Class) null); - newKMenuBar(); - } - private native void newKMenuBar(); - /** - This controls whether or not this menubar will be a top-level - bar similar to the way Macintosh handles menubars. This - overrides any global config settings. - Keep in mind that it is probably a really bad idea to use this - unless you really know what you're doing. A feature like a - top-level menubar is one that should really be shared by all - applications. If your app is the only one with a top-level - bar, then things might look very... odd. - This is included only for those people that <code>do</code> know that - they need to use it. - @param top_level If set to true, then this menubar will be a - top-level menu - @short This controls whether or not this menubar will be a top-level bar similar to the way Macintosh handles menubars. - */ - public native void setTopLevelMenu(boolean top_level); - public native void setTopLevelMenu(); - /** - Is our menubar a top-level (Macintosh style) menubar? - @return True if it is top-level. - - @short Is our menubar a top-level (Macintosh style) menubar? - */ - public native boolean isTopLevelMenu(); - public native void setGeometry(TQRect r); - public native void setGeometry(int x, int y, int w, int h); - public native void resize(int w, int h); - public native void resize(TQSize s); - public native void show(); - public native void setFrameStyle(int arg1); - public native void setLineWidth(int arg1); - public native void setMargin(int arg1); - public native TQSize sizeHint(); - public native void showEvent(TQShowEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - protected native void closeEvent(TQCloseEvent arg1); - protected native void drawContents(TQPainter arg1); - protected native void slotReadConfig(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMessageBox.java b/kdejava/koala/org/kde/koala/KMessageBox.java deleted file mode 100644 index 55e5da0b..00000000 --- a/kdejava/koala/org/kde/koala/KMessageBox.java +++ /dev/null @@ -1,944 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; - -/** - - Easy message dialog box. - Provides convenience functions for some i18n'ed standard dialogs. - The text in message boxes is wrapped automatically. The text may either - be plaintext or richtext. If the text is plaintext, a newline-character - may be used to indicate the end of a paragraph. - @author Waldo Bastian (bastian@kde.org) - - @short Easy message dialog box. - -*/ -public class KMessageBox implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KMessageBox(Class dummy){} - - /** - Button types. - @short Button types. - */ - public static final int Ok = 1; - public static final int Cancel = 2; - public static final int Yes = 3; - public static final int No = 4; - public static final int Continue = 5; - - public static final int QuestionYesNo = 1; - public static final int WarningYesNo = 2; - public static final int WarningContinueCancel = 3; - public static final int WarningYesNoCancel = 4; - public static final int Information = 5; - public static final int Sorry = 7; - public static final int Error = 8; - public static final int QuestionYesNoCancel = 9; - - public static final int Notify = 1; - public static final int AllowLink = 2; - public static final int Dangerous = 4; - public static final int PlainCaption = 8; - public static final int NoExec = 16; - - public KMessageBox() { - newKMessageBox(); - } - private native void newKMessageBox(); - /** - Display a simple "question" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Question"). - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontAskAgainName If provided, a checkbox is added with which - further confirmation can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - To be used for questions like "Do you have a printer?" - The default button is "Yes". Pressing "Esc" selects "No". - @return 'Yes' is returned if the Yes-button is pressed. 'No' is returned - if the No-button is pressed. - - @short Display a simple "question" dialog. - */ - public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNo(TQWidget parent, String text, String caption); - public static native int questionYesNo(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNoWId(long parent_id, String text, String caption); - public static native int questionYesNoWId(long parent_id, String text); - /** - Display a simple "question" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Question"). - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontAskAgainName If provided, a checkbox is added with which - further confirmation can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - To be used for questions like "Do you want to discard the message or save it for later?", - The default button is "Yes". Pressing "Esc" selects "Cancel". - NOTE: The cancel button will always have the i18n'ed text '&Cancel'. - @return 'Yes' is returned if the Yes-button is pressed. 'No' is returned - if the No-button is pressed. - - @short Display a simple "question" dialog. - */ - public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNoCancel(TQWidget parent, String text, String caption); - public static native int questionYesNoCancel(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNoCancelWId(long parent_id, String text, String caption); - public static native int questionYesNoCancelWId(long parent_id, String text); - /** - Display a "question" dialog with a listbox to show information to the user - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param strlist List of strings to be written in the listbox. If the list is - empty, it doesn't show any listbox, working as questionYesNo. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Question"). - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontAskAgainName If provided, a checkbox is added with which - further confirmation can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - To be used for questions like "Do you really want to delete these files?" - And show the user exactly which files are going to be deleted in case - he presses "Yes" - The default button is "Yes". Pressing "Esc" selects "No". - @return 'Yes' is returned if the Yes-button is pressed. 'No' is returned - if the No-button is pressed. - - @short Display a "question" dialog with a listbox to show information to the user - */ - public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption); - public static native int questionYesNoList(TQWidget parent, String text, String[] strlist); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption); - public static native int questionYesNoListWId(long parent_id, String text, String[] strlist); - /** - Display a "warning" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Warning"). - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontAskAgainName If provided, a checkbox is added with which - further confirmation can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - To be used for questions "Shall I update your configuration?" - The text should explain the implication of both options. - The default button is "No". Pressing "Esc" selects "No". - @return <code>Yes</code> is returned if the Yes-button is pressed. <code>No</code> is returned - if the No-button is pressed. - - @short Display a "warning" dialog. - */ - public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNo(TQWidget parent, String text, String caption); - public static native int warningYesNo(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNoWId(long parent_id, String text, String caption); - public static native int warningYesNoWId(long parent_id, String text); - /** - Display a "warning" dialog with a listbox to show information to the user - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param strlist List of strings to be written in the listbox. If the list is - empty, it doesn't show any listbox, working as questionYesNo. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Question"). - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontAskAgainName If provided, a checkbox is added with which - further confirmation can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - To be used for questions like "Do you really want to delete these files?" - And show the user exactly which files are going to be deleted in case - he presses "Yes" - The default button is "No". Pressing "Esc" selects "No". - @return 'Yes' is returned if the Yes-button is pressed. 'No' is returned - if the No-button is pressed. - - @short Display a "warning" dialog with a listbox to show information to the user - */ - public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption); - public static native int warningYesNoList(TQWidget parent, String text, String[] strlist); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption); - public static native int warningYesNoListWId(long parent_id, String text, String[] strlist); - /** - Display a "warning" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Warning"). - @param buttonContinue The text for the first button. - @param dontAskAgainName If provided, a checkbox is added with which - further confirmation can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - The second button always has the text "Cancel". - To be used for questions like "You are about to Print. Are you sure?" - the continueButton should then be labeled "Print". - The default button is buttonContinue. Pressing "Esc" selects "Cancel". - @return <code>Continue</code> is returned if the Continue-button is pressed. - <code>Cancel</code> is returned if the Cancel-button is pressed. - - @short Display a "warning" dialog. - */ - public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancel(TQWidget parent, String text, String caption); - public static native int warningContinueCancel(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int warningContinueCancelWId(long parent_id, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancelWId(long parent_id, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancelWId(long parent_id, String text, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancelWId(long parent_id, String text, String caption); - public static native int warningContinueCancelWId(long parent_id, String text); - /** - Display a "warning" dialog with a listbox to show information to the user. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param strlist List of strings to be written in the listbox. If the - list is empty, it doesn't show any listbox, working - as warningContinueCancel. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Warning"). - @param buttonContinue The text for the first button. - @param dontAskAgainName If provided, a checkbox is added with which - further confirmation can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - The second button always has the text "Cancel". - To be used for questions like "You are about to Print. Are you sure?" - the continueButton should then be labeled "Print". - The default button is buttonContinue. Pressing "Esc" selects "Cancel". - @return <code>Continue</code> is returned if the Continue-button is pressed. - <code>Cancel</code> is returned if the Cancel-button is pressed. - - @short Display a "warning" dialog with a listbox to show information to the user. - */ - public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption); - public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption); - public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist); - /** - Display a Yes/No/Cancel "warning" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Warning"). - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontAskAgainName If provided, a checkbox is added with which - further questions can be turned off. If turned off - all questions will be automatically answered with the - last answer (either Yes or No). - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - To be used for questions "Do you want to save your changes?" - The text should explain the implication of choosing 'No'. - The default button is "Yes". Pressing "Esc" selects "Cancel" - NOTE: The cancel button will always have the i18n'ed text '&Cancel'. - @return <code>Yes</code> is returned if the Yes-button is pressed. <code>No</code> is returned - if the No-button is pressed. <code>Cancel</code> is retunred if the Cancel- - button is pressed. - - @short Display a Yes/No/Cancel "warning" dialog. - */ - public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancel(TQWidget parent, String text, String caption); - public static native int warningYesNoCancel(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancelWId(long parent_id, String text, String caption); - public static native int warningYesNoCancelWId(long parent_id, String text); - /** - Display a Yes/No/Cancel "warning" dialog with a listbox to show information - to the user. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param strlist List of strings to be written in the listbox. If the - list is empty, it doesn't show any listbox, working - as warningYesNoCancel. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Warning"). - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontAskAgainName If provided, a checkbox is added with which - further questions can be turned off. If turned off - all questions will be automatically answered with the - last answer (either Yes or No). - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - If <code>dontAskAgainName</code> starts with a ':' then the setting - is stored in the global config file. - @param options see OptionsType - To be used for questions "Do you want to save your changes?" - The text should explain the implication of choosing 'No'. - The default button is "Yes". Pressing "Esc" selects "Cancel" - NOTE: The cancel button will always have the i18n'ed text '&Cancel'. - @return <code>Yes</code> is returned if the Yes-button is pressed. <code>No</code> is returned - if the No-button is pressed. <code>Cancel</code> is retunred if the Cancel- - button is pressed. - - @short Display a Yes/No/Cancel "warning" dialog with a listbox to show information to the user. - */ - public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption); - public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption); - public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist); - /** - Display an "Error" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Error"). - @param options see OptionsType - Your program messed up and now it's time to inform the user. - To be used for important things like "Sorry, I deleted your hard disk." - If your program detects the action specified by the user is somehow - not allowed, this should never be reported with error(). Use sorry() - instead to explain to the user that this action is not allowed. - The default button is "&OK". Pressing "Esc" selects the OK-button. - NOTE: The OK button will always have the i18n'ed text '&OK'. - @short Display an "Error" dialog. - */ - public static native void error(TQWidget parent, String text, String caption, int options); - public static native void error(TQWidget parent, String text, String caption); - public static native void error(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void errorWId(long parent_id, String text, String caption, int options); - public static native void errorWId(long parent_id, String text, String caption); - public static native void errorWId(long parent_id, String text); - /** - Display an "Error" dialog with a listbox. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param strlist List of strings to be written in the listbox. If the - list is empty, it doesn't show any listbox, working - as error(). - @param caption Message box title. The application name is added to - the title. The default title is i18n("Error"). - @param options see OptionsType - Your program messed up and now it's time to inform the user. - To be used for important things like "Sorry, I deleted your hard disk." - If your program detects the action specified by the user is somehow - not allowed, this should never be reported with error(). Use sorry() - instead to explain to the user that this action is not allowed. - The default button is "&OK". Pressing "Esc" selects the OK-button. - NOTE: The OK button will always have the i18n'ed text '&OK'. - @short Display an "Error" dialog with a listbox. - */ - public static native void errorList(TQWidget parent, String text, String[] strlist, String caption, int options); - public static native void errorList(TQWidget parent, String text, String[] strlist, String caption); - public static native void errorList(TQWidget parent, String text, String[] strlist); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void errorListWId(long parent_id, String text, String[] strlist, String caption, int options); - public static native void errorListWId(long parent_id, String text, String[] strlist, String caption); - public static native void errorListWId(long parent_id, String text, String[] strlist); - /** - Displays an "Error" dialog with a "Details >>" button. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param details Detailed message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Error"). - @param options see OptionsType - Your program messed up and now it's time to inform the user. - To be used for important things like "Sorry, I deleted your hard disk." - The <code>details</code> message can conatin additional information about - the problem and can be shown on request to advanced/interested users. - If your program detects the action specified by the user is somehow - not allowed, this should never be reported with error(). Use sorry() - instead to explain to the user that this action is not allowed. - The default button is "&OK". Pressing "Esc" selects the OK-button. - NOTE: The OK button will always have the i18n'ed text '&OK'. - @short Displays an "Error" dialog with a "Details >>" button. - */ - public static native void detailedError(TQWidget parent, String text, String details, String caption, int options); - public static native void detailedError(TQWidget parent, String text, String details, String caption); - public static native void detailedError(TQWidget parent, String text, String details); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void detailedErrorWId(long parent_id, String text, String details, String caption, int options); - public static native void detailedErrorWId(long parent_id, String text, String details, String caption); - public static native void detailedErrorWId(long parent_id, String text, String details); - /** - Like detailedError - This function will return immediately, the messagebox will be shown - once the application enters an event loop and no other messagebox - is being shown. - Note that if the parent gets deleted, the messagebox will not be - shown. - @short Like detailedError - */ - public static native void queuedDetailedError(TQWidget parent, String text, String details, String caption); - public static native void queuedDetailedError(TQWidget parent, String text, String details); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void queuedDetailedErrorWId(long parent_id, String text, String details, String caption); - public static native void queuedDetailedErrorWId(long parent_id, String text, String details); - /** - Display an "Sorry" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Sorry"). - @param options see OptionsType - Either your program messed up and asks for understanding - or your user did something stupid. - To be used for small problems like - "Sorry, I can't find the file you specified." - The default button is "&OK". Pressing "Esc" selects the OK-button. - NOTE: The ok button will always have the i18n'ed text '&OK'. - @short Display an "Sorry" dialog. - */ - public static native void sorry(TQWidget parent, String text, String caption, int options); - public static native void sorry(TQWidget parent, String text, String caption); - public static native void sorry(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void sorryWId(long parent_id, String text, String caption, int options); - public static native void sorryWId(long parent_id, String text, String caption); - public static native void sorryWId(long parent_id, String text); - /** - Displays a "Sorry" dialog with a "Details >>" button. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param details Detailed message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Sorry"). - @param options see OptionsType - Either your program messed up and asks for understanding - or your user did something stupid. - To be used for small problems like - "Sorry, I can't find the file you specified." - And then <code>details</code> can contain something like - "foobar.txt was not found in any of - the following directories: - /usr/bin,/usr/local/bin,/usr/sbin" - The default button is "&OK". Pressing "Esc" selects the OK-button. - NOTE: The ok button will always have the i18n'ed text '&OK'. - @short Displays a "Sorry" dialog with a "Details >>" button. - */ - public static native void detailedSorry(TQWidget parent, String text, String details, String caption, int options); - public static native void detailedSorry(TQWidget parent, String text, String details, String caption); - public static native void detailedSorry(TQWidget parent, String text, String details); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void detailedSorryWId(long parent_id, String text, String details, String caption, int options); - public static native void detailedSorryWId(long parent_id, String text, String details, String caption); - public static native void detailedSorryWId(long parent_id, String text, String details); - /** - Display an "Information" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Information"). - @param dontShowAgainName If provided, a checkbox is added with which - further notifications can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - @param options see OptionsType - Your program wants to tell the user something. - To be used for things like: - "Your bookmarks have been rearranged." - The default button is "&OK". Pressing "Esc" selects the OK-button. - NOTE: The OK button will always have the i18n'ed text '&OK'. - @short Display an "Information" dialog. - */ - public static native void information(TQWidget parent, String text, String caption, String dontShowAgainName, int options); - public static native void information(TQWidget parent, String text, String caption, String dontShowAgainName); - public static native void information(TQWidget parent, String text, String caption); - public static native void information(TQWidget parent, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void informationWId(long parent_id, String text, String caption, String dontShowAgainName, int options); - public static native void informationWId(long parent_id, String text, String caption, String dontShowAgainName); - public static native void informationWId(long parent_id, String text, String caption); - public static native void informationWId(long parent_id, String text); - /** - Display an "Information" dialog with a listbox. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param strlist List of strings to be written in the listbox. If the - list is empty, it doesn't show any listbox, working - as information. - @param caption Message box title. The application name is added to - the title. The default title is i18n("Information"). - @param dontShowAgainName If provided, a checkbox is added with which - further notifications can be turned off. - The string is used to lookup and store the setting - in the applications config file. - The setting is stored in the "Notification Messages" group. - @param options see OptionsType - Your program wants to tell the user something. - To be used for things like: - "The following bookmarks have been rearranged:" - The default button is "&OK". Pressing "Esc" selects the OK-button. - NOTE: The OK button will always have the i18n'ed text '&OK'. - @short Display an "Information" dialog with a listbox. - */ - public static native void informationList(TQWidget parent, String text, String[] strlist, String caption, String dontShowAgainName, int options); - public static native void informationList(TQWidget parent, String text, String[] strlist, String caption, String dontShowAgainName); - public static native void informationList(TQWidget parent, String text, String[] strlist, String caption); - public static native void informationList(TQWidget parent, String text, String[] strlist); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void informationListWId(long parent_id, String text, String[] strlist, String caption, String dontShowAgainName, int options); - public static native void informationListWId(long parent_id, String text, String[] strlist, String caption, String dontShowAgainName); - public static native void informationListWId(long parent_id, String text, String[] strlist, String caption); - public static native void informationListWId(long parent_id, String text, String[] strlist); - /** - Enable all messages which have been turned off with the - <code>dontShowAgainName</code> feature. - @short Enable all messages which have been turned off with the <code>dontShowAgainName</code> feature. - */ - public static native void enableAllMessages(); - /** - Re-enable a specific <code>dontShowAgainName</code> messages that had - previously been turned off. - @short Re-enable a specific <code>dontShowAgainName</code> messages that had previously been turned off. - @see #saveDontShowAgainYesNo - @see #saveDontShowAgainContinue - */ - public static native void enableMessage(String dontShowAgainName); - /** - Display an "About" dialog. - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param text Message string. - @param caption Message box title. The application name is added to - the title. The default title is i18n("About \<appname\>"). - @param options see OptionsType - Your program wants to show some general information about the application - like the authors's names and email addresses. - The default button is "&OK". - NOTE: The ok button will always have the i18n'ed text '&OK'. - @short Display an "About" dialog. - */ - public static native void about(TQWidget parent, String text, String caption, int options); - public static native void about(TQWidget parent, String text, String caption); - public static native void about(TQWidget parent, String text); - /** - Alternate method to show a messagebox: - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param type type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... - @param text Message string. - @param caption Message box title. - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param dontShowAskAgainName If provided, a checkbox is added with which - further questions/informations can be turned off. If turned off - all questions will be automatically answered with the - last answer (either Yes or No), if the message box needs an answer. - The string is used to lookup and store the setting - in the applications config file. - @param options see OptionsType - Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. - and for Information, none is used. - @return a button code, as defined in KMessageBox. - - @short Alternate method to show a messagebox: - */ - public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); - public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); - /** - Alternate method to show a messagebox: - @param parent If <code>parent</code> is 0, then the message box becomes an - application-global modal dialog box. If <code>parent</code> is a - widget, the message box becomes modal relative to parent. - @param type type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... - @param text Message string. - @param caption Message box title. - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - @param options see OptionsType - Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. - and for Information, none is used. - @return a button code, as defined in KMessageBox. - - @short Alternate method to show a messagebox: - */ - public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, int options); - public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes); - public static native int messageBox(TQWidget parent, int type, String text, String caption); - public static native int messageBox(TQWidget parent, int type, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); - public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); - public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes); - public static native int messageBoxWId(long parent_id, int type, String text, String caption); - public static native int messageBoxWId(long parent_id, int type, String text); - /** - Like messageBox - Only for message boxes of type Information, Sorry or Error. - This function will return immediately, the messagebox will be shown - once the application enters an event loop and no other messagebox - is being shown. - Note that if the parent gets deleted, the messagebox will not be - shown. - @short Like messageBox - */ - public static native void queuedMessageBox(TQWidget parent, int type, String text, String caption, int options); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void queuedMessageBoxWId(long parent_id, int type, String text, String caption, int options); - /** - @overload - This is an overloaded member function, provided for convenience. - It behaves essentially like the above function. - @short @overload - */ - public static native void queuedMessageBox(TQWidget parent, int type, String text, String caption); - public static native void queuedMessageBox(TQWidget parent, int type, String text); - /** - This function accepts the window id of the parent window, instead - of TQWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of TQWidget . - */ - public static native void queuedMessageBoxWId(long parent_id, int type, String text, String caption); - public static native void queuedMessageBoxWId(long parent_id, int type, String text); - /** - @param dontShowAgainName the name that identify the message box. If - empty, true is always returned. - @param result is set to the result (Yes or No) that was chosen the last - time the message box was shown. Only meaningful, if the message box - should not be shown. - @return true if the corresponding yes/no message box should be shown. - - @short - */ - public static native boolean shouldBeShownYesNo(String dontShowAgainName, int result); - /** - @param dontShowAgainName the name that identify the message box. If - empty, true is always returned. - @return true if the corresponding continue/cancel message box should be - shown. - - @short - */ - public static native boolean shouldBeShownContinue(String dontShowAgainName); - /** - Save the fact that the yes/no message box should not be shown again. - @param dontShowAgainName the name that identify the message box. If - empty, this method does nothing. - @param result the value (Yes or No) that should be used as the result - for the message box. - @short Save the fact that the yes/no message box should not be shown again. - */ - public static native void saveDontShowAgainYesNo(String dontShowAgainName, int result); - /** - Save the fact that the continue/cancel message box should not be shown - again. - @param dontShowAgainName the name that identify the message box. If - empty, this method does nothing. - @short Save the fact that the continue/cancel message box should not be shown again. - */ - public static native void saveDontShowAgainContinue(String dontShowAgainName); - /** - Use <code>cfg</code> for all settings related to the dontShowAgainName feature. - If <code>cfg</code> is 0 (default) TDEGlobal.config() will be used. - @short Use <code>cfg</code> for all settings related to the dontShowAgainName feature. - */ - public static native void setDontShowAskAgainConfig(TDEConfig cfg); - /** - Create content and layout of a standard dialog - @param dialog The parent dialog base - @param icon Which predefined icon the message box shall show. - @param text Message string. - @param strlist List of strings to be written in the listbox. - If the list is empty, it doesn't show any listbox - @param ask The text of the checkbox. If empty none will be shown. - @param checkboxReturn The result of the checkbox. If it's initially - true then the checkbox will be checked by default. - @param options see OptionsType - @param details Detailed message string. - @return A KDialogBase button code, not a KMessageBox button code, - based on the buttonmask given to the constructor of the - <code>dialog</code> (ie. will return KDialogBase.Yes [256] instead of - KMessageBox.Yes [3]). Will return KMessageBox.Cancel - if the message box is queued for display instead of - exec()ed immediately or if the option NoExec is set. - @note The <code>dialog</code> that is passed in is deleted by this - function. Do not delete it yourself. - - @short Create content and layout of a standard dialog - */ - public static native int createKMessageBox(KDialogBase dialog, int icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details); - public static native int createKMessageBox(KDialogBase dialog, int icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options); - /** - Create content and layout of a standard dialog - @param dialog The parent dialog base - @param icon A TQPixmap containing the icon to be displayed in the - dialog next to the text. - @param text Message string. - @param strlist List of strings to be written in the listbox. - If the list is empty, it doesn't show any listbox - @param ask The text of the checkbox. If empty none will be shown. - @param checkboxReturn The result of the checkbox. If it's initially - true then the checkbox will be checked by default. - @param options see OptionsType - @param details Detailed message string. - @param notifyType The type of notification to send when this message - is presentend. - @return A KDialogBase button code, not a KMessageBox button code, - based on the buttonmask given to the constructor of the - <code>dialog</code> (ie. will return KDialogBase.Yes [256] instead of - KMessageBox.Yes [3]). Will return KMessageBox.Cancel - if the message box is queued for display instead of - exec()ed immediately or if the option NoExec is set. - @note The <code>dialog</code> that is passed in is deleted by this - function. Do not delete it yourself. - - @short Create content and layout of a standard dialog - */ - public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details, int notifyType); - public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details); - public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMimeMagic.java b/kdejava/koala/org/kde/koala/KMimeMagic.java deleted file mode 100644 index b3408dc9..00000000 --- a/kdejava/koala/org/kde/koala/KMimeMagic.java +++ /dev/null @@ -1,131 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - May be removed in KDE 4.0. - Determine auto-magically the type of file, - not only by using its extension, but also by reading its contents. - Unless specified otherwise, KMimeMagic uses - $TDEDIR/share/mimelnk/magic for this purpose. - To make KMimeMagic restore the 'atime' of a file after it opened it, - add its directory in kmimemagicrc like: - [Settings] - atimeDirs=/tmp,/var/tmp,/home/dfaure/tmp - This isn't done by default because it changes the 'ctime'. - See kmimemagic.cpp for a full discussion on this issue. - The basic usage of KMimeMagic is : - - <li> - Get a pointer to it, using KMimeMagic.self(). - </li> - - <li> - Use it for any file or buffer you want, using one of the three - <code>find...Type</code>() methods. - </li> - The result is contained in the class KMimeMagicResult. - @short - -*/ -public class KMimeMagic implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KMimeMagic(Class dummy){} - - /** - Create a parser and initialize it with the KDE-global data: - the "magic" config file as well as the snippets from share/config/magic. - @short Create a parser and initialize it with the KDE-global data: the "magic" config file as well as the snippets from share/config/magic. - */ - public KMimeMagic() { - newKMimeMagic(); - } - private native void newKMimeMagic(); - /** - Create a parser and initialize it with the given config file. - @short Create a parser and initialize it with the given config file. - */ - public KMimeMagic(String configFile) { - newKMimeMagic(configFile); - } - private native void newKMimeMagic(String configFile); - /** - Merge an existing parse table with the data from the - given file. - @return <code>true</code> on success. - - @short Merge an existing parse table with the data from the given file. - */ - public native boolean mergeConfig(String configFile); - /** - Merge an existing parse table with the data from the - given buffer. - @return <code>true</code> on success. - - @short Merge an existing parse table with the data from the given buffer. - */ - public native boolean mergeBufConfig(String arg1); - /** - Enable/Disable follow-links. - (Default is disabled.) - @short Enable/Disable follow-links. - */ - public native void setFollowLinks(boolean _enable); - /** - Try to find a MimeType for the given file. - If no special - MimeType is found, the default MimeType is returned. - This function looks at the content of the file. - @return A pointer to the result object. Do @em not delete the - result object. After another call to KMimeMagic - the returned result object changes its value - since it is reused by KMimeMagic. - - @short Try to find a MimeType for the given file. - */ - public native KMimeMagicResult findFileType(String _filename); - /** - Same functionality as above, except data is not - read from a file. - Instead a buffer can be supplied which - is examined. - @return A pointer to the result object. Do @em not delete the - result object. After another call to KMimeMagic - the returned result object changes its value - since it is reused by KMimeMagic. - - @short Same functionality as above, except data is not read from a file. - */ - public native KMimeMagicResult findBufferType(byte[] p); - /** - Same functionality as findBufferType() but with - additional capability of distinguishing between - C-headers and C-Source. - For this purpose this function looks - at the extension of the filename. This means that 'filename' - can be a filename on some FTP server, too. - @return A pointer to the result object. Do @em not delete the - result object. After another call to KMimeMagic - the returned result object changes its value - since it is reused by KMimeMagic. - - @short Same functionality as findBufferType() but with additional capability of distinguishing between C-headers and C-Source. - */ - public native KMimeMagicResult findBufferFileType(byte[] arg1, String filename); - /** - Returns a pointer to the unique KMimeMagic instance in this process. - @short Returns a pointer to the unique KMimeMagic instance in this process. - */ - public static native KMimeMagic self(); - protected static native void initStatic(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMimeMagicResult.java b/kdejava/koala/org/kde/koala/KMimeMagicResult.java deleted file mode 100644 index 597794e3..00000000 --- a/kdejava/koala/org/kde/koala/KMimeMagicResult.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - May be removed in KDE 4.0. - Returned by KMimeMagic <code>find...Type</code> methods. - It contains the mimetype and the encoding of - the file or buffer read. - @short - -*/ -public class KMimeMagicResult implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KMimeMagicResult(Class dummy){} - - public KMimeMagicResult() { - newKMimeMagicResult(); - } - private native void newKMimeMagicResult(); - /** - Retrieve the mimetype (e.g. "text/html") of the file or buffer parsed. - @short Retrieve the mimetype (e. - */ - public native String mimeType(); - /** - Retrieve the accuracy of the matching. - @short Retrieve the accuracy of the matching. - */ - public native int accuracy(); - /** - Returns whether the result is valid (i.e. mimetype not empty). - @short Returns whether the result is valid (i. - */ - public native boolean isValid(); - public native void setMimeType(String _mime); - public native void setAccuracy(int _accuracy); - public native void setInvalid(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMimeSourceFactory.java b/kdejava/koala/org/kde/koala/KMimeSourceFactory.java deleted file mode 100644 index 5c000dbb..00000000 --- a/kdejava/koala/org/kde/koala/KMimeSourceFactory.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMimeSourceFactory; - -/** - - An extension to TQMimeSourceFactory that uses TDEIconLoader to - find images. - Normally you don't have to instantiate this class at all, TDEApplication does that for - you automagically and sets TQMimeSourceFactory.setDefaultFactory(). - @author Peter Putzer <putzer@kde.org> - - @short An extension to TQMimeSourceFactory that uses TDEIconLoader to find images. - -*/ -public class KMimeSourceFactory extends TQMimeSourceFactory { - protected KMimeSourceFactory(Class dummy){super((Class) null);} - /** - Constructor. - @param loader is the iconloader used to find images. - @short Constructor. - */ - public KMimeSourceFactory(TDEIconLoader loader) { - super((Class) null); - newKMimeSourceFactory(loader); - } - private native void newKMimeSourceFactory(TDEIconLoader loader); - public KMimeSourceFactory() { - super((Class) null); - newKMimeSourceFactory(); - } - private native void newKMimeSourceFactory(); - /** - This function is maps an absolute or relative name for a resource to - the absolute one. - To load an icon, prepend the <code>category</code> name before the <code>icon</code> name, in the style - of \<category>|\<icon>. - Example: - <pre> "<img src=\"user|ksysv_start\"/>", "<img src="\desktop|trash\">", ... - </pre> - @param abs_or_rel_name is the absolute or relative pathname. - @param context is the path of the context object for the queried resource. Almost always empty. - @short This function is maps an absolute or relative name for a resource to the absolute one. - */ - public native String makeAbsolute(String abs_or_rel_name, String context); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMimeType.java b/kdejava/koala/org/kde/koala/KMimeType.java deleted file mode 100644 index bc2b26d8..00000000 --- a/kdejava/koala/org/kde/koala/KMimeType.java +++ /dev/null @@ -1,439 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; -import org.kde.qt.TQVariant; - -/** - - Represent a mime type, like "text/plain", and the data that is associated - with it. - The starting point you need is often the static methods. - KMimeType inherits KServiceType because "text/plain" can be used to find - services (apps and components) "which can open text/plain". - @short Represent a mime type, like "text/plain", and the data that is associated with it. - @see KServiceType - -*/ -public class KMimeType extends KServiceType { - protected KMimeType(Class dummy){super((Class) null);} - /** - Constructor. - You may pass in arguments to create a mimetype with - specific properties. - @param _fullpath the path to the configuration file (.desktop) - @param _type the mime type itself - @param _icon the name of the icon that represens the mime type - @param _comment a comment describing the mime type - @param _patterns a list of file globs that describes the names (or - extensions) of the files with this mime type - @short Constructor. - */ - public KMimeType(String _fullpath, String _type, String _icon, String _comment, String[] _patterns) { - super((Class) null); - newKMimeType(_fullpath,_type,_icon,_comment,_patterns); - } - private native void newKMimeType(String _fullpath, String _type, String _icon, String _comment, String[] _patterns); - /** - Construct a mimetype and take all information from a config file. - @param _fullpath the path to the configuration file (.desktop) - @short Construct a mimetype and take all information from a config file. - */ - public KMimeType(String _fullpath) { - super((Class) null); - newKMimeType(_fullpath); - } - private native void newKMimeType(String _fullpath); - /** - Construct a mimetype and take all information from a desktop file. - @param config the desktop configuration file that describes the mime type - @short Construct a mimetype and take all information from a desktop file. - */ - public KMimeType(KDesktopFile config) { - super((Class) null); - newKMimeType(config); - } - private native void newKMimeType(KDesktopFile config); - /** - The stream must already be positionned at the correct offset - @short - */ - public KMimeType(TQDataStream _str, int offset) { - super((Class) null); - newKMimeType(_str,offset); - } - private native void newKMimeType(TQDataStream _str, int offset); - /** - Return the filename of the icon associated with the mimetype. - The arguments are unused, but provided so that KMimeType-derived classes - can use them (e.g. KFolderType uses the URL to return one out of 2 icons) - @return The path to the icon associated with this MIME type. - - @short Return the filename of the icon associated with the mimetype. - */ - public native String icon(String arg1, boolean arg2); - /** - Return the filename of the icon associated with the mimetype. - The arguments are unused, but provided so that KMimeType-derived classes - can use them (e.g. KFolderType uses the URL to return one out of 2 icons) - @return The path to the icon associated with this MIME type. - - @short Return the filename of the icon associated with the mimetype. - */ - public native String icon(KURL arg1, boolean arg2); - /** - Use this function only if you don't have a special URL - for which you search a pixmap. - This function is useful to find - out, which icon is usually chosen for a certain mime type. Since - no URL is passed, it is impossible to obey icon hints in desktop - entries for example. - @param group The icon group where the icon is going to be used. - @param force_size Override globallly configured icon size. - Use 0 for the default size - @param state The icon state, one of: <code>TDEIcon</code>.DefaultState, - <code>TDEIcon</code>.ActiveState or <code>TDEIcon</code>.DisabledState. - @param path Output parameter to get the full path. Seldom needed. - Ignored if 0 - @return the pixmap of the mime type, can be a default icon if not found - - @short Use this function only if you don't have a special URL for which you search a pixmap. - */ - public native TQPixmap pixmap(int group, int force_size, int state, StringBuffer path); - public native TQPixmap pixmap(int group, int force_size, int state); - public native TQPixmap pixmap(int group, int force_size); - public native TQPixmap pixmap(int group); - /** - Find the pixmap for a given file of this mimetype. - Convenience method that uses icon(), but also locates and - load the pixmap. - @param _url URL for the file. - @param _group The icon group where the icon is going to be used. - @param _force_size Override globallly configured icon size. - Use 0 for the default size - @param _state The icon state, one of: TDEIcon.DefaultState, - TDEIcon.ActiveState or TDEIcon.DisabledState. - @param _path Output parameter to get the full path. Seldom needed. - Ignored if 0 - @return the pixmap of the URL, can be a default icon if not found - - @short Find the pixmap for a given file of this mimetype. - */ - public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size); - public native TQPixmap pixmap(KURL _url, int _group); - /** - Returns the descriptive comment associated with the MIME type. - @return the descriptive comment associated with the MIME type - - @short Returns the descriptive comment associated with the MIME type. - */ - public native String comment(); - /** - Returns the descriptive comment associated with the MIME type. - The arguments are unused, but provided so that KMimeType derived classes - can use them. - @return The descriptive comment associated with the MIME type, if any. - - @short Returns the descriptive comment associated with the MIME type. - */ - public native String comment(String arg1, boolean arg2); - /** - Returns the descriptive comment associated with the MIME type. - The arguments are unused, but provided so that KMimeType derived classes - can use them. - @return The descriptive comment associated with the MIME type, if any. - - @short Returns the descriptive comment associated with the MIME type. - */ - public native String comment(KURL arg1, boolean arg2); - /** - Retrieve the list of patterns associated with the MIME Type. - @return a list of file globs that describe the file names - (or, usually, the extensions) of files with this mime type - - @short Retrieve the list of patterns associated with the MIME Type. - */ - public native ArrayList patterns(); - /** - Load the mimetype from a stream. - @param qs the stream to load from - @short Load the mimetype from a stream. - */ - public native void load(TQDataStream qs); - /** - Save the mimetype to a stream. - @param qs the stream to save to - @short Save the mimetype to a stream. - */ - public native void save(TQDataStream qs); - /** - Returns the property with the given <code>_name.</code> - @param _name the name of the property - @return the value of the property - - @short Returns the property with the given <code>_name.</code> - @see #propertyNames - */ - public native TQVariant property(String _name); - /** - Retrieves a list of all properties associated with this - KMimeType. - @return a list of all property names - - @short Retrieves a list of all properties associated with this KMimeType. - @see #property - */ - public native ArrayList propertyNames(); - /** - If this mimetype inherits from ("is also") another mimetype, - return the name of the parent. - For instance a text/x-log is a special kind of text/plain, - so the definition of text/x-log can say "X-TDE-IsAlso=text/plain". - Or an smb-workgroup is a special kind of inode/directory, etc. - This mechanism can also be used to rename mimetypes and preserve compat. - Note that this notion doesn't map to the servicetype inheritance mechanism, - since an application that handles the specific type doesn't necessarily handle - the base type. The opposite is true though. - @return the parent mime type, or null if not set - - @short If this mimetype inherits from ("is also") another mimetype, return the name of the parent. - */ - public native String parentMimeType(); - /** - Do not use name()=="somename" anymore, to check for a given mimetype. - For mimetype inheritance to work, use is("somename") instead. - Warning, do not use inherits(), that's the servicetype inheritance concept! - @short Do not use name()=="somename" anymore, to check for a given mimetype. - */ - public native boolean is(String mimeTypeName); - /** - Convenience method to find the pixmap for a URL. - Call this one when you don't know the mimetype. - @param _url URL for the file. - @param _mode the mode of the file. The mode may modify the icon - with overlays that show special properties of the - icon. Use 0 for default - @param _group The icon group where the icon is going to be used. - @param _force_size Override globally configured icon size. - Use 0 for the default size - @param _state The icon state, one of: TDEIcon.DefaultState, - TDEIcon.ActiveState or TDEIcon.DisabledState. - @param _path Output parameter to get the full path. Seldom needed. - Ignored if 0 - @return the pixmap of the URL, can be a default icon if not found - - @short Convenience method to find the pixmap for a URL. - */ - public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size, int _state, StringBuffer _path); - public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size, int _state); - public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size); - public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group); - public static native TQPixmap pixmapForURL(KURL _url, long _mode); - public static native TQPixmap pixmapForURL(KURL _url); - /** - The same functionality as pixmapForURL(), but this method returns the name - of the icon to load. You'll have to use TDEIconLoader to load the pixmap for it. - The advantage of this method is that you can store the result, and then use it - later on for any kind of size. - @param _url URL for the file - @param _mode the mode of the file. The mode may modify the icon - with overlays that show special properties of the - icon. Use 0 for default - @return the name of the icon. The name of a default icon if there is no icon - for the mime type - - @short The same functionality as pixmapForURL(), but this method returns the name of the icon to load. - */ - public static native String iconForURL(KURL _url, long _mode); - public static native String iconForURL(KURL _url); - /** - Return the "favicon" (see http://www.favicon.com) for the given <code>url</code>, - if available. Does NOT attempt to download the favicon, it only returns - one that is already available. - If unavailable, returns null. - @param url the URL of the favicon - @return the name of the favicon, or null - - @short Return the "favicon" (see http://www. - */ - public static native String favIconForURL(KURL url); - /** - Retrieve a pointer to the mime type <code>_name</code> or a pointer to the default - mime type "application/octet-stream". - null is <b>never</b> returned. - <b>Very</b> <b>important</b>: Don't store the result in a KMimeType ! - @param _name the name of the mime type - @return the pointer to the KMimeType with the given <code>_name</code>, or - a pointer to the application/octet-stream KMimeType if - not found - - @short Retrieve a pointer to the mime type <code>_name</code> or a pointer to the default mime type "application/octet-stream". - @see KServiceType#serviceType - */ - // KMimeType::Ptr mimeType(const TQString& arg1); >>>> NOT CONVERTED - /** - Finds a KMimeType with the given <code>_url.</code> - This function looks at mode_t first. - If that does not help it - looks at the extension. This is fine for FTP, FILE, TAR and - friends, but is not for HTTP ( cgi scripts! ). You should use - KRun instead, but this function returns immediately while - KRun is async. If no extension matches, then - the file will be examined if the URL a local file or - "application/octet-stream" is returned otherwise. - @param _url Is the right most URL with a filesystem protocol. It - is up to you to find out about that if you have a nested - URL. For example - "http://localhost/mist.gz#gzip:/decompress" would have to - pass the "http://..." URL part, while - "file:/tmp/x.tar#tar:/src/test.gz#gzip:/decompress" would - have to pass the "tar:/..." part of the URL, since gzip is - a filter protocol and not a filesystem protocol. - @param _mode the mode of the file (used, for example, to identify - executables) - @param _is_local_file true if the file is local - @param _fast_mode If set to true no disk access is allowed to - find out the mimetype. The result may be suboptimal, but - it is <b>fast</b>. - @return A pointer to the matching mimetype. 0L is never returned. - @em Very @em Important: Don't store the result in a KMimeType* ! - - @short Finds a KMimeType with the given <code>_url.</code> - */ - // KMimeType::Ptr findByURL(const KURL& arg1,mode_t arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // KMimeType::Ptr findByURL(const KURL& arg1,mode_t arg2,bool arg3); >>>> NOT CONVERTED - // KMimeType::Ptr findByURL(const KURL& arg1,mode_t arg2); >>>> NOT CONVERTED - // KMimeType::Ptr findByURL(const KURL& arg1); >>>> NOT CONVERTED - // KMimeType::Ptr findByURL(const KURL& arg1,mode_t arg2,bool arg3,bool arg4,bool* arg5); >>>> NOT CONVERTED - /** - Finds a KMimeType with the given <code>_url.</code> - This function looks at mode_t first. - If that does not help it - looks at the extension. This is fine for FTP, FILE, TAR and - friends, but is not for HTTP ( cgi scripts! ). You should use - KRun instead, but this function returns immediately while - KRun is async. If no extension matches, then - the file will be examined if the URL a local file or - "application/octet-stream" is returned otherwise. - Equivalent to - <pre> - KURL u; - u.setPath(path); - return findByURL( u, mode, true, fast_mode ); - </pre> - @param path the path to the file - @param mode the mode of the file (used, for example, to identify - executables) - @param fast_mode If set to true no disk access is allowed to - find out the mimetype. The result may be suboptimal, but - it is <b>fast</b>. - @return A pointer to the matching mimetype. 0L is never returned. - - @short Finds a KMimeType with the given <code>_url.</code> - */ - // KMimeType::Ptr findByPath(const TQString& arg1,mode_t arg2,bool arg3); >>>> NOT CONVERTED - // KMimeType::Ptr findByPath(const TQString& arg1,mode_t arg2); >>>> NOT CONVERTED - // KMimeType::Ptr findByPath(const TQString& arg1); >>>> NOT CONVERTED - /** - Tries to find out the MIME type of a data chunk by looking for - certain magic numbers and characteristic strings in it. - @param data the data to examine - @param accuracy If not a null pointer, accuracy is set to the - accuracy of the match (which is in the range 0..100) - @return a pointer to the KMimeType. application/octet-stream's KMimeType of the - type can not be found this way. - - @short Tries to find out the MIME type of a data chunk by looking for certain magic numbers and characteristic strings in it. - */ - // KMimeType::Ptr findByContent(const TQByteArray& arg1,int* arg2); >>>> NOT CONVERTED - // KMimeType::Ptr findByContent(const TQByteArray& arg1); >>>> NOT CONVERTED - /** - Tries to find out the MIME type of a file by looking for - certain magic numbers and characteristic strings in it. - This function is similar to the previous one. Note that the - file name is not used for determining the file type, it is just - used for loading the file's contents. - @param fileName the path to the file - @param accuracy If not a null pointer, accuracy is set to the - accuracy of the match (which is in the range 0..100) - @return a pointer to the KMimeType. application/octet-stream's KMimeType of the - type can not be found this way. - - @short Tries to find out the MIME type of a file by looking for certain magic numbers and characteristic strings in it. - */ - // KMimeType::Ptr findByFileContent(const TQString& arg1,int* arg2); >>>> NOT CONVERTED - // KMimeType::Ptr findByFileContent(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns whether a file has an internal format that is human readable, - or that would be human readable after decompression. - @short Returns whether a file has an internal format that is human readable, or that would be human readable after decompression. - */ - // KMimeType::Format findFormatByFileContent(const TQString& arg1); >>>> NOT CONVERTED - /** - Get all the mimetypes. - Useful for showing the list of - available mimetypes. - More memory consuming than the ones above, don't use unless - really necessary. - @return the list of all existing KMimeTypes - - @short Get all the mimetypes. - */ - // KMimeType::List allMimeTypes(); >>>> NOT CONVERTED - /** - Returns the name of the default mimetype. - Always application/octet-stream, but this method exists - for performance purposes. - @return the name of the default mime type, always - "application/octet-stream" - - @short Returns the name of the default mimetype. - */ - public static native String defaultMimeType(); - /** - Returns the default mimetype. - Always application/octet-stream. - This can be used to check the result of mimeType(name). - @return the "application/octet-stream" mimetype pointer. - - @short Returns the default mimetype. - */ - // KMimeType::Ptr defaultMimeTypePtr(); >>>> NOT CONVERTED - /** - Determines the mimetype of file based on it's name and returns the - matching pattern if any. - @short - */ - // KMimeType::Ptr diagnoseFileName(const TQString& arg1,TQString& arg2); >>>> NOT CONVERTED - protected native void loadInternal(TQDataStream arg1); - protected native void init(KDesktopFile arg1); - protected native int patternsAccuracy(); - /** - Signal a missing mime type. - @param _type the missinf mime type - @short Signal a missing mime type. - */ - protected static native void errorMissingMimeType(String _type); - /** - This function makes sure that the default mime type exists. - @short This function makes sure that the default mime type exists. - */ - protected static native void buildDefaultType(); - /** - This function makes sure that vital mime types are installed. - @short This function makes sure that vital mime types are installed. - */ - protected static native void checkEssentialMimeTypes(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMimeTypeResolverBase.java b/kdejava/koala/org/kde/koala/KMimeTypeResolverBase.java deleted file mode 100644 index 9e5f6c14..00000000 --- a/kdejava/koala/org/kde/koala/KMimeTypeResolverBase.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A baseclass for KMimeTypeResolver, with the interface, - KMimeTypeResolverHelper uses. - @short - -*/ -public class KMimeTypeResolverBase implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KMimeTypeResolverBase(Class dummy){} - - public native void slotViewportAdjusted(); - public native void slotProcessMimeIcons(); -} diff --git a/kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java b/kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java deleted file mode 100644 index f72d3bb3..00000000 --- a/kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQScrollView; -import org.kde.qt.TQEvent; -import org.kde.qt.TQObject; - -/** - - This class is used by KMimeTypeResolver, because it can't be a TQObject - itself. So an object of this class is used to handle signals, slots etc. - and forwards them to the KMimeTypeResolver instance. - @short - -*/ -public class KMimeTypeResolverHelper extends TQObject { - protected KMimeTypeResolverHelper(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KMimeTypeResolverHelper(KMimeTypeResolverBase resolver, TQScrollView view) { - super((Class) null); - newKMimeTypeResolverHelper(resolver,view); - } - private native void newKMimeTypeResolverHelper(KMimeTypeResolverBase resolver, TQScrollView view); - public native void start(int delay, boolean singleShot); - public native boolean eventFilter(TQObject o, TQEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMimeTypeValidator.java b/kdejava/koala/org/kde/koala/KMimeTypeValidator.java deleted file mode 100644 index 992dac38..00000000 --- a/kdejava/koala/org/kde/koala/KMimeTypeValidator.java +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQValidator; - -/** - - This validator allows you to validate mimetype names - (e.g. text/plain, image/jpeg). Note that the validation is only - syntactically. It will e.g. not reject "foo/bar", although that - particular mime type isn't yet registered. It suffices for the name - to adhere to the production - <pre> - mime-type := token "/" token ; 'token' is defined in rfc2045 - </pre> - The fixup will simply remove all non-token characters. - @author Marc Mutz <mutz@kde.org> - - @short A TQValidator for mime types. - -*/ -public class KMimeTypeValidator extends TQValidator { - protected KMimeTypeValidator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KMimeTypeValidator(TQObject parent, String name) { - super((Class) null); - newKMimeTypeValidator(parent,name); - } - private native void newKMimeTypeValidator(TQObject parent, String name); - public KMimeTypeValidator(TQObject parent) { - super((Class) null); - newKMimeTypeValidator(parent); - } - private native void newKMimeTypeValidator(TQObject parent); - /** - Checks for well-formed mimetype. Returns - - <li> - Acceptable iff input ~= /^[:allowed chars:]+\/[:allowed chars:]+$/ - </li> - - <li> - Intermediate iff input ~= /^[:allowed chars:]\/?[:allowed chars:]$/ - </li> - - <li> - Invalid else - - </li> @short Checks for well-formed mimetype. - */ - public native int validate(StringBuffer input, int[] pos); - /** - Removes all characters that are forbidden in mimetypes. - @short Removes all characters that are forbidden in mimetypes. - */ - public native void fixup(StringBuffer input); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMountPoint.java b/kdejava/koala/org/kde/koala/KMountPoint.java deleted file mode 100644 index 91d3d6de..00000000 --- a/kdejava/koala/org/kde/koala/KMountPoint.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - The KMountPoint class provides information about mounted and unmounted disks. - It provides a system independent interface to fstab. - @author Waldo Bastian <bastian@kde.org> - - @short The KMountPoint class provides information about mounted and unmounted disks. - -*/ -public class KMountPoint extends TDEShared { - protected KMountPoint(Class dummy){super((Class) null);} - public static final int NeedMountOptions = 1; - public static final int NeedRealDeviceName = 2; - - /** - Where this filesystem gets mounted from. - This can refer to a device, a remote server or something else. - @short Where this filesystem gets mounted from. - */ - public native String mountedFrom(); - /** - Canonical name of the device where the filesystem got mounted from. - (Or empty, if not a device) - Only available when the NeedRealDeviceName flag was set. - @short Canonical name of the device where the filesystem got mounted from. - */ - public native String realDeviceName(); - /** - Path where the filesystem is mounted or can be mounted. - @short Path where the filesystem is mounted or can be mounted. - */ - public native String mountPoint(); - /** - Type of filesystem - @short Type of filesystem - */ - public native String mountType(); - /** - Options used to mount the filesystem. - Only available when the NeedMountOptions flag was set. - @short Options used to mount the filesystem. - */ - public native ArrayList mountOptions(); - /** - This function gives a list of all possible mountpoints. (fstab) - @param infoNeeded Flags that specify which additional information - should be fetched. - @short This function gives a list of all possible mountpoints. - */ - // KMountPoint::List possibleMountPoints(int arg1); >>>> NOT CONVERTED - // KMountPoint::List possibleMountPoints(); >>>> NOT CONVERTED - /** - This function gives a list of all currently used mountpoints. (mtab) - @param infoNeeded Flags that specify which additional information - should be fetched. - @short This function gives a list of all currently used mountpoints. - */ - // KMountPoint::List currentMountPoints(int arg1); >>>> NOT CONVERTED - // KMountPoint::List currentMountPoints(); >>>> NOT CONVERTED - /** - When using supermount, the device name is in the options field - as dev=/my/device - @short When using supermount, the device name is in the options field as dev=/my/device - */ - public static native String devNameFromOptions(String[] options); -} diff --git a/kdejava/koala/org/kde/koala/KMultiTabBar.java b/kdejava/koala/org/kde/koala/KMultiTabBar.java deleted file mode 100644 index ee942d73..00000000 --- a/kdejava/koala/org/kde/koala/KMultiTabBar.java +++ /dev/null @@ -1,169 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - A Widget for horizontal and vertical tabs. - It is possible to add normal buttons to the top/left - The handling if only one tab at a time or multiple tabs - should be raisable is left to the "user". - @author Joseph Wenninger - - @short A Widget for horizontal and vertical tabs. - -*/ -public class KMultiTabBar extends TQWidget { - protected KMultiTabBar(Class dummy){super((Class) null);} - public static final int Horizontal = 0; - public static final int Vertical = 1; - - public static final int Left = 0; - public static final int Right = 1; - public static final int Top = 2; - public static final int Bottom = 3; - - /** - The list of available styles for KMultiTabBar - - VSNET - Visual Studio .Net like (only show the text of active tabs - - KDEV3 - Kdevelop 3 like (always show the text) - - KONTQSBC - konqy's classic sidebar style (unthemed) (currently disabled) - @short The list of available styles for KMultiTabBar - VSNET - Visual Studio . - */ - public static final int VSNET = 0; - public static final int KDEV3 = 1; - public static final int KONTQSBC = 2; - public static final int KDEV3ICON = 3; - public static final int STYLELAST = 0xffff; - - public native TQMetaObject metaObject(); - public native String className(); - public KMultiTabBar(int bm, TQWidget parent, String name) { - super((Class) null); - newKMultiTabBar(bm,parent,name); - } - private native void newKMultiTabBar(int bm, TQWidget parent, String name); - public KMultiTabBar(int bm, TQWidget parent) { - super((Class) null); - newKMultiTabBar(bm,parent); - } - private native void newKMultiTabBar(int bm, TQWidget parent); - public KMultiTabBar(int bm) { - super((Class) null); - newKMultiTabBar(bm); - } - private native void newKMultiTabBar(int bm); - /** - append a new button to the button area. The button can later on be accessed with button(ID) - eg for connecting signals to it - @param pic a pixmap for the button - @param id an arbitraty ID value. It will be emitted in the clicked signal for identifying the button - if more than one button is connected to a signals. - @param popup A popup menu which should be displayed if the button is clicked - @param not_used_yet will be used for a popup text in the future - @short append a new button to the button area. - */ - public native int appendButton(TQPixmap pic, int id, TQPopupMenu popup, String not_used_yet); - public native int appendButton(TQPixmap pic, int id, TQPopupMenu popup); - public native int appendButton(TQPixmap pic, int id); - public native int appendButton(TQPixmap pic); - /** - remove a button with the given ID - @short remove a button with the given ID - */ - public native void removeButton(int id); - /** - append a new tab to the tab area. It can be accessed lateron with tabb(id); - @param pic a bitmap for the tab - @param id an arbitrary ID which can be used later on to identify the tab - @param text if a mode with text is used it will be the tab text, otherwise a mouse over hint - @short append a new tab to the tab area. - */ - public native int appendTab(TQPixmap pic, int id, String text); - public native int appendTab(TQPixmap pic, int id); - public native int appendTab(TQPixmap pic); - /** - remove a tab with a given ID - @short remove a tab with a given ID - */ - public native void removeTab(int id); - /** - set a tab to "raised" - @param id The ID of the tab to manipulate - @param state true == activated/raised, false == not active - @short set a tab to "raised" - */ - public native void setTab(int id, boolean state); - /** - return the state of a tab, identified by it's ID - @short return the state of a tab, identified by it's ID - */ - public native boolean isTabRaised(int id); - /** - get a pointer to a button within the button area identified by its ID - @short get a pointer to a button within the button area identified by its ID - */ - public native KMultiTabBarButton button(int id); - /** - get a pointer to a tab within the tab area, identiifed by its ID - @short get a pointer to a tab within the tab area, identiifed by its ID - */ - public native KMultiTabBarTab tab(int id); - /** - set the real position of the widget. - @param pos if the mode is horizontal, only use top, bottom, if it is vertical use left or right - @short set the real position of the widget. - */ - public native void setPosition(int pos); - /** - get the tabbar position. - @return position - - @short get the tabbar position. - */ - public native int position(); - /** - set the display style of the tabs - @short set the display style of the tabs - */ - public native void setStyle(int style); - /** - get the display style of the tabs - @return display style - - @short get the display style of the tabs - */ - public native int tabStyle(); - /** - be carefull, don't delete tabs yourself and don't delete the list itself - @short be carefull, don't delete tabs yourself and don't delete the list itself - */ - // TQPtrList<KMultiTabBarTab>* tabs(); >>>> NOT CONVERTED - /** - be carefull, don't delete buttons yourself and don't delete the list itself - @short be carefull, don't delete buttons yourself and don't delete the list itself - */ - // TQPtrList<KMultiTabBarButton>* buttons(); >>>> NOT CONVERTED - /** - might vanish, not sure yet - @short might vanish, not sure yet - */ - public native void showActiveTabTexts(boolean show); - public native void showActiveTabTexts(); - protected native void fontChange(TQFont arg1); - protected native void updateSeparator(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMultiTabBarButton.java b/kdejava/koala/org/kde/koala/KMultiTabBarButton.java deleted file mode 100644 index 64c5293d..00000000 --- a/kdejava/koala/org/kde/koala/KMultiTabBarButton.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - This class should never be created except with the appendButton call of KMultiTabBar - See {@link KMultiTabBarButtonSignals} for signals emitted by KMultiTabBarButton - @short This class should never be created except with the appendButton call of KMultiTabBar - -*/ -public class KMultiTabBarButton extends TQPushButton { - protected KMultiTabBarButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KMultiTabBarButton(TQPixmap pic, String arg2, TQPopupMenu popup, int id, TQWidget parent, int pos, int style) { - super((Class) null); - newKMultiTabBarButton(pic,arg2,popup,id,parent,pos,style); - } - private native void newKMultiTabBarButton(TQPixmap pic, String arg2, TQPopupMenu popup, int id, TQWidget parent, int pos, int style); - public KMultiTabBarButton(String arg1, TQPopupMenu popup, int id, TQWidget parent, int pos, int style) { - super((Class) null); - newKMultiTabBarButton(arg1,popup,id,parent,pos,style); - } - private native void newKMultiTabBarButton(String arg1, TQPopupMenu popup, int id, TQWidget parent, int pos, int style); - public native int id(); - /** - this is used internaly, but can be used by the user, if (s)he wants to - It the according call of KMultiTabBar is invoked though this modifications will be overwritten - @short this is used internaly, but can be used by the user, if (s)he wants to It the according call of KMultiTabBar is invoked though this modifications will be overwritten - */ - public native void setPosition(int arg1); - /** - this is used internaly, but can be used by the user, if (s)he wants to - It the according call of KMultiTabBar is invoked though this modifications will be overwritten - @short this is used internaly, but can be used by the user, if (s)he wants to It the according call of KMultiTabBar is invoked though this modifications will be overwritten - */ - public native void setStyle(int arg1); - /** - modify the text of the button - @short modify the text of the button - */ - public native void setText(String arg1); - public native TQSize sizeHint(); - protected native void hideEvent(TQHideEvent arg1); - public native void showEvent(TQShowEvent arg1); - protected native void slotClicked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java b/kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java deleted file mode 100644 index e40a08a5..00000000 --- a/kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQWidget; - -public interface KMultiTabBarButtonSignals { - /** - this is emitted if the button is clicked - @param id the ID identifying the button - @short this is emitted if the button is clicked - */ - void clicked(int id); -} diff --git a/kdejava/koala/org/kde/koala/KMultiTabBarTab.java b/kdejava/koala/org/kde/koala/KMultiTabBarTab.java deleted file mode 100644 index 063f5111..00000000 --- a/kdejava/koala/org/kde/koala/KMultiTabBarTab.java +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; - -/** - - This class should never be created except with the appendTab call of KMultiTabBar - @short This class should never be created except with the appendTab call of KMultiTabBar - -*/ -public class KMultiTabBarTab extends KMultiTabBarButton { - protected KMultiTabBarTab(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KMultiTabBarTab(TQPixmap pic, String arg2, int id, TQWidget parent, int pos, int style) { - super((Class) null); - newKMultiTabBarTab(pic,arg2,id,parent,pos,style); - } - private native void newKMultiTabBarTab(TQPixmap pic, String arg2, int id, TQWidget parent, int pos, int style); - /** - set the active state of the tab - @param state true==active false==not active - @short set the active state of the tab - */ - public native void setState(boolean state); - /** - choose if the text should always be displayed - this is only used in classic mode if at all - @short choose if the text should always be displayed this is only used in classic mode if at all - */ - public native void showActiveTabText(boolean show); - public native void resize(); - public native void setIcon(String arg1); - public native void setIcon(TQPixmap arg1); - protected native void setSize(int arg1); - protected native int neededSize(); - protected native void updateState(); - protected native void drawButton(TQPainter arg1); - protected native void drawButtonLabel(TQPainter arg1); - protected native void drawButtonStyled(TQPainter arg1); - protected native void drawButtonClassic(TQPainter arg1); - protected native void slotClicked(); - protected native void setTabsPosition(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMultipleDrag.java b/kdejava/koala/org/kde/koala/KMultipleDrag.java deleted file mode 100644 index 9982e614..00000000 --- a/kdejava/koala/org/kde/koala/KMultipleDrag.java +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; -import org.kde.qt.TQDragObject; - -/** - - This class makes it easy for applications to provide a drag object - (for drag-n-drop or for clipboard) that has several representations - of the same data, under different formats. - Instead of creating a specific class for each case (as would otherwise - be necessary), you can simply create independent drag objects (e.g. - a TQImageDrag object and a KURLDrag object), and bundle them together - using KMultipleDrag. - Sample code for this: - <pre> - KMultipleDrag drag = new KMultipleDrag( parentWidget ); - drag.addDragObject( new TQImageDrag( someTQImage, 0 ) ); - drag.addDragObject( new KURLDrag( someKURL, 0 ) ); - drag.drag(); - </pre> - Note that the drag objects added to the multiple drag become owned by it. - For that reason their parent should be 0. - @author David Faure <faure@kde.org> - - @short This class makes it easy for applications to provide a drag object (for drag-n-drop or for clipboard) that has several representations of the same data, under different formats. - -*/ -public class KMultipleDrag extends TQDragObject { - protected KMultipleDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a new KMultipleDrag object. - @param dragSource the parent object which is the source of the data, - 0 for a parent-less object - @param name the name of the object, can be 0 - @short Create a new KMultipleDrag object. - */ - public KMultipleDrag(TQWidget dragSource, String name) { - super((Class) null); - newKMultipleDrag(dragSource,name); - } - private native void newKMultipleDrag(TQWidget dragSource, String name); - public KMultipleDrag(TQWidget dragSource) { - super((Class) null); - newKMultipleDrag(dragSource); - } - private native void newKMultipleDrag(TQWidget dragSource); - public KMultipleDrag() { - super((Class) null); - newKMultipleDrag(); - } - private native void newKMultipleDrag(); - /** - Call this to add each underlying drag object to the multiple drag object. - The drag object should not have a parent because the multiple drag object - will own it. - @param dragObject the drag object to add. Should have no parent object. - @short Call this to add each underlying drag object to the multiple drag object. - */ - public native void addDragObject(TQDragObject dragObject); - /** - Returns the data of a drag object with that supports the given - mime type. - @param mime the mime type to search - @return the data, or a null byte array if not found - @reimp - - @short Returns the data of a drag object with that supports the given mime type. - */ - public native byte[] encodedData(String mime); - /** - Returns the <code>i</code>'th supported format, or 0. - @param i the number of the format to check - @return the format with the number <code>i</code>, or 0 otherwise - @reimp - - @short Returns the <code>i</code>'th supported format, or 0. - */ - public native String format(int i); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KNamedCommand.java b/kdejava/koala/org/kde/koala/KNamedCommand.java deleted file mode 100644 index f3c3a1ff..00000000 --- a/kdejava/koala/org/kde/koala/KNamedCommand.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A command which stores its name. - It is more memory-efficient to use KCommand and to implement the name() method, - but in some cases it's more simple or more flexible to store the name at creation time. - @short A command which stores its name. - -*/ -public class KNamedCommand extends KCommand { - protected KNamedCommand(Class dummy){super((Class) null);} - /** - @return the name of this command - - @short - */ - public native String name(); - /** - Updates the name of this command. - Rarely necessary. - @short Updates the name of this command. - */ - public native void setName(String name); -} diff --git a/kdejava/koala/org/kde/koala/KNotifyClient.java b/kdejava/koala/org/kde/koala/KNotifyClient.java deleted file mode 100644 index 60eff4eb..00000000 --- a/kdejava/koala/org/kde/koala/KNotifyClient.java +++ /dev/null @@ -1,214 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This namespace provides a method for issuing events to a KNotifyServer - call KNotifyClient.event("eventname"); to issue it. - On installation, there should be a file called - $TDEDIR/share/apps/appname/eventsrc which contains the events. - The file looks like this: - <pre> - [!Global!] - IconName=Filename (e.g. kdesktop, without any extension) - Comment=FriendlyNameOfApp - [eventname] - Name=FriendlyNameOfEvent - Comment=Description Of Event - default_sound=filetoplay.wav - default_logfile=logfile.txt - default_commandline=command - default_presentation=1 - ... - </pre> - default_presentation contains these ORed events: - None=0, Sound=1, Messagebox=2, Logfile=4, Stderr=8, PassivePopup=16, - Execute=32, Taskbar=64 - KNotify will search for sound files given with a relative path first in - the application's sound directory (share/apps/Application Name/sounds), then in - the KDE global sound directory (share/sounds). - You can also use the "nopresentation" key, with any the presentations - ORed. Those that are in that field will not appear in the kcontrol - module. This was intended for software like KWin to not allow a window-opening - that opens a window (e.g., allowing to disable KMessageBoxes from appearing) - If the user edits the eventsrc file manually, it will appear. This only - affects the KcmNotify. - You can also use the following events, which are system controlled - and do not need to be placed in your eventsrc: -<ul> - <li>cannotopenfile - <li>notification - <li>warning - <li>fatalerror - <li>catastrophe -</ul> - The events can be configured in an application using KNotifyDialog, which is part of TDEIO. - @author Charles Samuels <charles@kde.org> - - @short This namespace provides a method for issuing events to a KNotifyServer call KNotifyClient.event("eventname"); to issue it. - -*/ -public class KNotifyClient { - /** - Describes the notification method. - @short Describes the notification method. - */ - public static final int Default = -1; - public static final int None = 0; - public static final int Sound = 1; - public static final int Messagebox = 2; - public static final int Logfile = 4; - public static final int Stderr = 8; - public static final int PassivePopup = 16; - public static final int Execute = 32; - public static final int Taskbar = 64; - - /** - Describes the level of the error. - @short Describes the level of the error. - */ - public static final int Notification = 1; - public static final int Warning = 2; - public static final int Error = 4; - public static final int Catastrophe = 8; - - /** - default events you can use - @short default events you can use - */ - public static final int cannotOpenFile = 0; - public static final int notification = 1; - public static final int warning = 2; - public static final int fatalError = 3; - public static final int catastrophe = 4; - - /** - This starts the KNotify Daemon, if it's not already started. - This will be useful for games that use sound effects. Run this - at the start of the program, and there won't be a pause when it is - first triggered. - @return true if daemon is running (always true at the moment) - - @short This starts the KNotify Daemon, if it's not already started. - */ - public static native boolean startDaemon(); - /** - This should be the most used method in here. - Pass the origin-widget's winId() here so that a PassivePopup can be - placed appropriately. - Call it by KNotifyClient.event(widget.winId(), "EventName"); - It will use TDEApplication.kApplication.dcopClient() to communicate to - the server - @param winId The winId() of the widget where the event originates - @param message The name of the event - @param text The text to put in a dialog box. This won't be shown if - the user connected the event to sound, only. Can be null. - @return a value > 0, unique for this event if successful, 0 otherwise - - @short This should be the most used method in here. - */ - public static native int event(int winId, String message, String text); - public static native int event(int winId, String message); - /** - You should - pass the origin-widget's winId() here so that a PassivePopup can be - placed appropriately. - @param winId The winId() of the widget where the event originates - @param event The event you want to raise - @param text The text to put in a dialog box. This won't be shown if - the user connected the event to sound, only. Can be null. - @return a value > 0, unique for this event if successful, 0 otherwise - - @short You should pass the origin-widget's winId() here so that a PassivePopup can be placed appropriately. - */ - public static native int event(int winId, int event, String text); - public static native int event(int winId, int event); - /** - Will fire an event that's not registered. - You should - pass the origin-widget's winId() here so that a PassivePopup can be - placed appropriately. - @param winId The winId() of the originating widget - @param text The error message text, if applicable - @param present The presentation method(s) of the event - @param level The error message level, defaulting to "Default" - @param sound The sound file to play if selected with <code>present</code> - @param file The log file to append the message to if selected with <code>present</code> - @return a value > 0, unique for this event if successful, 0 otherwise - - @short Will fire an event that's not registered. - */ - public static native int userEvent(int winId, String text, int present, int level, String sound, String file); - public static native int userEvent(int winId, String text, int present, int level, String sound); - public static native int userEvent(int winId, String text, int present, int level); - public static native int userEvent(int winId, String text, int present); - public static native int userEvent(int winId, String text); - public static native int userEvent(int winId); - /** - This is a simple substitution for TQApplication.beep(). - It simply calls - <pre> - KNotifyClient.event( KNotifyClient.notification, reason ); - </pre> - @param reason the reason, can be null. - @short This is a simple substitution for TQApplication.beep(). - */ - public static native void beep(String reason); - public static native void beep(); - /** - Gets the presentation associated with a certain event name - Remeber that they may be ORed: - <pre> - if (present & KNotifyClient.Sound) { [Yes, sound is a default] } - </pre> - @param eventname the event name to check - @return the presentation methods - - @short Gets the presentation associated with a certain event name Remeber that they may be ORed: <pre> if (present & KNotifyClient.Sound) { [Yes, sound is a default] } </pre> - */ - public static native int getPresentation(String eventname); - /** - Gets the default file associated with a certain event name - The control panel module will list all the event names - This has the potential for being slow. - @param eventname the name of the event - @param present the presentation method - @return the associated file. Can be null if not found. - - @short Gets the default file associated with a certain event name The control panel module will list all the event names This has the potential for being slow. - */ - public static native String getFile(String eventname, int present); - /** - Gets the default presentation for the event of this program. - Remember that the Presentation may be ORed. Try this: - <pre> - if (present & KNotifyClient.Sound) { [Yes, sound is a default] } - </pre> - @return the presentation methods - - @short Gets the default presentation for the event of this program. - */ - public static native int getDefaultPresentation(String eventname); - /** - Gets the default File for the event of this program. - It gets it in relation to present. - Some events don't apply to this function ("Message Box") - Some do (Sound) - @param eventname the name of the event - @param present the presentation method - @return the default file. Can be null if not found. - - @short Gets the default File for the event of this program. - */ - public static native String getDefaultFile(String eventname, int present); - /** - Shortcut to KNotifyClient.Instance.current() :) - @return the current TDEInstance. - - @short Shortcut to KNotifyClient.Instance.current() :) - */ - public static native TDEInstanceInterface instance(); -} diff --git a/kdejava/koala/org/kde/koala/KNumInput.java b/kdejava/koala/org/kde/koala/KNumInput.java deleted file mode 100644 index b85c9832..00000000 --- a/kdejava/koala/org/kde/koala/KNumInput.java +++ /dev/null @@ -1,92 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQSizePolicy; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - You need to inherit from this class if you want to implement KNumInput - for a different variable type - @short You need to inherit from this class if you want to implement K NumInput for a different variable type - -*/ -public class KNumInput extends TQWidget { - protected KNumInput(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Default constructor - @param parent If parent is 0, the new widget becomes a top-level window. If parent is another widget, this widget becomes a child window inside parent. The new widget is deleted when its parent is deleted. - @param name The name is sent to the TQObject constructor. - @short Default constructor - */ - /** - @param below A pointer to another KNumInput. - @param parent parent widget - @param name name of the widget - @short - */ - /** - Sets the text and alignment of the main description label. - @param label The text of the label. - Use null to remove an existing one. - @param a one of <code>AlignLeft</code>, <code>AlignHCenter</code>, YAlignRight and - <code>AlignTop</code>, <code>AlignVCenter</code>, <code>AlignBottom.</code> - default is <code>AlignLeft</code> | <code>AlignTop.</code> - The vertical alignment flags have special meaning with this - widget: - - <li> - <code>AlignTop</code> The label is placed above the edit/slider - </li> - - <li> - <code>AlignVCenter</code> The label is placed left beside the edit - </li> - - <li> - <code>AlignBottom</code> The label is placed below the edit/slider - </li> - @short Sets the text and alignment of the main description label. - */ - public native void setLabel(String label, int a); - public native void setLabel(String label); - /** - @return the text of the label. - - @short - */ - public native String label(); - /** - @return if the num input has a slider. - - @short - */ - public native boolean showSlider(); - /** - Sets the spacing of tickmarks for the slider. - @param minor Minor tickmark separation. - @param major Major tickmark separation. - @short Sets the spacing of tickmarks for the slider. - */ - public native void setSteps(int minor, int major); - /** - Specifies that this widget may stretch horizontally, but is - fixed vertically (like TQSpinBox itself). - @short Specifies that this widget may stretch horizontally, but is fixed vertically (like TQSpinBox itself). - */ - public native TQSizePolicy sizePolicy(); - /** - Returns a size which fits the contents of the control. - @return the preferred size necessary to show the control - - @short Returns a size which fits the contents of the control. - */ - public native TQSize sizeHint(); -} diff --git a/kdejava/koala/org/kde/koala/KOCRDialog.java b/kdejava/koala/org/kde/koala/KOCRDialog.java deleted file mode 100644 index fd1f986d..00000000 --- a/kdejava/koala/org/kde/koala/KOCRDialog.java +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Base class for OCR Dialogs. - See {@link KOCRDialogSignals} for signals emitted by KOCRDialog - @short Base class for OCR Dialogs. - -*/ -public class KOCRDialog extends KDialogBase { - protected KOCRDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates the user's preferred OCR dialog and returns it, - or null if no OCR-support - is available. Pass a suitable <code>parent</code> widget, if you like. If you - don't you have to 'delete' the returned pointer yourself. - @param parent the TQWidget's parent, or 0 - @param name the name of the TQObject, can be 0 - @param modal if true the dialog is model - @return the KOCRDialog, or 0 if the function failed - - @short Creates the user's preferred OCR dialog and returns it, or 0L if no OCR-support is available. - */ - public static native KOCRDialog getOCRDialog(TQWidget parent, String name, boolean modal); - public static native KOCRDialog getOCRDialog(TQWidget parent, String name); - public static native KOCRDialog getOCRDialog(TQWidget parent); - public static native KOCRDialog getOCRDialog(); - /** - Constructs the OCR dialog. If you implement an own dialog, you can - customize it with the usual KDialogBase flags. - @param dialogFace the KDialogBase.DialogType - @param buttonMask a ORed mask of all buttons (see - KDialogBase.ButtonCode) - @param parent the TQWidget's parent, or 0 - @param name the name of the TQObject, can be 0 - @param modal if true the dialog is model - @short Constructs the OCR dialog. - */ - public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKOCRDialog(dialogFace,buttonMask,parent,name,modal); - } - private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal); - public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name) { - super((Class) null); - newKOCRDialog(dialogFace,buttonMask,parent,name); - } - private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name); - public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent) { - super((Class) null); - newKOCRDialog(dialogFace,buttonMask,parent); - } - private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent); - public KOCRDialog(int dialogFace, int buttonMask) { - super((Class) null); - newKOCRDialog(dialogFace,buttonMask); - } - private native void newKOCRDialog(int dialogFace, int buttonMask); - public KOCRDialog(int dialogFace) { - super((Class) null); - newKOCRDialog(dialogFace); - } - private native void newKOCRDialog(int dialogFace); - public KOCRDialog() { - super((Class) null); - newKOCRDialog(); - } - private native void newKOCRDialog(); - /** - Returns the current id for an image. You can use that in your subclass - for the signals. The id is used in the signals to let people know - which text-recognition belongs to which scan. - @return the current id for the image - - @short Returns the current id for an image. - @see #nextId - @see #textRecognized - */ - protected native int id(); - /** - Returns the id for the next image. You can use that in your subclass - for the signals. - @return the id for the next image - - @short Returns the id for the next image. - @see #id - @see #textRecognized - */ - protected native int nextId(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KOCRDialogSignals.java b/kdejava/koala/org/kde/koala/KOCRDialogSignals.java deleted file mode 100644 index a3fcf459..00000000 --- a/kdejava/koala/org/kde/koala/KOCRDialogSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KOCRDialogSignals { - /** - Informs you that the image with the id <code>id</code> has been run through - text-recognition. The text is in the String parameter. In the future, - a compound document, using rich text will be used instead. - @param text the text that has been recognized - @param id the id of the image - @short Informs you that the image with the id <code>id</code> has been run through text-recognition. - */ - void textRecognized(String text, int id); -} diff --git a/kdejava/koala/org/kde/koala/KOpenWithDlg.java b/kdejava/koala/org/kde/koala/KOpenWithDlg.java deleted file mode 100644 index b777bb7f..00000000 --- a/kdejava/koala/org/kde/koala/KOpenWithDlg.java +++ /dev/null @@ -1,162 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDialog; - -/** - - "Open with" dialog box. - Used automatically by KRun, and used by libkonq. - @author David Faure <faure@kde.org> - - @short "Open with" dialog box. - -*/ -public class KOpenWithDlg extends TQDialog { - protected KOpenWithDlg(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a dialog that asks for a application to open a given - URL(s) with. - @param urls the URLs that should be opened. The list can be empty, - if the dialog is used to choose an application but not for some particular URLs. - @param parent parent widget - @short Create a dialog that asks for a application to open a given URL(s) with. - */ - public KOpenWithDlg(ArrayList urls, TQWidget parent) { - super((Class) null); - newKOpenWithDlg(urls,parent); - } - private native void newKOpenWithDlg(ArrayList urls, TQWidget parent); - public KOpenWithDlg(ArrayList urls) { - super((Class) null); - newKOpenWithDlg(urls); - } - private native void newKOpenWithDlg(ArrayList urls); - /** - Create a dialog that asks for a application to open a given - URL(s) with. - @param urls is the URL that should be opened - @param text appears as a label on top of the entry box. - @param value is the initial value of the line - @param parent parent widget - @short Create a dialog that asks for a application to open a given URL(s) with. - */ - public KOpenWithDlg(ArrayList urls, String text, String value, TQWidget parent) { - super((Class) null); - newKOpenWithDlg(urls,text,value,parent); - } - private native void newKOpenWithDlg(ArrayList urls, String text, String value, TQWidget parent); - public KOpenWithDlg(ArrayList urls, String text, String value) { - super((Class) null); - newKOpenWithDlg(urls,text,value); - } - private native void newKOpenWithDlg(ArrayList urls, String text, String value); - /** - Create a dialog to select a service for a given service type. - Note that this dialog doesn't apply to URLs. - @param serviceType the service type we want to choose an application for. - @param value is the initial value of the line - @param parent parent widget - @short Create a dialog to select a service for a given service type. - */ - public KOpenWithDlg(String serviceType, String value, TQWidget parent) { - super((Class) null); - newKOpenWithDlg(serviceType,value,parent); - } - private native void newKOpenWithDlg(String serviceType, String value, TQWidget parent); - public KOpenWithDlg(String serviceType, String value) { - super((Class) null); - newKOpenWithDlg(serviceType,value); - } - private native void newKOpenWithDlg(String serviceType, String value); - /** - Create a dialog to select an application - Note that this dialog doesn't apply to URLs. - @param parent parent widget - @short Create a dialog to select an application Note that this dialog doesn't apply to URLs. - */ - public KOpenWithDlg(TQWidget parent) { - super((Class) null); - newKOpenWithDlg(parent); - } - private native void newKOpenWithDlg(TQWidget parent); - public KOpenWithDlg() { - super((Class) null); - newKOpenWithDlg(); - } - private native void newKOpenWithDlg(); - /** - @return the text the user entered - - @short - */ - public native String text(); - /** - Hide the "Do not &close when command exits" Checkbox - @short Hide the "Do not &close when command exits" Checkbox - */ - public native void hideNoCloseOnExit(); - /** - Hide the "Run in &terminal" Checkbox - @short Hide the "Run in &terminal" Checkbox - */ - public native void hideRunInTerminal(); - /** - @return the chosen service in the application tree - Can be null, if the user typed some text and didn't select a service. - - @short - */ - // KService::Ptr service(); >>>> NOT CONVERTED - /** - Set whether a new .desktop file should be created if the user selects an - application for which no corresponding .desktop file can be found. - Regardless of this setting a new .desktop file may still be created if - the user has chosen to remember the file association. - The default is false: no .desktop files are created. - @short Set whether a new . - */ - public native void setSaveNewApplications(boolean b); - /** - The slot for clearing the edit widget - @short The slot for clearing the edit widget - */ - public native void slotClear(); - public native void slotSelected(String _name, String _exec); - public native void slotHighlighted(String _name, String _exec); - public native void slotTextChanged(); - public native void slotTerminalToggled(boolean arg1); - public native void slotDbClick(); - public native void slotOK(); - /** - Determine service type from URLs - @short Determine service type from URLs - */ - protected native void setServiceType(ArrayList _urls); - /** - Create a dialog that asks for a application to open a given - URL(s) with. - @param text appears as a label on top of the entry box. - @param value is the initial value of the line - @short Create a dialog that asks for a application to open a given URL(s) with. - */ - protected native void init(String text, String value); - /** - Reimplemented from TQDialog.accept() to save history of the combobox - @short Reimplemented from TQDialog.accept() to save history of the combobox - */ - protected native void accept(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPalette.java b/kdejava/koala/org/kde/koala/KPalette.java deleted file mode 100644 index 1d763e1a..00000000 --- a/kdejava/koala/org/kde/koala/KPalette.java +++ /dev/null @@ -1,199 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Class for handling Palettes. - This class makes it easy to handle palettes. - A palette is a set of colors. This class can read - and write palettes from and to a file. - This class uses the "GIMP" palette file format. - This class is totally unrelated to TQPalette. - @author Waldo Bastian (bastian@kde.org) - - @short Class for handling Palettes. - -*/ -public class KPalette implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KPalette(Class dummy){} - - /** - Used to specify whether a palette may be edited. - @short Used to specify whether a palette may be edited. - @see #editable - @see #setEditable - */ - public static final int Yes = 0; - public static final int No = 1; - public static final int Ask = 2; - - /** - KPalette constructor. Creates a KPalette from a file - the filename is derived from the name. - @param name The name of palette as returned by getPaletteList() - @short KPalette constructor. - */ - public KPalette(String name) { - newKPalette(name); - } - private native void newKPalette(String name); - public KPalette() { - newKPalette(); - } - private native void newKPalette(); - /** - KPalette copy constructor. - @short KPalette copy constructor. - */ - public KPalette(KPalette arg1) { - newKPalette(arg1); - } - private native void newKPalette(KPalette arg1); - /** - Save the palette - @return 'true' if successful - - @short Save the palette - */ - public native boolean save(); - /** - Get the description of the palette. - @return the description of the palette. - - @short Get the description of the palette. - */ - public native String description(); - /** - Set the description of the palette. - @param desc the new description - @short Set the description of the palette. - */ - public native void setDescription(String desc); - /** - Get the name of the palette. - @return the name of the palette - - @short Get the name of the palette. - */ - public native String name(); - /** - Set the name of the palette. - @param name the name of the palette - @short Set the name of the palette. - */ - public native void setName(String name); - /** - Returns whether the palette may be edited. - @return the state of the palette - - @short Returns whether the palette may be edited. - */ - public native int editable(); - /** - Change whether the palette may be edited. - @param editable the state of the palette - @short Change whether the palette may be edited. - */ - public native void setEditable(int editable); - /** - Return the number of colors in the palette. - @return the number of colors - - @short Return the number of colors in the palette. - */ - public native int nrColors(); - /** - Find color by index. - @param index the index of the desired color - @return The <code>index</code> -th color of the palette, null if not found. - - @short Find color by index. - */ - public native TQColor color(int index); - /** - Find index by <code>color.</code> - @param color the color to find - @return The index of the color in the palette or -1 if the - color is not found. - - @short Find index by <code>color.</code> - */ - public native int findColor(TQColor color); - /** - Find color name by <code>index.</code> - @param index the index of the color - @return The name of the <code>index</code> -th color. - Note that not all palettes have named the colors. Null is - returned if the color does not exist or has no name. - - @short Find color name by <code>index.</code> - */ - public native String colorName(int index); - /** - Find color name by <code>color.</code> - @return The name of color according to this palette. - Note that not all palettes have named the colors. - Note also that each palette can give the same color - a different name. - - @short Find color name by <code>color.</code> - */ - public native String colorName(TQColor color); - /** - Add a color. - @param newColor The color to add. - @param newColorName The name of the color, null to remove - the name. - @return The index of the added color. - - @short Add a color. - */ - public native int addColor(TQColor newColor, String newColorName); - public native int addColor(TQColor newColor); - /** - Change a color. - @param index Index of the color to change - @param newColor The new color. - @param newColorName The new color name, null to remove - the name. - @return The index of the new color or -1 if the color couldn't - be changed. - - @short Change a color. - */ - public native int changeColor(int index, TQColor newColor, String newColorName); - public native int changeColor(int index, TQColor newColor); - /** - Change a color. - @param oldColor The original color - @param newColor The new color. - @param newColorName The new color name, null to remove - the name. - @return The index of the new color or -1 if the color couldn't - be changed. - - @short Change a color. - */ - public native int changeColor(TQColor oldColor, TQColor newColor, String newColorName); - public native int changeColor(TQColor oldColor, TQColor newColor); - /** - Query which KDE palettes are installed. - @return A list with a palette names. - - @short Query which KDE palettes are installed. - */ - public static native ArrayList getPaletteList(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPaletteTable.java b/kdejava/koala/org/kde/koala/KPaletteTable.java deleted file mode 100644 index d86a7b3d..00000000 --- a/kdejava/koala/org/kde/koala/KPaletteTable.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - A color palette in table form. - See {@link KPaletteTableSignals} for signals emitted by KPaletteTable - @author Waldo Bastian <bastian@kde.org> - - @short A color palette in table form. - -*/ -public class KPaletteTable extends TQWidget { - protected KPaletteTable(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KPaletteTable(TQWidget parent, int minWidth, int cols) { - super((Class) null); - newKPaletteTable(parent,minWidth,cols); - } - private native void newKPaletteTable(TQWidget parent, int minWidth, int cols); - public KPaletteTable(TQWidget parent, int minWidth) { - super((Class) null); - newKPaletteTable(parent,minWidth); - } - private native void newKPaletteTable(TQWidget parent, int minWidth); - public KPaletteTable(TQWidget parent) { - super((Class) null); - newKPaletteTable(parent); - } - private native void newKPaletteTable(TQWidget parent); - public native void addToCustomColors(TQColor arg1); - public native void addToRecentColors(TQColor arg1); - public native String paletteName(); - public native void setPalette(String paletteName); - protected native void readNamedColor(); - protected native void slotColorCellSelected(int arg1); - protected native void slotColorCellDoubleClicked(int arg1); - protected native void slotColorTextSelected(String colorText); - protected native void slotSetPalette(String _paletteName); - protected native void slotShowNamedColorReadError(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPaletteTableSignals.java b/kdejava/koala/org/kde/koala/KPaletteTableSignals.java deleted file mode 100644 index 25e98bbc..00000000 --- a/kdejava/koala/org/kde/koala/KPaletteTableSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KPaletteTableSignals { - void colorSelected(TQColor arg1, String arg2); - void colorDoubleClicked(TQColor arg1, String arg2); -} diff --git a/kdejava/koala/org/kde/koala/KPanelAppMenu.java b/kdejava/koala/org/kde/koala/KPanelAppMenu.java deleted file mode 100644 index 51264041..00000000 --- a/kdejava/koala/org/kde/koala/KPanelAppMenu.java +++ /dev/null @@ -1,292 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - DCop client menu class for the Kicker panel that will insert a submenu into - the %TDE menu. - See {@link KPanelAppMenuSignals} for signals emitted by KPanelAppMenu - @author Daniel M. Duley <mosfet@kde.org> - - @short DCop client menu class for the Kicker panel that will insert a submenu into the %TDE menu. - -*/ -public class KPanelAppMenu extends TQObject implements DCOPObjectInterface { - protected KPanelAppMenu(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new menu with the given title. - @short Constructs a new menu with the given title. - */ - public KPanelAppMenu(String title, TQObject parent, String name) { - super((Class) null); - newKPanelAppMenu(title,parent,name); - } - private native void newKPanelAppMenu(String title, TQObject parent, String name); - public KPanelAppMenu(String title, TQObject parent) { - super((Class) null); - newKPanelAppMenu(title,parent); - } - private native void newKPanelAppMenu(String title, TQObject parent); - public KPanelAppMenu(String title) { - super((Class) null); - newKPanelAppMenu(title); - } - private native void newKPanelAppMenu(String title); - /** - Same as above, but with an icon for the submenu item. - @short Same as above, but with an icon for the submenu item. - */ - public KPanelAppMenu(TQPixmap icon, String title, TQObject parent, String name) { - super((Class) null); - newKPanelAppMenu(icon,title,parent,name); - } - private native void newKPanelAppMenu(TQPixmap icon, String title, TQObject parent, String name); - /** - Constructs a new (sub)menu with a given id. - @short Constructs a new (sub)menu with a given id. - */ - public KPanelAppMenu(TQObject parent, String name) { - super((Class) null); - newKPanelAppMenu(parent,name); - } - private native void newKPanelAppMenu(TQObject parent, String name); - /** - Inserts an item into the menu. - @short Inserts an item into the menu. - */ - public native int insertItem(String text, int id); - public native int insertItem(String text); - /** - Inserts an item with a icon. The icon name must be a full path. - @short Inserts an item with a icon. - */ - public native int insertItem(TQPixmap icon, String text, int id); - public native int insertItem(TQPixmap icon, String text); - /** - Inserts a sub menu with a icon. The icon name must be a full path. - @short Inserts a sub menu with a icon. - */ - public native KPanelAppMenu insertMenu(TQPixmap icon, String text, int id); - public native KPanelAppMenu insertMenu(TQPixmap icon, String text); - /** - Clears the menu. - @short Clears the menu. - */ - public native void clear(); - /** - @short - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] reply); - protected native void init(TQPixmap icon, String title); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Returns the object id of the DCOPObject. - @return the object's id - - @short Returns the object id of the DCOPObject. - */ - public native String objId(); - /** - Renames a dcop object, if no other with the same name exists - Use with care, all dcop signals are disconnected - @param objId the new object id - @short Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disconnected - */ - public native boolean setObjId(String objId); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for process() but - you still want to dispatch some functions dynamically. - Dynamically means that methods may appear and vanish - during runtime. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short This function is of interest when you used an IDL compiler to generate the implementation for process() but you still want to dispatch some functions dynamically. - @see #process - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for functions() but - you still want to list some functions dynamically. - Dynamically means that the methods may appear and vanish - during runtime. - @return A list of the additional functions, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for functions() but you still want to list some functions dynamically. - @see #functions - */ - public native ArrayList functionsDynamic(); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for interfaces() but - you still want to list some interfaces dynamically. - Dynamically means that they may appear and vanish - during runtime. - @return A list of the additional interfaces, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for interfaces() but you still want to list some interfaces dynamically. - @see #interfaces - */ - public native ArrayList interfacesDynamic(); - /** - Returns the names of the interfaces, specific ones last. The - functions gets reimplemented by the IDL compiler. If you don't - use the IDL compiler, consider implementing this function - manually if you want your object to be easily explorable. - @return a list of interfaces - - @short Returns the names of the interfaces, specific ones last. - @see #functions - */ - public native ArrayList interfaces(); - /** - Returns the list of functions understood by the object. It gets - reimplemented by the IDL compiler. If you don't use the IDL - compiler, consider implementing this function manually if you - want your object to be easily scriptable. - Rationale: functions() allows an interpreter to do client-side - type-casting properly. - Note to implementators: remember to call the baseclasses - implementation. - @return a list of functions - - @short Returns the list of functions understood by the object. - @see #interfaces - @see #process - @see #processDynamic - @see DCOPClient#normalizeFunctionSignature - */ - public native ArrayList functions(); - /** - Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as - arguments - @param signal the signal to emit - @param data the data to send - @short Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as arguments - */ - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> - must be registered when the connection is made. - If false, the connection will be reestablished when <code>sender</code> reregisters. - In this case the connection can be made even if <code>sender</code> is not registered - at that time. - - <li> - <code>Volatile</code> is true and <code>sender</code> does not exist. - </li> - - <li> - <code>signal</code> and <code>slot</code> do not have matching arguments. - - </li> @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both <code>sender</code> & <code>signal</code> are empty. In this - case all connections related to this object in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - /** - Returns the DCOPClient responsible for making the call. - Only call this function while you are handling a DCOP call. - @return the DCOPClient responsible for making the call. - This information is only guaranteed to be correct when - entering your DCOP function. - - @short Returns the DCOPClient responsible for making the call. - */ - public native DCOPClient callingDcopClient(); - /** - @short - */ - public native void setCallingDcopClient(DCOPClient arg1); - /** - Checks whether an object with the given id is known in this process. - DCOPObjectProxy - @return true if an object with the questionable <code>objId</code> is - known in this process. This query does not ask proxies. - - @short Checks whether an object with the given id is known in this process. - */ - public static native boolean hasObject(String objId); - /** - Try to find a dcop object with the given id. - This function does not query the DCOPObjectProxy. - @param objId the object id to search - @return the DCOPObject for the id <code>objId.</code> - - @short Try to find a dcop object with the given id. - */ - public static native DCOPObjectInterface find(String objId); - /** - Tries to find an object using a partial object id. - This function is used for multicasting a DCOP message to - several objects inside a single process. - @param partialId the partial object id to search for - @return a list of DCOPObjects beginning with the string - contained in <code>partialId.</code> - - @short Tries to find an object using a partial object id. - */ - // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED - /** - Creates an object id for the TQObject <code>obj.</code> This is done - using the TQObject.name() function. - @param obj the object whose name will be used - @return the created object id - - @short Creates an object id for the TQObject <code>obj.</code> - */ - public static native String objectName(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java b/kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java deleted file mode 100644 index df76bd50..00000000 --- a/kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; - -public interface KPanelAppMenuSignals { - /** - Emitted when the user selects an item from the Kicker menu. - @short Emitted when the user selects an item from the Kicker menu. - */ - void activated(int id); -} diff --git a/kdejava/koala/org/kde/koala/KPanelApplet.java b/kdejava/koala/org/kde/koala/KPanelApplet.java deleted file mode 100644 index 9964299e..00000000 --- a/kdejava/koala/org/kde/koala/KPanelApplet.java +++ /dev/null @@ -1,332 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - Panel applets - - <li> - Are small applications living in the %TDE panel. - </li> - - <li> - Are implemented as DSOs (Dynamic Shared Objects). - </li> - Note: For security and stability reasons the panel won't load - untrusted third party applets directly into its namespace but via an - external wrapper process. - The panel locates available applets by searching for applet desktop - files in (ALL_DIRS)/share/apps/kicker/applets. Every panel applet should - install a desktop file there to be recognized by the panel. - Besides standard keys like "Name", "Comment" and "Icon" there are - two panel applet specific keys: - <li><b>X-TDE-Library </b></li> - Used by the panel to locate the applet DSO (Dynamic Shared Object) - Example: X-TDE-Library=libexampleapplet - <li><b>X-TDE-UniqueApplet </b></li> - Similar to TDEApplication and KUniqueApplication there are - two types of panel applets. Use unique applets when it makes no - sence to run more than one instance of a applet in the panel. A - good example for unique applets is the taskbar applet. Use normal - applets when you need instance specific configuration. An example - is the koolclock applet where you might want to run two instances - in your panel, one configured as analog clock, the other one as - digital clock. X-TDE-UniqueApplet is a booleanean key which defaults - to "false". Example: X-TDE-UniqueApplet=true - Back to panel applet DSOs, the following conventions are used for %KDE: - Name: lib<appletname>applet.la - LDFLAGS: -module -no-undefined - To implement a panel applet it is not enough to write a class - inheriting from KPanelApplet but you also have to provide a - factory function in your DSO. A sample factory function could look - like this: - <pre> - extern "C" - { - KPanelApplet init(TQWidget parent, String configFile) - { - TDEGlobal.locale().insertCatalogue("exampleapplet"); - return new ExampleApplet(configFile, KPanelApplet.Normal, - KPanelApplet.About | KPanelApplet.Help | KPanelApplet.Preferences, - parent, "exampleapplet"); - } - } - </pre> - Note: Don't change the factory function signature or the panel will - fail to load your applet. - See {@link KPanelAppletSignals} for signals emitted by KPanelApplet - @author Matthias Elter <elter@kde.org> - - @short %TDE Panel Applet class. - -*/ -public class KPanelApplet extends TQFrame { - protected KPanelApplet(Class dummy){super((Class) null);} - /** - This enum describes the type of the applet. - @short This enum describes the type of the applet. - */ - public static final int Normal = 0; - public static final int Stretch = 1; - - /** - This enum holds flags which can be ORed together to describe - which items the context menu over the applet handle contains. - @short This enum holds flags which can be ORed together to describe which items the context menu over the applet handle contains. - */ - public static final int About = 1; - public static final int Help = 2; - public static final int Preferences = 4; - public static final int ReportBug = 8; - - public static final int pLeft = 0; - public static final int pRight = 1; - public static final int pTop = 2; - public static final int pBottom = 3; - - public static final int LeftTop = 0; - public static final int Center = 1; - public static final int RightBottom = 2; - - public static final int Up = 0; - public static final int Down = 1; - public static final int Left = 2; - public static final int Right = 3; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KPanelApplet just like any other widget. - @param configFile The configFile handed over in the factory function. - @param t The applet type(). - @param actions Standard RMB menu actions supported by the applet (see action() ). - @param parent The pointer to the parent widget handed over in the factory function. - @param name A Qt object name for your applet. - @param f Window control flags - @short Constructs a KPanelApplet just like any other widget. - */ - public KPanelApplet(String configFile, int t, int actions, TQWidget parent, String name, int f) { - super((Class) null); - newKPanelApplet(configFile,t,actions,parent,name,f); - } - private native void newKPanelApplet(String configFile, int t, int actions, TQWidget parent, String name, int f); - public KPanelApplet(String configFile, int t, int actions, TQWidget parent, String name) { - super((Class) null); - newKPanelApplet(configFile,t,actions,parent,name); - } - private native void newKPanelApplet(String configFile, int t, int actions, TQWidget parent, String name); - public KPanelApplet(String configFile, int t, int actions, TQWidget parent) { - super((Class) null); - newKPanelApplet(configFile,t,actions,parent); - } - private native void newKPanelApplet(String configFile, int t, int actions, TQWidget parent); - public KPanelApplet(String configFile, int t, int actions) { - super((Class) null); - newKPanelApplet(configFile,t,actions); - } - private native void newKPanelApplet(String configFile, int t, int actions); - public KPanelApplet(String configFile, int t) { - super((Class) null); - newKPanelApplet(configFile,t); - } - private native void newKPanelApplet(String configFile, int t); - public KPanelApplet(String configFile) { - super((Class) null); - newKPanelApplet(configFile); - } - private native void newKPanelApplet(String configFile); - /** - Returns a suggested width for a given height. - Every applet should reimplement this function. - Depending on the panel orientation the height (horizontal panel) or the - width (vertical panel) of the applets is fixed. - The exact values of the fixed size component depend on the panel size. - On a horizontal panel the applet height is fixed, the panel will - call widthForHeight(int height) with <code>height</code> - equal to 'the fixed applet height' - when laying out the applets. - The applet can now choose the other size component (width) - based on the given height. - The width you return is granted. - @short Returns a suggested width for a given height. - */ - public native int widthForHeight(int height); - /** - Every applet should reimplement this function. - Depending on the panel orientation the height (horizontal panel) or the - width (vertical panel) of the applets is fixed. - The exact values of the fixed size component depend on the panel size. - On a vertical panel the applet width is fixed, the panel will - call heightForWidth(int width) with <code>width</code> - equal to 'the fixed applet width' - when laying out the applets. - The applet can now choose the other size component (height) - based on the given width. - The height you return is granted. - @return A suggested height for a given width. - - @short - */ - public native int heightForWidth(int width); - /** - Always use this TDEConfig object to save/load your applet's configuration. - For unique applets this config object will write to a config file called - \<appletname\>rc in the user's local %KDE directory. - For normal applets this config object will write to a instance specific config file - called \<appletname\>\<instanceid\>rc in the user's local %KDE directory. - @short Always use this TDEConfig object to save/load your applet's configuration. - */ - public native TDEConfig config(); - // TDESharedConfig::Ptr sharedConfig(); >>>> NOT CONVERTED - /** - @return Type indicating the applet's type. - Type - - @short - */ - public native int type(); - /** - @return int indicating the supported RMB menu actions. - Action - - @short - */ - public native int actions(); - /** - Generic action dispatcher. Called when the user selects an item - from the applet's RMB menu. - Reimplement this function to handle actions. - For About, Help, Preferences and ReportBug, use the convenience handlers - ref about(), help(), preferences(), reportBug() - @short Generic action dispatcher. - */ - public native void action(int a); - /** - @return the applet's custom menu, usually the same as the context menu, or 0 if none - see setCustomMenu(TQPopupMenu*) - - @short - */ - public native TQPopupMenu customMenu(); - /** - @short - */ - public native void setPosition(int p); - /** - @short - */ - public native void setAlignment(int a); - /** - Is called when the user selects "About" from the applet's RMB menu. - Reimplement this function to launch a about dialog. - Note that this is called only when your applet supports the About action. - See Action and KPanelApplet(). - @short Is called when the user selects "About" from the applet's RMB menu. - */ - protected native void about(); - /** - Is called when the user selects "Help" from the applet's RMB menu. - Reimplement this function to launch a manual or help page. - Note that this is called only when your applet supports the Help action. - See Action and KPanelApplet(). - @short Is called when the user selects "Help" from the applet's RMB menu. - */ - protected native void help(); - /** - Is called when the user selects "Preferences" from the applet's RMB menu. - Reimplement this function to launch a preferences dialog or kcontrol module. - Note that this is called only when your applet supports the preferences action. - See Action and KPanelApplet(). - @short Is called when the user selects "Preferences" from the applet's RMB menu. - */ - protected native void preferences(); - /** - Is called when the user selects "Report bug" from the applet's RMB menu. - Reimplement this function to launch a bug reporting dialog. - Note that this is called only when your applet supports the ReportBug - action. - See Action and KPanelApplet() - @short Is called when the user selects "Report bug" from the applet's RMB menu. - */ - protected native void reportBug(); - /** - @return the applet's orientation. (horizontal or vertical) - - @short - */ - protected native int orientation(); - /** - @return the applet's position. (top, left, bottom, or right) - - @short - */ - protected native int position(); - /** - @return the applet's alignment. (top/left, center, or bottom/right) - - @short - */ - protected native int alignment(); - /** - The panel on which this applet resides has changed its position. - Reimplement this change handler in order to adjust the look of your - applet. - @short The panel on which this applet resides has changed its position. - */ - protected native void positionChange(int p); - /** - The panel on which this applet resides has changed its alignment. - Reimplement this change handler in order to adjust the look of your - applet. - @short The panel on which this applet resides has changed its alignment. - */ - protected native void alignmentChange(int arg1); - /** - Use this method to set the custom menu for this applet so that it can be shown - in the applet handle menu and other appropriate places that the applet many not itself - be aware of. The applet itself is still responsible for deleting and managing the - the menu. - If the menu is deleted during the life of the applet, be sure to call this method again - with the new menu (or 0) to avoid crashes - @short Use this method to set the custom menu for this applet so that it can be shown in the applet handle menu and other appropriate places that the applet many not itself be aware of. - */ - protected native void setCustomMenu(TQPopupMenu arg1); - /** - Register widgets that can receive keyboard focus with this this method - This call results in an eventFilter being places on the widget. - @param widget the widget to watch for keyboard focus - @param watch whether to start watching the widget, or to stop doing so - @short Register widgets that can receive keyboard focus with this this method This call results in an eventFilter being places on the widget. - */ - protected native void watchForFocus(TQWidget widget, boolean watch); - protected native void watchForFocus(TQWidget widget); - /** - Call this whenever focus is needed or not needed. You do not have to call this method - for widgets that have been registered with watchForFocus - @param focus whether to or not to request focus - @short Call this whenever focus is needed or not needed. - */ - protected native void needsFocus(boolean focus); - /** - A convenience method that translates the position of the applet into which - direction to show a popup. - @short A convenience method that translates the position of the applet into which direction to show a popup. - */ - protected native int popupDirection(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPanelAppletSignals.java b/kdejava/koala/org/kde/koala/KPanelAppletSignals.java deleted file mode 100644 index a4a5926a..00000000 --- a/kdejava/koala/org/kde/koala/KPanelAppletSignals.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KPanelAppletSignals { - /** - Emit this signal to make the panel relayout all applets, when - you want to change your width (horizontal panel) or - height (vertical panel). - The panel is going to relayout all applets based on their - widthForHeight(int height) (horizontal panel) or - heightForWidth(int width) (vertical panel). - Please note that the panel may change the applet's location - if the new widthForHeight(int height) (horizontal panel) or - heightForWidth(int width) (vertical panel) does not fit into the - current panel layout. - @short Emit this signal to make the panel relayout all applets, when you want to change your width (horizontal panel) or height (vertical panel). - */ - void updateLayout(); - /** - Request keyboard focus from the panel. Applets should never call this directly - but rather call needsFocus(boolean) - @param focus activate the window and ensure the panel remains visible when true - Each and ever time a requestFocus(true) is emitted, it MUST be paired eventually - with a requestFocus(false) otherwise the panel may end up never hiding - @short Request keyboard focus from the panel. - @see #needsFocus - */ - void requestFocus(boolean focus); -} diff --git a/kdejava/koala/org/kde/koala/KPanelExtension.java b/kdejava/koala/org/kde/koala/KPanelExtension.java deleted file mode 100644 index d3099271..00000000 --- a/kdejava/koala/org/kde/koala/KPanelExtension.java +++ /dev/null @@ -1,314 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - Panel extensions - - <li> - Are small applications living in the Window Manager dock managed by the panel. - </li> - - <li> - Are implemented as DSOs (Dynamic Shared Objects). - </li> - Note: For security and stability reasons the panel won't load - untrusted third party extensions directly into its namespace but via an - external wrapper process. - The panel locates available extensions by searching for extension desktop - files in (ALL_TDEDIRS)/share/apps/kicker/extensions. Every panel extension should - install a desktop file there to be recognized by the panel. - Besides standard keys like "Name", "Comment" and "Icon" there are - two panel extension specific keys: - <li><b>X-TDE-Library </b></li> - Used by the panel to locate the extension DSO (Dynamic Shared Object) - Example: X-TDE-Library=libexampleextension - <li><b>X-TDE-UniqueExtension </b></li> - Similar to TDEApplication and KUniqueApplication there are - two types of panel extensions. Use unique extensions when it makes no - sence to run more than one instance of an extension in the panel. A - good example for unique extensions is the taskbar extension. Use normal - extensions when you need instance specific configuration. An example - is a subpanel extension where you might want to run more than one instances. - X-TDE-UniqueExtension is a booleanean key which defaults - to "false". Example: X-TDE-UniqueExtension=true - Back to panel extension DSOs, the following conventions are used for KDE: - Name: lib<extensionname>extension.la - LDFLAGS: -module -no-undefined - To implement a panel extension it is not enough to write a class - inheriting from KPanelExtension but you also have to provide a - factory function in your DSO. A sample factory function could look - like this: - <pre> - extern "C" - { - KPanelExtension init(TQWidget parent, String configFile) - { - TDEGlobal.locale().insertCatalogue("exampleextension"); - return new ExampleExtension(configFile, KPanelExtension.Normal, - KPanelExtension.About | KPanelExtension.Help | KPanelExtension.Preferences, - parent, "exampleextension"); - } - } - </pre> - Note: Don't change the factory function signature or the panel will - fail to load your extension. - See {@link KPanelExtensionSignals} for signals emitted by KPanelExtension - @author Matthias Elter <elter@kde.org> - - @short %TDE Panel Extension class. - -*/ -public class KPanelExtension extends TQFrame { - protected KPanelExtension(Class dummy){super((Class) null);} - public static final int Normal = 0; - public static final int Stretch = 1; - - public static final int About = 1; - public static final int Help = 2; - public static final int Preferences = 4; - public static final int ReportBug = 8; - - public static final int Left = 0; - public static final int Right = 1; - public static final int Top = 2; - public static final int Bottom = 3; - public static final int Floating = 4; - - public static final int LeftTop = 0; - public static final int Center = 1; - public static final int RightBottom = 2; - - public static final int SizeTiny = 0; - public static final int SizeSmall = 1; - public static final int SizeNormal = 2; - public static final int SizeLarge = 3; - public static final int SizeCustom = 4; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KPanelExtension just like any other widget. - @param configFile The configFile handed over in the factory function. - @param t The extension type(). - @param actions Standard RMB menu actions supported by the extension (see action() ). - @param parent The pointer to the parent widget handed over in the factory function. - @param name A Qt object name for your extension. - @short Constructs a KPanelExtension just like any other widget. - */ - public KPanelExtension(String configFile, int t, int actions, TQWidget parent, String name) { - super((Class) null); - newKPanelExtension(configFile,t,actions,parent,name); - } - private native void newKPanelExtension(String configFile, int t, int actions, TQWidget parent, String name); - public KPanelExtension(String configFile, int t, int actions, TQWidget parent) { - super((Class) null); - newKPanelExtension(configFile,t,actions,parent); - } - private native void newKPanelExtension(String configFile, int t, int actions, TQWidget parent); - public KPanelExtension(String configFile, int t, int actions) { - super((Class) null); - newKPanelExtension(configFile,t,actions); - } - private native void newKPanelExtension(String configFile, int t, int actions); - public KPanelExtension(String configFile, int t) { - super((Class) null); - newKPanelExtension(configFile,t); - } - private native void newKPanelExtension(String configFile, int t); - public KPanelExtension(String configFile) { - super((Class) null); - newKPanelExtension(configFile); - } - private native void newKPanelExtension(String configFile); - /** - Returns the preferred size for a given Position. - Every extension should reimplement this function. - Depending on the panel position the extensions can choose a preferred size for that - location in the Window Manager Dock. Please note that the size can not be larger than the - maxsize given by the handler. - @short Returns the preferred size for a given Position. - */ - public native TQSize sizeHint(int arg1, TQSize maxsize); - /** - Always use this TDEConfig object to save/load your extensions configuration. - For unique extensions this config object will write to a config file called - \<extensionname\>rc in the users local KDE directory. - For normal extensions this config object will write to a instance specific config file - called \<extensionname\>\<instanceid\>rc in the users local KDE directory. - @short Always use this TDEConfig object to save/load your extensions configuration. - */ - public native TDEConfig config(); - /** - @return Type indicating the extensions type. - Type - - @short - */ - public native int type(); - /** - @return int indicating the supported RMB menu actions. - Action - - @short - */ - public native int actions(); - /** - Generic action dispatcher. Called when the user selects an item - from the extensions RMB menu. - Reimplement this function to handle actions. - For About, Help, Preferences and ReportBug use the convenience handlers - ref about(), help(), preferences(), reportBug() - @short Generic action dispatcher. - */ - public native void action(int a); - /** - Reimplement this function to set a preferred dock position for your extension. - The extension manager will try to place new instances of this extension according - to this setting. - @return Position - - @short Reimplement this function to set a preferred dock position for your extension. - */ - public native int preferedPosition(); - /** - @short - */ - public native void setPosition(int p); - /** - @short - */ - public native void setAlignment(int a); - /** - @short - */ - public native void setSize(int size, int customSize); - /** - @return the extension's size - - @short - */ - public native int sizeSetting(); - /** - @return the custom sizel setting in pixels - - @short - */ - public native int customSize(); - /** - @return the extension's custom menu, usually the same as the context menu, or 0 if none - - @short - @see #setCustomMenu(TQPopupMenu*) - */ - public native TQPopupMenu customMenu(); - /** - @return whether or not to set a desktop geometry claiming strut for this panel - defaults to true - - @short - @see #setReservetrut(boolean) - */ - public native boolean reserveStrut(); - /** - Is called when the user selects "About" from the extensions RMB menu. - Reimplement this function to launch a about dialog. - Note that this is called only when your extension supports the About action. - See Action. - @short Is called when the user selects "About" from the extensions RMB menu. - */ - protected native void about(); - /** - Is called when the user selects "Help" from the extensions RMB menu. - Reimplement this function to launch a manual or help page. - Note that this is called only when your extension supports the Help action. - See Action. - @short Is called when the user selects "Help" from the extensions RMB menu. - */ - protected native void help(); - /** - Is called when the user selects "Preferences" from the extensions RMB menu. - Reimplement this function to launch a preferences dialog or kcontrol module. - Note that this is called only when your extension supports the preferences action. - See Action. - @short Is called when the user selects "Preferences" from the extensions RMB menu. - */ - protected native void preferences(); - /** - Is called when the user selects "Report bug" from the applet's RMB menu. - Reimplement this function to launch a bug reporting dialog. - Note that this is called only when your applet supports the ReportBug - action. - See Action. - @short Is called when the user selects "Report bug" from the applet's RMB menu. - */ - protected native void reportBug(); - /** - @return the extension's position. (left, right, top, bottom) - - @short - */ - protected native int position(); - /** - @return the extension's alignment. (left/top, center, or right/bottom) - - @short - */ - protected native int alignment(); - /** - @return the extensions orientation. (horizontal or vertical) - - @short - */ - protected native int orientation(); - /** - @return the appropriate size in pixels for the panel - - @short - */ - protected native int sizeInPixels(); - /** - This extension has changed its position. - Reimplement this change handler in order to adjust the look of your - applet. - @short This extension has changed its position. - */ - protected native void positionChange(int arg1); - /** - This extension has changed its alignment. - Reimplement this change handler in order to adjust the look of your - applet. - @short This extension has changed its alignment. - */ - protected native void alignmentChange(int arg1); - /** - Use this method to set the custom menu for this extensions so that it can be shown - at the appropriate places/times that the extension many not itself - be aware of. The extension itself is still responsible for deleting and managing the - the menu. - If the menu is deleted during the life of the extension, be sure to call this method again - with the new menu (or 0) to avoid crashes - @short Use this method to set the custom menu for this extensions so that it can be shown at the appropriate places/times that the extension many not itself be aware of. - */ - protected native void setCustomMenu(TQPopupMenu arg1); - /** - Use this method to set the return value for reserveStrut - @short Use this method to set the return value for reserveStrut - @see #reserveStrut - */ - protected native void setReserveStrut(boolean shouldUseStrut); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPanelExtensionSignals.java b/kdejava/koala/org/kde/koala/KPanelExtensionSignals.java deleted file mode 100644 index 6aaf395a..00000000 --- a/kdejava/koala/org/kde/koala/KPanelExtensionSignals.java +++ /dev/null @@ -1,23 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; - -public interface KPanelExtensionSignals { - /** - Emit this signal to make the panel relayout all extensions in the dock, when you want - to change the extensions size. - The panel is going to relayout all extensions based on their preferred size. - @short Emit this signal to make the panel relayout all extensions in the dock, when you want to change the extensions size. - */ - void updateLayout(); - /** - Emit this signal to make the panel maintain focus, e.g. don't autohide - @short Emit this signal to make the panel maintain focus, e. - */ - void maintainFocus(boolean arg1); -} diff --git a/kdejava/koala/org/kde/koala/KPanelMenu.java b/kdejava/koala/org/kde/koala/KPanelMenu.java deleted file mode 100644 index 114769cf..00000000 --- a/kdejava/koala/org/kde/koala/KPanelMenu.java +++ /dev/null @@ -1,103 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This class allows to build menu entries that will be dynamically added either to - the K-menu, or to the panel as a normal button. These dynamic menus are located - in shared libraries that will be loaded at runtime by Kicker (the %TDE panel). - To build such a menu, you have to inherit this class and implement the pure virtual - functions #initialize() and slotExec(). You also have to provide a factory - object in your library, see KLibFactory. This factory is only used to construct - the menu object. - Finally, you also have to provide a desktop file describing your dynamic menu. The - relevant entries are: Name, Comment, Icon and X-TDE-Library (which contains the - library name without any extension). This desktop file has to be installed in - $TDEDIR/share/apps/kicker/menuext/. - @author The kicker maintainers, Michael Goffioul <tdeprint@swing.be> - - @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - -*/ -public class KPanelMenu extends TDEPopupMenu { - protected KPanelMenu(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a KPanelMenu object. This is the normal constructor to use when - building extrernal menu entries. - @short Construct a KPanelMenu object. - */ - /** - Constructor used internally by Kicker. You don't really want to use it. - @param startDir a directory to associate with this menu - @param parent parent object - @param name name of the object - @short Constructor used internally by Kicker. - @see #path - @see #setPath - */ - /** - Get the directory path associated with this menu, or null if - there's no such associated path. - @return the associated directory path - - @short Get the directory path associated with this menu, or String.null if there's no such associated path. - @see #setPath - */ - public native String path(); - /** - Set a directory path to be associated with this menu. - @param p the directory path - @short Set a directory path to be associated with this menu. - @see #path - */ - public native void setPath(String p); - /** - Tell if the menu has been initialized, that is it already contains items. - This is useful when you need to know if you have to clear the menu, or to - fill it. - @return the initial state - - @short Tell if the menu has been initialized, that is it already contains items. - @see #setInitialized - @see #initialize - */ - public native boolean initialized(); - /** - Set the initial state. Set it to true when you menu is filled with the items - you want. - @param on the initial state - @short Set the initial state. - @see #initialized - @see #initialize - */ - public native void setInitialized(boolean on); - /** - Disable the automatic clearing of the menu. Kicker uses a cache system for - its menus. After a specific configurable delay, the menu will be cleared. - Use this function if you want to disable kicker's cache system, and avoid - the clearing of your menu. - @short Disable the automatic clearing of the menu. - */ - public native void disableAutoClear(); - /** - Reinitialize the menu: the menu is first cleared, the initial state is set - to false, and finally #initialize() is called. Use this if you want to - refill your menu immediately. - @short Reinitialize the menu: the menu is first cleared, the initial state is set to false, and finally #initialize() is called. - */ - public native void reinitialize(); - /** - Deinitialize the menu: the menu is cleared and the initialized state is set to - false. #initialize() is NOT called. It will be called before the menu is - next shown, however. Use this slot if you want a delayed reinitialization. - @short Deinitialize the menu: the menu is cleared and the initialized state is set to false. - */ - public native void deinitialize(); -} diff --git a/kdejava/koala/org/kde/koala/KPassivePopup.java b/kdejava/koala/org/kde/koala/KPassivePopup.java deleted file mode 100644 index 2cccf9cd..00000000 --- a/kdejava/koala/org/kde/koala/KPassivePopup.java +++ /dev/null @@ -1,383 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; -import org.kde.qt.TQFrame; - -/** - - The simplest uses of KPassivePopup are by using the various message() static - methods. The position the popup appears at depends on the type of the parent window: - - <li> - Normal Windows: The popup is placed adjacent to the icon of the window. - </li> - - <li> - System Tray Windows: The popup is placed adjact to the system tray window itself. - </li> - - <li> - Skip Taskbar Windows: The popup is placed adjact to the window - itself if it is visible, and at the edge of the desktop otherwise. - </li> - You also have the option of calling show with a TQPoint as a parameter that - removes the automatic placing of KPassivePopup and shows it in the point you want. - The most basic use of KPassivePopup displays a popup containing a piece of text: - <pre> - KPassivePopup.message( "This is the message", this ); - </pre> - We can create popups with titles and icons too, as this example shows: - <pre> - TQPixmap px; - px.load( "hi32-app-logtracker.png" ); - KPassivePopup.message( "Some title", "This is the main text", px, this ); - </pre> - For more control over the popup, you can use the setView(TQWidget ) method - to create a custom popup. - <pre> - KPassivePopup pop = new KPassivePopup( parent ); - TQVBox vb = new TQVBox( pop ); - new TQLabel( vb, "<b>Isn't this great?</b>" ); - TQHBox box = new TQHBox( vb ); - new TQPushButton( box, "Yes" ); - new TQPushButton( box, "No" ); - pop.setView( vb ); - pop.show(); - </pre> - See {@link KPassivePopupSignals} for signals emitted by KPassivePopup - @author Sascha Cunz, sascha.cunz@tiscali.de - - @version $Id$ - - @short A dialog-like popup that displays messages without interupting the user. - -*/ -public class KPassivePopup extends TQFrame { - protected KPassivePopup(Class dummy){super((Class) null);} - /** - Styles that a KPassivePopup can have. - @short Styles that a KPassivePopup can have. - */ - public static final int Boxed = 0; - public static final int Balloon = 1; - public static final int CustomStyle = 128; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a popup for the specified widget. - @short Creates a popup for the specified widget. - */ - public KPassivePopup(TQWidget parent, String name, int f) { - super((Class) null); - newKPassivePopup(parent,name,f); - } - private native void newKPassivePopup(TQWidget parent, String name, int f); - public KPassivePopup(TQWidget parent, String name) { - super((Class) null); - newKPassivePopup(parent,name); - } - private native void newKPassivePopup(TQWidget parent, String name); - public KPassivePopup(TQWidget parent) { - super((Class) null); - newKPassivePopup(parent); - } - private native void newKPassivePopup(TQWidget parent); - public KPassivePopup() { - super((Class) null); - newKPassivePopup(); - } - private native void newKPassivePopup(); - /** - Creates a popup for the specified window. - @short Creates a popup for the specified window. - */ - public KPassivePopup(long parent, String name, int f) { - super((Class) null); - newKPassivePopup(parent,name,f); - } - private native void newKPassivePopup(long parent, String name, int f); - public KPassivePopup(long parent, String name) { - super((Class) null); - newKPassivePopup(parent,name); - } - private native void newKPassivePopup(long parent, String name); - public KPassivePopup(long parent) { - super((Class) null); - newKPassivePopup(parent); - } - private native void newKPassivePopup(long parent); - /** - Creates a popup for the specified widget. - @short Creates a popup for the specified widget. - */ - public KPassivePopup(int popupStyle, TQWidget parent, String name, int f) { - super((Class) null); - newKPassivePopup(popupStyle,parent,name,f); - } - private native void newKPassivePopup(int popupStyle, TQWidget parent, String name, int f); - public KPassivePopup(int popupStyle, TQWidget parent, String name) { - super((Class) null); - newKPassivePopup(popupStyle,parent,name); - } - private native void newKPassivePopup(int popupStyle, TQWidget parent, String name); - public KPassivePopup(int popupStyle, TQWidget parent) { - super((Class) null); - newKPassivePopup(popupStyle,parent); - } - private native void newKPassivePopup(int popupStyle, TQWidget parent); - public KPassivePopup(int popupStyle) { - super((Class) null); - newKPassivePopup(popupStyle); - } - private native void newKPassivePopup(int popupStyle); - /** - Creates a popup for the specified window. - @short Creates a popup for the specified window. - */ - public KPassivePopup(int popupStyle, long parent, String name, int f) { - super((Class) null); - newKPassivePopup(popupStyle,parent,name,f); - } - private native void newKPassivePopup(int popupStyle, long parent, String name, int f); - public KPassivePopup(int popupStyle, long parent, String name) { - super((Class) null); - newKPassivePopup(popupStyle,parent,name); - } - private native void newKPassivePopup(int popupStyle, long parent, String name); - public KPassivePopup(int popupStyle, long parent) { - super((Class) null); - newKPassivePopup(popupStyle,parent); - } - private native void newKPassivePopup(int popupStyle, long parent); - /** - Sets the main view to be the specified widget (which must be a child of the popup). - @short Sets the main view to be the specified widget (which must be a child of the popup). - */ - public native void setView(TQWidget child); - /** - Creates a standard view then calls setView(TQWidget) . - @short Creates a standard view then calls setView(TQWidget ) . - */ - public native void setView(String caption, String text); - public native void setView(String caption); - /** - Creates a standard view then calls setView(TQWidget) . - @short Creates a standard view then calls setView(TQWidget ) . - */ - public native void setView(String caption, String text, TQPixmap icon); - /** - Returns a widget that is used as standard view if one of the - setView() methods taking the String arguments is used. - You can use the returned widget to customize the passivepopup while - keeping the look similar to the "standard" passivepopups. - After customizing the widget, pass it to setView( TQWidget ) - @param caption The window caption (title) on the popup - @param text The text for the popup - @param icon The icon to use for the popup - @param parent The parent widget used for the returned TQVBox. If left null, - then "this", i.e. the passive popup object will be used. - @return a TQVBox containing the given arguments, looking like the - standard passivepopups. - - @short Returns a widget that is used as standard view if one of the setView() methods taking the String arguments is used. - @see #setView( - @see org.kde.qt.TQWidget - @see #setView( - @see #const - @see #const - @see #setView( - @see #const - @see #const - @see #const - @see org.kde.qt.TQPixmap& - */ - public native TQVBox standardView(String caption, String text, TQPixmap icon, TQWidget parent); - public native TQVBox standardView(String caption, String text, TQPixmap icon); - /** - Returns the main view. - @short Returns the main view. - */ - public native TQWidget view(); - /** - Returns the delay before the popup is removed automatically. - @short Returns the delay before the popup is removed automatically. - */ - public native int timeout(); - /** - Enables / disables auto-deletion of this widget when the timeout - occurs. - The default is false. If you use the class-methods message(), - auto-delection is turned on by default. - @short Enables / disables auto-deletion of this widget when the timeout occurs. - */ - public native void setAutoDelete(boolean autoDelete); - /** - @return true if the widget auto-deletes itself when the timeout occurs. - - @short - @see #setAutoDelete - */ - public native boolean autoDelete(); - /** - Sets the anchor of this balloon. The balloon tries automatically to adjust - itself somehow around the point. - @short Sets the anchor of this balloon. - */ - public native void setAnchor(TQPoint anchor); - /** - Sets the delay for the popup is removed automatically. Setting the delay to 0 - disables the timeout, if you're doing this, you may want to connect the - clicked() signal to the hide() slot. - Setting the delay to -1 makes it use the default value. - @short Sets the delay for the popup is removed automatically. - @see #timeout - */ - public native void setTimeout(int delay); - /** - Reimplemented to reposition the popup. - @short Reimplemented to reposition the popup. - */ - public native void show(); - /** - Shows the popup in the given point - @short Shows the popup in the given point - */ - public native void show(TQPoint p); - /** - Convenience method that displays popup with the specified message beside the - icon of the specified widget. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified message beside the icon of the specified widget. - @see #setAutoDelete - */ - public static native KPassivePopup message(String text, TQWidget parent, String name); - public static native KPassivePopup message(String text, TQWidget parent); - /** - Convenience method that displays popup with the specified caption and message - beside the icon of the specified widget. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified caption and message beside the icon of the specified widget. - @see #setAutoDelete - */ - public static native KPassivePopup message(String caption, String text, TQWidget parent, String name); - public static native KPassivePopup message(String caption, String text, TQWidget parent); - /** - Convenience method that displays popup with the specified icon, caption and - message beside the icon of the specified widget. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified widget. - @see #setAutoDelete - */ - public static native KPassivePopup message(String caption, String text, TQPixmap icon, TQWidget parent, String name, int timeout); - public static native KPassivePopup message(String caption, String text, TQPixmap icon, TQWidget parent, String name); - public static native KPassivePopup message(String caption, String text, TQPixmap icon, TQWidget parent); - /** - Convenience method that displays popup with the specified icon, caption and - message beside the icon of the specified window. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified window. - @see #setAutoDelete - */ - public static native KPassivePopup message(String caption, String text, TQPixmap icon, long parent, String name, int timeout); - public static native KPassivePopup message(String caption, String text, TQPixmap icon, long parent, String name); - public static native KPassivePopup message(String caption, String text, TQPixmap icon, long parent); - /** - Convenience method that displays popup with the specified popup-style and message beside the - icon of the specified widget. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified popup-style and message beside the icon of the specified widget. - @see #setAutoDelete - */ - public static native KPassivePopup message(int popupStyle, String text, TQWidget parent, String name); - public static native KPassivePopup message(int popupStyle, String text, TQWidget parent); - /** - Convenience method that displays popup with the specified popup-style, caption and message - beside the icon of the specified widget. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified popup-style, caption and message beside the icon of the specified widget. - @see #setAutoDelete - */ - public static native KPassivePopup message(int popupStyle, String caption, String text, TQWidget parent, String name); - public static native KPassivePopup message(int popupStyle, String caption, String text, TQWidget parent); - /** - Convenience method that displays popup with the specified popup-style, icon, caption and - message beside the icon of the specified widget. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified widget. - @see #setAutoDelete - */ - public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, TQWidget parent, String name, int timeout); - public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, TQWidget parent, String name); - public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, TQWidget parent); - /** - Convenience method that displays popup with the specified popup-style, icon, caption and - message beside the icon of the specified window. - Note that the returned object is destroyed when it is hidden. - @short Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified window. - @see #setAutoDelete - */ - public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, long parent, String name, int timeout); - public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, long parent, String name); - public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, long parent); - /** - This method positions the popup. - @short This method positions the popup. - */ - protected native void positionSelf(); - /** - Reimplemented to destroy the object when autoDelete() is - enabled. - @short Reimplemented to destroy the object when autoDelete() is enabled. - */ - protected native void hideEvent(TQHideEvent arg1); - /** - Moves the popup to be adjacent to the icon of the specified rectangle. - @short Moves the popup to be adjacent to the icon of the specified rectangle. - */ - protected native void moveNear(TQRect target); - /** - Reimplemented to detect mouse clicks. - @short Reimplemented to detect mouse clicks. - */ - protected native void mouseReleaseEvent(TQMouseEvent e); - /** - If no relative window (eg taskbar button, system tray window) is - available, use this rectangle (pass it to moveNear()). - Basically KWinModule.workArea() with width and height set to 0 - so that moveNear uses the upper-left position. - @return The TQRect to be passed to moveNear() if no other is - available. - - @short If no relative window (eg taskbar button, system tray window) is available, use this rectangle (pass it to moveNear()). - */ - protected native TQRect defaultArea(); - /** - Updates the transparency mask. Unused if PopupStyle == Boxed - @short Updates the transparency mask. - */ - protected native void updateMask(); - /** - Overwrite to paint the border when PopupStyle == Balloon. - Unused if PopupStyle == Boxed - @short Overwrite to paint the border when PopupStyle == Balloon. - */ - protected native void paintEvent(TQPaintEvent pe); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPassivePopupSignals.java b/kdejava/koala/org/kde/koala/KPassivePopupSignals.java deleted file mode 100644 index eabcd36b..00000000 --- a/kdejava/koala/org/kde/koala/KPassivePopupSignals.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; - -public interface KPassivePopupSignals { - /** - Emitted when the popup is clicked. - @short Emitted when the popup is clicked. - */ - void clicked(); - /** - Emitted when the popup is clicked. - @short Emitted when the popup is clicked. - */ - void clicked(TQPoint pos); -} diff --git a/kdejava/koala/org/kde/koala/KPasswordDialog.java b/kdejava/koala/org/kde/koala/KPasswordDialog.java deleted file mode 100644 index 2e0bb97f..00000000 --- a/kdejava/koala/org/kde/koala/KPasswordDialog.java +++ /dev/null @@ -1,256 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This dialog asks the user to enter a password. The functions you're - probably interested in are the static methods, getPassword() and - getNewPassword(). - <li><b>Usage example</b></li> - <pre> - String password; - int result = KPasswordDialog.getPassword(password, i18n("Prompt message")); - if (result == KPasswordDialog.Accepted) - use(password); - </pre> - \image html kpassworddialog.png "KDE Password Dialog" - <li><b>Security notes:</b></li> - Keeping passwords in memory can be a potential security hole. You should - handle this situation with care. - - <li> - You may want to use disableCoreDump() to disable core dumps. - Core dumps are dangerous because they are an image of the process memory, - and thus include any passwords that were in memory. - </li> - - <li> - You should delete passwords as soon as they are not needed anymore. - The functions getPassword() and getNewPassword() return the - password as a String. I believe this is safer than a String. A String - stores its characters internally as 16-bit wide values, so conversions are - needed, both for creating the String and by using it. The temporary - memory used for these conversion is probably not erased. This could lead - to stray passwords in memory, even if you think you erased all of them. - </li> - @author Geert Jansen <jansen@kde.org> - - @short A password input dialog. - -*/ -public class KPasswordDialog extends KDialogBase { - protected KPasswordDialog(Class dummy){super((Class) null);} - /** - This enum distinguishes the two operation modes of this dialog: - @short This enum distinguishes the two operation modes of this dialog: - */ - public static final int Password = 0; - public static final int NewPassword = 1; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a password dialog. - @param type : if NewPassword is given here, the dialog contains two - input fields, so that the user must confirm his password - and possible typos are detected immediately. - @param enableKeep : if true, a check box is shown in the dialog - which allows the user to keep his password input for later. - @param extraBttn : allows to show additional buttons, KDialogBase. - @param parent Passed to lower level constructor. - @param name Passed to lower level constructor - @short Constructs a password dialog. - */ - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent, String name) { - super((Class) null); - newKPasswordDialog(type,enableKeep,extraBttn,parent,name); - } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent, String name); - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent) { - super((Class) null); - newKPasswordDialog(type,enableKeep,extraBttn,parent); - } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent); - public KPasswordDialog(int type, boolean enableKeep, int extraBttn) { - super((Class) null); - newKPasswordDialog(type,enableKeep,extraBttn); - } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn); - /** - Construct a password dialog. Essentially the same as above but allows the - icon in the password dialog to be set via <code>iconName.</code> - @param type if NewPassword is given here, the dialog contains two - input fields, so that the user must confirm his password - and possible typos are detected immediately - @param enableKeep : if true, a check box is shown in the dialog - which allows the user to keep his password input for later. - @param extraBttn : allows to show additional buttons. - @param iconName the name of the icon to be shown in the dialog. If empty, - a default icon is used - @param parent Passed to lower level constructor. - @param name Passed to lower level constructor - @short Construct a password dialog. - */ - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent, String name) { - super((Class) null); - newKPasswordDialog(type,enableKeep,extraBttn,iconName,parent,name); - } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent, String name); - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent) { - super((Class) null); - newKPasswordDialog(type,enableKeep,extraBttn,iconName,parent); - } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent); - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName) { - super((Class) null); - newKPasswordDialog(type,enableKeep,extraBttn,iconName); - } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName); - /** - Sets the password prompt. - @short Sets the password prompt. - */ - public native void setPrompt(String prompt); - /** - Returns the password prompt. - @short Returns the password prompt. - */ - public native String prompt(); - /** - Adds a line of information to the dialog. - @short Adds a line of information to the dialog. - */ - public native void addLine(String key, String value); - /** - Allow empty passwords? - Default: false - @short Allow empty passwords? - Default: false - */ - public native void setAllowEmptyPasswords(boolean allowed); - /** - Allow empty passwords? - @short Allow empty passwords? - */ - public native boolean allowEmptyPasswords(); - /** - Minimum acceptable password length. - Default: If empty passwords are forbidden, 1; - Otherwise, 0. - @param minLength : The new minimum password length - @short Minimum acceptable password length. - */ - public native void setMinimumPasswordLength(int minLength); - /** - Minimum acceptable password length. - @short Minimum acceptable password length. - */ - public native int minimumPasswordLength(); - /** - Maximum acceptable password length. Limited to 199. - Default: No limit, i.e. -1 - @param maxLength : The new maximum password length. - @short Maximum acceptable password length. - */ - public native void setMaximumPasswordLength(int maxLength); - /** - Maximum acceptable password length. - @short Maximum acceptable password length. - */ - public native int maximumPasswordLength(); - /** - Password length that is expected to be reasonably safe. - Default: 8 - the standard UNIX password length - @param reasonableLength : The new reasonable password length. - @short Password length that is expected to be reasonably safe. - */ - public native void setReasonablePasswordLength(int reasonableLength); - /** - Password length that is expected to be reasonably safe. - @short Password length that is expected to be reasonably safe. - */ - public native int reasonablePasswordLength(); - /** - Set the password strength level below which a warning is given - Value is in the range 0 to 99. Empty passwords score 0; - non-empty passwords score up to 100, depending on their length and whether they - contain numbers, mixed case letters and punctuation. - Default: 1 - warn if the password has no discernable strength whatsoever - @param warningLevel : The level below which a warning should be given. - @short Set the password strength level below which a warning is given Value is in the range 0 to 99. - */ - public native void setPasswordStrengthWarningLevel(int warningLevel); - /** - Password strength level below which a warning is given - @short Password strength level below which a warning is given - */ - public native int passwordStrengthWarningLevel(); - /** - Returns the password entered. The memory is freed in the destructor, - so you should make a copy. - @short Returns the password entered. - */ - public native String password(); - /** - Clears the password input field. You might want to use this after the - user failed to enter the correct password. - @short Clears the password input field. - */ - public native void clearPassword(); - /** - Returns true if the user wants to keep the password. - @short Returns true if the user wants to keep the password. - */ - public native boolean keep(); - /** - Pops up the dialog, asks the user for a password, and returns it. - @param password The password is returned in this reference parameter. - @param prompt A prompt for the password. This can be a few lines of - information. The text is word broken to fit nicely in the dialog. - @param keep Enable/disable a checkbox controlling password keeping. - If you pass a null pointer, or a pointer to the value 0, the checkbox - is not shown. If you pass a pointer to a nonzero value, the checkbox - is shown and the result is stored in keep. - @return Result code: Accepted or Rejected. - - @short Pops up the dialog, asks the user for a password, and returns it. - */ - public static native int getPassword(StringBuffer password, String prompt, int[] keep); - public static native int getPassword(StringBuffer password, String prompt); - /** - Pops up the dialog, asks the user for a password and returns it. The - user has to enter the password twice to make sure it was entered - correctly. - @param password The password is returned in this reference parameter. - @param prompt A prompt for the password. This can be a few lines of - information. The text is word broken to fit nicely in the dialog. - @return Result code: Accepted or Rejected. - - @short Pops up the dialog, asks the user for a password and returns it. - */ - public static native int getNewPassword(StringBuffer password, String prompt); - /** - Static helper function that disables core dumps. - @short Static helper function that disables core dumps. - */ - public static native void disableCoreDumps(); - /** - Virtual function that can be overridden to provide password - checking in derived classes. It should return <code>true</code> if the - password is valid, <code>false</code> otherwise. - @short Virtual function that can be overridden to provide password checking in derived classes. - */ - protected native boolean checkPassword(String arg1); - protected native void slotOk(); - protected native void slotCancel(); - protected native void slotKeep(boolean arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPasswordEdit.java b/kdejava/koala/org/kde/koala/KPasswordEdit.java deleted file mode 100644 index 3dcaa371..00000000 --- a/kdejava/koala/org/kde/koala/KPasswordEdit.java +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQLineEdit; - -/** - - The widget uses the user's global "echo mode" setting. - @author Geert Jansen <geertj@kde.org> - - @short A safe password input widget. - -*/ -public class KPasswordEdit extends TQLineEdit { - protected KPasswordEdit(Class dummy){super((Class) null);} - public static final int OneStar = 0; - public static final int ThreeStars = 1; - public static final int NoEcho = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a password input widget using the user's global "echo mode" setting. - @short Constructs a password input widget using the user's global "echo mode" setting. - */ - public KPasswordEdit(TQWidget parent, String name) { - super((Class) null); - newKPasswordEdit(parent,name); - } - private native void newKPasswordEdit(TQWidget parent, String name); - public KPasswordEdit(TQWidget parent) { - super((Class) null); - newKPasswordEdit(parent); - } - private native void newKPasswordEdit(TQWidget parent); - public KPasswordEdit() { - super((Class) null); - newKPasswordEdit(); - } - private native void newKPasswordEdit(); - /** - Constructs a password input widget using echoMode as "echo mode". - Note that echoMode is a TQLineEdit.EchoMode. - @short Constructs a password input widget using echoMode as "echo mode". - */ - public KPasswordEdit(int echoMode, TQWidget parent, String name) { - super((Class) null); - newKPasswordEdit(echoMode,parent,name); - } - private native void newKPasswordEdit(int echoMode, TQWidget parent, String name); - /** - Returns the password. The memory is freed in the destructor - so you should make a copy. - @short Returns the password. - */ - public native String password(); - /** - Erases the current password. - @short Erases the current password. - */ - public native void erase(); - /** - Set the current maximum password length. If a password longer than the limit - specified is currently entered, it is truncated accordingly. - The length is capped to lie between 0 and 199 inclusive. - @param newLength : The new maximum password length - @short Set the current maximum password length. - */ - public native void setMaxPasswordLength(int newLength); - /** - Returns the current maximum password length. - @short Returns the current maximum password length. - */ - public native int maxPasswordLength(); - /** - Reimplementation - @short Reimplementation - */ - public native void insert(String arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void focusInEvent(TQFocusEvent e); - public native boolean event(TQEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPixmap.java b/kdejava/koala/org/kde/koala/KPixmap.java deleted file mode 100644 index a421302d..00000000 --- a/kdejava/koala/org/kde/koala/KPixmap.java +++ /dev/null @@ -1,196 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQImage; -import org.kde.qt.TQPixmap; - -/** - - Off-screen paint device with extended features. - KPixmap has two new color modes, WebColor and LowColor, applicable - to 8bpp displays. - In WebColor mode all images are dithered to the Netscape palette, - even when they have their own color table. WebColor is the default - mode for KPixmap so that standard applications can share the Netscape - palette across the desktop. - In LowColor mode images are checked to see if their color table - matches the KDE icon palette. If the color tables do not match, the - images are dithered to a minimal 3x3x3 color cube. LowColor mode can - be used to load icons, background images etc. so that components of - the desktop which are always present use no more than 40 colors. - @author Mark Donohoe (donohoe@kde.org) - - @version $Id$ - - @short Off-screen paint device with extended features. - -*/ -public class KPixmap extends TQPixmap { - protected KPixmap(Class dummy){super((Class) null);} - /** - This enumeration provides a color pallete specification - @short This enumeration provides a color pallete specification - @see KPixmap#convertFromImage - @see KPixmap#load - */ - public static final int Auto = 0; - public static final int Color = 1; - public static final int Mono = 2; - public static final int LowColor = 3; - public static final int WebColor = 4; - - /** - This enumeration provides a gradient mode specification - @short This enumeration provides a gradient mode specification - */ - public static final int Horizontal = 0; - public static final int Vertical = 1; - public static final int Diagonal = 2; - public static final int CrossDiagonal = 3; - - /** - Constructs a null pixmap. - @short Constructs a null pixmap. - */ - public KPixmap() { - super((Class) null); - newKPixmap(); - } - private native void newKPixmap(); - /** - Copies the TQPixmap <code>pix.</code> - @short Copies the TQPixmap <code>pix.</code> - */ - public KPixmap(TQPixmap pix) { - super((Class) null); - newKPixmap(pix); - } - private native void newKPixmap(TQPixmap pix); - /** - Converts an image and sets this pixmap. - The conversion_flags argument is a bitwise-OR from the - following choices. The options marked (default) are the - choice if no other choice from the list is included (they - are zero): - Color/Mono preference - - <li> - WebColor - If the image has depth 1 and contains - only black and white pixels then the pixmap becomes monochrome. If - the pixmap has a depth of 8 bits per pixel then the Netscape - palette is used for the pixmap color table. - </li> - - <li> - LowColor - If the image has depth 1 and contains only black and - white pixels then the pixmap becomes monochrome. If the pixmap has a - depth of 8 bits per pixel and the image does not posess a color table - that matches the Icon palette a 3x3x3 color cube is used for the - pixmap color table. - </li> - - <li> - AutoColor (default) - If the image has depth 1 and contains - only black and white pixels, then the pixmap becomes - monochrome. - </li> - - <li> - ColorOnly - The pixmap is dithered/converted to the native - display depth. - </li> - - <li> - MonoOnly - The pixmap becomes monochrome. If necessary, it - is dithered using the chosen dithering algorithm. - </li> - Dithering mode preference, for RGB channels - - <li> - DiffuseDither (default) - A high quality dither. - </li> - - <li> - OrderedDither - A faster more ordered dither. - </li> - - <li> - ThresholdDither - No dithering, closest color is used. - </li> - Dithering mode preference, for alpha channel - - <li> - DiffuseAlphaDither - A high quality dither. - </li> - - <li> - OrderedAlphaDither - A faster more ordered dither. - </li> - - <li> - ThresholdAlphaDither (default) - No dithering. - </li> - Color matching versus dithering preference - - <li> - PreferDither - Always dither 32-bit images when the image - is being converted to 8-bits. This is the default when - converting to a pixmap. - </li> - - <li> - AvoidDither - Only dither 32-bit images if the image has - more than 256 colors and it is being converted to 8-bits. - This is the default when an image is converted for the - purpose of saving to a file. - </li> - Passing 0 for <code>conversion_flags</code> gives all the default - options. - @param img the image to convert - @param conversion_flags bitmask, described above - @return <code>true</code> if successful. - - @short Converts an image and sets this pixmap. - */ - public native boolean convertFromImage(TQImage img, int conversion_flags); - public native boolean convertFromImage(TQImage img); - /** - Loads a pixmap from the file <code>fileName.</code> - If format is specified, the loader attempts to read the - pixmap using the specified format. If format is not - specified (default), the loader reads a few bytes from the - header to guess the file format. - The TQImageIO documentation lists the supported image - formats and explains how to add extra formats. - @param fileName the name of the file to load the image from - @param format the format for the image - @param conversion_flags a bitmask, as described in - convertFromImage() - @return <code>true</code> if successful, or false if the pixmap - could not be loaded. - - @short Loads a pixmap from the file <code>fileName.</code> - */ - public native boolean load(String fileName, String format, int conversion_flags); - public native boolean load(String fileName, String format); - public native boolean load(String fileName); - /** - Returns true if the image posesses a color table that - matches the Icon palette or false otherwise. - An image with one color not found in the Icon palette is - considered to be a match, since this extra color may be a - transparent background. - @param image the image to test - @short Returns true if the image posesses a color table that matches the Icon palette or false otherwise. - */ - public native boolean checkColorTable(TQImage image); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPixmapEffect.java b/kdejava/koala/org/kde/koala/KPixmapEffect.java deleted file mode 100644 index c6abe32f..00000000 --- a/kdejava/koala/org/kde/koala/KPixmapEffect.java +++ /dev/null @@ -1,240 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; - -/** - - This class includes various pixmap-based graphical effects. - Everything is - static, so there is no need to create an instance of this class. You can - just call the static methods. They are encapsulated here merely to provide - a common namespace. - @short This class includes various pixmap-based graphical effects. - -*/ -public class KPixmapEffect implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KPixmapEffect(Class dummy){} - - public static final int VerticalGradient = 0; - public static final int HorizontalGradient = 1; - public static final int DiagonalGradient = 2; - public static final int CrossDiagonalGradient = 3; - public static final int PyramidGradient = 4; - public static final int RectangleGradient = 5; - public static final int PipeCrossGradient = 6; - public static final int EllipticGradient = 7; - - public static final int Red = 0; - public static final int Green = 1; - public static final int Blue = 2; - - public static final int NorthLite = 0; - public static final int NWLite = 1; - public static final int WestLite = 2; - public static final int SWLite = 3; - public static final int SouthLite = 4; - public static final int SELite = 5; - public static final int EastLite = 6; - public static final int NELite = 7; - - public KPixmapEffect() { - newKPixmapEffect(); - } - private native void newKPixmapEffect(); - /** - Creates a gradient from color a to color b of the specified type. - @param pixmap The pixmap to process. - @param ca Color a. - @param cb Color b. - @param type The type of gradient. - @param ncols The number of colors to use when not running on a - truecolor display. The gradient will be dithered to this number of - colors. Pass 0 to prevent dithering. - @return Returns the generated pixmap, for convenience. - - @short Creates a gradient from color a to color b of the specified type. - */ - public static native KPixmap gradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int ncols); - public static native KPixmap gradient(KPixmap pixmap, TQColor ca, TQColor cb, int type); - /** - Creates an unbalanced gradient. - An unbalanced gradient is a gradient where the transition from - color a to color b is not linear, but in this case, exponential. - @param pixmap The pixmap that should be written. - @param ca Color a. - @param cb Color b. - @param type The type of gradient. - @param xfactor The x decay length. Use a value between -200 and 200. - @param yfactor The y decay length. - @param ncols The number of colors. See #gradient. - @return The generated pixmap, for convencience. - - @short Creates an unbalanced gradient. - */ - public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int xfactor, int yfactor, int ncols); - public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int xfactor, int yfactor); - public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int xfactor); - public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type); - /** - Creates a pixmap of a given size with the given pixmap. - if the - given size is bigger than the size of the pixmap, the pixmap is - tiled. - @param pixmap This is the source pixmap - @param size The size the new pixmap should have. - @return The generated, tiled pixmap. - - @short Creates a pixmap of a given size with the given pixmap. - */ - public static native KPixmap createTiled(KPixmap pixmap, TQSize size); - /** - Either brightens or dims a pixmap by a specified ratio. - @param pixmap The pixmap to process. - @param ratio The ratio to use. Use negative value to dim. - @return Returns The pixmap(), provided for convenience. - - @short Either brightens or dims a pixmap by a specified ratio. - */ - public static native KPixmap intensity(KPixmap pixmap, float ratio); - /** - Modifies the intensity of a pixmap's RGB channel component. - @param pixmap The pixmap to process. - @param ratio value. Use negative value to dim. - @param channel Which channel(s) should be modified - @return Returns the pixmap(), provided for convenience. - - @short Modifies the intensity of a pixmap's RGB channel component. - */ - public static native KPixmap channelIntensity(KPixmap pixmap, float ratio, int channel); - /** - Blends the provided pixmap into a background of the indicated color. - @param pixmap The pixmap to process. - @param initial_intensity this parameter takes values from -1 to 1: - - <li> - If positive, it tells how much to fade the image in its - less affected spot. - </li> - - <li> - If negative, it tells roughly indicates how much of the image - remains unaffected - </li> - @param bgnd Indicates the color of the background to blend in. - @param eff Lets you choose what kind of blending you like. - @param anti_dir Blend in the opposite direction (makes no much sense - with concentric blending effects). - @param ncols The number of colors to dither the pixmap to. Only - used for 8 bpp pixmaps. - @return Returns the pixmap(), provided for convenience. - - @short Blends the provided pixmap into a background of the indicated color. - */ - public static native KPixmap blend(KPixmap pixmap, float initial_intensity, TQColor bgnd, int eff, boolean anti_dir, int ncols); - public static native KPixmap blend(KPixmap pixmap, float initial_intensity, TQColor bgnd, int eff, boolean anti_dir); - public static native KPixmap blend(KPixmap pixmap, float initial_intensity, TQColor bgnd, int eff); - /** - Builds a hash on any given pixmap. - @param pixmap The pixmap to process. - @param lite The hash faces the indicated lighting (cardinal poles) - @param spacing How many unmodified pixels inbetween hashes. - @param ncols The number of colors to dither the pixmap to. - Only used for 8 bpp pixmaps. - @return Returns The pixmap(), provided for convenience. - - @short Builds a hash on any given pixmap. - */ - public static native KPixmap hash(KPixmap pixmap, int lite, int spacing, int ncols); - public static native KPixmap hash(KPixmap pixmap, int lite, int spacing); - public static native KPixmap hash(KPixmap pixmap, int lite); - public static native KPixmap hash(KPixmap pixmap); - /** - Creates a pattern from a pixmap. - The given pixmap is "flattened" - between color a to color b. - Doesn't change the original pixmap. - @param pixmap The pixmap to process. - @param size The size of the returned pixmap. If <code>size</code> is larger than - the original, the resulting pixmap will be tiled. - @param ca Color a. - @param cb Color b. - @param ncols The number of colors to use. The image will be - dithered to this depth. Pass zero to prevent dithering. - @return The resulting pixmap. - - @short Creates a pattern from a pixmap. - */ - public static native KPixmap pattern(KPixmap pixmap, TQSize size, TQColor ca, TQColor cb, int ncols); - public static native KPixmap pattern(KPixmap pixmap, TQSize size, TQColor ca, TQColor cb); - /** - Fades a pixmap to a certain color. - @param pixmap The pixmap to process. - @param val The strength of the effect. 0 <= val <= 1. - @param color The color to blend to. - @return Returns the pixmap(), provided for convenience. - - @short Fades a pixmap to a certain color. - */ - public static native KPixmap fade(KPixmap pixmap, double val, TQColor color); - /** - Converts a pixmap to grayscale. - @param pixmap The pixmap to process. - @param fast Set to <code>true</code> in order to use a faster but non-photographic - quality algorithm. Appropriate for things such as toolbar icons. - @return Returns the pixmap(), provided for convenience. - - @short Converts a pixmap to grayscale. - */ - public static native KPixmap toGray(KPixmap pixmap, boolean fast); - public static native KPixmap toGray(KPixmap pixmap); - /** - Desaturates a pixmap. - @param pixmap The pixmap to process. - @param desat A value between 0 and 1 setting the degree of desaturation - @return Returns The pixmap(), provided for convenience. - - @short Desaturates a pixmap. - */ - public static native KPixmap desaturate(KPixmap pixmap, float desat); - public static native KPixmap desaturate(KPixmap pixmap); - /** - Modifies the contrast of a pixmap. - @param pixmap The pixmap to process. - @param c A contrast value between -255 and 255. - @return Returns the pixmap(), provided for convenience. - - @short Modifies the contrast of a pixmap. - */ - public static native KPixmap contrast(KPixmap pixmap, int c); - /** - Dithers a pixmap using Floyd-Steinberg dithering for low-color - situations. - @param pixmap The pixmap to process. - @param palette The color palette to use. - @param size The size of the palette. - @return Returns the pixmap(), provided for convenience. - - @short Dithers a pixmap using Floyd-Steinberg dithering for low-color situations. - */ - public static native KPixmap dither(KPixmap pixmap, TQColor palette, int size); - /** - Calculate a 'selected' pixmap, for instance a selected icon - on the desktop. - @param pixmap the pixmap to select - @param col the selected color, usually from TQColorGroup.highlight(). - @short Calculate a 'selected' pixmap, for instance a selected icon on the desktop. - */ - public static native KPixmap selectedPixmap(KPixmap pixmap, TQColor col); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPixmapIO.java b/kdejava/koala/org/kde/koala/KPixmapIO.java deleted file mode 100644 index 2329f718..00000000 --- a/kdejava/koala/org/kde/koala/KPixmapIO.java +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQImage; -import org.kde.qt.TQPoint; - -/** - - KPixmapIO implements a fast path for TQPixmap to/from TQImage conversions. - It uses the MIT-SHM shared memory extension for this. If this extension is - not available, it will fall back to standard Qt methods. - <li><b>Typical usage:</b></li> - You can use KPixmapIO for load/saving pixmaps. - <pre> - KPixmapIO io; - pixmap = io.convertToPixmap(image); - image = io.convertToImage(pixmap); - </pre> - It also has functionality for partially updating/saving pixmaps, see - putImage and getImage. - <b>KPixmapIO vs. Qt speed comparison</b>\n - Speed measurements were taken. These show that usage of KPixmapIO for - images up to a certain threshold size, offers no speed advantage over - the Qt routines. Below you can see a plot of these measurements. - The threshold size, amongst other causes, is determined by the shared - memory allocation policy. If the policy is <code>ShmDontKeep</code>, the - shared memory segment is discarded right after usage, and thus needs to - be allocated before each transfer. This introduces a a setup penalty not - present when the policy is <code>ShmKeepAndGrow.</code> In this case the - shared memory segment is kept and resized when necessary, until the - KPixmapIO object is destroyed. - The default policy is <code>ShmDontKeep.</code> This policy makes sense when - loading pixmaps once. The corresponding threshold is taken at 5.000 - pixels as suggested by experiments. Below this threshold, KPixmapIO - will not use shared memory and fall back on the Qt routines. - When the policy is <code>ShmKeepAndGrow</code>, the threshold is taken at - 2.000 pixels. Using this policy, you might want to use preAllocShm - to pre-allocate a certain amount of shared memory, in order to avoid - resizes. This allocation policy makes sense in a multimedia type - application where you are constantly updating the screen. - Above a couple times the threshold size, KPixmapIO's and Qt's speed become - linear in the number of pixels, KPixmapIO being at least 2, and mostly around - 4 times faster than Qt, depending on the screen and image depth. - Speed difference seems to be the most at 16 bpp, followed by 32 and 24 - bpp respectively. This can be explained by the relatively poor - implementation of 16 bit RGB packing in Qt, while at 32 bpp we need to - transfer more data, and thus gain more, than at 24 bpp. - <li><b>Conclusion:</b></li> - For large pixmaps, there's a definite speed improvement when using - KPixmapIO. On the other hand, there's no speed improvement for small - pixmaps. When you know you're only transferring small pixmaps, there's no - point in using it. - @author Geert Jansen <jansen@kde.org> - - @version $Id$ - - @short Fast TQImage to/from TQPixmap conversion. - -*/ -public class KPixmapIO implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KPixmapIO(Class dummy){} - - /** - Shared memory allocation policies. - @short Shared memory allocation policies. - */ - public static final int ShmDontKeep = 0; - public static final int ShmKeepAndGrow = 1; - - public KPixmapIO() { - newKPixmapIO(); - } - private native void newKPixmapIO(); - /** - Convert an image to a pixmap. - @param image The image to convert. - @return The pixmap containing the image. - - @short Convert an image to a pixmap. - */ - public native TQPixmap convertToPixmap(TQImage image); - /** - Convert a pixmap to an image. - @param pixmap The pixmap to convert. - @return The image. - - @short Convert a pixmap to an image. - */ - public native TQImage convertToImage(TQPixmap pixmap); - /** - Bitblt an image onto a pixmap. - @param dst The destination pixmap. - @param dx Destination x offset. - @param dy Destination y offset. - @param src The image to load. - @short Bitblt an image onto a pixmap. - */ - public native void putImage(TQPixmap dst, int dx, int dy, TQImage src); - /** - This function is identical to the one above. It only differs in the - arguments it accepts. - @short This function is identical to the one above. - */ - public native void putImage(TQPixmap dst, TQPoint offset, TQImage src); - /** - Transfer (a part of) a pixmap to an image. - @param src The source pixmap. - @param sx Source x offset. - @param sy Source y offset. - @param sw Source width. - @param sh Source height. - @return The image. - - @short Transfer (a part of) a pixmap to an image. - */ - public native TQImage getImage(TQPixmap src, int sx, int sy, int sw, int sh); - /** - This function is identical to the one above. It only differs in the - arguments it accepts. - @short This function is identical to the one above. - */ - public native TQImage getImage(TQPixmap src, TQRect rect); - /** - Set the shared memory allocation policy. See the introduction for - KPixmapIO for a discussion. - @param policy The alloction policy. - @short Set the shared memory allocation policy. - */ - public native void setShmPolicy(int policy); - /** - Pre-allocate shared memory. KPixmapIO will be able to transfer images - up to this size without resizing. - @param size The size of the image in <code>pixels.</code> - @short Pre-allocate shared memory. - */ - public native void preAllocShm(int size); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPixmapProvider.java b/kdejava/koala/org/kde/koala/KPixmapProvider.java deleted file mode 100644 index c88eb147..00000000 --- a/kdejava/koala/org/kde/koala/KPixmapProvider.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; - -/** - - A tiny abstract class with just one method: - pixmapFor() - It will be called whenever an icon is searched for <code>text.</code> - Used e.g. by KHistoryCombo - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short an abstract interface for looking up icons. - -*/ -public class KPixmapProvider implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KPixmapProvider(Class dummy){} - - /** - You may subclass this and return a pixmap of size <code>size</code> for <code>text.</code> - @param text the text that is associated with the pixmap - @param size the size of the icon in pixels, 0 for defaylt size. - See TDEIcon.StdSize. - @return the pixmap for the arguments, or null if there is none - - @short You may subclass this and return a pixmap of size <code>size</code> for <code>text.</code> - */ - public native TQPixmap pixmapFor(String text, int size); - public native TQPixmap pixmapFor(String text); -} diff --git a/kdejava/koala/org/kde/koala/KPixmapSplitter.java b/kdejava/koala/org/kde/koala/KPixmapSplitter.java deleted file mode 100644 index da5eccaf..00000000 --- a/kdejava/koala/org/kde/koala/KPixmapSplitter.java +++ /dev/null @@ -1,100 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; - -/** - - If you have a pixmap containing several items (icons), you can use this - class to get the coordinates of each item. - For example, if you have a pixmap with 25 items and you want to get the - 4th item as a pixmap (every item being 20x10 pixels): - <pre> - KPixmapSplitter splitter; - splitter.setPixmap( somePixmap ); - splitter.setItemSize( TQSize( 20, 10 )); - TQPixmap item( 20, 10 ); - item.fill( Qt.white ); - TQRect rect = splitter.coordinates( 4 ); - if ( !rect.isEmpty() ) - bitBlt( &item, TQPoint(0,0), &somePixmap, rect, CopyROP ); - </pre> - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A class to split a pixmap into several items. - -*/ -public class KPixmapSplitter implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KPixmapSplitter(Class dummy){} - - /** - Constructor, does nothing but initialize some default-values. - @short Constructor, does nothing but initialize some default-values. - */ - public KPixmapSplitter() { - newKPixmapSplitter(); - } - private native void newKPixmapSplitter(); - /** - Sets the pixmap to be split. - @short Sets the pixmap to be split. - */ - public native void setPixmap(TQPixmap pixmap); - /** - @return the pixmap that has been set via setPixmap(). - - @short - */ - public native TQPixmap pixmap(); - /** - Sets the size of the items you want to get out of the given pixmap. - The TQRect of #coordinates(int) will have the width and height of exactly - this <code>size.</code> - @short Sets the size of the items you want to get out of the given pixmap. - */ - public native void setItemSize(TQSize size); - /** - @return the set size of the items (coordinates) you want to get - out of the given pixmap. - - @short - */ - public native TQSize itemSize(); - /** - If there is space between rows in the given pixmap, you have to specify - how many pixels there are. - @short If there is space between rows in the given pixmap, you have to specify how many pixels there are. - */ - public native void setVSpacing(int spacing); - /** - If there is space between columns in the given pixmap, you have to - specify how many pixels there are. - @short If there is space between columns in the given pixmap, you have to specify how many pixels there are. - */ - public native void setHSpacing(int spacing); - /** - @return the coordinates of the item at position pos in the given - pixmap. - - @short - */ - public native TQRect coordinates(int pos); - /** - Overloaded for convenience. Returns the item at the position of the - given character (when using a latin1 font-pixmap) - @short Overloaded for convenience. - */ - public native TQRect coordinates(char ch); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPluginSelector.java b/kdejava/koala/org/kde/koala/KPluginSelector.java deleted file mode 100644 index 62cf53a2..00000000 --- a/kdejava/koala/org/kde/koala/KPluginSelector.java +++ /dev/null @@ -1,150 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - It shows the list of available plugins on top (if there's more than one - category this is a TabWidget) and the configuration of the selected plugin - below that. - Since the user needs a way to know what a specific plugin does every plugin - sould install a desktop file containing a name, comment and category field. - The category is usefull for applications that can use different kinds of - plugins like a playlist, skin or visualization. - The location of these desktop files is the - share/apps/<instancename>/<plugindir> directory. But if you need - you may use a different directory. - Often a program has more than one kind of plugin. In that case you want to - make a visible distinction between those plugins. All you have to do is to - create a KPluginSelectionWidget for every category and then add them all - to the KPluginSelector. - See {@link KPluginSelectorSignals} for signals emitted by KPluginSelector - @author Matthias Kretz <kretz@kde.org> - - @short A widget to select what plugins to load and configure the plugins. - -*/ -public class KPluginSelector extends TQWidget { - protected KPluginSelector(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a new KPluginSelector. - @short Create a new KPluginSelector. - */ - public KPluginSelector(TQWidget parent, String name) { - super((Class) null); - newKPluginSelector(parent,name); - } - private native void newKPluginSelector(TQWidget parent, String name); - public KPluginSelector(TQWidget parent) { - super((Class) null); - newKPluginSelector(parent); - } - private native void newKPluginSelector(TQWidget parent); - /** - Add a list of KParts plugins - If you want to support non-KParts plugins use the following - function. - The information about the plugins will be loaded from the - share/apps/<instancename>/kpartplugins directory. - @param instanceName The name of the TDEInstance of the plugin's parent. - @param catname The translated name of the category. This is the - name that is shown in the TabWidget if there is - more than one category. - @param category When you have different categories of KParts - plugins you distinguish between the plugins using - the Category key in the .desktop file. Use this - parameter to select only those KParts plugins - with the Category key == <code>category.</code> If <code>category</code> is not set the Category key is ignored - and all plugins are shown. - @param config The TDEConfig object that holds the state of the - plugins being enabled or not. By default it should - be instance.config(). It is recommended to - always pass a TDEConfig object if you use - KSettings.PluginPage since you never know from where the - page will be called (think global config app). - For example KViewCanvas passes KSimpleConfig( - "kviewcanvas" ). - @short Add a list of KParts plugins - */ - public native void addPlugins(String instanceName, String catname, String category, TDEConfig config); - public native void addPlugins(String instanceName, String catname, String category); - public native void addPlugins(String instanceName, String catname); - public native void addPlugins(String instanceName); - /** - Add a list of KParts plugins. Convenience method for the one above. - If not set explicitely, <code>config</code> is set to instance.config(). - @short Add a list of KParts plugins. - */ - public native void addPlugins(TDEInstanceInterface instance, String catname, String category, TDEConfig config); - public native void addPlugins(TDEInstanceInterface instance, String catname, String category); - public native void addPlugins(TDEInstanceInterface instance, String catname); - public native void addPlugins(TDEInstanceInterface instance); - /** - Add a list of non-KParts plugins - @param plugininfos A list of KPluginInfo objects containing the - necessary information for the plugins you want to - add to the list. - @param catname The translated name of the category. This is the - name that is shown in the TabWidget if there is - more than one category. - @param category When you have different categories of KParts - plugins you distinguish between the plugins using - the Category key in the .desktop file. Use this - parameter to select only those KParts plugins - with the Category key == <code>category.</code> If <code>category</code> is not set the Category key is ignored - and all plugins are shown. - @param config The TDEConfig object that holds the state of the - plugins being enabled or not. By default it will - use TDEGlobal.config(). It is recommended to - always pass a TDEConfig object if you use - KSettings.PluginPage since you never know from where the - page will be called (think global config app). - For example KViewCanvas passes KSimpleConfig( - "kviewcanvas" ). - @short Add a list of non-KParts plugins - */ - // void addPlugins(const TQValueList<KPluginInfo*>& arg1,const TQString& arg2,const TQString& arg3,TDEConfig* arg4); >>>> NOT CONVERTED - // void addPlugins(const TQValueList<KPluginInfo*>& arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED - // void addPlugins(const TQValueList<KPluginInfo*>& arg1,const TQString& arg2); >>>> NOT CONVERTED - // void addPlugins(const TQValueList<KPluginInfo*>& arg1); >>>> NOT CONVERTED - /** - Set whether the area for showing the KCMs of the plugins should be - hidden if the plugin doesn't have a KCM or whether the layout should - rather stay static and only an message should be shown. - By default the config page is not hidden. - @short Set whether the area for showing the KCMs of the plugins should be hidden if the plugin doesn't have a KCM or whether the layout should rather stay static and only an message should be shown. - */ - public native void setShowEmptyConfigPage(boolean arg1); - /** - Load the state of the plugins (selected or not) from the KPluginInfo - objects. For KParts plugins everything should work automatically. For - your own type of plugins you might need to reimplement the - KPluginInfo.isPluginEnabled() method. If that doesn't fit your needs - you can also reimplement this method. - @short Load the state of the plugins (selected or not) from the KPluginInfo objects. - */ - public native void load(); - /** - Save the configuration - @short Save the configuration - */ - public native void save(); - /** - Change to applications defaults - @short Change to applications defaults - */ - public native void defaults(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPluginSelectorSignals.java b/kdejava/koala/org/kde/koala/KPluginSelectorSignals.java deleted file mode 100644 index 918ab9f0..00000000 --- a/kdejava/koala/org/kde/koala/KPluginSelectorSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KPluginSelectorSignals { - /** - Tells you whether the configuration is changed or not. - @short Tells you whether the configuration is changed or not. - */ - void changed(boolean arg1); - /** - Emitted after the config of an embedded KCM has been saved. The - argument is the name of the parent component that needs to reload - its config - @short Emitted after the config of an embedded KCM has been saved. - */ - void configCommitted(String instanceName); -} diff --git a/kdejava/koala/org/kde/koala/KPreviewWidgetBase.java b/kdejava/koala/org/kde/koala/KPreviewWidgetBase.java deleted file mode 100644 index 5beb1365..00000000 --- a/kdejava/koala/org/kde/koala/KPreviewWidgetBase.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - Abstract baseclass for all preview widgets which shall be used via - KFileDialog.setPreviewWidget(const KPreviewWidgetBase ). - Ownership will be transferred to KFileDialog, so you have to create - the preview with "new" and let KFileDialog delete it. - Just derive your custom preview widget from KPreviewWidgetBase and implement - all the pure methods. The slot showPreview(KURL) is called - every time the file selection changes. - @author Frerich Raabe <raabe@kde.org> - - @short Abstract baseclass for all preview widgets. - -*/ -public class KPreviewWidgetBase extends TQWidget { - protected KPreviewWidgetBase(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. Construct the user interface of your preview widget here - and pass the KFileDialog this preview widget is going to be used in as - the parent. - @param parent The KFileDialog this preview widget is going to be used in - @param name The internal name of this object - @short Constructor. - */ - /** - This slot is called every time the user selects another file in the - file dialog. Implement the stuff necessary to reflect the change here. - @param url The URL of the currently selected file. - @short This slot is called every time the user selects another file in the file dialog. - */ - public native void showPreview(KURL url); - /** - Reimplement this to clear the preview. This is called when e.g. the - selection is cleared or when multiple selections exist, or the directory - is changed. - @short Reimplement this to clear the preview. - */ - public native void clearPreview(); - public native ArrayList supportedMimeTypes(); -} diff --git a/kdejava/koala/org/kde/koala/KPrintAction.java b/kdejava/koala/org/kde/koala/KPrintAction.java deleted file mode 100644 index c32483f5..00000000 --- a/kdejava/koala/org/kde/koala/KPrintAction.java +++ /dev/null @@ -1,118 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -/** - See {@link KPrintActionSignals} for signals emitted by KPrintAction -*/ -public class KPrintAction extends TDEActionMenu { - protected KPrintAction(Class dummy){super((Class) null);} - public static final int All = 0; - public static final int Regular = 1; - public static final int Specials = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public KPrintAction(String text, int type, TQWidget parentWidget, TQObject parent, String name) { - super((Class) null); - newKPrintAction(text,type,parentWidget,parent,name); - } - private native void newKPrintAction(String text, int type, TQWidget parentWidget, TQObject parent, String name); - public KPrintAction(String text, int type, TQWidget parentWidget, TQObject parent) { - super((Class) null); - newKPrintAction(text,type,parentWidget,parent); - } - private native void newKPrintAction(String text, int type, TQWidget parentWidget, TQObject parent); - public KPrintAction(String text, int type, TQWidget parentWidget) { - super((Class) null); - newKPrintAction(text,type,parentWidget); - } - private native void newKPrintAction(String text, int type, TQWidget parentWidget); - public KPrintAction(String text, int type) { - super((Class) null); - newKPrintAction(text,type); - } - private native void newKPrintAction(String text, int type); - public KPrintAction(String text) { - super((Class) null); - newKPrintAction(text); - } - private native void newKPrintAction(String text); - public KPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent, String name) { - super((Class) null); - newKPrintAction(text,icon,type,parentWidget,parent,name); - } - private native void newKPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent, String name); - public KPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent) { - super((Class) null); - newKPrintAction(text,icon,type,parentWidget,parent); - } - private native void newKPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent); - public KPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget) { - super((Class) null); - newKPrintAction(text,icon,type,parentWidget); - } - private native void newKPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget); - public KPrintAction(String text, TQIconSet icon, int type) { - super((Class) null); - newKPrintAction(text,icon,type); - } - private native void newKPrintAction(String text, TQIconSet icon, int type); - public KPrintAction(String text, TQIconSet icon) { - super((Class) null); - newKPrintAction(text,icon); - } - private native void newKPrintAction(String text, TQIconSet icon); - public KPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent, String name) { - super((Class) null); - newKPrintAction(text,icon,type,parentWidget,parent,name); - } - private native void newKPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent, String name); - public KPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent) { - super((Class) null); - newKPrintAction(text,icon,type,parentWidget,parent); - } - private native void newKPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent); - public KPrintAction(String text, String icon, int type, TQWidget parentWidget) { - super((Class) null); - newKPrintAction(text,icon,type,parentWidget); - } - private native void newKPrintAction(String text, String icon, int type, TQWidget parentWidget); - public KPrintAction(String text, String icon, int type) { - super((Class) null); - newKPrintAction(text,icon,type); - } - private native void newKPrintAction(String text, String icon, int type); - public KPrintAction(String text, String icon) { - super((Class) null); - newKPrintAction(text,icon); - } - private native void newKPrintAction(String text, String icon); - public static native KPrintAction exportAll(TQWidget parentWidget, TQObject parent, String name); - public static native KPrintAction exportAll(TQWidget parentWidget, TQObject parent); - public static native KPrintAction exportAll(TQWidget parentWidget); - public static native KPrintAction exportAll(); - public static native KPrintAction exportRegular(TQWidget parentWidget, TQObject parent, String name); - public static native KPrintAction exportRegular(TQWidget parentWidget, TQObject parent); - public static native KPrintAction exportRegular(TQWidget parentWidget); - public static native KPrintAction exportRegular(); - public static native KPrintAction exportSpecial(TQWidget parentWidget, TQObject parent, String name); - public static native KPrintAction exportSpecial(TQWidget parentWidget, TQObject parent); - public static native KPrintAction exportSpecial(TQWidget parentWidget); - public static native KPrintAction exportSpecial(); - protected native void initialize(int type, TQWidget parentWidget); - protected native void slotAboutToShow(); - protected native void slotActivated(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPrintActionSignals.java b/kdejava/koala/org/kde/koala/KPrintActionSignals.java deleted file mode 100644 index be6ae2d8..00000000 --- a/kdejava/koala/org/kde/koala/KPrintActionSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -public interface KPrintActionSignals { - // void print(KPrinter* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KProcIO.java b/kdejava/koala/org/kde/koala/KProcIO.java deleted file mode 100644 index ca16f431..00000000 --- a/kdejava/koala/org/kde/koala/KProcIO.java +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQTextCodec; - -/** - - KProcIO - This class provides a slightly simpler interface to the communication - functions provided by TDEProcess. The simplifications are: - - <li> - The buffer for a write is copied to an internal KProcIO - buffer and maintained/freed appropriately. There is no need - to be concerned with wroteStdin() signals _at_all_. - </li> - - <li> - readln() reads a line of data and buffers any leftovers. - </li> - - <li> - Conversion from/to unicode. - </li> - Basically, KProcIO gives you buffered I/O similar to fgets()/fputs(). - Aside from these, and the fact that start() takes different - parameters, use this class just like TDEProcess. - See {@link KProcIOSignals} for signals emitted by KProcIO - @author David Sweet - - @short A slightly simpler interface to TDEProcess. - -*/ -public class KProcIO extends TDEProcess { - protected KProcIO(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @short Constructor - */ - public KProcIO(TQTextCodec codec) { - super((Class) null); - newKProcIO(codec); - } - private native void newKProcIO(TQTextCodec codec); - public KProcIO() { - super((Class) null); - newKProcIO(); - } - private native void newKProcIO(); - /** - Sets the communication mode to be passed to TDEProcess.start() - by start(). The default communication mode is TDEProcess.All. - You probably want to use this function in conjunction with - TDEProcess.setUsePty(). - @param comm the communication mode - @short Sets the communication mode to be passed to TDEProcess.start() by start(). - */ - public native void setComm(int comm); - /** - Starts the process. It will fail in the following cases: - - <li> - The process is already running. - </li> - - <li> - The command line argument list is empty. - </li> - - <li> - The starting of the process failed (could not fork). - </li> - - <li> - The executable was not found. - </li> - @param runmode For a detailed description of the - various run modes, have a look at the - general description of the TDEProcess class. - @param includeStderr If true, data from both stdout and stderr is - listened to. If false, only stdout is listened to. - @return true on success, false on error. - - @short Starts the process. - */ - public native boolean start(int runmode, boolean includeStderr); - public native boolean start(int runmode); - public native boolean start(); - /** - Writes text to stdin of the process. - @param line Text to write. - @param appendnewline if true, a newline '\\n' is appended. - @return true if successful, false otherwise - - @short Writes text to stdin of the process. - */ - public native boolean writeStdin(String line, boolean appendnewline); - public native boolean writeStdin(String line); - /** - Writes data to stdin of the process. - @param data Data to write. - @return true if successful, false otherwise - - @short Writes data to stdin of the process. - */ - public native boolean writeStdin(byte[] data); - /** - Closes stdin after all data has been send. - @short Closes stdin after all data has been send. - */ - public native void closeWhenDone(); - /** - Reads a line of text (up to and including '\\n'). - Use readln() in response to a readReady() signal. - You may use it multiple times if more than one line of data is - available. - Be sure to use ackRead() when you have finished processing the - readReady() signal. This informs KProcIO that you are ready for - another readReady() signal. - readln() never blocks. - autoAck==true makes these functions call ackRead() for you. - @param line is used to store the line that was read. - @param autoAck when true, ackRead() is called for you. - @param partial when provided the line is returned - even if it does not contain a '\\n'. partial will be set to - false if the line contains a '\\n' and false otherwise. - @return the number of characters read, or -1 if no data is available. - - @short Reads a line of text (up to and including '\\n'). - */ - public native int readln(StringBuffer line, boolean autoAck, boolean[] partial); - public native int readln(StringBuffer line, boolean autoAck); - public native int readln(StringBuffer line); - /** - Reset the class. Doesn't kill the process. - @short Reset the class. - */ - public native void resetAll(); - /** - Call this after you have finished processing a readReady() - signal. This call need not be made in the slot that was signalled - by readReady(). You won't receive any more readReady() signals - until you acknowledge with ackRead(). This prevents your slot - from being reentered while you are still processing the current - data. If this doesn't matter, then call ackRead() right away in - your readReady()-processing slot. - @short Call this after you have finished processing a readReady() signal. - */ - public native void ackRead(); - /** - Turns readReady() signals on and off. - You can turn this off at will and not worry about losing any data. - (as long as you turn it back on at some point...) - @param enable true to turn the signals on, false to turn them off - @short Turns readReady() signals on and off. - */ - public native void enableReadSignals(boolean enable); - protected native void controlledEmission(); - protected native void received(TDEProcess proc, String buffer, int buflen); - protected native void sent(TDEProcess arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KProcIOSignals.java b/kdejava/koala/org/kde/koala/KProcIOSignals.java deleted file mode 100644 index 19371e04..00000000 --- a/kdejava/koala/org/kde/koala/KProcIOSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQTextCodec; - -public interface KProcIOSignals { - /** - Emitted when the process is ready for reading. - @param pio the process that emitted the signal - @short Emitted when the process is ready for reading. - @see #enableReadSignals - */ - void readReady(KProcIO pio); -} diff --git a/kdejava/koala/org/kde/koala/KProgress.java b/kdejava/koala/org/kde/koala/KProgress.java deleted file mode 100644 index 1bfc338f..00000000 --- a/kdejava/koala/org/kde/koala/KProgress.java +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQProgressBar; - -/** - - KProgress is derived from TQProgressBar, so - you can use all the methods from that class. The only real difference - is that a signal is emitted on changes to the value and you do not need - to subclass KProgress just to change the format of the indicator text. - <li><b>Details </b></li> - \image html kprogress.png "KDE Progress Widget" - See {@link KProgressSignals} for signals emitted by KProgress - @author Aaron Seigo - - @short A progress indicator widget. - -*/ -public class KProgress extends TQProgressBar { - protected KProgress(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a progress bar. - @short Construct a progress bar. - */ - public KProgress(TQWidget parent, String name, int f) { - super((Class) null); - newKProgress(parent,name,f); - } - private native void newKProgress(TQWidget parent, String name, int f); - public KProgress(TQWidget parent, String name) { - super((Class) null); - newKProgress(parent,name); - } - private native void newKProgress(TQWidget parent, String name); - public KProgress(TQWidget parent) { - super((Class) null); - newKProgress(parent); - } - private native void newKProgress(TQWidget parent); - public KProgress() { - super((Class) null); - newKProgress(); - } - private native void newKProgress(); - /** - Construct a progress bar with a total number of steps. - The totalSteps is the total number of steps that need to be completed for the operation which this progress - bar represents. For example, if the operation is to examine 50 files, this value would be 50. Before examining - the first file, call setProgress(0); call setProgress(50) after examining the last file. - @short Construct a progress bar with a total number of steps. - */ - public KProgress(int totalSteps, TQWidget parent, String name, int f) { - super((Class) null); - newKProgress(totalSteps,parent,name,f); - } - private native void newKProgress(int totalSteps, TQWidget parent, String name, int f); - public KProgress(int totalSteps, TQWidget parent, String name) { - super((Class) null); - newKProgress(totalSteps,parent,name); - } - private native void newKProgress(int totalSteps, TQWidget parent, String name); - public KProgress(int totalSteps, TQWidget parent) { - super((Class) null); - newKProgress(totalSteps,parent); - } - private native void newKProgress(int totalSteps, TQWidget parent); - public KProgress(int totalSteps) { - super((Class) null); - newKProgress(totalSteps); - } - private native void newKProgress(int totalSteps); - /** - If this is set to <code>true</code>, the progress text will be displayed. - @short If this is set to <code>true</code>, the progress text will be displayed. - */ - public native void setTextEnabled(boolean arg1); - /** - Returns <code>true</code> if progress text will be displayed, - <code>false</code> otherwise. - @short Returns <code>true</code> if progress text will be displayed, <code>false</code> otherwise. - @see #setFormat - */ - public native boolean textEnabled(); - /** - Retrieve the current format for printing status text. - @short Retrieve the current format for printing status text. - @see #setFormat - */ - public native String format(); - /** - Set the format of the text to use to display status. - The default format is "%p%" (which looks like "42%".) - Note: Setting the format to anything other then "%p%" will force centerIndicator to true, - since it's often impossible to layout a progressbar with a more general format with the - indicator string anywhere else. - @param format "%p" is replaced by percentage done, "%v" is replaced by actual - value, "%m" is replaced by the maximum value. - @short Set the format of the text to use to display status. - */ - public native void setFormat(String format); - /** - Set the current total number of steps in the action tat the progress bar - is representing. - @short Set the current total number of steps in the action tat the progress bar is representing. - */ - public native void setTotalSteps(int totalSteps); - /** - Set the current value of the progress bar to <code>progress.</code> - @short Set the current value of the progress bar to <code>progress.</code> - */ - public native void setProgress(int progress); - /** - Advance the progress bar by <code>offset.</code> - This method is - provided for convenience and is equivalent with - setProgress(progress()+offset). - @short Advance the progress bar by <code>offset.</code> - */ - public native void advance(int offset); - protected native boolean setIndicator(StringBuffer indicator, int progress, int totalSteps); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KProgressDialog.java b/kdejava/koala/org/kde/koala/KProgressDialog.java deleted file mode 100644 index 6c83fb60..00000000 --- a/kdejava/koala/org/kde/koala/KProgressDialog.java +++ /dev/null @@ -1,170 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - KProgressDialog provides a dialog with a text label, a progress bar - and an optional cancel button with a KDE look 'n feel. - Since knowing how long it can take to complete an action and it is - undesirable to show a dialog for a split second before hiding it, - there are a few ways to control the timing behavior of KProgressDialog. - There is a time out that can be set before showing the dialog as well - as an option to autohide or keep displaying the dialog once complete. - All the functionality of KProgress is available through direct access - to the progress bar widget via progressBar(); - @author Aaron J. Seigo - - @short A dialog with a progress bar. - -*/ -public class KProgressDialog extends KDialogBase { - protected KProgressDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KProgressDialog - @param parent Parent of the widget - @param name Widget name - @param caption Text to display in window title bar - @param text Text to display in the dialog - @param modal Set to true to make the dialog modal - @short Constructs a KProgressDialog - */ - public KProgressDialog(TQWidget parent, String name, String caption, String text, boolean modal) { - super((Class) null); - newKProgressDialog(parent,name,caption,text,modal); - } - private native void newKProgressDialog(TQWidget parent, String name, String caption, String text, boolean modal); - public KProgressDialog(TQWidget parent, String name, String caption, String text) { - super((Class) null); - newKProgressDialog(parent,name,caption,text); - } - private native void newKProgressDialog(TQWidget parent, String name, String caption, String text); - public KProgressDialog(TQWidget parent, String name, String caption) { - super((Class) null); - newKProgressDialog(parent,name,caption); - } - private native void newKProgressDialog(TQWidget parent, String name, String caption); - public KProgressDialog(TQWidget parent, String name) { - super((Class) null); - newKProgressDialog(parent,name); - } - private native void newKProgressDialog(TQWidget parent, String name); - public KProgressDialog(TQWidget parent) { - super((Class) null); - newKProgressDialog(parent); - } - private native void newKProgressDialog(TQWidget parent); - public KProgressDialog() { - super((Class) null); - newKProgressDialog(); - } - private native void newKProgressDialog(); - /** - Returns the KProgress used in this dialog. - To set the number of steps or other progress bar related - settings, access the KProgress object directly via this method. - @short Returns the KProgress used in this dialog. - */ - public native KProgress progressBar(); - /** - Sets the text in the dialog - @param text the text to display - @short Sets the text in the dialog - */ - public native void setLabel(String text); - /** - Returns the current dialog text - @short Returns the current dialog text - */ - public native String labelText(); - /** - Sets whether or not the user can cancel the process. - If the dialog is cancellable, the Cancel button will be shown - and the user can close the window using the window decorations. - If the process is not (or should not be) interuptable, - set the dialog to be modal and not cancellable. - @param allowCancel Set to true to make the dialog non-closable - @short Sets whether or not the user can cancel the process. - */ - public native void setAllowCancel(boolean allowCancel); - /** - Returns true if the dialog can be canceled, false otherwise - @short Returns true if the dialog can be canceled, false otherwise - */ - public native boolean allowCancel(); - /** - Sets whether the cancel button is visible. setAllowCancel(false) - implies showCancelButton(false) - @param show Whether or not the cancel button should be shown - @short Sets whether the cancel button is visible. - */ - public native void showCancelButton(boolean show); - /** - Sets whether the dialog should close automagically when - all the steps in the KProgress have been completed. - @short Sets whether the dialog should close automagically when all the steps in the KProgress have been completed. - */ - public native void setAutoClose(boolean close); - /** - Returns true if the dialog will close upon completion, - or false otherwise - @short Returns true if the dialog will close upon completion, or false otherwise - */ - public native boolean autoClose(); - /** - Sets whether the dialog should reset the KProgress dialog - back to 0 steps compelete when all steps have been completed. - This is useful for KProgressDialogs that will be reused. - @short Sets whether the dialog should reset the KProgress dialog back to 0 steps compelete when all steps have been completed. - */ - public native void setAutoReset(boolean autoReset); - /** - Returns true if the KProgress widget will be reset - upon completion, or false otherwise - @short Returns true if the KProgress widget will be reset upon completion, or false otherwise - */ - public native boolean autoReset(); - /** - Returns true if the dialog was closed or canceled - before completion. If the dialog is not cancellable - it will always return false. - @short Returns true if the dialog was closed or canceled before completion. - */ - public native boolean wasCancelled(); - /** - Sets the text to appear on the cancel button. - @short Sets the text to appear on the cancel button. - */ - public native void setButtonText(String arg1); - /** - Returns the text on the cancel button - @short Returns the text on the cancel button - */ - public native String buttonText(); - /** - Set the minimum number of milliseconds to wait before - actually showing the dialog - @short Set the minimum number of milliseconds to wait before actually showing the dialog - */ - public native void setMinimumDuration(int ms); - /** - Returns the wait duration in milliseconds - @short Returns the wait duration in milliseconds - */ - public native int minimumDuration(); - protected native void slotAutoShow(); - protected native void slotAutoActions(int percentage); - protected native void slotCancel(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KProgressSignals.java b/kdejava/koala/org/kde/koala/KProgressSignals.java deleted file mode 100644 index 79fb23ac..00000000 --- a/kdejava/koala/org/kde/koala/KProgressSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KProgressSignals { - /** - Emitted when the state of the progress bar changes. - @short Emitted when the state of the progress bar changes. - */ - void percentageChanged(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KProtocolInfo.java b/kdejava/koala/org/kde/koala/KProtocolInfo.java deleted file mode 100644 index 46e26b45..00000000 --- a/kdejava/koala/org/kde/koala/KProtocolInfo.java +++ /dev/null @@ -1,521 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import java.util.ArrayList; - -/** - - Information about I/O (Internet, etc.) protocols supported by KDE. - This class is useful if you want to know which protocols - KDE supports. In addition you can find out lots of information - about a certain protocol. A KProtocolInfo instance represents a - single protocol. Most of the functionality is provided by the static - methods that scan the .protocol files of all installed tdeioslaves to get - this information. - .protocol files are installed in the "services" resource. - @author Torben Weis <weis@kde.org> - - @short Information about I/O (Internet, etc. - -*/ -public class KProtocolInfo extends KSycocaEntry { - protected KProtocolInfo(Class dummy){super((Class) null);} - /** - Describes the type of a protocol. - @short Describes the type of a protocol. - */ - public static final int T_STREAM = 0; - public static final int T_FILESYSTEM = 1; - public static final int T_NONE = 2; - public static final int T_ERROR = 3; - - /** - Read a protocol description file - @param path the path of the description file - @short Read a protocol description file - */ - public KProtocolInfo(String path) { - super((Class) null); - newKProtocolInfo(path); - } - private native void newKProtocolInfo(String path); - /** - Returns whether the protocol description file is valid. - @return true if valid, false otherwise - - @short Returns whether the protocol description file is valid. - */ - public native boolean isValid(); - /** - Returns the name of the protocol. - This corresponds to the "protocol=" field in the protocol description file. - @return the name of the protocol - - @short Returns the name of the protocol. - @see KURL#protocol - */ - public native String name(); - /** - @short - */ - public KProtocolInfo(TQDataStream _str, int offset) { - super((Class) null); - newKProtocolInfo(_str,offset); - } - private native void newKProtocolInfo(TQDataStream _str, int offset); - /** - Load the protocol info from a stream. - @short - */ - public native void load(TQDataStream arg1); - /** - Save the protocol info to a stream. - @short - */ - public native void save(TQDataStream arg1); - /** - Returns list of all known protocols. - @return a list of all known protocols - - @short Returns list of all known protocols. - */ - public static native ArrayList protocols(); - /** - Returns whether a protocol is installed that is able to handle <code>url.</code> - @param url the url to check - @return true if the protocol is known - - @short Returns whether a protocol is installed that is able to handle <code>url.</code> - @see #name - */ - public static native boolean isKnownProtocol(KURL url); - /** - Same as above except you can supply just the protocol instead of - the whole URL. - @short Same as above except you can supply just the protocol instead of the whole URL. - */ - public static native boolean isKnownProtocol(String protocol); - /** - Returns the library / executable to open for the protocol <code>protocol</code> - Example : "tdeio_ftp", meaning either the executable "tdeio_ftp" or - the library "tdeio_ftp.la" (recommended), whichever is available. - This corresponds to the "exec=" field in the protocol description file. - @param protocol the protocol to check - @return the executable of library to open, or null for - unsupported protocols - - @short Returns the library / executable to open for the protocol <code>protocol</code> Example : "tdeio_ftp", meaning either the executable "tdeio_ftp" or the library "tdeio_ftp. - @see KURL#protocol - */ - public static native String exec(String protocol); - /** - Returns whether the protocol should be treated as a filesystem - or as a stream when reading from it. - This corresponds to the "input=" field in the protocol description file. - Valid values for this field are "filesystem", "stream" or "none" (default). - @param url the url to check - @return the input type of the given <code>url</code> - - @short Returns whether the protocol should be treated as a filesystem or as a stream when reading from it. - */ - public static native int inputType(KURL url); - /** - Returns whether the protocol should be treated as a filesystem - or as a stream when writing to it. - This corresponds to the "output=" field in the protocol description file. - Valid values for this field are "filesystem", "stream" or "none" (default). - @param url the url to check - @return the output type of the given <code>url</code> - - @short Returns whether the protocol should be treated as a filesystem or as a stream when writing to it. - */ - public static native int outputType(KURL url); - /** - Returns the list of fields this protocol returns when listing - The current possibilities are - Name, Type, Size, Date, AccessDate, Access, Owner, Group, Link, URL, MimeType - as well as Extra1, Extra2 etc. for extra fields (see extraFields). - This corresponds to the "listing=" field in the protocol description file. - The supported fields should be separated with ',' in the protocol description file. - @param url the url to check - @return a list of field names - - @short Returns the list of fields this protocol returns when listing The current possibilities are Name, Type, Size, Date, AccessDate, Access, Owner, Group, Link, URL, MimeType as well as Extra1, Extra2 etc. - */ - public static native ArrayList listing(KURL url); - /** - Definition of extra fields in the UDS entries, returned by a listDir operation. - This corresponds to the "ExtraNames=" and "ExtraTypes=" fields in the protocol description file. - Those two lists should be separated with ',' in the protocol description file. - See ExtraField for details about names and types - @short Definition of extra fields in the UDS entries, returned by a listDir operation. - */ - // KProtocolInfo::ExtraFieldList extraFields(const KURL& arg1); >>>> NOT CONVERTED - /** - Returns whether the protocol can act as a source protocol. - A source protocol retrieves data from or stores data to the - location specified by a URL. - A source protocol is the opposite of a filter protocol. - The "source=" field in the protocol description file determines - whether a protocol is a source protocol or a filter protocol. - @param url the url to check - @return true if the protocol is a source of data (e.g. http), false if the - protocol is a filter (e.g. gzip) - - @short Returns whether the protocol can act as a source protocol. - */ - public static native boolean isSourceProtocol(KURL url); - /** - Returns whether the protocol can act as a helper protocol. - A helper protocol invokes an external application and does not return - a file or stream. - This corresponds to the "helper=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol is a helper protocol (e.g. vnc), false - if not (e.g. http) - - @short Returns whether the protocol can act as a helper protocol. - */ - public static native boolean isHelperProtocol(KURL url); - /** - Same as above except you can supply just the protocol instead of - the whole URL. - @short Same as above except you can supply just the protocol instead of the whole URL. - */ - public static native boolean isHelperProtocol(String protocol); - /** - Returns whether the protocol can act as a filter protocol. - A filter protocol can operate on data that is passed to it - but does not retrieve/store data itself, like gzip. - A filter protocol is the opposite of a source protocol. - The "source=" field in the protocol description file determines - whether a protocol is a source protocol or a filter protocol. - Valid values for this field are "true" (default) for source protocol or - "false" for filter protocol. - @param url the url to check - @return true if the protocol is a filter (e.g. gzip), false if the - protocol is a helper or source - - @short Returns whether the protocol can act as a filter protocol. - */ - public static native boolean isFilterProtocol(KURL url); - /** - Same as above except you can supply just the protocol instead of - the whole URL. - @short Same as above except you can supply just the protocol instead of the whole URL. - */ - public static native boolean isFilterProtocol(String protocol); - /** - Returns whether the protocol can list files/objects. - If a protocol supports listing it can be browsed in e.g. file-dialogs - and konqueror. - Whether a protocol supports listing is determined by the "listing=" - field in the protocol description file. - If the protocol support listing it should list the fields it provides in - this field. If the protocol does not support listing this field should - remain empty (default.) - @param url the url to check - @return true if the protocol support listing - - @short Returns whether the protocol can list files/objects. - @see #listing - */ - public static native boolean supportsListing(KURL url); - /** - Returns whether the protocol can retrieve data from URLs. - This corresponds to the "reading=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if it is possible to read from the URL - - @short Returns whether the protocol can retrieve data from URLs. - */ - public static native boolean supportsReading(KURL url); - /** - Returns whether the protocol can store data to URLs. - This corresponds to the "writing=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol supports writing - - @short Returns whether the protocol can store data to URLs. - */ - public static native boolean supportsWriting(KURL url); - /** - Returns whether the protocol can create directories/folders. - This corresponds to the "makedir=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol can create directories - - @short Returns whether the protocol can create directories/folders. - */ - public static native boolean supportsMakeDir(KURL url); - /** - Returns whether the protocol can delete files/objects. - This corresponds to the "deleting=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol supports deleting - - @short Returns whether the protocol can delete files/objects. - */ - public static native boolean supportsDeleting(KURL url); - /** - Returns whether the protocol can create links between files/objects. - This corresponds to the "linking=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol supports linking - - @short Returns whether the protocol can create links between files/objects. - */ - public static native boolean supportsLinking(KURL url); - /** - Returns whether the protocol can move files/objects between different - locations. - This corresponds to the "moving=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol supports moving - - @short Returns whether the protocol can move files/objects between different locations. - */ - public static native boolean supportsMoving(KURL url); - /** - Returns whether the protocol can copy files/objects directly from the - filesystem itself. If not, the application will read files from the - filesystem using the file-protocol and pass the data on to the destination - protocol. - This corresponds to the "copyFromFile=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol can copy files from the local file system - - @short Returns whether the protocol can copy files/objects directly from the filesystem itself. - */ - public static native boolean canCopyFromFile(KURL url); - /** - Returns whether the protocol can copy files/objects directly to the - filesystem itself. If not, the application will receive the data from - the source protocol and store it in the filesystem using the - file-protocol. - This corresponds to the "copyToFile=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol can copy files to the local file system - - @short Returns whether the protocol can copy files/objects directly to the filesystem itself. - */ - public static native boolean canCopyToFile(KURL url); - /** - Returns whether the protocol can rename (i.e. move fast) files/objects - directly from the filesystem itself. If not, the application will read - files from the filesystem using the file-protocol and pass the data on - to the destination protocol. - This corresponds to the "renameFromFile=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol can rename/move files from the local file system - - @short Returns whether the protocol can rename (i. - */ - public static native boolean canRenameFromFile(KURL url); - /** - Returns whether the protocol can rename (i.e. move fast) files/objects - directly to the filesystem itself. If not, the application will receive - the data from the source protocol and store it in the filesystem using the - file-protocol. - This corresponds to the "renameToFile=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol can rename files to the local file system - - @short Returns whether the protocol can rename (i. - */ - public static native boolean canRenameToFile(KURL url); - /** - Returns whether the protocol can recursively delete directories by itself. - If not (the usual case) then TDEIO will list the directory and delete files - and empty directories one by one. - This corresponds to the "deleteRecursive=" field in the protocol description file. - Valid values for this field are "true" or "false" (default). - @param url the url to check - @return true if the protocol can delete non-empty directories by itself. - - @short Returns whether the protocol can recursively delete directories by itself. - */ - public static native boolean canDeleteRecursive(KURL url); - /** - This setting defines the strategy to use for generating a filename, when - copying a file or directory to another directory. By default the destination - filename is made out of the filename in the source URL. However if the - ioslave displays names that are different from the filename of the URL - (e.g. tdeio_fonts shows Arial for arial.ttf, or tdeio_trash shows foo.txt and - uses some internal URL), using Name means that the display name (UDS_NAME) - will be used to as the filename in the destination directory. - This corresponds to the "fileNameUsedForCopying=" field in the protocol description file. - Valid values for this field are "Name" or "FromURL" (default). - @param url the url to check - @return how to generate the filename in the destination directory when copying/moving - - @short This setting defines the strategy to use for generating a filename, when copying a file or directory to another directory. - */ - // KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying(const KURL& arg1); >>>> NOT CONVERTED - /** - Returns default mimetype for this URL based on the protocol. - This corresponds to the "defaultMimetype=" field in the protocol description file. - @param url the url to check - @return the default mime type of the protocol, or null if unknown - - @short Returns default mimetype for this URL based on the protocol. - */ - public static native String defaultMimetype(KURL url); - /** - Returns the name of the icon, associated with the specified protocol. - This corresponds to the "Icon=" field in the protocol description file. - @param protocol the protocol to check - @return the icon of the protocol, or null if unknown - - @short Returns the name of the icon, associated with the specified protocol. - */ - public static native String icon(String protocol); - /** - Returns the name of the config file associated with the - specified protocol. This is useful if two similar protocols - need to share a single config file, e.g. http and https. - This corresponds to the "config=" field in the protocol description file. - The default is the protocol name, see name() - @param protocol the protocol to check - @return the config file, or null if unknown - - @short Returns the name of the config file associated with the specified protocol. - */ - public static native String config(String protocol); - /** - Returns the soft limit on the number of slaves for this protocol. - This limits the number of slaves used for a single operation, note - that multiple operations may result in a number of instances that - exceeds this soft limit. - This corresponds to the "maxInstances=" field in the protocol description file. - The default is 1. - @param protocol the protocol to check - @return the maximum number of slaves, or 1 if unknown - - @short Returns the soft limit on the number of slaves for this protocol. - */ - public static native int maxSlaves(String protocol); - /** - Returns whether mimetypes can be determined based on extension for this - protocol. For some protocols, e.g. http, the filename extension in the URL - can not be trusted to truly reflect the file type. - This corresponds to the "determineMimetypeFromExtension=" field in the protocol description file. - Valid values for this field are "true" (default) or "false". - @param protocol the protocol to check - @return true if the mime types can be determined by extension - - @short Returns whether mimetypes can be determined based on extension for this protocol. - */ - public static native boolean determineMimetypeFromExtension(String protocol); - /** - Returns the documentation path for the specified protocol. - This corresponds to the "DocPath=" field in the protocol description file. - @param protocol the protocol to check - @return the docpath of the protocol, or null if unknown - - @short Returns the documentation path for the specified protocol. - */ - public static native String docPath(String protocol); - /** - Returns the protocol class for the specified protocol. - This corresponds to the "Class=" field in the protocol description file. - The following classes are defined: - - <li> - ":internet" for common internet protocols - </li> - - <li> - ":local" for protocols that access local resources - </li> - Protocol classes always start with a ':' so that they can not be confused with - the protocols themselves. - @param protocol the protocol to check - @return the class of the protocol, or null if unknown - - @short Returns the protocol class for the specified protocol. - */ - public static native String protocolClass(String protocol); - /** - Returns whether file previews should be shown for the specified protocol. - This corresponds to the "ShowPreviews=" field in the protocol description file. - By default previews are shown if protocolClass is :local. - @param protocol the protocol to check - @return true if previews should be shown by default, false otherwise - - @short Returns whether file previews should be shown for the specified protocol. - */ - public static native boolean showFilePreview(String protocol); - /** - Returns the suggested URI parsing mode for the KURL parser. - This corresponds to the "URIMode=" field in the protocol description file. - The following parsing modes are defined: - - <li> - "url" for a standards compliant URL - </li> - - <li> - "rawuri" for a non-conformant URI for which URL parsing would be meaningless - </li> - - <li> - "mailto" for a mailto style URI (the path part contains only an email address) - </li> - @param protocol the protocol to check - @return the suggested parsing mode, or KURL.Auto if unspecified - - @short Returns the suggested URI parsing mode for the KURL parser. - */ - public static native int uriParseMode(String protocol); - /** - Returns the list of capabilities provided by the tdeioslave implementing - this protocol. - This corresponds to the "Capabilities=" field in the protocol description file. - The capability names are not defined globally, they are up to each - slave implementation. For example when adding support for a new - special command for mounting, one would add the string "Mount" to the - capabilities list, and applications could check for that string - before sending a special() command that would otherwise do nothing - on older tdeioslave implementations. - @param protocol the protocol to check - @return the list of capabilities. - - @short Returns the list of capabilities provided by the tdeioslave implementing this protocol. - */ - public static native ArrayList capabilities(String protocol); - /** - Returns the name of the protocol through which the request - will be routed if proxy support is enabled. - A good example of this is the ftp protocol for which proxy - support is commonly handled by the http protocol. - This corresponds to the "ProxiedBy=" in the protocol description file. - @short Returns the name of the protocol through which the request will be routed if proxy support is enabled. - */ - public static native String proxiedBy(String protocol); - protected native boolean canRenameFromFile(); - protected native boolean canRenameToFile(); - protected native boolean canDeleteRecursive(); - // KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying(); >>>> NOT CONVERTED - protected static native KProtocolInfo findProtocol(KURL url); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KProtocolManager.java b/kdejava/koala/org/kde/koala/KProtocolManager.java deleted file mode 100644 index 5bd0f897..00000000 --- a/kdejava/koala/org/kde/koala/KProtocolManager.java +++ /dev/null @@ -1,367 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Provides information about I/O (Internet, etc.) settings chosen/set - by the end user. - KProtocolManager has a heap of static functions that allows only read - access to KDE's IO related settings. These include proxy, cache, file - transfer resumption, timeout and user-agent related settings. - The information provided by this class is generic enough to be applicable - to any application that makes use of KDE's IO sub-system. Note that this - mean the proxy, timeout etc. settings are saved in a separate user-specific - config file and not in the config file of the application. - Original author: - Revised by: - @author Dawit Alemayehu <adawit@kde.org> - - @short Provides information about I/O (Internet, etc. - @see KPAC - -*/ -public class KProtocolManager implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KProtocolManager(Class dummy){} - - /** - Types of proxy configuration - - <li> - NoProxy - No proxy is used - </li> - - <li> - ManualProxy - Proxies are manually configured - </li> - - <li> - PACProxy - A Proxy configuration URL has been given - </li> - - <li> - WPADProxy - A proxy should be automatically discovered - </li> - - <li> - EnvVarProxy - Use the proxy values set through environment variables. - - </li> @short Types of proxy configuration - */ - public static final int NoProxy = 0; - public static final int ManualProxy = 1; - public static final int PACProxy = 2; - public static final int WPADProxy = 3; - public static final int EnvVarProxy = 4; - - /** - Proxy authorization modes. - - <li> - Prompt - Ask for authorization as needed - </li> - - <li> - Automatic - Use auto login as defined in .tdeionetrc files. - </li> - NOTE: .tdeionetrc files have the same format as ftp .netrc files. - Please note the use of .tdeionetrc files is highly discouraged since - password is stored in clear text. For future releases the ability - to store preset password for proxy servers will probably be supported - through TDEWallet integration. - @short Proxy authorization modes. - */ - public static final int Prompt = 0; - public static final int Automatic = 1; - - public KProtocolManager() { - newKProtocolManager(); - } - private native void newKProtocolManager(); - /** - Returns the default user-agent string. - @return the default user-agent string - - @short Returns the default user-agent string. - */ - public static native String defaultUserAgent(); - /** - Returns the default user-agent value. - @param keys can be any of the following: - - <li> - 'o' Show OS - </li> - - <li> - 'v' Show OS Version - </li> - - <li> - 'p' Show platform - </li> - - <li> - 'm' Show machine architecture - </li> - - <li> - 'l' Show language - </li> - @return the default user-agent value with the given <code>keys</code> - - @short Returns the default user-agent value. - */ - public static native String defaultUserAgent(String keys); - /** - Returns the userAgent string configured for the - specified host. - If hostname is not found or is empty (i.e. "" or - null) this function will return the default - user agent. - @param hostname name of the host - @return specified userAgent string - - @short Returns the userAgent string configured for the specified host. - */ - public static native String userAgentForHost(String hostname); - /** - Returns the preferred timeout value for reading from - remote connections in seconds. - @return timeout value for remote connection in secs. - - @short Returns the preferred timeout value for reading from remote connections in seconds. - */ - public static native int readTimeout(); - /** - Returns the preferred timeout value for remote connections - in seconds. - @return timeout value for remote connection in secs. - - @short Returns the preferred timeout value for remote connections in seconds. - */ - public static native int connectTimeout(); - /** - Returns the preferred timeout value for proxy connections - in seconds. - @return timeout value for proxy connection in secs. - - @short Returns the preferred timeout value for proxy connections in seconds. - */ - public static native int proxyConnectTimeout(); - /** - Returns the preferred response timeout value for - remote connecting in seconds. - @return timeout value for remote connection in seconds. - - @short Returns the preferred response timeout value for remote connecting in seconds. - */ - public static native int responseTimeout(); - /** - Returns true if the user specified a proxy server to make connections. - @short Returns true if the user specified a proxy server to make connections. - @see #slaveProtocol - @see #proxyForURL - @see #proxyFor - */ - public static native boolean useProxy(); - /** - Returns true if the proxy settings should apply to the list - returned by {@link #noProxyFor}. - Normally addresses listed in the noProxyFor list are not routed - through a proxy server. However, if this function returns true, - then all addresses listed in the noProxyFor list are to be routed - through a proxy server where as those that are not should bypass it. - This function as well as {@link #noProxyFor} only apply when {@link #proxyType} - is <code>ManualProxy.</code> - @short Returns true if the proxy settings should apply to the list returned by @ref noProxyFor. - @see #proxyForURL - @see #proxyFor - @see #slaveProtocol - */ - public static native boolean useReverseProxy(); - /** - Returns the type of proxy configuration that is used. - @short Returns the type of proxy configuration that is used. - @see ProxyType - */ - public static native int proxyType(); - /** - Returns the way proxy authorization should be handled. - @short Returns the way proxy authorization should be handled. - @see ProxyAuthMode - */ - public static native int proxyAuthMode(); - /** - Returns a comma-separated list of hostnames or partial - host-names that should bypass any proxy settings. - This function as well as {@link #useReverseProxy} only apply - when {@link #proxyType} is <code>ManualProxy.</code> - @short Returns a comma-separated list of hostnames or partial host-names that should bypass any proxy settings. - @see #useReverseProxy - @see #proxyFor - @see #proxyForURL - @see #slaveProtocol - */ - public static native String noProxyFor(); - /** - Returns the proxy server address for a given protocol. - NOTE: This function does not take the {@link #useReverseProxy} - settings into account. - @param protocol the protocol whose proxy info is needed - @return the proxy server address if one is available, - or null if not available - - @short Returns the proxy server address for a given protocol. - @see #useReverseProxy - @see #slaveProtocol - */ - public static native String proxyFor(String protocol); - /** - Returns the proxy server address for a given URL. - If {@link #proxyType} returns Automatic, an external service - called KPAC (a kded module) is used to determine the proxy - server. Otherwise, {@link #proxyFor} is invoked to determine - whether the URL needs to be routed through a proxy server. - NOTE: This function does not take the {@link #useReverseProxy} - or the {@link #noProxyFor} settings into account. - @param url the URL whose proxy info is needed - @return the proxy server address or the text "DIRECT" - if no proxying is needed for the given address. - - @short Returns the proxy server address for a given URL. - @see #useReverseProxy - @see #slaveProtocol - @see #noProxyFor - */ - public static native String proxyForURL(KURL url); - /** - Marks this proxy as bad (down). It will not be used for the - next 30 minutes. (The script may supply an alternate proxy) - @param proxy the proxy to mark as bad (as URL) - @short Marks this proxy as bad (down). - */ - public static native void badProxy(String proxy); - /** - Returns the URL of the script for automatic proxy configuration. - @return the proxy configuration script - - @short Returns the URL of the script for automatic proxy configuration. - */ - public static native String proxyConfigScript(); - /** - Returns true/false to indicate whether a cache - should be used - @return true to use the cache, false otherwisea - - @short Returns true/false to indicate whether a cache should be used - */ - public static native boolean useCache(); - /** - Returns the maximum age in seconds cached files should be - kept before they are deleted as necessary. - @return the maximum cache age in seconds - - @short Returns the maximum age in seconds cached files should be kept before they are deleted as necessary. - */ - public static native int maxCacheAge(); - /** - Returns the maximum size that can be used for caching. - By default this function returns the DEFAULT_MAX_CACHE_SIZE - value as defined in http_slave_defaults.h. Not that the - value returned is in bytes, hence a value of 5120 would mean - 5 Kb. - @return the maximum cache size in bytes - - @short Returns the maximum size that can be used for caching. - */ - public static native int maxCacheSize(); - /** - The directory which contains the cache files. - @return the directory that contains the cache files - - @short The directory which contains the cache files. - */ - public static native String cacheDir(); - /** - Returns the Cache control directive to be used. - @return the cache control value - - @short Returns the Cache control directive to be used. - */ - public static native int cacheControl(); - /** - Returns true if partial downloads should be - automatically resumed. - @return true to resume partial downloads - - @short Returns true if partial downloads should be automatically resumed. - */ - public static native boolean autoResume(); - /** - Returns true if partial downloads should be marked - with a ".part" extension. - @return true if partial downloads should get an ".part" extension - - @short Returns true if partial downloads should be marked with a ". - */ - public static native boolean markPartial(); - /** - Returns the minimum file size for keeping aborted - downloads. - Any data downloaded that does not meet this minimum - requirement will simply be discarded. The default size - is 5 KB. - @return the minimum keep size for aborted downloads in bytes - - @short Returns the minimum file size for keeping aborted downloads. - */ - public static native int minimumKeepSize(); - /** - Returns true if proxy connections should be persistent. - @return true if proxy connections should be persistent - - @short Returns true if proxy connections should be persistent. - */ - public static native boolean persistentProxyConnection(); - /** - Returns true if connections should be persistent - @return true if the connections should be persistent - - @short Returns true if connections should be persistent - */ - public static native boolean persistentConnections(); - /** - Force a reload of the general config file of - io-slaves ( tdeioslaverc). - @short Force a reload of the general config file of io-slaves ( tdeioslaverc). - */ - public static native void reparseConfiguration(); - /** - Return the protocol to use in order to handle the given <code>url</code> - It's usually the same, except that FTP, when handled by a proxy, - needs an HTTP ioslave. - When a proxy is to be used, proxy contains the URL for the proxy. - @param url the url to check - @param proxy the URL of the proxy to use - @return the slave protocol (e.g. 'http'), can be null if unknown - - @short Return the protocol to use in order to handle the given <code>url</code> It's usually the same, except that FTP, when handled by a proxy, needs an HTTP ioslave. - */ - public static native String slaveProtocol(KURL url, StringBuffer proxy); - /** - (Shared with SlaveConfig) - @short - */ - public static native TDEConfig config(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KPushButton.java b/kdejava/koala/org/kde/koala/KPushButton.java deleted file mode 100644 index 1b1746f5..00000000 --- a/kdejava/koala/org/kde/koala/KPushButton.java +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; -import org.kde.qt.TQPushButton; - -/** - - This is nothing but a TQPushButton with drag-support and KGuiItem support. You have to call - setDragEnabled( true ) and override the method - dragObject() to specify the TQDragObject to be used. - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A TQPushButton with drag-support and KGuiItem support. - -*/ -public class KPushButton extends TQPushButton { - protected KPushButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Default constructor. - @short Default constructor. - */ - public KPushButton(TQWidget parent, String name) { - super((Class) null); - newKPushButton(parent,name); - } - private native void newKPushButton(TQWidget parent, String name); - public KPushButton(TQWidget parent) { - super((Class) null); - newKPushButton(parent); - } - private native void newKPushButton(TQWidget parent); - /** - Constructor, that sets the button-text to <code>text</code> - @short Constructor, that sets the button-text to <code>text</code> - */ - public KPushButton(String text, TQWidget parent, String name) { - super((Class) null); - newKPushButton(text,parent,name); - } - private native void newKPushButton(String text, TQWidget parent, String name); - public KPushButton(String text, TQWidget parent) { - super((Class) null); - newKPushButton(text,parent); - } - private native void newKPushButton(String text, TQWidget parent); - /** - Constructor, that sets an icon and the button-text to <code>text</code> - @short Constructor, that sets an icon and the button-text to <code>text</code> - */ - public KPushButton(TQIconSet icon, String text, TQWidget parent, String name) { - super((Class) null); - newKPushButton(icon,text,parent,name); - } - private native void newKPushButton(TQIconSet icon, String text, TQWidget parent, String name); - public KPushButton(TQIconSet icon, String text, TQWidget parent) { - super((Class) null); - newKPushButton(icon,text,parent); - } - private native void newKPushButton(TQIconSet icon, String text, TQWidget parent); - /** - Constructor that takes a KGuiItem for the text, the icon, the tooltip - and the what's this help - @short Constructor that takes a KGuiItem for the text, the icon, the tooltip and the what's this help - */ - public KPushButton(KGuiItem item, TQWidget parent, String name) { - super((Class) null); - newKPushButton(item,parent,name); - } - private native void newKPushButton(KGuiItem item, TQWidget parent, String name); - public KPushButton(KGuiItem item, TQWidget parent) { - super((Class) null); - newKPushButton(item,parent); - } - private native void newKPushButton(KGuiItem item, TQWidget parent); - /** - Enables/disables drag-support. Default is disabled. - @short Enables/disables drag-support. - */ - public native void setDragEnabled(boolean enable); - /** - @return if drag support is enabled or not. - - @short - */ - public native boolean isDragEnabled(); - /** - Sets the KGuiItem for this button. - @short Sets the KGuiItem for this button. - */ - public native void setGuiItem(KGuiItem item); - /** - Sets the standard KGuiItem for this button. - @short Sets the standard KGuiItem for this button. - */ - public native void setGuiItem(int item); - /** - Reads the standard KGuiItem for this button. - @short Reads the standard KGuiItem for this button. - */ - public native int guiItem(); - public native void setGuiItm(int itm); - public native int guiItm(); - /** - Sets the Icon Set for this button. It also takes into account hte - TDEGlobalSettings.showIconsOnPushButtons() setting. - @short Sets the Icon Set for this button. - */ - public native void setIconSet(TQIconSet iconSet); - /** - Sets the text of the button - @short Sets the text of the button - */ - public native void setText(String text); - /** - Reimplement this and return the TQDragObject that should be used - for the drag. - Default implementation returns null, so that no drag is initiated. - @short Reimplement this and return the TQDragObject that should be used for the drag. - */ - protected native TQDragObject dragObject(); - /** - Reimplemented to add drag-support - @short Reimplemented to add drag-support - */ - protected native void mousePressEvent(TQMouseEvent arg1); - /** - Reimplemented to add drag-support - @short Reimplemented to add drag-support - */ - protected native void mouseMoveEvent(TQMouseEvent arg1); - /** - Starts a drag (dragCopy() by default) using dragObject() - @short Starts a drag (dragCopy() by default) using dragObject() - */ - protected native void startDrag(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRFCDate.java b/kdejava/koala/org/kde/koala/KRFCDate.java deleted file mode 100644 index e5e272d5..00000000 --- a/kdejava/koala/org/kde/koala/KRFCDate.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The KRFCDate class contains functions related to the parsing of dates. - @author Waldo Bastian <bastian@kde.org> - - @short The KRFCDate class contains functions related to the parsing of dates. - -*/ -public class KRFCDate implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KRFCDate(Class dummy){} - - public KRFCDate() { - newKRFCDate(); - } - private native void newKRFCDate(); - /** - This function tries to parse a string containing a date/time in any - of the formats specified by RFC822, RFC850, RFC1036, RFC1123 and RFC2822. - If the date/time could not be parsed, 0 is returned. If the - parsed date is epoch, then epoch+1 is returned so that a valid - date will not be confused with an improper date string. - The date/time returned is converted to UTC. - @param date the date to parse - @return the date, or 0 if not possible - - @short This function tries to parse a string containing a date/time in any of the formats specified by RFC822, RFC850, RFC1036, RFC1123 and RFC2822. - */ - public static native int parseDate(String date); - /** - This function tries to parse a string containing a date/time in - any of the formats specified by http://www.w3.org/TR/NOTE-datetime - This is a subset of the formats specified in ISO8601. - If the date/time could not be parsed, 0 is returned. If the - parsed date is epoch, then epoch+1 is returned so that a valid - date will not be confused with an improper date string. - The date/time returned is converted to UTC. - @param date the date to parse - @return the date, or 0 if not possible - - @short This function tries to parse a string containing a date/time in any of the formats specified by http://www. - */ - public static native int parseDateISO8601(String date); - /** - Returns the local timezone offset to UTC in minutes - @return the local timezone offset in minutes - - @short Returns the local timezone offset to UTC in minutes - */ - public static native int localUTCOffset(); - /** - Returns a string representation of the given date and time formated - in conformance to RFC2822. - @param utcTime a date and time in UTC - @param utcOffset the offset to UTC in minutes - @return the string representation of the date - - @short Returns a string representation of the given date and time formated in conformance to RFC2822. - */ - public static native String rfc2822DateString(int utcTime, int utcOffset); - /** - Returns a string representation of the given date and time formated - in conformance to RFC2822. - Provided for convenience, the function is equivalent to - rfc2822DateString(t, localUTCOffset()). - @param utcTime a date and time in UTC - @return the string representation of the date - - @short Returns a string representation of the given date and time formated in conformance to RFC2822. - */ - public static native String rfc2822DateString(int utcTime); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRandomSequence.java b/kdejava/koala/org/kde/koala/KRandomSequence.java deleted file mode 100644 index ed0ae087..00000000 --- a/kdejava/koala/org/kde/koala/KRandomSequence.java +++ /dev/null @@ -1,117 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A class to create a pseudo-random sequence - Given a seed number, this class will produce a sequence of - pseudo-random numbers. This would typically be used in - applications like games. - In general, you should instantiate a KRandomSequence object and - pass along your seed number in the constructor. From then on, - simply call getDouble() or getLong() to obtain the next - number in the sequence. - @author Sean Harmer <sh@astro.keele.ac.uk> - - @short A class to create a pseudo-random sequence - -*/ -public class KRandomSequence implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KRandomSequence(Class dummy){} - - /** - Creates a pseudo-random sequence based on the seed lngSeed. - A Pseudo-random sequence is different for each seed but can be - reproduced by starting the sequence with the same seed. - If you need a single value which needs to be unpredictable, - you need to use kapp.random() instead. - @param lngSeed Seed to initialize the sequence with. - If lngSeed is 0, the sequence is initialized with a value from - TDEApplication.random(). - @short Creates a pseudo-random sequence based on the seed lngSeed. - */ - public KRandomSequence(long lngSeed) { - newKRandomSequence(lngSeed); - } - private native void newKRandomSequence(long lngSeed); - public KRandomSequence() { - newKRandomSequence(); - } - private native void newKRandomSequence(); - /** - Copy constructor - @short Copy constructor - */ - public KRandomSequence(KRandomSequence a) { - newKRandomSequence(a); - } - private native void newKRandomSequence(KRandomSequence a); - /** - Restart the sequence based on lngSeed. - @param lngSeed Seed to initialize the sequence with. - If lngSeed is 0, the sequence is initialized with a value from - TDEApplication.random(). - @short Restart the sequence based on lngSeed. - */ - public native void setSeed(long lngSeed); - public native void setSeed(); - /** - Get the next number from the pseudo-random sequence. - @return a pseudo-random double value between [0,1[ - - @short Get the next number from the pseudo-random sequence. - */ - public native double getDouble(); - /** - Get the next number from the pseudo-random sequence. - @return a pseudo-random integer value between [0, max[ - with 0 <= max < 1.000.000 - - @short Get the next number from the pseudo-random sequence. - */ - public native long getLong(long max); - /** - Get a booleanean from the pseudo-random sequence. - @return a boolean which is either true or false - - @short Get a boolean from the pseudo-random sequence. - */ - public native boolean getBool(); - /** - Put a list in random order. - @param list the list whose order will be modified - @short Put a list in random order. - */ - // void randomize(TQGList* arg1); >>>> NOT CONVERTED - /** - Modulate the random sequence. - If S(i) is the sequence of numbers that will follow - given the current state after calling modulate(i), - then S(i) != S(j) for i != j and - S(i) == S(j) for i == j. - This can be useful in game situation where "undo" restores - the state of the random sequence. If the game modulates the - random sequence with the move chosen by the player, the - random sequence will be identical whenever the player "redo"-s - his or hers original move, but different when the player - chooses another move. - With this scenario "undo" can no longer be used to repeat a - certain move over and over again until the computer reacts - with a favorable response or to predict the response for a - certain move based on the response to another move. - @param i the sequence identified - @short Modulate the random sequence. - */ - public native void modulate(int i); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java b/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java deleted file mode 100644 index d120e2a8..00000000 --- a/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java +++ /dev/null @@ -1,100 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A graphical editor for regular expressions. - The actual editor is located in tdeutils, with an interface in - tdelibs. This means that it is a bit more complicated to create an - instance of the editor, but only a little bit more complicated. - To check if kregexpeditor in tdeutils is installed and available use this line: - <pre> - boolean installed=!TDETrader.self().query("KRegExpEditor/KRegExpEditor").isEmpty(); - </pre> - The following is a template for what you need to do to create an instance of the - regular expression dialog: - <pre> - TQDialog editorDialog = KParts.ComponentFactory.createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor" ); - if ( editorDialog ) { - // tdeutils was installed, so the dialog was found fetch the editor interface - KRegExpEditorInterface editor = (KRegExpEditorInterface)( editorDialog.tqt_cast( "KRegExpEditorInterface" ) ); - Q_ASSERT( editor ); // This should not fail! - // now use the editor. - editor.setRegExp("^kde$"); - // Finally exec the dialog - editorDialog.exec(); - } - else { - // Don't offer the dialog. - } - </pre> - Note: signals and slots must be connected to the editorDialog object, not to the editor object: - <pre> - connect( editorDialog, SIGNAL("canUndo( boolean )"), undoBut, SLOT("setEnabled( boolean )") ); - </pre> - If you want to create an instance of the editor widget, i.e. not the - dialog, then you must do it in the following way: - <pre> - TQWidget editorWidget = - KParts.ComponentFactory.createInstanceFromQuery<TQWidget>( - "KRegExpEditor/KRegExpEditor", null, parent ); - if ( editorWidget ) { - // tdeutils was installed, so the widget was found fetch the editor interface - KRegExpEditorInterface editor = (KRegExpEditorInterface)( editorWidget.tqt_cast( "KRegExpEditorInterface" ) ); - Q_ASSERT( editor ); // This should not fail! - // now use the editor. - editor.setRegExp("^kde$"); - // Finally insert the widget into the layout of its parent - layout.addWidget( editorWidget ); - } - else { - // Don't offer the editor widget. - } - </pre> - @author Jesper K. Pedersen blackie@kde.org - - @short A graphical editor for regular expressions. - -*/ -public class KRegExpEditorInterface implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KRegExpEditorInterface(Class dummy){} - - /** - returns the regular expression of the editor in Qt3 TQRegExp - syntax. Note, there is also a 'regexp' Qt property available. - @short returns the regular expression of the editor in Qt3 TQRegExp syntax. - */ - public native String regExp(); - /** - Set the regular expression for the editor. The syntax must be Qt3 - TQRegExp syntax. - @short Set the regular expression for the editor. - */ - public native void setRegExp(String regexp); - public native void redo(); - public native void undo(); - /** - Set text to use when showing matches. NOT IMPLEMENTED YET! - This method is not yet implemented. In later version of the widget - this method will be used to give the widget a text to show matches of - the regular expression on. - @short Set text to use when showing matches. - */ - public native void setMatchText(String arg1); - /** - This method allows for future changes that will not break binary - compatibility. DONT USE! - KDE has a policy of keeping binary compatibility for all major - version of KDE. This means that new methods can not be added to this - API before KDE version 4.0. - This method is an escape door for that. - Conclusion: You should not use this method in this version of KDE! - @short This method allows for future changes that will not break binary compatibility. - */ - // void doSomething(TQString arg1,void* arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KReplace.java b/kdejava/koala/org/kde/koala/KReplace.java deleted file mode 100644 index d1645566..00000000 --- a/kdejava/koala/org/kde/koala/KReplace.java +++ /dev/null @@ -1,188 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQRegExp; -import org.kde.qt.TQWidget; - -/** - - @brief A generic implementation of the "replace" function. - <b></b>etail: - This class includes prompt handling etc. Also provides some - static functions which can be used to create custom behavior - instead of using the class directly. - <b></b>xample: - To use the class to implement a complete replace feature: - In the slot connect to the replace action, after using KReplaceDialog: - <pre> - // This creates a replace-on-prompt dialog if needed. - m_replace = new KReplace(pattern, replacement, options, this); - // Connect signals to code which handles highlighting - // of found text, and on-the-fly replacement. - connect( m_replace, SIGNAL("highlight( String, int, int )"), - this, SLOT("slotHighlight( String, int, int )") ); - // Connect findNext signal - called when pressing the button in the dialog - connect( m_replace, SIGNAL("findNext()"), - this, SLOT("slotReplaceNext()") ); - // Connect replace signal - called when doing a replacement - connect( m_replace, SIGNAL("replace(String, int, int, int)"), - this, SLOT("slotReplace(String, int, int, int)") ); - </pre> - Then initialize the variables determining the "current position" - (to the cursor, if the option FromCursor is set, - to the beginning of the selection if the option SelectedText is set, - and to the beginning of the document otherwise). - Initialize the "end of search" variables as well (end of doc or end of selection). - Swap begin and end if FindBackwards. - Finally, call slotReplaceNext(); - <pre> - void slotReplaceNext() - { - KFind.Result res = KFind.NoMatch; - while ( res == KFind.NoMatch && <position not at end> ) { - if ( m_replace.needData() ) - m_replace.setData( <current text fragment> ); - // Let KReplace inspect the text fragment, and display a dialog if a match is found - res = m_replace.replace(); - if ( res == KFind.NoMatch ) { - <Move to the next text fragment, honoring the FindBackwards setting for the direction> - } - } - if ( res == KFind.NoMatch ) // i.e. at end - <Call either m_replace.displayFinalDialog(); delete m_replace; m_replace = null; - or if ( m_replace.shouldRestart() ) { reinit (w/o FromCursor) and call slotReplaceNext(); } - else { m_replace.closeReplaceNextDialog(); }> - } - </pre> - Don't forget delete m_find in the destructor of your class, - unless you gave it a parent widget on construction. - See {@link KReplaceSignals} for signals emitted by KReplace - @author S.R.Haque <srhaque@iee.org>, David Faure <faure@kde.org> - - @short @brief A generic implementation of the "replace" function. - -*/ -public class KReplace extends KFind { - protected KReplace(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Only use this constructor if you don't use KFindDialog, or if - you use it as a modal dialog. - @short Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog. - */ - public KReplace(String pattern, String replacement, long options, TQWidget parent) { - super((Class) null); - newKReplace(pattern,replacement,options,parent); - } - private native void newKReplace(String pattern, String replacement, long options, TQWidget parent); - public KReplace(String pattern, String replacement, long options) { - super((Class) null); - newKReplace(pattern,replacement,options); - } - private native void newKReplace(String pattern, String replacement, long options); - /** - This is the recommended constructor if you also use KReplaceDialog (non-modal). - You should pass the pointer to it here, so that when a message box - appears it has the right parent. Don't worry about deletion, KReplace - will notice if the find dialog is closed. - @short This is the recommended constructor if you also use KReplaceDialog (non-modal). - */ - public KReplace(String pattern, String replacement, long options, TQWidget parent, TQWidget replaceDialog) { - super((Class) null); - newKReplace(pattern,replacement,options,parent,replaceDialog); - } - private native void newKReplace(String pattern, String replacement, long options, TQWidget parent, TQWidget replaceDialog); - /** - Return the number of replacements made (i.e. the number of times - the replace signal was emitted). - Can be used in a dialog box to tell the user how many replacements were made. - The final dialog does so already, unless you used setDisplayFinalDialog(false). - @short Return the number of replacements made (i. - */ - public native int numReplacements(); - /** - Call this to reset the numMatches & numReplacements counts. - Can be useful if reusing the same KReplace for different operations, - or when restarting from the beginning of the document. - @short Call this to reset the numMatches & numReplacements counts. - */ - public native void resetCounts(); - /** - Walk the text fragment (e.g. kwrite line, kspread cell) looking for matches. - For each match, if prompt-on-replace is specified, emits the highlight() signal - and displays the prompt-for-replace dialog before doing the replace. - @short Walk the text fragment (e. - */ - public native int replace(); - /** - Return (or create) the dialog that shows the "find next?" prompt. - Usually you don't need to call this. - One case where it can be useful, is when the user selects the "Find" - menu item while a find operation is under way. In that case, the - program may want to call setActiveWindow() on that dialog. - @short Return (or create) the dialog that shows the "find next?" prompt. - */ - public native KDialogBase replaceNextDialog(boolean create); - public native KDialogBase replaceNextDialog(); - /** - Close the "replace next?" dialog. The application should do this when - the last match was hit. If the application deletes the KReplace, then - "find previous" won't be possible anymore. - @short Close the "replace next?" dialog. - */ - public native void closeReplaceNextDialog(); - /** - Returns true if we should restart the search from scratch. - Can ask the user, or return false (if we already searched/replaced the - whole document without the PromptOnReplace option). - @param forceAsking set to true if the user modified the document during the - search. In that case it makes sense to restart the search again. - @param showNumMatches set to true if the dialog should show the number of - matches. Set to false if the application provides a "find previous" action, - in which case the match count will be erroneous when hitting the end, - and we could even be hitting the beginning of the document (so not all - matches have even been seen). - @short Returns true if we should restart the search from scratch. - */ - public native boolean shouldRestart(boolean forceAsking, boolean showNumMatches); - public native boolean shouldRestart(boolean forceAsking); - public native boolean shouldRestart(); - /** - Displays the final dialog telling the user how many replacements were made. - Call either this or shouldRestart(). - @short Displays the final dialog telling the user how many replacements were made. - */ - public native void displayFinalDialog(); - /** - Search the given string, replaces with the given replacement string, - and returns whether a match was found. If one is, - the replacement string length is also returned. - A performance optimised version of the function is provided for use - with regular expressions. - @param text The string to search. - @param pattern The pattern to look for. - @param replacement The replacement string to insert into the text. - @param index The starting index into the string. - @param options The options to use. - @param replacedLength Output parameter, contains the length of the replaced string. - Not always the same as replacement.length(), when backreferences are used. - @return The index at which a match was found, or -1 if no match was found. - - @short Search the given string, replaces with the given replacement string, and returns whether a match was found. - */ - public static native int replace(StringBuffer text, String pattern, String replacement, int index, long options, int[] replacedLength); - public static native int replace(StringBuffer text, TQRegExp pattern, String replacement, int index, long options, int[] replacedLength); - protected native void slotSkip(); - protected native void slotReplace(); - protected native void slotReplaceAll(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KReplaceDialog.java b/kdejava/koala/org/kde/koala/KReplaceDialog.java deleted file mode 100644 index 89a7fbd1..00000000 --- a/kdejava/koala/org/kde/koala/KReplaceDialog.java +++ /dev/null @@ -1,132 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQWidget; - -/** - - <b></b>etail: - This widget inherits from KFindDialog and implements - the following additional functionalities: a replacement string - object and an area for a user-defined widget to extend the dialog. - <b></b>xample: - To use the basic replace dialog: - <pre> - </pre> - To use your own extensions: - <pre> - </pre> - @author S.R.Haque <srhaque@iee.org> - - @short A generic "replace" dialog. - -*/ -public class KReplaceDialog extends KFindDialog { - protected KReplaceDialog(Class dummy){super((Class) null);} - public static final int PromptOnReplace = 256; - public static final int BackReference = 512; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a replace dialog.read-only or rather select-only combo box with a - parent object and a name. - @param parent The parent object of this widget - @param name The name of this widget - @param options A bitfield of the Options to be enabled. - @param findStrings A String[] to insert in the combo box of text to find - @param replaceStrings A String[] to insert in the combo box of text to - replace with - @param hasSelection Whether a selection exists - @short Construct a replace dialog. - */ - public KReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings, boolean hasSelection) { - super((Class) null); - newKReplaceDialog(parent,name,options,findStrings,replaceStrings,hasSelection); - } - private native void newKReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings, boolean hasSelection); - public KReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings) { - super((Class) null); - newKReplaceDialog(parent,name,options,findStrings,replaceStrings); - } - private native void newKReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings); - public KReplaceDialog(TQWidget parent, String name, long options, String[] findStrings) { - super((Class) null); - newKReplaceDialog(parent,name,options,findStrings); - } - private native void newKReplaceDialog(TQWidget parent, String name, long options, String[] findStrings); - public KReplaceDialog(TQWidget parent, String name, long options) { - super((Class) null); - newKReplaceDialog(parent,name,options); - } - private native void newKReplaceDialog(TQWidget parent, String name, long options); - public KReplaceDialog(TQWidget parent, String name) { - super((Class) null); - newKReplaceDialog(parent,name); - } - private native void newKReplaceDialog(TQWidget parent, String name); - public KReplaceDialog(TQWidget parent) { - super((Class) null); - newKReplaceDialog(parent); - } - private native void newKReplaceDialog(TQWidget parent); - public KReplaceDialog() { - super((Class) null); - newKReplaceDialog(); - } - private native void newKReplaceDialog(); - /** - Provide the list of <code>strings</code> to be displayed as the history - of replacement strings. <code>strings</code> might get truncated if it is - too long. - @param history The replacement history. - @short Provide the list of <code>strings</code> to be displayed as the history of replacement strings. - @see #replacementHistory - */ - public native void setReplacementHistory(String[] history); - /** - Returns the list of history items. - @short Returns the list of history items. - @see #setReplacementHistory - */ - public native ArrayList replacementHistory(); - /** - Set the options which are enabled. - @param options The setting of the Options. - @short Set the options which are enabled. - */ - public native void setOptions(long options); - /** - Returns the state of the options. Disabled options may be returned in - an indeterminate state. - @short Returns the state of the options. - @see #setOptions - */ - public native long options(); - /** - Returns the replacement string. - @short Returns the replacement string. - */ - public native String replacement(); - /** - Returns an empty widget which the user may fill with additional UI - elements as required. The widget occupies the width of the dialog, - and is positioned immediately the regular expression support widgets - for the replacement string. - @short Returns an empty widget which the user may fill with additional UI elements as required. - */ - public native TQWidget replaceExtension(); - protected native void slotOk(); - public native void showEvent(TQShowEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KReplaceSignals.java b/kdejava/koala/org/kde/koala/KReplaceSignals.java deleted file mode 100644 index c9f8faae..00000000 --- a/kdejava/koala/org/kde/koala/KReplaceSignals.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQRegExp; -import org.kde.qt.TQWidget; - -public interface KReplaceSignals { - /** - Connect to this slot to implement updating of replaced text during the replace - operation. - Extra care must be taken to properly implement the "no prompt-on-replace" case. - For instance highlight isn't emitted in that case (some code might rely on it), - and for performance reasons one should repaint after replace() ONLY if - prompt-on-replace was selected. - @param text The text, in which the replacement has already been done. - @param replacementIndex Starting index of the matched substring - @param replacedLength Length of the replacement string - @param matchedLength Length of the matched string - @short Connect to this slot to implement updating of replaced text during the replace operation. - */ - void replace(String text, int replacementIndex, int replacedLength, int matchedLength); -} diff --git a/kdejava/koala/org/kde/koala/KRestrictedLine.java b/kdejava/koala/org/kde/koala/KRestrictedLine.java deleted file mode 100644 index a7150d6c..00000000 --- a/kdejava/koala/org/kde/koala/KRestrictedLine.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; - -/** - - The KRestrictedLine widget is a variant of TQLineEdit which - accepts only a restricted set of characters as input. - All other characters will be discarded and the signal invalidChar() - will be emitted for each of them. - Valid characters can be passed as a String to the constructor - or set afterwards via setValidChars(). - The default key bindings of TQLineEdit are still in effect. - See {@link KRestrictedLineSignals} for signals emitted by KRestrictedLine - @author Michael Wiedmann <mw@miwie.in-berlin.de> - - @short A line editor for restricted character sets. - -*/ -public class KRestrictedLine extends KLineEdit { - protected KRestrictedLine(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor: This contructor takes three - optional - arguments. - The first two parameters are simply passed on to TQLineEdit. - @param parent pointer to the parent widget - @param name pointer to the name of this widget - @param valid pointer to set of valid characters - @short Constructor: This contructor takes three - optional - arguments. - */ - public KRestrictedLine(TQWidget parent, String name, String valid) { - super((Class) null); - newKRestrictedLine(parent,name,valid); - } - private native void newKRestrictedLine(TQWidget parent, String name, String valid); - public KRestrictedLine(TQWidget parent, String name) { - super((Class) null); - newKRestrictedLine(parent,name); - } - private native void newKRestrictedLine(TQWidget parent, String name); - public KRestrictedLine(TQWidget parent) { - super((Class) null); - newKRestrictedLine(parent); - } - private native void newKRestrictedLine(TQWidget parent); - public KRestrictedLine() { - super((Class) null); - newKRestrictedLine(); - } - private native void newKRestrictedLine(); - /** - All characters in the string valid are treated as - acceptable characters. - @short All characters in the string valid are treated as acceptable characters. - */ - public native void setValidChars(String valid); - /** - @return the string of acceptable characters. - - @short - */ - public native String validChars(); - protected native void keyPressEvent(TQKeyEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRestrictedLineSignals.java b/kdejava/koala/org/kde/koala/KRestrictedLineSignals.java deleted file mode 100644 index 819af9cd..00000000 --- a/kdejava/koala/org/kde/koala/KRestrictedLineSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; - -public interface KRestrictedLineSignals { - /** - Emitted when an invalid character was typed. - @short Emitted when an invalid character was typed. - */ - void invalidChar(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KRootPermsIcon.java b/kdejava/koala/org/kde/koala/KRootPermsIcon.java deleted file mode 100644 index 1586ea10..00000000 --- a/kdejava/koala/org/kde/koala/KRootPermsIcon.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Icon to show whether or not a user has root permissions. - @author Preston Brown <pbrown@kde.org> - - @short Icon to show whether or not a user has root permissions. - @see KAuthIcon - -*/ -public class KRootPermsIcon extends KAuthIcon { - protected KRootPermsIcon(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KRootPermsIcon(TQWidget parent, String name) { - super((Class) null); - newKRootPermsIcon(parent,name); - } - private native void newKRootPermsIcon(TQWidget parent, String name); - public KRootPermsIcon(TQWidget parent) { - super((Class) null); - newKRootPermsIcon(parent); - } - private native void newKRootPermsIcon(TQWidget parent); - public KRootPermsIcon() { - super((Class) null); - newKRootPermsIcon(); - } - private native void newKRootPermsIcon(); - /** - return whether or not the current user has root permissions. - @short return whether or not the current user has root permissions. - */ - public native boolean status(); - public native void updateStatus(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRootPixmap.java b/kdejava/koala/org/kde/koala/KRootPixmap.java deleted file mode 100644 index 86179589..00000000 --- a/kdejava/koala/org/kde/koala/KRootPixmap.java +++ /dev/null @@ -1,182 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - Creates pseudo-transparent widgets. - A pseudo-transparent widget is a widget with its background pixmap set to - that part of the desktop background that it is currently obscuring. This - gives a transparency effect. - To create a transparent widget, construct a KRootPixmap and pass it a - pointer to your widget. That's it! Moving, resizing and background changes - are handled automatically. - Instead of using the default behavior, you can ask KRootPixmap - to emit a backgroundUpdated(TQPixmap) signal whenever - the background needs updating by using setCustomPainting(boolean). - Alternatively by reimplementing updateBackground(TDESharedPixmap) - you can take complete control of the behavior. - See {@link KRootPixmapSignals} for signals emitted by KRootPixmap - @author Geert Jansen <jansen@kde.org> - - @version $Id$ - - @short Creates pseudo-transparent widgets. - -*/ -public class KRootPixmap extends TQObject { - protected KRootPixmap(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KRootPixmap. The KRootPixmap will be created as a child - of the target widget so it will be deleted automatically when the - widget is destroyed. - @param target A pointer to the widget that you want to make pseudo - transparent. - @param name The internal name of the pixmap - @short Constructs a KRootPixmap. - */ - public KRootPixmap(TQWidget target, String name) { - super((Class) null); - newKRootPixmap(target,name); - } - private native void newKRootPixmap(TQWidget target, String name); - public KRootPixmap(TQWidget target) { - super((Class) null); - newKRootPixmap(target); - } - private native void newKRootPixmap(TQWidget target); - /** - Constructs a KRootPixmap where the parent TQObject and target TQWidget are - different. - @short Constructs a KRootPixmap where the parent TQObject and target TQWidget are different. - */ - public KRootPixmap(TQWidget target, TQObject parent, String name) { - super((Class) null); - newKRootPixmap(target,parent,name); - } - private native void newKRootPixmap(TQWidget target, TQObject parent, String name); - public KRootPixmap(TQWidget target, TQObject parent) { - super((Class) null); - newKRootPixmap(target,parent); - } - private native void newKRootPixmap(TQWidget target, TQObject parent); - /** - Checks if pseudo-transparency is available. - @return <code>true</code> if transparency is available, <code>false</code> otherwise. - - @short Checks if pseudo-transparency is available. - */ - public native boolean isAvailable(); - /** - Returns true if the KRootPixmap is active. - @short Returns true if the KRootPixmap is active. - */ - public native boolean isActive(); - /** - Returns the number of the current desktop. - @short Returns the number of the current desktop. - */ - public native int currentDesktop(); - /** - Returns true if custom painting is enabled, false otherwise. - @short Returns true if custom painting is enabled, false otherwise. - @see #setCustomPainting(boolean) - */ - public native boolean customPainting(); - /** @since 3.2 - @return the fade color. - - @short @since 3. - */ - public native TQColor color(); - /** @since 3.2 - @return the color opacity. - - @short @since 3. - */ - public native double opacity(); - /** - Starts background handling. - @short Starts background handling. - */ - public native void start(); - /** - Stops background handling. - @short Stops background handling. - */ - public native void stop(); - /** - Sets the fade effect. - This effect will fade the background to the - specified color. - @param opacity A value between 0 and 1, indicating the opacity - of the color. A value of 0 will not change the image, a value of 1 - will use the fade color unchanged. - @param color The color to fade to. - @short Sets the fade effect. - */ - public native void setFadeEffect(double opacity, TQColor color); - /** - Repaints the widget background. Normally, you shouldn't need this - as it is handled automatically. - @param force Force a repaint, even if the contents did not change. - @short Repaints the widget background. - */ - public native void repaint(boolean force); - /** - Repaints the widget background. Normally, you shouldn't need this - as it is handled automatically. This is equivalent to calling - repaint( false ). - @short Repaints the widget background. - */ - public native void repaint(); - /** - Enables custom handling of the background painting. If custom - painting is enabled then KRootPixmap will emit a - backgroundUpdated() signal when the background for the - target widget changes, instead of applying the new background. - @short Enables custom handling of the background painting. - */ - public native void setCustomPainting(boolean enable); - /** - Asks KDesktop to export the desktop background as a TDESharedPixmap. - This method uses DCOP to call KBackgroundIface/setExport(int). - @short Asks KDesktop to export the desktop background as a TDESharedPixmap. - */ - public native void enableExports(); - /** - Returns the name of the shared pixmap (only needed for low level access) - @short Returns the name of the shared pixmap (only needed for low level access) - */ - public static native String pixmapName(int desk); - /** - Reimplemented to filter the events from the target widget and - track its movements. - @short Reimplemented to filter the events from the target widget and track its movements. - */ - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** - Called when the pixmap has been updated. The default implementation - applies the fade effect, then sets the target's background, or emits - backgroundUpdated(TQPixmap) depending on the painting mode. - @short Called when the pixmap has been updated. - */ - // void updateBackground(TDESharedPixmap* arg1); >>>> NOT CONVERTED - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRootPixmapSignals.java b/kdejava/koala/org/kde/koala/KRootPixmapSignals.java deleted file mode 100644 index 72b9a75f..00000000 --- a/kdejava/koala/org/kde/koala/KRootPixmapSignals.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KRootPixmapSignals { - /** - Emitted when the background needs updating and custom painting - (see setCustomPainting(boolean) ) is enabled. - @param pm A pixmap containing the new background. - @short Emitted when the background needs updating and custom painting (see setCustomPainting(bool) ) is enabled. - */ - void backgroundUpdated(TQPixmap pm); -} diff --git a/kdejava/koala/org/kde/koala/KRootProp.java b/kdejava/koala/org/kde/koala/KRootProp.java deleted file mode 100644 index 14adb1b2..00000000 --- a/kdejava/koala/org/kde/koala/KRootProp.java +++ /dev/null @@ -1,186 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQFont; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Access KDE desktop resources stored on the root window. - A companion to the TDEConfig class. - The KRootProp class is used for reading and writing configuration entries - to properties on the root window. - All configuration entries are of the form "key=value". - @author Mark Donohoe (donohe@kde.org) - - @short Access KDE desktop resources stored on the root window. - @see TDEConfig#TDEConfig - -*/ -public class KRootProp implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KRootProp(Class dummy){} - - /** - Constructs a KRootProp object for the property <code>rProp.</code> - @param rProp the property that will be searched, null to - do nothing - @short Constructs a KRootProp object for the property <code>rProp.</code> - @see #setProp - */ - public KRootProp(String rProp) { - newKRootProp(rProp); - } - private native void newKRootProp(String rProp); - public KRootProp() { - newKRootProp(); - } - private native void newKRootProp(); - /** - Sets the property in which keys will be searched. - @param rProp the property that will be searched - @short Sets the property in which keys will be searched. - */ - public native void setProp(String rProp); - public native void setProp(); - /** - Returns the name of the property under which keys are searched. - @return the property that will be searched - - @short Returns the name of the property under which keys are searched. - */ - public native String prop(); - /** - Destroys the property completely. - I.e. all entries will be cleared - and the property will be removed from the root window. - @short Destroys the property completely. - */ - public native void destroy(); - /** - Reads the value of an entry specified by <code>rKey</code> in the current property. - @param rKey The key to search for. - @param pDefault A default value returned if the key was not found. - @return The value for this key or the default if no value - was found. - - @short Reads the value of an entry specified by <code>rKey</code> in the current property. - */ - public native String readEntry(String rKey, String pDefault); - public native String readEntry(String rKey); - /** - Reads a numerical value. - Reads the value of an entry specified by <code>rKey</code> in the current property - and interprets it numerically. - @param rKey The key to search for. - @param nDefault A default value returned if the key was not found. - @return The value for this key or the default if no value was found. - - @short Reads a numerical value. - */ - public native int readNumEntry(String rKey, int nDefault); - public native int readNumEntry(String rKey); - /** - Reads a TQFont value. - Reads the value of an entry specified by <code>rKey</code> in the current property - and interpret it as a font object. - @param rKey The key to search for. - @param pDefault A default value returned if the key was not found. - @return The value for this key or a default font if no value was found. - - @short Reads a TQFont value. - */ - public native TQFont readFontEntry(String rKey, TQFont pDefault); - public native TQFont readFontEntry(String rKey); - /** - Reads a TQColor. - Reads the value of an entry specified by <code>rKey</code> in the current property - and interprets it as a color. - @param rKey The key to search for. - @param pDefault A default value returned if the key was not found. - @return The value for this key or a default color if no value - was found. - - @short Reads a TQColor. - */ - public native TQColor readColorEntry(String rKey, TQColor pDefault); - public native TQColor readColorEntry(String rKey); - /** - Writes a (key/value) pair. - This is stored to the current property when destroying the - config object or when calling sync(). - @param rKey The key to write. - @param rValue The value to write. - @return The old value for this key. If this key did not exist, - a null string is returned. - - @short Writes a (key/value) pair. - */ - public native String writeEntry(String rKey, String rValue); - /** - Writes the (key/value) pair. - Same as above, but writes a numerical value. - @param rKey The key to write. - @param nValue The value to write. - @return The old value for this key. If this key did not - exist, a null string is returned. - - @short Writes the (key/value) pair. - */ - public native String writeEntry(String rKey, int nValue); - /** - Writes the (key/value) pair. - Same as above, but writes a font. - @param rKey The key to write. - @param rFont The font to write. - @return The old value for this key. If this key did not - exist, a null string is returned. - - @short Writes the (key/value) pair. - */ - public native String writeEntry(String rKey, TQFont rFont); - /** - Writes the (key/value) pair. - Same as above, but writes a color. - @param rKey The key to write. - @param rColor The color to write. - @return The old value for this key. If this key did not - exist, a null string is returned. - - @short Writes the (key/value) pair. - */ - public native String writeEntry(String rKey, TQColor rColor); - /** - Removes an entry. - @param rKey The key to remove. - @return The old value for this key. If this key did not - exist, a null string is returned. - - @short Removes an entry. - */ - public native String removeEntry(String rKey); - /** - Returns a list of all keys. - @return An ArrayList containing all the keys. - - @short Returns a list of all keys. - */ - public native ArrayList listEntries(); - /** - Flushes the entry cache. - Writes back dirty configuration entries to the current property, - This is called automatically from the destructor. - @short Flushes the entry cache. - */ - public native void sync(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRuler.java b/kdejava/koala/org/kde/koala/KRuler.java deleted file mode 100644 index afc027c9..00000000 --- a/kdejava/koala/org/kde/koala/KRuler.java +++ /dev/null @@ -1,386 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - A ruler widget. - The vertical ruler looks similar to this: -<pre> - meters inches - ------ <--- end mark --. ------ - -- - - -- <---little mark--. -- - -- - - -- --- - --- <---medium mark - - -- -- - -- tiny mark---. - - -- ---- - -- - - ---- <-----big mark -- - -- - - |>-- <--ruler pointer-. |>-- - </pre> - There are tiny marks, little marks, medium marks, and big marks along the - ruler. - To receive mouse clicks or mouse moves, - the class has to be overloaded. - For performance reasons, the public methods don't call TQWidget.repaint(). - (Slots do, see documentation below.) - All the changed settings will be painted once after leaving - to the main event loop. - For performance painting the slot methods should be used, - they do a fast TQWidget.repaint() call after changing the values. - For setting multiple values like minValue(), maxValue(), offset() etc. - using the public methods is recommended - so the widget will be painted only once when entering the main event loop. - @author Jorg Habenicht - - @short A ruler widget. - -*/ -public class KRuler extends TQFrame { - protected KRuler(Class dummy){super((Class) null);} - /** - The types of units used. - @short The types of units used. - */ - public static final int Custom = 0; - public static final int Pixel = 1; - public static final int Inch = 2; - public static final int Millimetres = 3; - public static final int Centimetres = 4; - public static final int Metres = 5; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a horizontal ruler. - @short Constructs a horizontal ruler. - */ - public KRuler(TQWidget parent, String name) { - super((Class) null); - newKRuler(parent,name); - } - private native void newKRuler(TQWidget parent, String name); - public KRuler(TQWidget parent) { - super((Class) null); - newKRuler(parent); - } - private native void newKRuler(TQWidget parent); - public KRuler() { - super((Class) null); - newKRuler(); - } - private native void newKRuler(); - /** - Constructs a ruler with orientation <code>orient.</code> - <code>parent</code>, <code>name</code> and <code>f</code> are passed to TQFrame. - The default look is a raised widget - but may be changed with the inherited TQFrame methods. - @param orient Orientation of the ruler. - @param parent Will be handed over to TQFrame. - @param name Will be handed over to TQFrame. - @param f Will be handed over to TQFrame. - @short Constructs a ruler with orientation <code>orient.</code> - */ - public KRuler(int orient, TQWidget parent, String name, int f) { - super((Class) null); - newKRuler(orient,parent,name,f); - } - private native void newKRuler(int orient, TQWidget parent, String name, int f); - public KRuler(int orient, TQWidget parent, String name) { - super((Class) null); - newKRuler(orient,parent,name); - } - private native void newKRuler(int orient, TQWidget parent, String name); - public KRuler(int orient, TQWidget parent) { - super((Class) null); - newKRuler(orient,parent); - } - private native void newKRuler(int orient, TQWidget parent); - public KRuler(int orient) { - super((Class) null); - newKRuler(orient); - } - private native void newKRuler(int orient); - /** - Constructs a ruler with orientation <code>orient</code> and initial width <code>widgetWidth.</code> - The width sets the fixed width of the widget. This is useful if you - want to draw the ruler bigger or smaller than the default size. - Note: The size of the marks doesn't change. - <code>parent</code>, <code>name</code> and <code>f</code> are passed to TQFrame. - @param orient Orientation of the ruler. - @param widgetWidth Fixed width of the widget. - @param parent Will be handed over to TQFrame. - @param name Will be handed over to TQFrame. - @param f Will be handed over to TQFrame. - @short Constructs a ruler with orientation <code>orient</code> and initial width <code>widgetWidth.</code> - */ - public KRuler(int orient, int widgetWidth, TQWidget parent, String name, int f) { - super((Class) null); - newKRuler(orient,widgetWidth,parent,name,f); - } - private native void newKRuler(int orient, int widgetWidth, TQWidget parent, String name, int f); - public KRuler(int orient, int widgetWidth, TQWidget parent, String name) { - super((Class) null); - newKRuler(orient,widgetWidth,parent,name); - } - private native void newKRuler(int orient, int widgetWidth, TQWidget parent, String name); - public KRuler(int orient, int widgetWidth, TQWidget parent) { - super((Class) null); - newKRuler(orient,widgetWidth,parent); - } - private native void newKRuler(int orient, int widgetWidth, TQWidget parent); - public KRuler(int orient, int widgetWidth) { - super((Class) null); - newKRuler(orient,widgetWidth); - } - private native void newKRuler(int orient, int widgetWidth); - /** - Sets the minimal value of the ruler pointer (default is 0). - This method calls update() so that the widget is painted after leaving - to the main event loop. - @short Sets the minimal value of the ruler pointer (default is 0). - */ - public native void setMinValue(int arg1); - /** - Returns the minimal value of the ruler pointer. - @short Returns the minimal value of the ruler pointer. - */ - public native int minValue(); - /** - Sets the maximum value of the ruler pointer (default is 100). - This method calls update() so that the widget is painted after leaving - to the main event loop. - @short Sets the maximum value of the ruler pointer (default is 100). - */ - public native void setMaxValue(int arg1); - /** - Returns the maximal value of the ruler pointer. - @short Returns the maximal value of the ruler pointer. - */ - public native int maxValue(); - /** - Sets minimum and maximum values of the ruler pointer. - This method calls update() so that the widget is painted after leaving - to the main event loop. - @short Sets minimum and maximum values of the ruler pointer. - */ - public native void setRange(int min, int max); - /** - Sets the value of the ruler pointer. - The value is indicated by painting the ruler pointer at the - corresponding position. - This method calls update() so that the widget is painted after leaving - to the main event loop. - @short Sets the value of the ruler pointer. - */ - public native void setValue(int arg1); - public native int value(); - /** - Sets the distance between tiny marks. - This is mostly used in the English system (inches) with distance of 1. - @short Sets the distance between tiny marks. - */ - public native void setTinyMarkDistance(int arg1); - /** - Returns the distance between tiny marks. - @short Returns the distance between tiny marks. - */ - public native int tinyMarkDistance(); - /** - Sets the distance between little marks. - The default value is 1 in the metric system and 2 in the English (inches) system. - @short Sets the distance between little marks. - */ - public native void setLittleMarkDistance(int arg1); - /** - Returns the distance between little marks. - @short Returns the distance between little marks. - */ - public native int littleMarkDistance(); - /** - Sets the distance between medium marks. - For English (inches) styles it defaults to twice the little mark distance. - For metric styles it defaults to five times the little mark distance. - @short Sets the distance between medium marks. - */ - public native void setMediumMarkDistance(int arg1); - public native int mediumMarkDistance(); - /** - Sets distance between big marks. - For English (inches) or metric styles it is twice the medium mark distance. - @short Sets distance between big marks. - */ - public native void setBigMarkDistance(int arg1); - /** - Returns the distance between big marks. - @short Returns the distance between big marks. - */ - public native int bigMarkDistance(); - /** - Shows/hides tiny marks. - @short Shows/hides tiny marks. - */ - public native void setShowTinyMarks(boolean arg1); - public native boolean showTinyMarks(); - /** - Shows/hides little marks. - @short Shows/hides little marks. - */ - public native void setShowLittleMarks(boolean arg1); - public native boolean showLittleMarks(); - /** - Shows/hides medium marks. - @short Shows/hides medium marks. - */ - public native void setShowMediumMarks(boolean arg1); - public native boolean showMediumMarks(); - /** - Shows/hides big marks. - @short Shows/hides big marks. - */ - public native void setShowBigMarks(boolean arg1); - public native boolean showBigMarks(); - /** - Shows/hides end marks. - @short Shows/hides end marks. - */ - public native void setShowEndMarks(boolean arg1); - public native boolean showEndMarks(); - /** - Shows/hides the pointer. - @short Shows/hides the pointer. - */ - public native void setShowPointer(boolean arg1); - public native boolean showPointer(); - /** - Show/hide number values of the end marks. - Default is <code>false.</code> - @short Show/hide number values of the end marks. - */ - public native void setShowEndLabel(boolean arg1); - public native boolean showEndLabel(); - /** - Sets the label this is drawn at the beginning of the visible part - of the ruler to <code>label</code> - @short Sets the label this is drawn at the beginning of the visible part of the ruler to <code>label</code> - */ - public native void setEndLabel(String arg1); - public native String endLabel(); - /** - Sets up the necessary tasks for the provided styles. - A convenience method. - @short Sets up the necessary tasks for the provided styles. - */ - public native void setRulerMetricStyle(int arg1); - /** - Sets the number of pixels between two base marks. - Calling this method stretches or shrinks your ruler. - For pixel display ( MetricStyle) the value is 10.0 marks - per pixel ;-) - For English (inches) it is 9.0, and for centimetres ~2.835 . 3.0 . - If you want to magnify your part of display, you have to - adjust the mark distance <code>here.</code> - Notice: The double type is only supported to give the possibility - of having some double values. - It should be used with care. Using values below 10.0 - shows visible jumps of markpositions (e.g. 2.345). - Using whole numbers is highly recommended. - To use <code>int</code> values use setPixelPerMark((int)your_int_value); - default: 1 mark per 10 pixels - @short Sets the number of pixels between two base marks. - */ - public native void setPixelPerMark(double rate); - /** - Returns the number of pixels between two base marks. - @short Returns the number of pixels between two base marks. - */ - public native double pixelPerMark(); - /** - Sets the length of the ruler, i.e. the difference between - the begin mark and the end mark of the ruler. - Same as (width() - offset()) - when the length is not locked, it gets adjusted with the - length of the widget. - @short Sets the length of the ruler, i. - */ - public native void setLength(int arg1); - public native int length(); - /** - Locks the length of the ruler, i.e. the difference between - the two end marks doesn't change when the widget is resized. - @param fix fixes the length, if true - @short Locks the length of the ruler, i. - */ - public native void setLengthFixed(boolean fix); - public native boolean lengthFixed(); - /** - Sets the number of pixels by which the ruler may slide up or left. - The number of pixels moved is realive to the previous position. - The Method makes sense for updating a ruler, which is working with - a scrollbar. - This doesn't affect the position of the ruler pointer. - Only the visible part of the ruler is moved. - @param count Number of pixel moving up or left relative to the previous position - @short Sets the number of pixels by which the ruler may slide up or left. - */ - public native void slideUp(int count); - public native void slideUp(); - /** - Sets the number of pixels by which the ruler may slide down or right. - The number of pixels moved is realive to the previous position. - The Method makes sense for updating a ruler, which is working with - a scrollbar. - This doesn't affect the position of the ruler pointer. - Only the visible part of the ruler is moved. - @param count Number of pixel moving up or left relative to the previous position - @short Sets the number of pixels by which the ruler may slide down or right. - */ - public native void slideDown(int count); - public native void slideDown(); - /** - Sets the ruler slide offset. - This is like slideup() or slidedown() with an absolute offset - from the start of the ruler. - @param offset Number of pixel to move the ruler up or left from the beginning - @short Sets the ruler slide offset. - */ - public native void setOffset(int offset); - /** - Returns the current ruler offset. - @short Returns the current ruler offset. - */ - public native int offset(); - public native int endOffset(); - /** - Sets the pointer to a new position. - The offset is NOT updated. - TQWidget.repaint() is called afterwards. - @short Sets the pointer to a new position. - */ - public native void slotNewValue(int arg1); - /** - Sets the ruler marks to a new position. - The pointer is NOT updated. - TQWidget.repaint() is called afterwards. - @short Sets the ruler marks to a new position. - */ - public native void slotNewOffset(int arg1); - public native void slotEndOffset(int arg1); - protected native void drawContents(TQPainter arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRun.java b/kdejava/koala/org/kde/koala/KRun.java deleted file mode 100644 index 3974b58d..00000000 --- a/kdejava/koala/org/kde/koala/KRun.java +++ /dev/null @@ -1,346 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - To open files with their associated applications in KDE, use KRun. - It can execute any desktop entry, as well as any file, using - the default application or another application "bound" to the file type - (or URL protocol). - In that example, the mimetype of the file is not known by the application, - so a KRun instance must be created. It will determine the mimetype by itself. - If the mimetype is known, or if you even know the service (application) to - use for this file, use one of the static methods. - By default KRun uses auto deletion. It causes the KRun instance to delete - itself when the it finished its task. If you allocate the KRun - object on the stack you must disable auto deletion, otherwise it will crash. - See {@link KRunSignals} for signals emitted by KRun - @short Opens files with their associated applications in KDE. - -*/ -public class KRun extends TQObject { - protected KRun(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a KRun object to run the preferred application for a file/URL. - KRun will first determine the type of the file, and will then - run the associated application. - @param url the URL of the file or directory to 'run' - @param mode The <code>st_mode</code> field of <tt>struct stat</tt>. If - you don't know this set it to 0. - @param isLocalFile If this parameter is set to <code>false</code> then <code>url</code> is - examined to find out whether it is a local URL or - not. This flag is just used to improve speed, since the - function KURL.isLocalFile is a bit slow. - @param showProgressInfo Whether to show progress information when determining the - type of the file (i.e. when using TDEIO.stat and TDEIO.mimetype) - Before you set this to false to avoid a dialog box, think about - a very slow FTP server... - It is always better to provide progress info in such cases. - @short Create a KRun object to run the preferred application for a file/URL. - */ - public KRun(KURL url, long mode, boolean isLocalFile, boolean showProgressInfo) { - super((Class) null); - newKRun(url,mode,isLocalFile,showProgressInfo); - } - private native void newKRun(KURL url, long mode, boolean isLocalFile, boolean showProgressInfo); - public KRun(KURL url, long mode, boolean isLocalFile) { - super((Class) null); - newKRun(url,mode,isLocalFile); - } - private native void newKRun(KURL url, long mode, boolean isLocalFile); - public KRun(KURL url, long mode) { - super((Class) null); - newKRun(url,mode); - } - private native void newKRun(KURL url, long mode); - public KRun(KURL url) { - super((Class) null); - newKRun(url); - } - private native void newKRun(KURL url); - /** - BIC: Combine with the above ctor for KDE 4.0. - @param window The top-level widget of the app that invoked this object. - It is used to make sure private information like passwords - are properly handled per application. - @param url the URL of the file or directory to 'run' - @param mode The <code>st_mode</code> field of <tt>struct stat</tt>. If - you don't know this set it to 0. - @param isLocalFile If this parameter is set to <code>false</code> then <code>url</code> is - examined to find out whether it is a local URL or - not. This flag is just used to improve speed, since the - function KURL.isLocalFile is a bit slow. - @param showProgressInfo Whether to show progress information when determining the - type of the file (i.e. when using TDEIO.stat and TDEIO.mimetype) - Before you set this to false to avoid a dialog box, think about - a very slow FTP server... - It is always better to provide progress info in such cases. - @short BIC: Combine with the above ctor for KDE 4. - */ - public KRun(KURL url, TQWidget window, long mode, boolean isLocalFile, boolean showProgressInfo) { - super((Class) null); - newKRun(url,window,mode,isLocalFile,showProgressInfo); - } - private native void newKRun(KURL url, TQWidget window, long mode, boolean isLocalFile, boolean showProgressInfo); - public KRun(KURL url, TQWidget window, long mode, boolean isLocalFile) { - super((Class) null); - newKRun(url,window,mode,isLocalFile); - } - private native void newKRun(KURL url, TQWidget window, long mode, boolean isLocalFile); - public KRun(KURL url, TQWidget window, long mode) { - super((Class) null); - newKRun(url,window,mode); - } - private native void newKRun(KURL url, TQWidget window, long mode); - public KRun(KURL url, TQWidget window) { - super((Class) null); - newKRun(url,window); - } - private native void newKRun(KURL url, TQWidget window); - /** - Abort this KRun. This kills any jobs launched by it, - and leads to deletion if auto-deletion is on. - This is much safer than deleting the KRun (in case it's - currently showing an error dialog box, for instance) - @short Abort this KRun. - */ - public native void abort(); - /** - Returns true if the KRun instance has an error. - @return true when an error occurred - - @short Returns true if the KRun instance has an error. - @see #error - */ - public native boolean hasError(); - /** - Returns true if the KRun instance has finished. - @return true if the KRun instance has finished - - @short Returns true if the KRun instance has finished. - @see #finished - */ - public native boolean hasFinished(); - /** - Checks whether auto delete is activated. - Auto-deletion causes the KRun instance to delete itself - when it finished its task. - By default auto deletion is on. - @return true if auto deletion is on, false otherwise - - @short Checks whether auto delete is activated. - */ - public native boolean autoDelete(); - /** - Enables or disabled auto deletion. - Auto deletion causes the KRun instance to delete itself - when it finished its task. If you allocate the KRun - object on the stack you must disable auto deletion. - By default auto deletion is on. - @param b true to enable auto deletion, false to disable - @short Enables or disabled auto deletion. - */ - public native void setAutoDelete(boolean b); - /** - Set the preferred service for opening this URL, after - its mimetype will have been found by KRun. IMPORTANT: the service is - only used if its configuration says it can handle this mimetype. - This is used for instance for the X-TDE-LastOpenedWith key, for - the recent documents list. - @param desktopEntryName the desktopEntryName of the service, e.g. "kate". - @short Set the preferred service for opening this URL, after its mimetype will have been found by KRun. - */ - public native void setPreferredService(String desktopEntryName); - /** - Sets whether executables, .desktop files or shell scripts should - be run by KRun. This is enabled by default. - @param b whether to run executable files or not. - @short Sets whether executables, . - @see #isExecutable - */ - public native void setRunExecutables(boolean b); - /** - Sets whether the external webbrowser setting should be honoured. - This is enabled by default. - This should only be disabled in webbrowser applications. - @param b whether to enable the external browser or not. - @short Sets whether the external webbrowser setting should be honoured. - */ - public native void setEnableExternalBrowser(boolean b); - /** - Open a list of URLs with a certain service (application). - @param _service the service to run - @param _urls the list of URLs, can be empty (app launched - without argument) - @param tempFiles if true and _urls are local files, they will be deleted - when the application exits. - @return the process id, or 0 on error - - @short Open a list of URLs with a certain service (application). - */ - public static native int run(KService _service, ArrayList _urls, boolean tempFiles); - public static native int run(KService _service, ArrayList _urls); - /** - Open a list of URLs with. - @param _exec the name of the executable, for example - "/usr/bin/netscape". - @param _urls the list of URLs to open, can be empty (app launched without argument) - @param _name the logical name of the application, for example - "Netscape 4.06". - @param _icon the icon which should be used by the application. - @param _obsolete1 Do not use! - @param _obsolete2 Do not use! - @return the process id, or 0 on error - - @short Open a list of URLs with. - */ - public static native int run(String _exec, ArrayList _urls, String _name, String _icon, String _obsolete1, String _obsolete2); - public static native int run(String _exec, ArrayList _urls, String _name, String _icon, String _obsolete1); - public static native int run(String _exec, ArrayList _urls, String _name, String _icon); - public static native int run(String _exec, ArrayList _urls, String _name); - public static native int run(String _exec, ArrayList _urls); - /** - Open the given URL. - This function is used after the mime type - is found out. It will search for all services which can handle - the mime type and call run() afterwards. - @param _url the URL to open - @param _mimetype the mime type of the resource - @param tempFile if true and _url is a local file, it will be deleted - when the launched application exits. - @param runExecutables if false then local .desktop files, - executables and shell scripts will not be run. - See also isExecutable(). - @return the process id, or 0 on error - - @short Open the given URL. - */ - public static native int runURL(KURL _url, String _mimetype, boolean tempFile, boolean runExecutables); - public static native int runURL(KURL _url, String _mimetype, boolean tempFile); - public static native int runURL(KURL _url, String _mimetype); - /** - Run the given shell command and notifies kicker of the starting - of the application. If the program to be called doesn't exist, - an error box will be displayed. - Use only when you know the full command line. Otherwise use the other - static methods, or KRun's constructor. - <code>_cmd</code> must be a shell command. You must not append "&" - to it, since the function will do that for you. - @return PID of running command, 0 if it could not be started, 0 - (PID - of running command) if command was unsafe for map notification. - - @short Run the given shell command and notifies kicker of the starting of the application. - */ - public static native int runCommand(String cmd); - /** - Same as the other runCommand(), but it also takes the name of the - binary, to display an error message in case it couldn't find it. - @param cmd must be a shell command. You must not append "&" - to it, since the function will do that for you. - @param execName the name of the executable - @param icon icon for app starting notification - @return PID of running command, 0 if it could not be started, 0 - (PID - of running command) if command was unsafe for map notification. - - @short Same as the other runCommand(), but it also takes the name of the binary, to display an error message in case it couldn't find it. - */ - public static native int runCommand(String cmd, String execName, String icon); - /** - Display the Open-With dialog for those URLs, and run the chosen application. - @param lst the list of applications to run - @param tempFiles if true and lst are local files, they will be deleted - when the application exits. - @return false if the dialog was canceled - - @short Display the Open-With dialog for those URLs, and run the chosen application. - */ - public static native boolean displayOpenWithDialog(ArrayList lst, boolean tempFiles); - public static native boolean displayOpenWithDialog(ArrayList lst); - /** - Quotes a string for the shell. - @param _str the string to quote. The quoted string will be written here - @short Quotes a string for the shell. - */ - public static native void shellQuote(StringBuffer _str); - /** - Processes a Exec= line as found in .desktop files. - @param _service the service to extract information from. - @param _urls The urls the service should open. - @param has_shell If true, the arguments are going to be fed into a - shell e.g by using system(). - If false, the arguments are going to be fed into a exec() kind - call. - If the arguments are intended for an exec() kind of call and - the Exec line contains shell commands then "/bin/sh -c" is added. - @param tempFiles if true and _urls are local files, they will be deleted - when the application exits. - @return a list of arguments suitable for either system() or exec(). - - @short Processes a Exec= line as found in . - */ - public static native ArrayList processDesktopExec(KService _service, ArrayList _urls, boolean has_shell, boolean tempFiles); - public static native ArrayList processDesktopExec(KService _service, ArrayList _urls, boolean has_shell); - /** - Given a full command line (e.g. the Exec= line from a .desktop file), - extract the name of the binary being run. - @param execLine the full command line - @param removePath if true, remove a (relative or absolute) path. E.g. /usr/bin/ls becomes ls. - @return the name of the binary to run - - @short Given a full command line (e. - */ - public static native String binaryName(String execLine, boolean removePath); - /** - Returns whether <code>serviceType</code> refers to an executable program instead - of a data file. - @short Returns whether <code>serviceType</code> refers to an executable program instead of a data file. - */ - public static native boolean isExecutable(String serviceType); - /** - Returns wether the <code>url</code> of <code>mimetype</code> is executable. - To be executable the file must pass the following rules: - -# Must reside on the local filesystem. - -# Must be marked as executable for the user by the filesystem. - -# The mime type must inherit application/x-executable or application/x-executable-script. - To allow a script to run when the above rules are satisfied add the entry - @code - X-TDE-IsAlso=application/x-executable-script - @endcode - to the mimetype's desktop file. - @short Returns wether the <code>url</code> of <code>mimetype</code> is executable. - */ - public static native boolean isExecutableFile(KURL url, String mimetype); - /** - @short - */ - public static native boolean checkStartupNotify(String binName, KService service, boolean[] silent_arg, StringBuffer wmclass_arg); - protected native void init(); - protected native void scanFile(); - /** - Called if the mimetype has been detected. The function checks - whether the document and appends the gzip protocol to the - URL. Otherwise runURL is called to finish the job. - @short Called if the mimetype has been detected. - */ - protected native void foundMimeType(String _type); - protected native void killJob(); - protected native void slotTimeout(); - protected native void slotScanFinished(Job arg1); - protected native void slotScanMimeType(Job arg1, String type); - protected native void slotStatResult(Job arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KRunSignals.java b/kdejava/koala/org/kde/koala/KRunSignals.java deleted file mode 100644 index 98034d7b..00000000 --- a/kdejava/koala/org/kde/koala/KRunSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KRunSignals { - /** - Emitted when the operation finished. - @short Emitted when the operation finished. - @see #hasFinished - */ - void finished(); - /** - Emitted when the operation had an error. - @short Emitted when the operation had an error. - @see #hasError - */ - void error(); -} diff --git a/kdejava/koala/org/kde/koala/KSMIMECrypto.java b/kdejava/koala/org/kde/koala/KSMIMECrypto.java deleted file mode 100644 index bfaa674a..00000000 --- a/kdejava/koala/org/kde/koala/KSMIMECrypto.java +++ /dev/null @@ -1,100 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** -*/ -public class KSMIMECrypto implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSMIMECrypto(Class dummy){} - - public static final int KSC_C_DES3_CBC = 1; - public static final int KSC_C_RC2_CBC_128 = 2; - public static final int KSC_C_RC2_CBC_64 = 3; - public static final int KSC_C_DES_CBC = 4; - public static final int KSC_C_RC2_CBC_40 = 5; - - public static final int KSC_R_OK = 0; - public static final int KSC_R_OTHER = 1; - public static final int KSC_R_NO_SSL = 2; - public static final int KSC_R_NOCIPHER = 3; - public static final int KSC_R_NOMEM = 4; - public static final int KSC_R_FORMAT = 5; - public static final int KSC_R_WRONGKEY = 6; - public static final int KSC_R_VERIFY = 7; - - public KSMIMECrypto() { - newKSMIMECrypto(); - } - private native void newKSMIMECrypto(); - /** - Sign a message - @param clearText MIME representation of the message (part) to sign - @param cipherText signature to append or signature block - @param privKey private key/certificate to sign with - @param certs additional certificates (may be empty) - @param detached create detached or opaque signature - @return 0 on success - - @short Sign a message - */ - // KSMIMECrypto::rc signMessage(const TQCString& arg1,TQByteArray& arg2,const KSSLPKCS12& arg3,const TQPtrList<KSSLCertificate>& arg4,bool arg5); >>>> NOT CONVERTED - /** - Check a detached message signature - Will check if messages matches signature and extract certificates - Does not check certificates for validity! - @param clearText MIME representation of signed message (without SIG) - @param signature signature - @param foundCerts certificates found in this message - @return 0 on success - - @short Check a detached message signature Will check if messages matches signature and extract certificates Does not check certificates for validity! - */ - // KSMIMECrypto::rc checkDetachedSignature(const TQCString& arg1,const TQByteArray& arg2,TQPtrList<KSSLCertificate>& arg3); >>>> NOT CONVERTED - /** - Check an opaque signed message - Will check if signature matches and extract message - Does not check certificates for validity! - @param signedText signed message block - @param clearText cleartext of signed message - @foundCerts certificates found in this mesasge - @return 0 on success - - @short Check an opaque signed message Will check if signature matches and extract message Does not check certificates for validity! - */ - // KSMIMECrypto::rc checkOpaqueSignature(const TQByteArray& arg1,TQCString& arg2,TQPtrList<KSSLCertificate>& arg3); >>>> NOT CONVERTED - /** - Encrypt a message - encrypts a message for the given list of recipients and the - selected algorithm. Note that any algorithm <128 bytes is - insecure and should never be used, even if SMIME-2 requires - only RC2-40 - @param clearText MIME representation of message to encrypt - @param cipherText returned encrypted message - @param algorithm encryption algorithm - @recip recipient certificates - @return 0 on success - - @short Encrypt a message encrypts a message for the given list of recipients and the selected algorithm. - */ - // KSMIMECrypto::rc encryptMessage(const TQCString& arg1,TQByteArray& arg2,KSMIMECrypto::algo arg3,const TQPtrList<KSSLCertificate>& arg4); >>>> NOT CONVERTED - /** - Decrypt a message - @param cipherText encrypted message block - @param clearText returns decrypted message - @param privKey private key to use - @return 0 on success - - @short Decrypt a message - */ - public native int decryptMessage(byte[] cipherText, StringBuffer clearText, KSSLPKCS12 privKey); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSL.java b/kdejava/koala/org/kde/koala/KSSL.java deleted file mode 100644 index 0ed4dacf..00000000 --- a/kdejava/koala/org/kde/koala/KSSL.java +++ /dev/null @@ -1,249 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE SSL Wrapper Class - This class implements KDE's SSL support by wrapping OpenSSL. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Class. - @see KExtendedSocket - @see TCPSlaveBase - -*/ -public class KSSL implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSL(Class dummy){} - - /** - Construct a KSSL object - @param init Set this to false if you do not want this class to - immediately initialize OpenSSL. - @short Construct a KSSL object - */ - public KSSL(boolean init) { - newKSSL(init); - } - private native void newKSSL(boolean init); - public KSSL() { - newKSSL(); - } - private native void newKSSL(); - /** - Initialize OpenSSL. - This will do nothing if it is already initialized. - @return true on success - - @short Initialize OpenSSL. - @see #reInitialize - */ - public native boolean initialize(); - /** - This is used for applicationss which do STARTTLS or something - similar. It creates a TLS method regardless of the user's settings. - @return true if TLS is successfully initialized - - @short This is used for applicationss which do STARTTLS or something similar. - */ - public native boolean TLSInit(); - /** - Set an SSL session to use. This deep copies the session so it - doesn't have to remain valid. You need to call it after calling - initialize or reInitialize. The ID is cleared in close(). - @param session A valid session to reuse. If null, it will clear the - session ID in memory. - @return true on success - - @short Set an SSL session to use. - */ - public native boolean setSession(KSSLSession session); - /** - Close the SSL session. - @short Close the SSL session. - */ - public native void close(); - /** - Reinitialize OpenSSL. - This is not generally needed unless you are reusing the KSSL object - for a new session. - @return true on success - - @short Reinitialize OpenSSL. - @see #initialize - */ - public native boolean reInitialize(); - /** - Trigger a reread of KSSL configuration and reInitialize() KSSL. - If you setAutoReconfig() to false, then this will simply - reInitialize() and not read in the new configuration. - @return true on successful reinitalizations - - @short Trigger a reread of KSSL configuration and reInitialize() KSSL. - @see #setAutoReconfig - */ - public native boolean reconfig(); - /** - Enable or disable automatic reconfiguration on initialize(). - @param ar Set to false in order to disable auto-reloading of the - KSSL configuration during initialize(). - By default, KSSL will read its configuration on initialize(). You - might want to disable this for performance reasons. - @short Enable or disable automatic reconfiguration on initialize(). - */ - public native void setAutoReconfig(boolean ar); - /** - This will reseed the pseudo-random number generator with the EGD - (entropy gathering daemon) if the EGD is configured and enabled. - You don't need to call this yourself normally. - @return 0 on success - - @short This will reseed the pseudo-random number generator with the EGD (entropy gathering daemon) if the EGD is configured and enabled. - */ - public native int seedWithEGD(); - /** - Set a new KSSLSettings instance as the settings. This deletes the - current instance of KSSLSettings. - @param settings A new, valid settings object. - @return true on success - - @short Set a new KSSLSettings instance as the settings. - */ - public native boolean setSettings(KSSLSettings settings); - /** - One is built by the constructor, so this will only return a NULL - pointer if you set one with setSettings(). - @return the current settings instance - - @short One is built by the constructor, so this will only return a NULL pointer if you set one with setSettings(). - */ - public native KSSLSettings settings(); - /** - Use this to set the certificate to send to the server. - Do NOT delete the KSSLPKCS12 object until you are done with the - session. It is not defined when KSSL will be done with this. - @param pkcs the valid PKCS#12 object to send. - @return true if the certificate was properly set to the session. - - @short Use this to set the certificate to send to the server. - */ - public native boolean setClientCertificate(KSSLPKCS12 pkcs); - /** - Set the peer hostname to be used for certificate verification. - @param realHost the remote hostname as the user believes to be - connecting to - @short Set the peer hostname to be used for certificate verification. - */ - public native void setPeerHost(String realHost); - public native void setPeerHost(); - /** - Connect the SSL session to the remote host using the provided - socket descriptor. - @param sock the socket descriptor to connect with. This must be - an already connected socket. - @return 1 on success, 0 on error setting the file descriptor, - -1 on other error. - - @short Connect the SSL session to the remote host using the provided socket descriptor. - */ - public native int connect(int sock); - /** - Connect the SSL session to the remote host using the provided - socket descriptor. This is for use with an SSL server application. - @param sock the socket descriptor to connect with. This must be - an already connected socket. - @return 1 on success, 0 on error setting the file descriptor, - -1 on other error. - - @short Connect the SSL session to the remote host using the provided socket descriptor. - */ - public native int accept(int sock); - /** - Read data from the remote host via SSL. - @param buf the buffer to read the data into. - @param len the maximum length of data to read. - @return the number of bytes read, 0 on an exception, or -1 on error. - - @short Read data from the remote host via SSL. - */ - // int read(void* arg1,int arg2); >>>> NOT CONVERTED - /** - Peek at available data from the remote host via SSL. - @param buf the buffer to read the data into. - @param len the maximum length of data to read. - @return the number of bytes read, 0 on an exception, or -1 on error. - - @short Peek at available data from the remote host via SSL. - */ - // int peek(void* arg1,int arg2); >>>> NOT CONVERTED - /** - Write data to the remote host via SSL. - @param buf the buffer to read the data from. - @param len the length of data to send from the buffer. - @return the number of bytes written, 0 on an exception, - or -1 on error. - - @short Write data to the remote host via SSL. - */ - // int write(const void* arg1,int arg2); >>>> NOT CONVERTED - /** - Determine if data is waiting to be read. - @return -1 on error, 0 if no data is waiting, > 0 if data is waiting. - - @short Determine if data is waiting to be read. - */ - public native int pending(); - /** - Obtain a reference to the connection information. - @return a reference to the connection information, - valid after connected - - @short Obtain a reference to the connection information. - @see KSSLConnectionInfo - */ - public native KSSLConnectionInfo connectionInfo(); - /** - Obtain a reference to the information about the peer. - @return a reference to the peer information, - valid after connected - - @short Obtain a reference to the information about the peer. - @see KSSLPeerInfo - */ - public native KSSLPeerInfo peerInfo(); - /** - Obtain a pointer to the session information. - @return a pointer to the session information. - This is valid after connected, while connected. - It is deleted by the KSSL object which returns it. - May return 0L if no valid session exists. - - @short Obtain a pointer to the session information. - @see KSSLSession - */ - public native KSSLSession session(); - /** - Determine if we are currently reusing an SSL session ID. - @return true if we are reusing a session ID. - - @short Determine if we are currently reusing an SSL session ID. - */ - public native boolean reusingSession(); - /** - Determine if SSL is available and works. - @return true is SSL is available and usable - - @short Determine if SSL is available and works. - */ - public static native boolean doesSSLWork(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertBox.java b/kdejava/koala/org/kde/koala/KSSLCertBox.java deleted file mode 100644 index 31c7655f..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertBox.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQScrollView; - -/** - - KDE SSL Certificate Box - This class creates a widget which formats and displays the contents of an - SSL X.509 certificate. That is, it takes the "subject" of the certificate - and displays everything contained therein. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Certificate Box. - @see KSSLInfoDlg - -*/ -public class KSSLCertBox extends TQScrollView { - protected KSSLCertBox(Class dummy){super((Class) null);} - /** - Construct a certificate box - @param parent the parent widget - @param name the internal name of this instance - @param f widget flags for the object - @short Construct a certificate box - */ - public KSSLCertBox(TQWidget parent, String name, int f) { - super((Class) null); - newKSSLCertBox(parent,name,f); - } - private native void newKSSLCertBox(TQWidget parent, String name, int f); - public KSSLCertBox(TQWidget parent, String name) { - super((Class) null); - newKSSLCertBox(parent,name); - } - private native void newKSSLCertBox(TQWidget parent, String name); - public KSSLCertBox(TQWidget parent) { - super((Class) null); - newKSSLCertBox(parent); - } - private native void newKSSLCertBox(TQWidget parent); - public KSSLCertBox() { - super((Class) null); - newKSSLCertBox(); - } - private native void newKSSLCertBox(); - /** - Change the contents of the widget - @param certName the name ("subject") of the certificate - @param mailCatcher the widget which catches the url open events - @short Change the contents of the widget - */ - public native void setValues(String certName, TQWidget mailCatcher); - public native void setValues(String certName); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertChain.java b/kdejava/koala/org/kde/koala/KSSLCertChain.java deleted file mode 100644 index 571f9ff3..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertChain.java +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE Certificate Chain Representation Class - This class provides a representation for an X.509 certificate chain. - @author George Staikos <staikos@kde.org> - - @short KDE X.509 Certificate Chain. - @see KSSL - @see KSSLCertificate - @see KSSLPeerInfo - -*/ -public class KSSLCertChain implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLCertChain(Class dummy){} - - /** - Construct a KSSLCertChain object - @short Construct a KSSLCertChain object - */ - public KSSLCertChain() { - newKSSLCertChain(); - } - private native void newKSSLCertChain(); - /** - Determine if this represents a valid certificate chain - @return true if it is a valid certificate chain - - @short Determine if this represents a valid certificate chain - */ - public native boolean isValid(); - /** - Do a deep copy of the certificate chain. - This is an expensive operation, and you are responsible for deleting - the returned object yourself. - @return pointer to a new certificate chain object - - @short Do a deep copy of the certificate chain. - */ - public native KSSLCertChain replicate(); - /** - Set the raw chain from OpenSSL - @short Set the raw chain from OpenSSL - */ - // void setChain(void* arg1); >>>> NOT CONVERTED - // void setChain(TQPtrList<KSSLCertificate>& arg1); >>>> NOT CONVERTED - /** - Set the certificate chain as a list of base64 encoded X.509 - certificates. - @param chain the certificate chain - @short Set the certificate chain as a list of base64 encoded X. - */ - public native void setCertChain(String[] chain); - /** - Obtain a copy of the certificate chain. - @return a deep copy of the certificate chain. - - @short Obtain a copy of the certificate chain. - @see KSSLCertificate - */ - // TQPtrList<KSSLCertificate> getChain(); >>>> NOT CONVERTED - /** - Determine the number of entries (depth) of the chain. - @return the number of entries in the certificate chain - - @short Determine the number of entries (depth) of the chain. - */ - public native int depth(); - /** - Read the raw chain in OpenSSL format - @short Read the raw chain in OpenSSL format - */ - // void* rawChain(); >>>> NOT CONVERTED - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertDlg.java b/kdejava/koala/org/kde/koala/KSSLCertDlg.java deleted file mode 100644 index 0ea5394b..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertDlg.java +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - KDE X.509 Certificate Dialog - This class is used to create and display a dialog which contains the user's - X.509 certificates and allows the user to present it during SSL sessions. - @author George Staikos <staikos@kde.org> - - @short KDE X.509 Certificate Dialog. - @see KSSL - -*/ -public class KSSLCertDlg extends KDialog { - protected KSSLCertDlg(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a KSSL certificate dialog - @param parent the parent widget - @param name the internal name of this instance - @param modal create a modal dialog if set to true - @short Construct a KSSL certificate dialog - */ - public KSSLCertDlg(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKSSLCertDlg(parent,name,modal); - } - private native void newKSSLCertDlg(TQWidget parent, String name, boolean modal); - public KSSLCertDlg(TQWidget parent, String name) { - super((Class) null); - newKSSLCertDlg(parent,name); - } - private native void newKSSLCertDlg(TQWidget parent, String name); - public KSSLCertDlg(TQWidget parent) { - super((Class) null); - newKSSLCertDlg(parent); - } - private native void newKSSLCertDlg(TQWidget parent); - public KSSLCertDlg() { - super((Class) null); - newKSSLCertDlg(); - } - private native void newKSSLCertDlg(); - /** - Setup the dialog. Call this before you display the dialog. - @param certs the list of possible certificates - @param saveChecked save the checked item for the future - @param sendChecked send the checked item to the remote host - @short Setup the dialog. - */ - public native void setupDialog(String[] certs, boolean saveChecked, boolean sendChecked); - public native void setupDialog(String[] certs, boolean saveChecked); - public native void setupDialog(String[] certs); - /** - Obtain the name of the certificate the user wants to send - @return the name of the certificate - - @short Obtain the name of the certificate the user wants to send - */ - public native String getChoice(); - /** - Determine if the user wants to send a certificate. - @return true if the user wants to send a certificate - - @short Determine if the user wants to send a certificate. - */ - public native boolean wantsToSend(); - /** - Determine if the user wants to save the choice for the future. - @return true if the user wants to save the choice. - - @short Determine if the user wants to save the choice for the future. - */ - public native boolean saveChoice(); - /** - Set the hostname that we are connecting to. - @param host the hostname - @short Set the hostname that we are connecting to. - */ - public native void setHost(String host); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertDlgRet.java b/kdejava/koala/org/kde/koala/KSSLCertDlgRet.java deleted file mode 100644 index d80d28f6..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertDlgRet.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** -*/ -public class KSSLCertDlgRet implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLCertDlgRet(Class dummy){} - - public KSSLCertDlgRet() { - newKSSLCertDlgRet(); - } - private native void newKSSLCertDlgRet(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertificate.java b/kdejava/koala/org/kde/koala/KSSLCertificate.java deleted file mode 100644 index 61bd69f5..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertificate.java +++ /dev/null @@ -1,349 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import java.util.ArrayList; - -/** - - KDE X.509 Certificate - This class represents an X.509 (SSL) certificate. - Note: this object is VERY HEAVY TO COPY. Please try to use reference - or pointer whenever possible - @author George Staikos <staikos@kde.org> - - @short KDE X.509 Certificate. - @see KSSL - -*/ -public class KSSLCertificate implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLCertificate(Class dummy){} - - /** - A CA certificate can be validated as Irrelevant when it was - not used to sign any other relevant certificate. - @short A CA certificate can be validated as Irrelevant when it was not used to sign any other relevant certificate. - */ - public static final int Unknown = 0; - public static final int Ok = 1; - public static final int NoCARoot = 2; - public static final int InvalidPurpose = 3; - public static final int PathLengthExceeded = 4; - public static final int InvalidCA = 5; - public static final int Expired = 6; - public static final int SelfSigned = 7; - public static final int ErrorReadingRoot = 8; - public static final int NoSSL = 9; - public static final int Revoked = 10; - public static final int Untrusted = 11; - public static final int SignatureFailed = 12; - public static final int Rejected = 13; - public static final int PrivateKeyFailed = 14; - public static final int InvalidHost = 15; - public static final int Irrelevant = 16; - public static final int SelfSignedChain = 17; - - public static final int None = 0; - public static final int SSLServer = 1; - public static final int SSLClient = 2; - public static final int SMIMESign = 3; - public static final int SMIMEEncrypt = 4; - public static final int Any = 5; - - /** - Convert this certificate to a string. - @return the certificate in base64 format - - @short Convert this certificate to a string. - */ - public native String toString(); - /** - Get the subject of the certificate (X.509 map). - @return the subject - - @short Get the subject of the certificate (X. - */ - public native String getSubject(); - /** - Get the issuer of the certificate (X.509 map). - @return the issuer - - @short Get the issuer of the certificate (X. - */ - public native String getIssuer(); - /** - Get the date that the certificate becomes valid on. - @return the date as a string, localised - - @short Get the date that the certificate becomes valid on. - */ - public native String getNotBefore(); - /** - Get the date that the certificate is valid until. - @return the date as a string, localised - - @short Get the date that the certificate is valid until. - */ - public native String getNotAfter(); - /** - Get the date that the certificate becomes valid on. - @return the date - - @short Get the date that the certificate becomes valid on. - */ - public native Calendar getQDTNotBefore(); - /** - Get the date that the certificate is valid until. - @return the date - - @short Get the date that the certificate is valid until. - */ - public native Calendar getQDTNotAfter(); - /** - Convert the certificate to DER (ASN.1) format. - @return the binary data of the DER encoding - - @short Convert the certificate to DER (ASN. - */ - public native byte[] toDer(); - /** - Convert the certificate to PEM (base64) format. - @return the binary data of the PEM encoding - - @short Convert the certificate to PEM (base64) format. - */ - public native byte[] toPem(); - /** - Convert the certificate to Netscape format. - @return the binary data of the Netscape encoding - - @short Convert the certificate to Netscape format. - */ - public native byte[] toNetscape(); - /** - Convert the certificate to OpenSSL plain text format. - @return the OpenSSL text encoding - - @short Convert the certificate to OpenSSL plain text format. - */ - public native String toText(); - /** - Get the serial number of the certificate. - @return the serial number as a string - - @short Get the serial number of the certificate. - */ - public native String getSerialNumber(); - /** - Get the key type (RSA, DSA, etc). - @return the key type as a string - - @short Get the key type (RSA, DSA, etc). - */ - public native String getKeyType(); - /** - Get the public key. - @return the public key as a hexidecimal string - - @short Get the public key. - */ - public native String getPublicKeyText(); - /** - Get the MD5 digest of the certificate. - Result is padded with : to separate bytes - it's a text version! - @return the MD5 digest in a hexidecimal string - - @short Get the MD5 digest of the certificate. - */ - public native String getMD5DigestText(); - /** - Get the MD5 digest of the certificate. - @return the MD5 digest in a hexidecimal string - - @short Get the MD5 digest of the certificate. - */ - public native String getMD5Digest(); - /** - Get the signature. - @return the signature in text format - - @short Get the signature. - */ - public native String getSignatureText(); - /** - Check if this is a valid certificate. Will use cached data. - @return true if it is valid - - @short Check if this is a valid certificate. - */ - public native boolean isValid(); - /** - Check if this is a valid certificate. Will use cached data. - @param p the purpose to validate for - @return true if it is valid - - @short Check if this is a valid certificate. - */ - public native boolean isValid(int p); - /** - The alternate subject name. - @return string list with subjectAltName - - @short The alternate subject name. - */ - public native ArrayList subjAltNames(); - /** - Check if this is a valid certificate. Will use cached data. - @return the result of the validation - - @short Check if this is a valid certificate. - */ - public native int validate(); - /** - Check if this is a valid certificate. Will use cached data. - @param p the purpose to validate for - @return the result of the validation - - @short Check if this is a valid certificate. - */ - public native int validate(int p); - /** - Check if this is a valid certificate. Will use cached data. - @param p the purpose to validate for - @return all problems encountered during validation - - @short Check if this is a valid certificate. - */ - // KSSLCertificate::KSSLValidationList validateVerbose(KSSLCertificate::KSSLPurpose arg1); >>>> NOT CONVERTED - /** - Check if the certificate ca is a proper CA for this - certificate. - @param p the purpose to validate for - @param ca the certificate to check - @return all problems encountered during validation - - @short Check if the certificate ca is a proper CA for this certificate. - */ - // KSSLCertificate::KSSLValidationList validateVerbose(KSSLCertificate::KSSLPurpose arg1,KSSLCertificate* arg2); >>>> NOT CONVERTED - /** - Check if this is a valid certificate. Will NOT use cached data. - @return the result of the validation - - @short Check if this is a valid certificate. - */ - public native int revalidate(); - /** - Check if this is a valid certificate. Will NOT use cached data. - @param p the purpose to validate for - @return the result of the validation - - @short Check if this is a valid certificate. - */ - public native int revalidate(int p); - /** - Get a reference to the certificate chain. - @return reference to the chain - - @short Get a reference to the certificate chain. - */ - public native KSSLCertChain chain(); - /** - Explicitly make a copy of this certificate. - @return a copy of the certificate - - @short Explicitly make a copy of this certificate. - */ - public native KSSLCertificate replicate(); - /** - Copy constructor. Beware, this is very expensive. - @param x the object to copy from - @short Copy constructor. - */ - public KSSLCertificate(KSSLCertificate x) { - newKSSLCertificate(x); - } - private native void newKSSLCertificate(KSSLCertificate x); - /** - Re-set the certificate from a base64 string. - @param cert the certificate to set to - @return true on success - - @short Re-set the certificate from a base64 string. - */ - public native boolean setCert(StringBuffer cert); - /** - Access the X.509v3 parameters. - @return reference to the extension object - - @short Access the X. - @see KSSLX509V3 - */ - public native KSSLX509V3 x509V3Extensions(); - /** - Check if this is a signer certificate. - @return true if this is a signer certificate - - @short Check if this is a signer certificate. - */ - public native boolean isSigner(); - /** - FIXME: document - @short FIXME: document - */ - public native void getEmails(String[] to); - /** - KDEKey is a concatenation "Subject (MD5)", mostly needed for SMIME. - The result of getKDEKey might change and should not be used for - persistant storage. - @short KDEKey is a concatenation "Subject (MD5)", mostly needed for SMIME. - */ - public native String getKDEKey(); - /** - Create an X.509 certificate from a base64 encoded string. - @param cert the certificate in base64 form - @return the X.509 certificate, or NULL - - @short Create an X. - */ - public static native KSSLCertificate fromString(String cert); - /** - Create an X.509 certificate from the internal representation. - This one duplicates the X509 object for itself. - @param x5 the OpenSSL representation of the certificate - @return the X.509 certificate, or NULL - - @short Create an X. - */ - // KSSLCertificate* fromX509(X509* arg1); >>>> NOT CONVERTED - /** - Obtain the localized message that corresponds to a validation result. - @param x the code to look up - @return the message text corresponding to the validation code - - @short Obtain the localized message that corresponds to a validation result. - */ - public static native String verifyText(int x); - /** - Aegypten semantics force us to search by MD5Digest only. - @short Aegypten semantics force us to search by MD5Digest only. - */ - public static native String getMD5DigestFromKDEKey(String k); - public KSSLCertificate() { - newKSSLCertificate(); - } - private native void newKSSLCertificate(); - // void setCert(X509* arg1); >>>> NOT CONVERTED - // void setChain(void* arg1); >>>> NOT CONVERTED - // X509* getCert(); >>>> NOT CONVERTED - protected native int processError(int ec); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertificateCache.java b/kdejava/koala/org/kde/koala/KSSLCertificateCache.java deleted file mode 100644 index d7d9ae1b..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertificateCache.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import java.util.ArrayList; - -/** -*/ -public class KSSLCertificateCache implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLCertificateCache(Class dummy){} - - public static final int Unknown = 0; - public static final int Reject = 1; - public static final int Accept = 2; - public static final int Prompt = 3; - public static final int Ambiguous = 4; - - public KSSLCertificateCache() { - newKSSLCertificateCache(); - } - private native void newKSSLCertificateCache(); - public native void addCertificate(KSSLCertificate cert, int policy, boolean permanent); - public native void addCertificate(KSSLCertificate cert, int policy); - public native int getPolicyByCN(StringBuffer cn); - public native int getPolicyByCertificate(KSSLCertificate cert); - public native boolean seenCN(StringBuffer cn); - public native boolean seenCertificate(KSSLCertificate cert); - public native boolean removeByCN(StringBuffer cn); - public native boolean removeByCertificate(KSSLCertificate cert); - public native boolean isPermanent(KSSLCertificate cert); - public native boolean modifyByCN(StringBuffer cn, int policy, boolean permanent, Calendar expires); - public native boolean modifyByCertificate(KSSLCertificate cert, int policy, boolean permanent, Calendar expires); - public native ArrayList getHostList(KSSLCertificate cert); - public native boolean addHost(KSSLCertificate cert, StringBuffer host); - public native boolean removeHost(KSSLCertificate cert, StringBuffer host); - public native ArrayList getKDEKeyByEmail(String email); - public native KSSLCertificate getCertByMD5Digest(String key); - public native void reload(); - public native void saveToDisk(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertificateFactory.java b/kdejava/koala/org/kde/koala/KSSLCertificateFactory.java deleted file mode 100644 index f6cb3f9b..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertificateFactory.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** -*/ -public class KSSLCertificateFactory implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLCertificateFactory(Class dummy){} - - public KSSLCertificateFactory() { - newKSSLCertificateFactory(); - } - private native void newKSSLCertificateFactory(); - public static native KSSLCertificate generateSelfSigned(int keytype); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLCertificateHome.java b/kdejava/koala/org/kde/koala/KSSLCertificateHome.java deleted file mode 100644 index 4a227f2d..00000000 --- a/kdejava/koala/org/kde/koala/KSSLCertificateHome.java +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** -*/ -public class KSSLCertificateHome implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLCertificateHome(Class dummy){} - - public static final int AuthNone = 0; - public static final int AuthSend = 1; - public static final int AuthPrompt = 2; - public static final int AuthDont = 3; - - public KSSLCertificateHome() { - newKSSLCertificateHome(); - } - private native void newKSSLCertificateHome(); - public static native KSSLPKCS12 getCertificateByHost(String host, String password, int aa); - public static native KSSLPKCS12 getCertificateByName(String name, String password); - public static native KSSLPKCS12 getCertificateByName(String name); - public static native String getDefaultCertificateName(String host, int aa); - public static native String getDefaultCertificateName(String host); - public static native String getDefaultCertificateName(int aa); - public static native String getDefaultCertificateName(); - public static native KSSLPKCS12 getDefaultCertificate(String password, int aa); - public static native KSSLPKCS12 getDefaultCertificate(String password); - public static native KSSLPKCS12 getDefaultCertificate(int aa); - public static native KSSLPKCS12 getDefaultCertificate(); - public static native boolean hasCertificateByName(String name); - public static native void setDefaultCertificate(String name, boolean send, boolean prompt); - public static native void setDefaultCertificate(String name, boolean send); - public static native void setDefaultCertificate(String name); - public static native void setDefaultCertificate(KSSLPKCS12 cert, boolean send, boolean prompt); - public static native void setDefaultCertificate(KSSLPKCS12 cert, boolean send); - public static native void setDefaultCertificate(KSSLPKCS12 cert); - public static native void setDefaultCertificate(String name, String host, boolean send, boolean prompt); - public static native void setDefaultCertificate(String name, String host, boolean send); - public static native void setDefaultCertificate(String name, String host); - public static native void setDefaultCertificate(KSSLPKCS12 cert, String host, boolean send, boolean prompt); - public static native void setDefaultCertificate(KSSLPKCS12 cert, String host, boolean send); - public static native void setDefaultCertificate(KSSLPKCS12 cert, String host); - public static native boolean addCertificate(String filename, String password, boolean storePass); - public static native boolean addCertificate(String filename, String password); - public static native boolean addCertificate(KSSLPKCS12 cert, String passToStore); - public static native boolean addCertificate(KSSLPKCS12 cert); - public static native boolean deleteCertificate(String filename, String password); - public static native boolean deleteCertificate(KSSLPKCS12 cert); - public static native boolean deleteCertificateByName(String name); - public static native ArrayList getCertificateList(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLConnectionInfo.java b/kdejava/koala/org/kde/koala/KSSLConnectionInfo.java deleted file mode 100644 index fc5d8950..00000000 --- a/kdejava/koala/org/kde/koala/KSSLConnectionInfo.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE SSL Connection Information - This class contains the information about an SSL connection. It is - generally referenced through KSSL. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Connection Information. - @see KSSL - -*/ -public class KSSLConnectionInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLConnectionInfo(Class dummy){} - - /** - Get the cipher in use. - @return the cipher in use - - @short Get the cipher in use. - */ - public native String getCipher(); - /** - Describe the cipher in use. - @return the cipher description (from OpenSSL) - - @short Describe the cipher in use. - */ - public native String getCipherDescription(); - /** - Get the version of the cipher in use. - @return the version of the cipher - - @short Get the version of the cipher in use. - */ - public native String getCipherVersion(); - /** - Get the number of bits of the cipher that are actually used. - @return the number of bits in use - - @short Get the number of bits of the cipher that are actually used. - */ - public native int getCipherUsedBits(); - /** - Get bit-size of the cipher - @return the number of bits - - @short Get bit-size of the cipher - */ - public native int getCipherBits(); - public KSSLConnectionInfo() { - newKSSLConnectionInfo(); - } - private native void newKSSLConnectionInfo(); - protected native void clean(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLInfoDlg.java b/kdejava/koala/org/kde/koala/KSSLInfoDlg.java deleted file mode 100644 index 3ffddea7..00000000 --- a/kdejava/koala/org/kde/koala/KSSLInfoDlg.java +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - KDE SSL Information Dialog - This class creates a dialog that can be used to display information about - an SSL session. - There are NO GUARANTEES that KSSLInfoDlg will remain binary compatible/ - Contact staikos@kde.org for details if needed. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Information Dialog. - @see KSSL - -*/ -public class KSSLInfoDlg extends KDialog { - protected KSSLInfoDlg(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a KSSL Information Dialog - @param secureConnection true if the connection is secured with SSL - @param parent the parent widget - @param name the internal name of this instance - @param modal true if the dialog should be modal - @short Construct a KSSL Information Dialog - */ - public KSSLInfoDlg(boolean secureConnection, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKSSLInfoDlg(secureConnection,parent,name,modal); - } - private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name, boolean modal); - public KSSLInfoDlg(boolean secureConnection, TQWidget parent, String name) { - super((Class) null); - newKSSLInfoDlg(secureConnection,parent,name); - } - private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name); - public KSSLInfoDlg(boolean secureConnection, TQWidget parent) { - super((Class) null); - newKSSLInfoDlg(secureConnection,parent); - } - private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent); - public KSSLInfoDlg(boolean secureConnection) { - super((Class) null); - newKSSLInfoDlg(secureConnection); - } - private native void newKSSLInfoDlg(boolean secureConnection); - /** - Tell the dialog if the connection has portions that may not be - secure (ie. a mixture of secure and insecure frames) - @param isIt true if security is in question - @short Tell the dialog if the connection has portions that may not be secure (ie. - */ - public native void setSecurityInQuestion(boolean isIt); - /** - Setup the dialog before showing it. - @param cert the certificate presented by the site - @param ip the ip of the remote host - @param url the url being accessed - @param cipher the cipher in use - @param cipherdesc text description of the cipher in use - @param sslversion the version of SSL in use (SSLv2, SSLv3, TLSv1, etc) - @param usedbits the number of bits in the cipher key being used - @param bits the bit-size of the cipher in use - @param certState the certificate state (valid, invalid, etc) - @short Setup the dialog before showing it. - */ - public native void setup(KSSLCertificate cert, String ip, String url, String cipher, String cipherdesc, String sslversion, int usedbits, int bits, int certState); - /** - Setup the dialog before showing it. This is a convenience version - of the above method, and obtains the same information using the - @param ssl parameter instead. - @param ssl the ssl connection - @param ip the ip of the remote host - @param url the url being accessed - @short Setup the dialog before showing it. - */ - public native void setup(KSSL ssl, String ip, String url); - /** - Set the errors that were encountered while validating the site - certificate. - @short Set the errors that were encountered while validating the site certificate. - */ - public native void setCertState(String errorNrs); - /** - Utility function to generate the widget which displays the detailed - information about an X.509 certificate. - @param parent the parent widget - @param certName the name (subject) of the certificate - @param mailCatcher the class which catches click events on e-mail - addresses - @short Utility function to generate the widget which displays the detailed information about an X. - */ - public static native KSSLCertBox certInfoWidget(TQWidget parent, String certName, TQWidget mailCatcher); - public static native KSSLCertBox certInfoWidget(TQWidget parent, String certName); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLKeyGen.java b/kdejava/koala/org/kde/koala/KSSLKeyGen.java deleted file mode 100644 index e706ac92..00000000 --- a/kdejava/koala/org/kde/koala/KSSLKeyGen.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -/** - - KDE Key Generation dialog - This is used to display a key generation dialog for cases such as the - html \<keygen\> tag. It also does the certificate signing request generation. - @author George Staikos <staikos@kde.org> - - @short KDE Key Generation Dialog. - @see KSSL - @see KSSLCertificate - @see KSSLPKCS12 - -*/ -public class KSSLKeyGen extends KWizard { - protected KSSLKeyGen(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a keygen dialog. - @param parent the parent widget - @param name the internal name of this instance - @param modal true if the dialog should be modal - @short Construct a keygen dialog. - */ - public KSSLKeyGen(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKSSLKeyGen(parent,name,modal); - } - private native void newKSSLKeyGen(TQWidget parent, String name, boolean modal); - public KSSLKeyGen(TQWidget parent, String name) { - super((Class) null); - newKSSLKeyGen(parent,name); - } - private native void newKSSLKeyGen(TQWidget parent, String name); - public KSSLKeyGen(TQWidget parent) { - super((Class) null); - newKSSLKeyGen(parent); - } - private native void newKSSLKeyGen(TQWidget parent); - public KSSLKeyGen() { - super((Class) null); - newKSSLKeyGen(); - } - private native void newKSSLKeyGen(); - /** - Generate the certificate signing request. - @param name the name for the certificate - @param pass the password for the request - @param bits the bitsize for the key - @param e the value of the "e" parameter in RSA - @return 0 on success, non-zero on error - - @short Generate the certificate signing request. - */ - public native int generateCSR(String name, String pass, int bits, int e); - public native int generateCSR(String name, String pass, int bits); - /** - Set the key size. - @param idx an index into supportedKeySizes() - @short Set the key size. - */ - public native void setKeySize(int idx); - /** - List the supported key sizes. - @return the supported key sizes - - @short List the supported key sizes. - */ - public static native ArrayList supportedKeySizes(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLPKCS12.java b/kdejava/koala/org/kde/koala/KSSLPKCS12.java deleted file mode 100644 index cbc89614..00000000 --- a/kdejava/koala/org/kde/koala/KSSLPKCS12.java +++ /dev/null @@ -1,158 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE PKCS#12 Certificate - As of yet, this class is being defined. if you use it, let it be known - that BC will break on you until this message is removed. - @author George Staikos <staikos@kde.org> - - @short KDE PKCS#12 Certificate. - @see KSSL - @see KSSLCertificate - -*/ -public class KSSLPKCS12 implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLPKCS12(Class dummy){} - - /** - The name of this certificate. This can be used to refer to the - certificate instead of passing the object itself. - @return the name of the certificate - - @short The name of this certificate. - */ - public native String name(); - /** - Convert to a Base64 string. - @return the certificate in base64 form - - @short Convert to a Base64 string. - */ - public native String toString(); - /** - Raw set the PKCS12 object. - @param c the openssl PKCS12 object - @short Raw set the PKCS12 object. - */ - // void setCert(PKCS12* arg1); >>>> NOT CONVERTED - /** - Change the password of the PKCS#12 in memory. - @param pold the old password - @param pnew the new password - @return true on success - - @short Change the password of the PKCS#12 in memory. - */ - public native boolean changePassword(String pold, String pnew); - /** - Get the private key. - @return the internal OpenSSL private key format - - @short Get the private key. - */ - // EVP_PKEY* getPrivateKey(); >>>> NOT CONVERTED - /** - Get the X.509 certificate. - @return the X.509 certificate for the PKCS#12 object, or NULL - - @short Get the X. - */ - public native KSSLCertificate getCertificate(); - /** - Write the PKCS#12 to a file in raw mode. - @param filename the file to write to - @return true on success - - @short Write the PKCS#12 to a file in raw mode. - */ - public native boolean toFile(String filename); - /** - Check the X.509 and private key to make sure they're valid. - @return the result of the validation - - @short Check the X. - @see KSSLCertificate - */ - public native int validate(); - /** - Check the X.509 and private key to make sure they're valid. - @param p the purpose to validate for - @return the result of the validation - - @short Check the X. - @see KSSLCertificate - */ - public native int validate(int p); - /** - Check the X.509 and private key to make sure they're valid. - Ignore any cached validation result. - @return the result of the validation - - @short Check the X. - @see KSSLCertificate - */ - public native int revalidate(); - /** - Check the X.509 and private key to make sure they're valid. - Ignore any cached validation result. - @param p the purpose to validate for - @return the result of the validation - - @short Check the X. - @see KSSLCertificate - */ - public native int revalidate(int p); - /** - Check if the X.509 and private key are valid. - @return true if valid - - @short Check if the X. - */ - public native boolean isValid(); - /** - Check if the X.509 and private key are valid. - @param p the purpose to validate for - @return true if valid - - @short Check if the X. - */ - public native boolean isValid(int p); - /** - Create a KSSLPKCS12 object from a Base64 in a String. - @param base64 the base64 encoded certificate - @param password a password for the certificate if encrypted - @return the PKCS#12 object, or NULL on failure. - - @short Create a KSSLPKCS12 object from a Base64 in a String. - */ - public static native KSSLPKCS12 fromString(String base64, String password); - public static native KSSLPKCS12 fromString(String base64); - /** - Create a KSSLPKCS12 object by reading a PKCS#12 file. - @param filename the filename of the certificate - @param password a password for the certificate if encrypted - @return the PKCS#12 object, or NULL on failure. - - @short Create a KSSLPKCS12 object by reading a PKCS#12 file. - */ - public static native KSSLPKCS12 loadCertFile(String filename, String password); - public static native KSSLPKCS12 loadCertFile(String filename); - public KSSLPKCS12() { - newKSSLPKCS12(); - } - private native void newKSSLPKCS12(); - protected native boolean parse(String pass); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLPKCS7.java b/kdejava/koala/org/kde/koala/KSSLPKCS7.java deleted file mode 100644 index db468b42..00000000 --- a/kdejava/koala/org/kde/koala/KSSLPKCS7.java +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE PKCS#7 Certificate - This class represents a PKCS#7 certificate - @author George Staikos <staikos@kde.org> - - @short KDE PKCS#7 Certificate. - @see KSSL - -*/ -public class KSSLPKCS7 implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLPKCS7(Class dummy){} - - /** - The name of this certificate. This can be used to refer to the - certificate instead of passing the object itself. - @return the name of the certificate - - @short The name of this certificate. - */ - public native String name(); - /** - Convert to a Base64 string. - @return the PKCS#7 object in base64 form - - @short Convert to a Base64 string. - */ - public native String toString(); - /** - Raw set the PKCS7 object. - @param c the PKCS7 object - @short Raw set the PKCS7 object. - */ - // void setCert(PKCS7* arg1); >>>> NOT CONVERTED - /** - Get the bottom level X.509 certificate. - @return the certificate, or NULL on failure - - @short Get the bottom level X. - @see KSSLCertificate - */ - public native KSSLCertificate getCertificate(); - /** - Get the certificate chain. - @return the certificate chain - - @short Get the certificate chain. - @see KSSLCertChain - */ - public native KSSLCertChain getChain(); - /** - Write the PKCS#7 to a file in raw mode. - @param filename the filename to write - @return true on success - - @short Write the PKCS#7 to a file in raw mode. - */ - public native boolean toFile(String filename); - /** - Return true if the chain is valid. - @short Return true if the chain is valid. - */ - public native boolean isValid(); - /** - Create a KSSLPKCS7 object from a Base64 in a String. - @param base64 the base64 representation of the certificate - @return a PKCS#7 object, or NULL on failure - - @short Create a KSSLPKCS7 object from a Base64 in a String. - */ - public static native KSSLPKCS7 fromString(String base64); - /** - Create a KSSLPKCS7 object by reading a PKCS#7 file. - @param filename the filename to read the certificate from - @return a PKCS#7 object, or NULL on failure - - @short Create a KSSLPKCS7 object by reading a PKCS#7 file. - */ - public static native KSSLPKCS7 loadCertFile(String filename); - public KSSLPKCS7() { - newKSSLPKCS7(); - } - private native void newKSSLPKCS7(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLPeerInfo.java b/kdejava/koala/org/kde/koala/KSSLPeerInfo.java deleted file mode 100644 index 114c50ef..00000000 --- a/kdejava/koala/org/kde/koala/KSSLPeerInfo.java +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE SSL Peer Data - This class contains data about the peer of an SSL connection. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Peer Data. - @see KSSL - -*/ -public class KSSLPeerInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLPeerInfo(Class dummy){} - - /** - Get a reference to the peer's certificate - @return a reference to the peer's certificate - - @short Get a reference to the peer's certificate - @see KSSLCertificate - */ - public native KSSLCertificate getPeerCertificate(); - /** - Determine if the peer's certificate matches the address set with - setPeerHost(). Note that this is a match in the "https" - sense, taking into account, for instance, wildcards. - @return true if it matches - - @short Determine if the peer's certificate matches the address set with setPeerHost(). - @see #setPeerHost - */ - public native boolean certMatchesAddress(); - /** - Determine if the given "common name" matches the address set with - setPeerHost(). Note that this is a match in the "https" - sense, taking into account, for instance, wildcards. - @return true if it matches - - @short Determine if the given "common name" matches the address set with setPeerHost(). - @see #setPeerHost - */ - public native boolean cnMatchesAddress(String cn); - /** - Set the host that we are connected to. This is generally set by - KSSL, and should be exactly what the user -thinks- he is connected - to. (for instance, the host name in the url) - @param host the hostname - @short Set the host that we are connected to. - */ - public native void setPeerHost(String host); - public native void setPeerHost(); - /** - Returns the host we are connected to. - @short Returns the host we are connected to. - */ - public native String peerHost(); - /** - Clear out the host name. - @short Clear out the host name. - */ - public native void reset(); - public KSSLPeerInfo() { - newKSSLPeerInfo(); - } - private native void newKSSLPeerInfo(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLSession.java b/kdejava/koala/org/kde/koala/KSSLSession.java deleted file mode 100644 index a9bbfdcb..00000000 --- a/kdejava/koala/org/kde/koala/KSSLSession.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE SSL Session Information - This class contains data about an SSL session. - It is just used as a container that is taken from or passed to KSSL objects. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Session Information. - @see KSSL - -*/ -public class KSSLSession implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLSession(Class dummy){} - - /** - Convert to a base64 encoded string (so it can be copied safely) - @short Convert to a base64 encoded string (so it can be copied safely) - */ - public native String toString(); - /** - Create as session ID object from a base64 encoded string. - @param s the session id in base64 encoded ASN.1 format - @return a KSSLSession object, or 0L on error - - @short Create as session ID object from a base64 encoded string. - */ - public static native KSSLSession fromString(String s); - public KSSLSession() { - newKSSLSession(); - } - private native void newKSSLSession(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLSettings.java b/kdejava/koala/org/kde/koala/KSSLSettings.java deleted file mode 100644 index 41ad6b08..00000000 --- a/kdejava/koala/org/kde/koala/KSSLSettings.java +++ /dev/null @@ -1,191 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE SSL Settings - This class contains some of the SSL settings for easy use. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Settings. - @see KSSL - -*/ -public class KSSLSettings implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLSettings(Class dummy){} - - /** - Construct a KSSL Settings object - @param readConfig read in the configuration immediately if true - @short Construct a KSSL Settings object - */ - public KSSLSettings(boolean readConfig) { - newKSSLSettings(readConfig); - } - private native void newKSSLSettings(boolean readConfig); - public KSSLSettings() { - newKSSLSettings(); - } - private native void newKSSLSettings(); - /** - Does the user allow SSLv2 - @return true if the user allows SSLv2 - - @short Does the user allow SSLv2 - */ - public native boolean sslv2(); - /** - Does the user allow SSLv3 - @return true if the user allows SSLv3 - - @short Does the user allow SSLv3 - */ - public native boolean sslv3(); - /** - Does the user allow TLSv1 - @return true if the user allows TLSv1 - - @short Does the user allow TLSv1 - */ - public native boolean tlsv1(); - /** - Does the user want to be warned on entering SSL mode - @return true if the user wants to be warned - - @short Does the user want to be warned on entering SSL mode - */ - public native boolean warnOnEnter(); - /** - Change the user's warnOnEnter() setting - @param x true if the user is to be warned - @short Change the user's warnOnEnter() setting - @see #warnOnEnter - */ - public native void setWarnOnEnter(boolean x); - /** - Does the user want to be warned on sending unencrypted data - @return true if the user wants to be warned - - @short Does the user want to be warned on sending unencrypted data - @see #setWarnOnUnencrypted - */ - public native boolean warnOnUnencrypted(); - /** - Change the user's warnOnUnencrypted() setting - @param x true if the user is to be warned - @short Change the user's warnOnUnencrypted() setting - @see #warnOnUnencrypted - */ - public native void setWarnOnUnencrypted(boolean x); - /** - Does the user want to be warned on leaving SSL mode - @return true if the user wants to be warned - - @short Does the user want to be warned on leaving SSL mode - */ - public native boolean warnOnLeave(); - /** - Change the user's warnOnLeave() setting - @param x true if the user is to be warned - @short Change the user's warnOnLeave() setting - @see #warnOnLeave - */ - public native void setWarnOnLeave(boolean x); - /** - Does the user want to be warned during mixed SSL/non-SSL mode - @return true if the user wants to be warned - - @short Does the user want to be warned during mixed SSL/non-SSL mode - */ - public native boolean warnOnMixed(); - /** - Does the user want to use the Entropy Gathering Daemon? - @return true if the user wants to use EGD - - @short Does the user want to use the Entropy Gathering Daemon? - */ - public native boolean useEGD(); - /** - Does the user want to use an entropy file? - @return true if the user wants to use an entropy file - - @short Does the user want to use an entropy file? - */ - public native boolean useEFile(); - /** - Change the user's TLSv1 preference - @param enabled true if TLSv1 is enabled - @short Change the user's TLSv1 preference - */ - public native void setTLSv1(boolean enabled); - /** - Change the user's SSLv2 preference - @param enabled true if SSLv2 is enabled - @short Change the user's SSLv2 preference - */ - public native void setSSLv2(boolean enabled); - /** - Change the user's SSLv3 preference - @param enabled true if SSLv3 is enabled - @short Change the user's SSLv3 preference - */ - public native void setSSLv3(boolean enabled); - /** - Does the user want X.509 client certificates to always be sent when - possible? - @return true if the user always wants a certificate sent - - @short Does the user want X. - */ - public native boolean autoSendX509(); - /** - Does the user want to be prompted to send X.509 client certificates - when possible? - @return true if the user wants to be prompted - - @short Does the user want to be prompted to send X. - */ - public native boolean promptSendX509(); - /** - Get the OpenSSL cipher list for selecting the list of ciphers to - use in a connection. - @return the cipher list - - @short Get the OpenSSL cipher list for selecting the list of ciphers to use in a connection. - */ - public native String getCipherList(); - /** - Get the configured path to the entropy gathering daemon or entropy - file. - @return the path - - @short Get the configured path to the entropy gathering daemon or entropy file. - */ - public native String getEGDPath(); - /** - Load the user's settings. - @short Load the user's settings. - */ - public native void load(); - /** - Revert to default settings. - @short Revert to default settings. - */ - public native void defaults(); - /** - Save the current settings. - @short Save the current settings. - */ - public native void save(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLSigners.java b/kdejava/koala/org/kde/koala/KSSLSigners.java deleted file mode 100644 index 1d87e178..00000000 --- a/kdejava/koala/org/kde/koala/KSSLSigners.java +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - KDE SSL Signer Database - This class is used to manipulate the KDE SSL signer database. It - communicates to the KDE SSL daemon via dcop for backend integration. - @author George Staikos <staikos@kde.org> - - @short KDE SSL Signer Database. - @see KSSL - @see KSSLCertificate - -*/ -public class KSSLSigners implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLSigners(Class dummy){} - - /** - Construct a KSSLSigner object. - @short Construct a KSSLSigner object. - */ - public KSSLSigners() { - newKSSLSigners(); - } - private native void newKSSLSigners(); - /** - Add a signer to the database. - @param cert the signer's certificate - @param ssl allow it to sign for SSL - @param email allow it to sign for S/MIME - @param code allow it to sign for code signing - @return true on success - - @short Add a signer to the database. - */ - public native boolean addCA(KSSLCertificate cert, boolean ssl, boolean email, boolean code); - /** - Add a signer to the database. - @param cert the signer's certificate in base64 form - @param ssl allow it to sign for SSL - @param email allow it to sign for S/MIME - @param code allow it to sign for code signing - @return true on success - - @short Add a signer to the database. - */ - public native boolean addCA(String cert, boolean ssl, boolean email, boolean code); - /** - Regenerate the signer-root file from the user's settings. - @return true on success - - @short Regenerate the signer-root file from the user's settings. - */ - public native boolean regenerate(); - /** - Determine if a certificate can be used for SSL certificate signing - @param cert the certificate - @return true if it can be used for SSL - - @short Determine if a certificate can be used for SSL certificate signing - */ - public native boolean useForSSL(KSSLCertificate cert); - /** - Determine if a certificate can be used for SSL certificate signing - @param subject the certificate subject - @return true if it can be used for SSL - - @short Determine if a certificate can be used for SSL certificate signing - */ - public native boolean useForSSL(String subject); - /** - Determine if a certificate can be used for S/MIME certificate signing - @param cert the certificate - @return true if it can be used for S/MIME - - @short Determine if a certificate can be used for S/MIME certificate signing - */ - public native boolean useForEmail(KSSLCertificate cert); - /** - Determine if a certificate can be used for S/MIME certificate signing - @param subject the certificate subject - @return true if it can be used for S/MIME - - @short Determine if a certificate can be used for S/MIME certificate signing - */ - public native boolean useForEmail(String subject); - /** - Determine if a certificate can be used for code certificate signing - @param cert the certificate - @return true if it can be used for code - - @short Determine if a certificate can be used for code certificate signing - */ - public native boolean useForCode(KSSLCertificate cert); - /** - Determine if a certificate can be used for code certificate signing - @param subject the certificate subject - @return true if it can be used for code - - @short Determine if a certificate can be used for code certificate signing - */ - public native boolean useForCode(String subject); - /** - Remove a certificate signer from the database - @param cert the certificate to remove - @return true on success - - @short Remove a certificate signer from the database - */ - public native boolean remove(KSSLCertificate cert); - /** - Remove a certificate signer from the database - @param subject the subject of the certificate to remove - @return true on success - - @short Remove a certificate signer from the database - */ - public native boolean remove(String subject); - /** - List the signers in the database. - @return the list of subjects in the database - - @short List the signers in the database. - @see #getCert - */ - public native ArrayList list(); - /** - Get a signer certificate from the database. - @param subject the subject of the certificate desired - @return the base64 encoded certificate - - @short Get a signer certificate from the database. - */ - public native String getCert(String subject); - /** - Set the use of a particular entry in the certificate signer database. - @param subject the subject of the certificate in question - @param ssl allow this for SSL certificate signing - @param email allow this for S/MIME certificate signing - @param code allow this for code certificate signing - @return true on success - - @short Set the use of a particular entry in the certificate signer database. - */ - public native boolean setUse(String subject, boolean ssl, boolean email, boolean code); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLX509Map.java b/kdejava/koala/org/kde/koala/KSSLX509Map.java deleted file mode 100644 index 3639d283..00000000 --- a/kdejava/koala/org/kde/koala/KSSLX509Map.java +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - X.509 Map Parsing Class - This class is used to parse and store a map as used in X.509 certificates. - It is of the form /name=value/name=value/name=value - @author George Staikos <staikos@kde.org> - - @short X.509 Map Parser. - @see KSSL - @see KSSLCertificate - -*/ -public class KSSLX509Map implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLX509Map(Class dummy){} - - /** - Construct an X.509 Map - @param name the map to parse - @short Construct an X. - */ - public KSSLX509Map(String name) { - newKSSLX509Map(name); - } - private native void newKSSLX509Map(String name); - /** - Set a value in the map - @param key the key - @param value the value - @short Set a value in the map - */ - public native void setValue(String key, String value); - /** - Get the value of an entry in the map - @param key the key - @return the value - - @short Get the value of an entry in the map - */ - public native String getValue(String key); - /** - Reset (clear) the internal storage. - @param name if this is not empty, it will be parsed and used as - the new map internally - @short Reset (clear) the internal storage. - */ - public native void reset(String name); - public native void reset(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSSLX509V3.java b/kdejava/koala/org/kde/koala/KSSLX509V3.java deleted file mode 100644 index d1acd505..00000000 --- a/kdejava/koala/org/kde/koala/KSSLX509V3.java +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KDE X509v3 Flag Class - This class is used to track X509v3 flags for - @author George Staikos <staikos@kde.org> - - @short KDE SSL Class. - @see KExtendedSocket - @see TCPSlaveBase - -*/ -public class KSSLX509V3 implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSSLX509V3(Class dummy){} - - /** - Determine if this certificate can be used by a certificate authority - @return true if it can be used by a certificate authority - - @short Determine if this certificate can be used by a certificate authority - */ - public native boolean certTypeCA(); - /** - Determine if this certificate can be used by an SSL signer - @return true if it can be used by an SSL signer - - @short Determine if this certificate can be used by an SSL signer - */ - public native boolean certTypeSSLCA(); - /** - Determine if this certificate can be used by an S/MIME signer - @return true if it can be used by an S/MIME signer - - @short Determine if this certificate can be used by an S/MIME signer - */ - public native boolean certTypeEmailCA(); - /** - Determine if this certificate can be used by a code certificate signer - @return true if it can be used by a code certificate signer - - @short Determine if this certificate can be used by a code certificate signer - */ - public native boolean certTypeCodeCA(); - /** - Determine if this certificate can be used by an SSL client - @return true if it can be used by an SSL client - - @short Determine if this certificate can be used by an SSL client - */ - public native boolean certTypeSSLClient(); - /** - Determine if this certificate can be used by an SSL server - @return true if it can be used by an SSL server - - @short Determine if this certificate can be used by an SSL server - */ - public native boolean certTypeSSLServer(); - /** - Determine if this certificate can be used by a Netscape SSL server - @return true if it can be used by a Netscape SSL server - - @short Determine if this certificate can be used by a Netscape SSL server - */ - public native boolean certTypeNSSSLServer(); - /** - Determine if this certificate can be used for S/MIME - @return true if it can be used for S/MIME - - @short Determine if this certificate can be used for S/MIME - */ - public native boolean certTypeSMIME(); - /** - Determine if this certificate can be used for S/MIME encryption - @return true if it can be used for S/MIME encryption - - @short Determine if this certificate can be used for S/MIME encryption - */ - public native boolean certTypeSMIMEEncrypt(); - /** - Determine if this certificate can be used for S/MIME signing - @return true if it can be used for S/MIME signing - - @short Determine if this certificate can be used for S/MIME signing - */ - public native boolean certTypeSMIMESign(); - /** - Determine if this certificate can be used for revocation signing - @return true if it can be used for revocation signing - - @short Determine if this certificate can be used for revocation signing - */ - public native boolean certTypeCRLSign(); - public KSSLX509V3() { - newKSSLX509V3(); - } - private native void newKSSLX509V3(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSaveFile.java b/kdejava/koala/org/kde/koala/KSaveFile.java deleted file mode 100644 index 945d64eb..00000000 --- a/kdejava/koala/org/kde/koala/KSaveFile.java +++ /dev/null @@ -1,135 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQFile; -import org.kde.qt.TQTextStream; - -/** - - The KSaveFile class has been made to write out changes to an existing - file atomically. - This means that EITHER: - a) - All changes have been written successfully to the file. - b) - Some error occurred, no changes have been written whatsoever and the - old file is still in place. - @short The KSaveFile class has been made to write out changes to an existing file atomically. - -*/ -public class KSaveFile implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSaveFile(Class dummy){} - - /** - Creates a new KSaveFile with the given file name. - @param filename the path of the file - @param mode the mode of the file (see chmod(1)) - @short Creates a new KSaveFile with the given file name. - */ - public KSaveFile(String filename, int mode) { - newKSaveFile(filename,mode); - } - private native void newKSaveFile(String filename, int mode); - public KSaveFile(String filename) { - newKSaveFile(filename); - } - private native void newKSaveFile(String filename); - /** - Returns the status of the file based on errno. (see errno.h) - 0 means OK. - You should check the status after object creation to check - whether a file could be created in the first place. - You may check the status after closing the file to verify that - the file has indeed been written correctly. - @return the errno status, 0 means ok - - @short Returns the status of the file based on errno. - */ - public native int status(); - /** - The name of the file as passed to the constructor. - @return The name of the file, or null if opening the - file has failed - - @short The name of the file as passed to the constructor. - */ - public native String name(); - /** - An integer file descriptor open for writing to the file. - @return The file descriptor, or a negative number if opening - the temporary file failed - - @short An integer file descriptor open for writing to the file. - */ - public native int handle(); - /** - A FILE stream open for writing to the file. - @return FILE* stream open for writing to the file, or 0 - if opening the temporary file failed - - @short A FILE stream open for writing to the file. - */ - // FILE* fstream(); >>>> NOT CONVERTED - /** - A TQFile open for writing to the file. - @return A TQFile open for writing to the file, or 0 if - opening the temporary file failed. - - @short A TQFile open for writing to the file. - */ - public native TQFile file(); - /** - A TQTextStream open for writing to the file. - @return A TQTextStream that is open for writing to the file, or 0 - if opening the temporary file failed - - @short A TQTextStream open for writing to the file. - */ - public native TQTextStream textStream(); - /** - A TQDataStream open for writing to the file. - @return A TQDataStream that is open for writing to the file, or 0 - if opening the file failed - - @short A TQDataStream open for writing to the file. - */ - public native TQDataStream dataStream(); - /** - Aborts the write operation and removes any intermediate files - This implies a close. - @short Aborts the write operation and removes any intermediate files This implies a close. - */ - public native void abort(); - /** - Closes the file and makes the changes definitive. - Returns 'true' is successful, or 'false' if an error has occurred. - See status() for details about errors. - @return true if successful, or false if an error has occurred. - - @short Closes the file and makes the changes definitive. - */ - public native boolean close(); - /** - Static method to create a backup file before saving. - You can use this method even if you don't use KSaveFile. - @param filename the file to backup - @param backupDir optional directory where to save the backup file in. - If empty (the default), the backup will be in the same directory as <code>filename.</code> - @param backupExtension the extension to append to <code>filename</code>, "~" by default. - @short Static method to create a backup file before saving. - */ - public static native boolean backupFile(String filename, String backupDir, String backupExtension); - public static native boolean backupFile(String filename, String backupDir); - public static native boolean backupFile(String filename); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KScanDialog.java b/kdejava/koala/org/kde/koala/KScanDialog.java deleted file mode 100644 index 20672ee4..00000000 --- a/kdejava/koala/org/kde/koala/KScanDialog.java +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQImage; -import org.kde.qt.TQWidget; - -/** - - This is a base class for scanning dialogs. You can derive from this class - and implement your own dialog. An implementation is available in - tdegraphics/libkscan. - Application developers that wish to add scanning support to their program - can use the static method <code>KScanDialog</code>.getScanDialog() to get an instance - of the user's preferred scanning dialog. - Typical usage looks like this (e.g. in a slotShowScanDialog() method): - <pre> - if ( !m_scanDialog ) { - m_scanDialog = KScanDialog.getScanDialog( this, "scandialog" ); - if ( !m_scanDialog ) // no scanning support installed? - return; - connect( m_scanDialog, SIGNAL("finalImage( TQImage, int )"), - SLOT("slotScanned( TQImage, int )")); - } - if ( m_scanDialog.setup() ) // only if scanner configured/available - m_scanDialog.show(); - </pre> - This will create and show a non-modal scanning dialog. Connect to more - signals if you like. - If you implement an own scan-dialog, you also have to implement a - KScanDialogFactory. - See {@link KScanDialogSignals} for signals emitted by KScanDialog - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A baseclass and accessor for Scanning Dialogs. - -*/ -public class KScanDialog extends KDialogBase { - protected KScanDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Reimplement this if you need to set up some things, before showing the - dialog, e.g. to ask the user for the scanner device to use. If you - return false (e.g. there is no device available or the user aborted - device selection), the dialog will not be shown. - @return true by default. - - @short Reimplement this if you need to set up some things, before showing the dialog, e. - */ - public native boolean setup(); - /** - Creates the user's preferred scanning dialog and returns it, - or null if no scan-support - is available. Pass a suitable <code>parent</code> widget, if you like. If you - don't you have to 'delete' the returned pointer yourself. - @param parent the TQWidget's parent, or 0 - @param name the name of the TQObject, can be 0 - @param modal if true the dialog is model - @return the KScanDialog, or 0 if the function failed - - @short Creates the user's preferred scanning dialog and returns it, or 0L if no scan-support is available. - */ - public static native KScanDialog getScanDialog(TQWidget parent, String name, boolean modal); - public static native KScanDialog getScanDialog(TQWidget parent, String name); - public static native KScanDialog getScanDialog(TQWidget parent); - public static native KScanDialog getScanDialog(); - /** - Constructs the scan dialog. If you implement an own dialog, you can - customize it with the usual KDialogBase flags. - @param dialogFace the KDialogBase.DialogType - @param buttonMask a ORed mask of all buttons (see - KDialogBase.ButtonCode) - @param parent the TQWidget's parent, or 0 - @param name the name of the TQObject, can be 0 - @param modal if true the dialog is model - @short Constructs the scan dialog. - @see KDialogBase - */ - public KScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKScanDialog(dialogFace,buttonMask,parent,name,modal); - } - private native void newKScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal); - public KScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name) { - super((Class) null); - newKScanDialog(dialogFace,buttonMask,parent,name); - } - private native void newKScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name); - public KScanDialog(int dialogFace, int buttonMask, TQWidget parent) { - super((Class) null); - newKScanDialog(dialogFace,buttonMask,parent); - } - private native void newKScanDialog(int dialogFace, int buttonMask, TQWidget parent); - public KScanDialog(int dialogFace, int buttonMask) { - super((Class) null); - newKScanDialog(dialogFace,buttonMask); - } - private native void newKScanDialog(int dialogFace, int buttonMask); - public KScanDialog(int dialogFace) { - super((Class) null); - newKScanDialog(dialogFace); - } - private native void newKScanDialog(int dialogFace); - public KScanDialog() { - super((Class) null); - newKScanDialog(); - } - private native void newKScanDialog(); - /** - Returns the current id for an image. You can use that in your subclass - for the signals. The id is used in the signals to let people know - which preview and which text-recognition belongs to which scan. - @return the current id for the image - - @short Returns the current id for an image. - @see #nextId - @see #finalImage - @see #preview - @see #textRecognized - */ - protected native int id(); - /** - Returns the id for the next image. You can use that in your subclass - for the signals. - @return the id for the next image - - @short Returns the id for the next image. - @see #id - @see #finalImage - @see #preview - @see #textRecognized - */ - protected native int nextId(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KScanDialogSignals.java b/kdejava/koala/org/kde/koala/KScanDialogSignals.java deleted file mode 100644 index 6933256c..00000000 --- a/kdejava/koala/org/kde/koala/KScanDialogSignals.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQImage; -import org.kde.qt.TQWidget; - -public interface KScanDialogSignals { - /** - Informs you that an image has been previewed. - @param img the image - @param id the image's id - @short Informs you that an image has been previewed. - */ - void preview(TQImage img, int id); - /** - Informs you that an image has scanned. <code>id</code> is the same as in the - <code>preview</code>() signal, if this image had been previewed before. - Note, that those id's may not be properly implemented in the current - libkscan. - @param img the image - @param id the image's id - @short Informs you that an image has scanned. - */ - void finalImage(TQImage img, int id); - /** - Informs you that the image with the id <code>id</code> has been run through - text-recognition. The text is in the String parameter. In the future, - a compound document, using rich text will be used instead. - @param text the text that has been recognized - @param id the id of the image - @short Informs you that the image with the id <code>id</code> has been run through text-recognition. - */ - void textRecognized(String text, int id); -} diff --git a/kdejava/koala/org/kde/koala/KSeparator.java b/kdejava/koala/org/kde/koala/KSeparator.java deleted file mode 100644 index 6c9f08c2..00000000 --- a/kdejava/koala/org/kde/koala/KSeparator.java +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - Standard horizontal or vertical separator. - @author Michael Roth <mroth@wirlweb.de> - - @version $Id$ - - @short Standard horizontal or vertical separator. - -*/ -public class KSeparator extends TQFrame { - protected KSeparator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @param parent parent object. - @param name name of the new object. - @param f extra TQWidget flags. - @short Constructor. - */ - public KSeparator(TQWidget parent, String name, int f) { - super((Class) null); - newKSeparator(parent,name,f); - } - private native void newKSeparator(TQWidget parent, String name, int f); - public KSeparator(TQWidget parent, String name) { - super((Class) null); - newKSeparator(parent,name); - } - private native void newKSeparator(TQWidget parent, String name); - public KSeparator(TQWidget parent) { - super((Class) null); - newKSeparator(parent); - } - private native void newKSeparator(TQWidget parent); - public KSeparator() { - super((Class) null); - newKSeparator(); - } - private native void newKSeparator(); - /** - Constructor. - @param orientation Set the orientation of the separator. - Possible values are HLine or Horizontal and VLine or Vertical. - @param parent parent object. - @param name name of the new object. - @param f extra TQWidget flags. - @short Constructor. - */ - public KSeparator(int orientation, TQWidget parent, String name, int f) { - super((Class) null); - newKSeparator(orientation,parent,name,f); - } - private native void newKSeparator(int orientation, TQWidget parent, String name, int f); - public KSeparator(int orientation, TQWidget parent, String name) { - super((Class) null); - newKSeparator(orientation,parent,name); - } - private native void newKSeparator(int orientation, TQWidget parent, String name); - public KSeparator(int orientation, TQWidget parent) { - super((Class) null); - newKSeparator(orientation,parent); - } - private native void newKSeparator(int orientation, TQWidget parent); - public KSeparator(int orientation) { - super((Class) null); - newKSeparator(orientation); - } - private native void newKSeparator(int orientation); - /** - Returns the orientation of the separator. - @return int Possible values are VLine and HLine. - - @short Returns the orientation of the separator. - */ - public native int orientation(); - /** - Set the orientation of the separator to <code>orient</code> - @param orient Possible values are VLine and HLine. - @short Set the orientation of the separator to <code>orient</code> - */ - public native void setOrientation(int orient); - /** - The recommended height (width) for a horizontal (vertical) separator. - @short The recommended height (width) for a horizontal (vertical) separator. - */ - public native TQSize sizeHint(); - /** - @param p pointer to painter - @short - */ - protected native void drawFrame(TQPainter p); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KService.java b/kdejava/koala/org/kde/koala/KService.java deleted file mode 100644 index b7022f7e..00000000 --- a/kdejava/koala/org/kde/koala/KService.java +++ /dev/null @@ -1,547 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; -import org.kde.qt.TQVariant; -import org.kde.qt.TQWidget; - -/** - - Represent a service, i.e. an application bound to one or several mimetypes - (or servicetypes) as written in its desktop entry file. - A service may be a library, too. - The starting point you need is often the static methods. - Service types are stored as desktop files in the "service" resource.. - @author Torben Weis <weis@kde.org> - - @short Represent a service, i. - @see KServiceType - @see KServiceGroup - -*/ -public class KService extends KSycocaEntry { - protected KService(Class dummy){super((Class) null);} - /** - Describes the DCOP type of the service. - - <li> - None - This service has no DCOP support - </li> - - <li> - Unique - This service provides a unique DCOP service. - The service name is equal to the desktopEntryName. - </li> - - <li> - Multi - This service provides a DCOP service which can be run - with multiple instances in parallel. The service name of - an instance is equal to the desktopEntryName + "-" + - the PID of the process. - </li> - - <li> - Wait - This service has no DCOP support, the launcher will wait - till it is finished. - - </li> @short Describes the DCOP type of the service. - */ - public static final int DCOP_None = 0; - public static final int DCOP_Unique = 1; - public static final int DCOP_Multi = 2; - public static final int DCOP_Wait = 3; - - /** - Construct a temporary service with a given name, exec-line and icon. - @param _name the name of the service - @param _exec the executable - @param _icon the name of the icon - @short Construct a temporary service with a given name, exec-line and icon. - */ - public KService(String _name, String _exec, String _icon) { - super((Class) null); - newKService(_name,_exec,_icon); - } - private native void newKService(String _name, String _exec, String _icon); - /** - Construct a service and take all information from a config file. - @param _fullpath Full path to the config file. - @short Construct a service and take all information from a config file. - */ - public KService(String _fullpath) { - super((Class) null); - newKService(_fullpath); - } - private native void newKService(String _fullpath); - /** - Construct a service and take all information from a desktop file. - @param config the desktop file to read - @short Construct a service and take all information from a desktop file. - */ - public KService(KDesktopFile config) { - super((Class) null); - newKService(config); - } - private native void newKService(KDesktopFile config); - /** - Construct a service from a stream. - The stream must already be positionned at the correct offset. - @short - */ - public KService(TQDataStream _str, int offset) { - super((Class) null); - newKService(_str,offset); - } - private native void newKService(TQDataStream _str, int offset); - /** - Returns the type of the service. - @return the type of the service ("Application" or "Service") - - @short Returns the type of the service. - */ - public native String type(); - /** - Returns the name of the service. - @return the name of the service, - or null if not set - - @short Returns the name of the service. - */ - public native String name(); - /** - Returns the executable. - @return the command that the service executes, - or null if not set - - @short Returns the executable. - */ - public native String exec(); - /** - Returns the name of the service's library. - @return the name of the library that contains the services - implementation, - or null if not set - - @short Returns the name of the service's library. - */ - public native String library(); - /** - Returns the name of the init function to call (KControl modules). - @return the name of the init function to call in this service - during startup of KDE. (KControl modules only), - or null if not set - - @short Returns the name of the init function to call (KControl modules). - */ - public native String init(); - /** - Returns the name of the icon. - @return the icon associated with the service, - or "unknown" if not set - - @short Returns the name of the icon. - */ - public native String icon(); - /** - Returns the pixmap that represents the icon. - @return a pixmap for this service (finds and loads icon()), - null if not set - - @short Returns the pixmap that represents the icon. - @see #icon - */ - public native TQPixmap pixmap(int _group, int _force_size, int _state, StringBuffer _path); - public native TQPixmap pixmap(int _group, int _force_size, int _state); - public native TQPixmap pixmap(int _group, int _force_size); - public native TQPixmap pixmap(int _group); - /** - Checks whethe the service should be run in a terminal. - @return true if the service is to be run in a terminal. - - @short Checks whethe the service should be run in a terminal. - */ - public native boolean terminal(); - /** - Returns any options associated with the terminal the service - runs in, if it requires a terminal. - The service must be a tty-oriented program. - @return the terminal options, - or null if not set - - @short Returns any options associated with the terminal the service runs in, if it requires a terminal. - */ - public native String terminalOptions(); - /** - Checks whether the service runs with a different user id. - @return true if the service has to be run under a different uid. - - @short Checks whether the service runs with a different user id. - @see #username - */ - public native boolean substituteUid(); - /** - Returns the user name, if the service runs with a - different user id. - @return the username under which the service has to be run, - or null if not set - - @short Returns the user name, if the service runs with a different user id. - @see #substututeUida - */ - public native String username(); - /** - Returns the path to the location where the service desktop entry - is stored. - This is a relative path if the desktop entry was found in any - of the locations pointed to by $TDEDIRS (e.g. "Internet/kppp.desktop") - It is a full path if the desktop entry originates from another - location. - @return the path of the service's desktop file, - or null if not set - - @short Returns the path to the location where the service desktop entry is stored. - */ - public native String desktopEntryPath(); - /** - Returns the filename of the service desktop entry without any - extension. E.g. "kppp" - @return the name of the desktop entry without path or extension, - or null if not set - - @short Returns the filename of the service desktop entry without any extension. - */ - public native String desktopEntryName(); - /** - Returns the menu ID of the service desktop entry. - The menu ID is used to add or remove the entry to a menu. - @return the menu ID - - @short Returns the menu ID of the service desktop entry. - */ - public native String menuId(); - /** - Returns a normalized ID suitable for storing in configuration files. - It will be based on the menu-id when available and otherwise falls - back to desktopEntryPath() - @return the storage ID - - @short Returns a normalized ID suitable for storing in configuration files. - */ - public native String storageId(); - /** - Returns the DCOPServiceType supported by this service. - @return the DCOPServiceType supported by this service - - @short Returns the DCOPServiceType supported by this service. - */ - public native int DCOPServiceType(); - /** - Returns the working directory to run the program in. - @return the working directory to run the program in, - or null if not set - - @short Returns the working directory to run the program in. - */ - public native String path(); - /** - Returns the descriptive comment for the service, if there is one. - @return the descriptive comment for the service, or null - if not set - - @short Returns the descriptive comment for the service, if there is one. - */ - public native String comment(); - /** - Returns the generic name for the service, if there is one - (e.g. "Mail Client"). - @return the generic name, - or null if not set - - @short Returns the generic name for the service, if there is one (e. - */ - public native String genericName(); - /** - Returns the untranslated (US English) generic name - for the service, if there is one - (e.g. "Mail Client"). - @return the generic name, - or null if not set - - @short Returns the untranslated (US English) generic name for the service, if there is one (e. - */ - public native String untranslatedGenericName(); - /** - Returns a list of descriptive keywords the service, if there are any. - @return the list of keywords - - @short Returns a list of descriptive keywords the service, if there are any. - */ - public native ArrayList keywords(); - /** - Returns a list of VFolder categories. - @return the list of VFolder categories - - @short Returns a list of VFolder categories. - */ - public native ArrayList categories(); - /** - Returns the service types that this service supports. - @return the list of service types that are supported - - @short Returns the service types that this service supports. - */ - public native ArrayList serviceTypes(); - /** - Checks whether the service supports this service type - @param _service The name of the service type you are - interested in determining whether this services supports. - @return true if the service you specified is supported, - otherwise false. - - @short Checks whether the service supports this service type - */ - public native boolean hasServiceType(String _service); - /** - Checks whether a service is used as a default setting, for - example as plugin in a file manager. Usually that is the - case, but some services may only be started when the user - selected them. This kind of services returns false here. - @return true if the service may be used as a default setting - - @short Checks whether a service is used as a default setting, for example as plugin in a file manager. - */ - public native boolean allowAsDefault(); - /** - Checks whether this service can handle several files as - startup arguments. - @return true if multiple files may be passed to this service at - startup. False if only one file at a time may be passed. - - @short Checks whether this service can handle several files as startup arguments. - */ - public native boolean allowMultipleFiles(); - /** - What preference to associate with this service initially (before - the user has had any chance to define a profile for it). - The bigger the value, the most preferred the service is. - @return the service preference level of the service - - @short What preference to associate with this service initially (before the user has had any chance to define a profile for it). - */ - public native int initialPreference(); - /** - What preference to associate with this service initially - for handling the specified mimetype. (before the user has - had any chance to define a profile for it). - The bigger the value, the most preferred the service is. - @return the service preference level of the service for - this mimetype - - @short What preference to associate with this service initially for handling the specified mimetype. - */ - public native int initialPreferenceForMimeType(String mimeType); - /** - @short - */ - public native void setInitialPreference(int i); - /** - Whether the entry should be suppressed in menus. - @return true to suppress this service - - @short Whether the entry should be suppressed in menus. - */ - public native boolean noDisplay(); - /** - Name of the application this service belongs to. - (Useful for e.g. plugins) - @return the parent application, or null if not set - - @short Name of the application this service belongs to. - */ - public native String parentApp(); - /** - Returns the requested property. Some often used properties - have convenience access functions like exec(), - serviceTypes etc. - It depends upon the serviceTypes() of this service which - properties a service can have. - @param _name the name of the property - @return the property, or invalid if not found - - @short Returns the requested property. - @see KServiceType - */ - public native TQVariant property(String _name); - /** - Returns the requested property. - @param _name the name of the property - @param t the assumed type of the property - @return the property, or invalid if not found - - @short Returns the requested property. - @see KServiceType - */ - public native TQVariant property(String _name, int t); - /** - Returns the list of all properties that this service can have. - That means, that some of these properties may be empty. - @return the list of supported properties - - @short Returns the list of all properties that this service can have. - */ - public native ArrayList propertyNames(); - /** - Checks whether the service is valid. - @return true if the service is valid (e.g. name is not empty) - - @short Checks whether the service is valid. - */ - public native boolean isValid(); - /** - Returns a path that can be used for saving changes to this - service - @return path that can be used for saving changes to this service - - @short Returns a path that can be used for saving changes to this service - */ - public native String locateLocal(); - /** - Load the service from a stream. - @short - */ - public native void load(TQDataStream arg1); - /** - Save the service to a stream. - @short - */ - public native void save(TQDataStream arg1); - /** - Set the menu id - @short - */ - public native void setMenuId(String menuId); - /** - Sets whether to use a terminal or not - @short - */ - public native void setTerminal(boolean b); - /** - Sets the terminal options to use - @short - */ - public native void setTerminalOptions(String options); - /** - Find a service by name, i.e. the translated Name field. You should - really not use this method, since the name is translated. - @param _name the name to search - @return a pointer to the requested service or 0 if the service is - unknown. - @em Very @em important: Don't store the result in a KService* ! - - @short Find a service by name, i. - */ - // KService::Ptr serviceByName(const TQString& arg1); >>>> NOT CONVERTED - /** - Find a service based on its path as returned by desktopEntryPath(). - It's usually better to use serviceByStorageId() instead. - @param _path the path of the configuration file - @return a pointer to the requested service or 0 if the service is - unknown. - @em Very @em important: Don't store the result in a KService* ! - - @short Find a service based on its path as returned by desktopEntryPath(). - */ - // KService::Ptr serviceByDesktopPath(const TQString& arg1); >>>> NOT CONVERTED - /** - Find a service by the name of its desktop file, not depending on - its actual location (as long as it's under the applnk or service - directories). For instance "konqbrowser" or "kcookiejar". Note that - the ".desktop" extension is implicit. - This is the recommended method (safe even if the user moves stuff) - but note that it assumes that no two entries have the same filename. - @param _name the name of the configuration file - @return a pointer to the requested service or 0 if the service is - unknown. - @em Very @em important: Don't store the result in a KService* ! - - @short Find a service by the name of its desktop file, not depending on its actual location (as long as it's under the applnk or service directories). - */ - // KService::Ptr serviceByDesktopName(const TQString& arg1); >>>> NOT CONVERTED - /** - Find a service by its menu-id - @param _menuId the menu id of the service - @return a pointer to the requested service or 0 if the service is - unknown. - @em Very @em important: Don't store the result in a KService* ! - - @short Find a service by its menu-id - */ - // KService::Ptr serviceByMenuId(const TQString& arg1); >>>> NOT CONVERTED - /** - Find a service by its storage-id or desktop-file path. This - function will try very hard to find a matching service. - @param _storageId the storage id or desktop-file path of the service - @return a pointer to the requested service or 0 if the service is - unknown. - @em Very @em important: Don't store the result in a KService* ! - - @short Find a service by its storage-id or desktop-file path. - */ - // KService::Ptr serviceByStorageId(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns the whole list of services. - Useful for being able to - to display them in a list box, for example. - More memory consuming than the ones above, don't use unless - really necessary. - @return the list of all services - - @short Returns the whole list of services. - */ - // KService::List allServices(); >>>> NOT CONVERTED - /** - Returns all services that require initialisation. - Only needed by "kcminit" - @return the list of all services that need to be initialized - - @short Returns all services that require initialisation. - */ - // KService::List allInitServices(); >>>> NOT CONVERTED - /** - Returns a path that can be used to create a new KService based - on <code>suggestedName.</code> - @param showInMenu true, if the service should be shown in the TDE menu - false, if the service should be hidden from the menu - @param suggestedName name to base the file on, if a service with such - name already exists, a prefix will be added to make it unique. - @param menuId If provided, menuId will be set to the menu id to use for - the KService - @param reservedMenuIds If provided, the path and menu id will be chosen - in such a way that the new menu id does not conflict with any - of the reservedMenuIds - @return The path to use for the new KService. - - @short Returns a path that can be used to create a new KService based on <code>suggestedName.</code> - */ - public static native String newServicePath(boolean showInMenu, String suggestedName, StringBuffer menuId, String[] reservedMenuIds); - public static native String newServicePath(boolean showInMenu, String suggestedName, StringBuffer menuId); - public static native String newServicePath(boolean showInMenu, String suggestedName); - /** - Rebuild KSycoca and show a progress dialog while doing so. - @param parent Parent widget for the progress dialog - @short Rebuild KSycoca and show a progress dialog while doing so. - */ - public static native void rebuildKSycoca(TQWidget parent); - protected native void init(KDesktopFile config); - protected native ArrayList accessServiceTypes(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KServiceGroup.java b/kdejava/koala/org/kde/koala/KServiceGroup.java deleted file mode 100644 index a76f60a3..00000000 --- a/kdejava/koala/org/kde/koala/KServiceGroup.java +++ /dev/null @@ -1,285 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import java.util.ArrayList; - -/** - - KServiceGroup represents a group of service, for example - screensavers. - This class is typically used like this: - <pre> - // Lookup screensaver group - KServiceGroup.Ptr group = KServiceGroup.baseGroup("screensavers"); - if (!group || !group.isValid()) return; - KServiceGroup.List list = group.entries(); - // Iterate over all entries in the group - for( KServiceGroup.List.ConstIterator it = list.begin(); - it != list.end(); it++) - { - KSycocaEntry p = (it); - if (p.isType(KST_KService)) - { - KService s = (KService)(p); - printf("Name = %s\n", s.name().latin1()); - } - else if (p.isType(KST_KServiceGroup)) - { - KServiceGroup g = (KServiceGroup)(p); - // Sub group ... - } - } - </pre> - @short Represents a group of services. - -*/ -public class KServiceGroup extends KSycocaEntry { - protected KServiceGroup(Class dummy){super((Class) null);} - /** - Construct a dummy servicegroup indexed with <code>name.</code> - @param name the name of the service group - @short Construct a dummy servicegroup indexed with <code>name.</code> - */ - public KServiceGroup(String name) { - super((Class) null); - newKServiceGroup(name); - } - private native void newKServiceGroup(String name); - /** - Construct a service and take all informations from a config file - @param _fullpath full path to the config file - @param _relpath relative path to the config file - @short Construct a service and take all informations from a config file - */ - public KServiceGroup(String _fullpath, String _relpath) { - super((Class) null); - newKServiceGroup(_fullpath,_relpath); - } - private native void newKServiceGroup(String _fullpath, String _relpath); - /** - The stream must already be positionned at the correct offset - @short - */ - public KServiceGroup(TQDataStream _str, int offset, boolean deep) { - super((Class) null); - newKServiceGroup(_str,offset,deep); - } - private native void newKServiceGroup(TQDataStream _str, int offset, boolean deep); - /** - Checks whether the entry is valid, returns always true. - @return true - - @short Checks whether the entry is valid, returns always true. - */ - public native boolean isValid(); - /** - Name used for indexing. - @return the service group's name - - @short Name used for indexing. - */ - public native String name(); - /** - Returns the relative path of the service group. - @return the service group's relative path - - @short Returns the relative path of the service group. - */ - public native String relPath(); - /** - Returns the caption of this group. - @return the caption of this group - - @short Returns the caption of this group. - */ - public native String caption(); - /** - Returns the name of the icon associated with the group. - @return the name of the icon associated with the group, - or null if not set - - @short Returns the name of the icon associated with the group. - */ - public native String icon(); - /** - Returns the comment about this service group. - @return the descriptive comment for the group, if there is one, - or null if not set - - @short Returns the comment about this service group. - */ - public native String comment(); - /** - Returns the total number of displayable services in this group and - any of its subgroups. - @return the number of child services - - @short Returns the total number of displayable services in this group and any of its subgroups. - */ - public native int childCount(); - /** - Returns true if the NoDisplay flag was set, i.e. if this - group should be hidden from menus, while still being in tdesycoca. - @return true to hide this service group, false to display it - - @short Returns true if the NoDisplay flag was set, i. - */ - public native boolean noDisplay(); - /** - Return true if we want to display empty menu entry - @return true to show this service group as menu entry is empty, false to hide it - - @short Return true if we want to display empty menu entry - */ - public native boolean showEmptyMenu(); - public native void setShowEmptyMenu(boolean b); - /** - @return true to show an inline header into menu - - @short - */ - public native boolean showInlineHeader(); - public native void setShowInlineHeader(boolean _b); - /** - @return true to show an inline alias item into menu - - @short - */ - public native boolean inlineAlias(); - public native void setInlineAlias(boolean _b); - /** - @return true if we allow to inline menu. - - @short - */ - public native boolean allowInline(); - public native void setAllowInline(boolean _b); - /** - @return inline limite value - - @short - */ - public native int inlineValue(); - public native void setInlineValue(int _val); - /** - Returns a list of untranslated generic names that should be - be supressed when showing this group. - E.g. The group "Games/Arcade" might want to suppress the generic name - "Arcade Game" since it's redundant in this particular context. - @short Returns a list of untranslated generic names that should be be supressed when showing this group. - */ - public native ArrayList suppressGenericNames(); - /** - Sets information related to the layout of services in this group. - @short - */ - public native void setLayoutInfo(String[] layout); - /** - Returns information related to the layout of services in this group. - @short - */ - public native ArrayList layoutInfo(); - /** - Load the service from a stream. - @short - */ - public native void load(TQDataStream arg1); - /** - Save the service to a stream. - @short - */ - public native void save(TQDataStream arg1); - /** - List of all Services and ServiceGroups within this - ServiceGroup. - @param sorted true to sort items - @param excludeNoDisplay true to exclude items marked "NoDisplay" - @param allowSeparators true to allow separator items to be included - @param sortByGenericName true to sort GenericName+Name instead of Name+GenericName - @return the list of entries - - @short List of all Services and ServiceGroups within this ServiceGroup. - */ - // KServiceGroup::List entries(bool arg1,bool arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // KServiceGroup::List entries(bool arg1,bool arg2,bool arg3); >>>> NOT CONVERTED - // KServiceGroup::List entries(bool arg1,bool arg2); >>>> NOT CONVERTED - /** - List of all Services and ServiceGroups within this - ServiceGroup. - @param sorted true to sort items - @return the list of entried - - @short List of all Services and ServiceGroups within this ServiceGroup. - */ - // KServiceGroup::List entries(bool arg1); >>>> NOT CONVERTED - // KServiceGroup::List entries(); >>>> NOT CONVERTED - /** - Returns a non-empty string if the group is a special base group. - By default, "Settings/" is the kcontrol base group ("settings") - and "System/Screensavers/" is the screensavers base group ("screensavers"). - This allows moving the groups without breaking those apps. - The base group is defined by the X-TDE-BaseGroup key - in the .directory file. - @return the base group name, or null if no base group - - @short Returns a non-empty string if the group is a special base group. - */ - public native String baseGroupName(); - /** - Returns a path to the .directory file describing this service group. - The path is either absolute or relative to the "apps" resource. - @short Returns a path to the . - */ - public native String directoryEntryPath(); - /** - This function parse attributes into menu - @short This function parse attributes into menu - */ - public native void parseAttribute(String item, boolean showEmptyMenu, boolean showInline, boolean showInlineHeader, boolean showInlineAlias, int[] inlineValue); - /** - Returns the group for the given baseGroupName. - Can return null if the directory (or the .directory file) was deleted. - @return the base group with the given name, or 0 if not available. - - @short Returns the group for the given baseGroupName. - */ - // KServiceGroup::Ptr baseGroup(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns the root service group. - @return the root service group - - @short Returns the root service group. - */ - // KServiceGroup::Ptr root(); >>>> NOT CONVERTED - /** - Returns the group with the given relative path. - @param relPath the path of the service group - @return the group with the given relative path name. - - @short Returns the group with the given relative path. - */ - // KServiceGroup::Ptr group(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns the group of services that have X-TDE-ParentApp equal - to <code>parent</code> (siblings). - @param parent the name of the service's parent - @return the services group - - @short Returns the group of services that have X-TDE-ParentApp equal to <code>parent</code> (siblings). - */ - // KServiceGroup::Ptr childGroup(const TQString& arg1); >>>> NOT CONVERTED - /** - Add a service to this group - @short - */ - protected native void addEntry(KSycocaEntry entry); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KServiceOffer.java b/kdejava/koala/org/kde/koala/KServiceOffer.java deleted file mode 100644 index 189ebe9b..00000000 --- a/kdejava/koala/org/kde/koala/KServiceOffer.java +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class holds the user-specific preferences of a service - (whether it can be a default offer or not, how big is the preference - for this offer, ...). Basically it is a reference to a - KService, a number that represents the user's preference (bigger - is better) and a flag whether the KService can be used as default. - @short Holds the user's preference of a service. - @see KService - -*/ -public class KServiceOffer implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KServiceOffer(Class dummy){} - - /** - Create an invalid service offer. - @short Create an invalid service offer. - */ - public KServiceOffer() { - newKServiceOffer(); - } - private native void newKServiceOffer(); - /** - Copy constructor. - Shallow copy (the KService will not be copied). - @short Copy constructor. - */ - public KServiceOffer(KServiceOffer arg1) { - newKServiceOffer(arg1); - } - private native void newKServiceOffer(KServiceOffer arg1); - /** - Creates a new KServiceOffer. - @param _service a pointer to the KService - @param _pref the user's preference value, must be positive, - bigger is better - @param _default true if the service should be used as - default - @short Creates a new KServiceOffer. - */ - // KServiceOffer* KServiceOffer(KService::Ptr arg1,int arg2,bool arg3); >>>> NOT CONVERTED - /** - A service is bigger that the other when it can be default - (and the other is not) and its preference value it higher. - @short A service is bigger that the other when it can be default (and the other is not) and its preference value it higher. - */ - public native boolean op_lt(KServiceOffer arg1); - /** - Is it allowed to use this service for default actions - (e.g. Left Click in a file manager, or KRun in general). - @return true if the service is a allowed as default - - @short Is it allowed to use this service for default actions (e. - */ - public native boolean allowAsDefault(); - /** - The bigger this number is, the better is this service. - @return the preference number (negative numbers will be - returned by invalid service offers) - - @short The bigger this number is, the better is this service. - */ - public native int preference(); - /** - The service which this offer is about. - @return the service this offer is about, can be 0 - in valid offers or when not set - - @short The service which this offer is about. - */ - // KService::Ptr service(); >>>> NOT CONVERTED - /** - Check whether the entry is valid. A service is valid if - its preference value is positive. - @return true if the service offer is valid - - @short Check whether the entry is valid. - */ - public native boolean isValid(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KServiceSeparator.java b/kdejava/koala/org/kde/koala/KServiceSeparator.java deleted file mode 100644 index 72f5b57f..00000000 --- a/kdejava/koala/org/kde/koala/KServiceSeparator.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; - -/** -*/ -public class KServiceSeparator extends KSycocaEntry { - protected KServiceSeparator(Class dummy){super((Class) null);} - /** - Construct a service separator - @short Construct a service separator - */ - public KServiceSeparator() { - super((Class) null); - newKServiceSeparator(); - } - private native void newKServiceSeparator(); - public native boolean isValid(); - public native String name(); - public native void load(TQDataStream arg1); - public native void save(TQDataStream arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KServiceType.java b/kdejava/koala/org/kde/koala/KServiceType.java deleted file mode 100644 index 72ed70ec..00000000 --- a/kdejava/koala/org/kde/koala/KServiceType.java +++ /dev/null @@ -1,223 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import java.util.ArrayList; -import org.kde.qt.TQVariant; - -/** - - A service type is the generic notion for a mimetype, a type of service - instead of a type of file. - For instance, KOfficeFilter is a service type. - It is associated to services according to the user profile (kuserprofile.h). - Service types are stored as desktop files in $TDEHOME/share/servicetypes. - @short A service type is the generic notion for a mimetype, a type of service instead of a type of file. - @see KService - -*/ -public class KServiceType extends KSycocaEntry { - protected KServiceType(Class dummy){super((Class) null);} - /** - Constructor. You may pass in arguments to create a servicetype with - specific properties. - @param _fullpath the path of the service type's desktop file - @param _name the name of the service type - @param _icon the icon name of the service type (can be null) - @param _comment a comment (can be null) - @short Constructor. - */ - public KServiceType(String _fullpath, String _name, String _icon, String _comment) { - super((Class) null); - newKServiceType(_fullpath,_name,_icon,_comment); - } - private native void newKServiceType(String _fullpath, String _name, String _icon, String _comment); - /** - Construct a service type and take all informations from a config file. - @param _fullpath path of the desktop file, set to "" if calling from - a inherited constructor. - @short Construct a service type and take all informations from a config file. - */ - public KServiceType(String _fullpath) { - super((Class) null); - newKServiceType(_fullpath); - } - private native void newKServiceType(String _fullpath); - /** - Construct a service type and take all informations from a deskop file. - @param config the configuration file - @short Construct a service type and take all informations from a deskop file. - */ - public KServiceType(KDesktopFile config) { - super((Class) null); - newKServiceType(config); - } - private native void newKServiceType(KDesktopFile config); - /** - The stream must already be positionned at the correct offset - @short - */ - public KServiceType(TQDataStream _str, int offset) { - super((Class) null); - newKServiceType(_str,offset); - } - private native void newKServiceType(TQDataStream _str, int offset); - /** - Returns the icon associated with this service type. Some - derived classes offer special functions which take for - example an URL and returns a special icon for this - URL. An example is KMimeType, KFolderType and - others. - @return the name of the icon, can be null. - - @short Returns the icon associated with this service type. - */ - public native String icon(); - /** - Returns the descriptive comment associated, if any. - @return the comment, or null - - @short Returns the descriptive comment associated, if any. - */ - public native String comment(); - /** - Returns the name of this service type. - @return the name of the service type - - @short Returns the name of this service type. - */ - public native String name(); - /** - Returns the relative path to the desktop entry file responsible for - this servicetype. - For instance inode/directory.desktop, or kpart.desktop - @return the path of the desktop file - - @short Returns the relative path to the desktop entry file responsible for this servicetype. - */ - public native String desktopEntryPath(); - /** - Checks whether this service type inherits another one. - @return true if this service type inherits another one - - @short Checks whether this service type inherits another one. - @see #parentServiceType - */ - public native boolean isDerived(); - /** - If this service type inherits from another service type, - return the name of the parent. - @return the parent service type, or String. null if not set - - @short If this service type inherits from another service type, return the name of the parent. - @see #isDerived - */ - public native String parentServiceType(); - /** - Checks whether this service type is or inherits from <code>servTypeName.</code> - @return true if this servicetype is or inherits from <code>servTypeName</code> - - @short Checks whether this service type is or inherits from <code>servTypeName.</code> - */ - public native boolean inherits(String servTypeName); - /** - Returns the requested property. Some often used properties - have convenience access functions like name(), - comment() etc. - @param _name the name of the property - @return the property, or invalid if not found - - @short Returns the requested property. - */ - public native TQVariant property(String _name); - /** - Returns the list of all properties of this service type. - @return the list of properties - - @short Returns the list of all properties of this service type. - */ - public native ArrayList propertyNames(); - /** - Checks whether the service type is valid. - @return true if the service is valid (e.g. name is not empty) - - @short Checks whether the service type is valid. - */ - public native boolean isValid(); - /** - Returns the type of the property with the given <code>_name.</code> - @param _name the name of the property - @return the property type, or null if not found - - @short Returns the type of the property with the given <code>_name.</code> - */ - public native int propertyDef(String _name); - public native ArrayList propertyDefNames(); - // const TQMap<TQString, TQVariant::Type>& propertyDefs(); >>>> NOT CONVERTED - /** - Save ourselves to the data stream. - @short - */ - public native void save(TQDataStream arg1); - /** - Load ourselves from the data stream. - @short - */ - public native void load(TQDataStream arg1); - /** - Pointer to parent serice type - @short - */ - // KServiceType::Ptr parentType(); >>>> NOT CONVERTED - /** - Register service that provides this service type - @short - */ - // void addService(KService::Ptr arg1); >>>> NOT CONVERTED - /** - List serices that provide this service type - @short - */ - // KService::List services(); >>>> NOT CONVERTED - /** - Returns a pointer to the servicetype '_name' or null if the - service type is unknown. - VERY IMPORTANT : don't store the result in a KServiceType ! - @param _name the name of the service type to search - @return the pointer to the service type, or 0 - - @short Returns a pointer to the servicetype '_name' or 0L if the service type is unknown. - */ - // KServiceType::Ptr serviceType(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns all services supporting the given servicetype name. - This doesn't take care of the user profile. - In fact it is used by KServiceTypeProfile, - which is used by TDETrader, and that's the one you should use. - @param _servicetype the name of the service type to search - @return the list of all services of the given type - - @short Returns all services supporting the given servicetype name. - */ - // KService::List offers(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns a list of all the supported servicetypes. Useful for - showing the list of available servicetypes in a listbox, - for example. - More memory consuming than the ones above, don't use unless - really necessary. - @return the list of all services - - @short Returns a list of all the supported servicetypes. - */ - // KServiceType::List allServiceTypes(); >>>> NOT CONVERTED - protected native void init(KDesktopFile config); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KServiceTypeProfile.java b/kdejava/koala/org/kde/koala/KServiceTypeProfile.java deleted file mode 100644 index f028a374..00000000 --- a/kdejava/koala/org/kde/koala/KServiceTypeProfile.java +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - KServiceTypeProfile represents the user's preferences for services - of a service type. - It consists of a list of services (service offers) for the service type - that is sorted by the user's preference. - TDETrader uses KServiceTypeProfile to sort its results, so usually - you can just use TDETrader to find the user's preferred service. - @short Represents the user's preferences for services of a service type. - @see KService - @see KServiceType - @see KServiceOffer - @see TDETrader - -*/ -public class KServiceTypeProfile implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KServiceTypeProfile(Class dummy){} - - /** - Returns the list of all service offers for the service types - that are represented by this profile. - @return the list of KServiceOffer instances - - @short Returns the list of all service offers for the service types that are represented by this profile. - */ - // KServiceTypeProfile::OfferList offers(); >>>> NOT CONVERTED - /** - Returns the preferred service for <code>_serviceType</code> and <code>_genericServiceType</code> - ("Application", type of component, or null). - @param serviceType the service type (e.g. a MIME type) - @param genericServiceType the generic service type (e.g. "Application" or - "KParts/ReadOnlyPart") - @return the preferred service, or 0 if no service is available - - @short Returns the preferred service for <code>_serviceType</code> and <code>_genericServiceType</code> ("Application", type of component, or null). - */ - // KService::Ptr preferredService(const TQString& arg1,const TQString& arg2); >>>> NOT CONVERTED - /** - Returns the profile for the requested service type. - @param servicetype the service type (e.g. a MIME type) - @param genericServiceType the generic service type (e.g. "Application" - or "KParts/ReadOnlyPart"). Can be null, - then the "Application" generic type will be used - @return the KServiceTypeProfile with the given arguments, or 0 if not found - - @short Returns the profile for the requested service type. - */ - public static native KServiceTypeProfile serviceTypeProfile(String servicetype, String genericServiceType); - public static native KServiceTypeProfile serviceTypeProfile(String servicetype); - /** - Returns the offers associated with a given servicetype, sorted by preference. - This is what TDETrader uses to get the list of offers, before applying the - constraints and preferences. - If <code>genericServiceType</code> is specified, a list is returned with - the offers associated with the combination of the two service types. - This is almost like an "foo in ServiceTypes" constraint in the TDETrader, - but the difference is that to order the offers, we will look at entries - specifically for those two service types. Typically, this is used for - getting the list of embeddable components that can handle a given mimetype. - In that case, <code>servicetype</code> is the mimetype and <code>genericServiceType</code> is "KParts/ReadOnlyPart". - @param servicetype the service type (e.g. a MIME type) - @param genericServiceType the generic service type (e.g. "Application" - or "KParts/ReadOnlyPart"). Can be null, - then all generic types will be included - @return the list of offers witht he given parameters - - @short Returns the offers associated with a given servicetype, sorted by preference. - */ - // KServiceTypeProfile::OfferList offers(const TQString& arg1,const TQString& arg2); >>>> NOT CONVERTED - // KServiceTypeProfile::OfferList offers(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns a list of all KServiceTypeProfiles. - @return a list of all KServiceTypeProfiles - - @short Returns a list of all KServiceTypeProfiles. - */ - // const TQPtrList<KServiceTypeProfile>& serviceTypeProfiles(); >>>> NOT CONVERTED - /** - Clear all cached information - @short Clear all cached information - */ - public static native void clear(); - /** - This method activates a special mode of KServiceTypeProfile, in which all/all - and all/allfiles are excluded from the results of the queries. - It is meant for the configuration module _only_. - @short This method activates a special mode of KServiceTypeProfile, in which all/all and all/allfiles are excluded from the results of the queries. - */ - public static native void setConfigurationMode(); - /** - @short - */ - public static native boolean configurationMode(); - /** - Constructor is called when the user profile is read for the - first time. - @param serviceType the service type (e.g. a MIME type) - @param genericServiceType the generic service type (e.g. "Application" - or "KParts/ReadOnlyPart"). Can be null, - then the "Application" generic type will be used - @short Constructor is called when the user profile is read for the first time. - */ - public KServiceTypeProfile(String serviceType, String genericServiceType) { - newKServiceTypeProfile(serviceType,genericServiceType); - } - private native void newKServiceTypeProfile(String serviceType, String genericServiceType); - public KServiceTypeProfile(String serviceType) { - newKServiceTypeProfile(serviceType); - } - private native void newKServiceTypeProfile(String serviceType); - /** - Add a service to this profile. - @param _service the name of the service - @param _preference the user's preference value, must be positive, - bigger is better - @param _allow_as_default true if the service should be used as - default - @short Add a service to this profile. - */ - protected native void addService(String _service, int _preference, boolean _allow_as_default); - protected native void addService(String _service, int _preference); - protected native void addService(String _service); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSessionManaged.java b/kdejava/koala/org/kde/koala/KSessionManaged.java deleted file mode 100644 index 1797c205..00000000 --- a/kdejava/koala/org/kde/koala/KSessionManaged.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSessionManager; - -/** - - Provides highlevel access to session management on a per-object - base. - KSessionManaged makes it possible to provide implementations for - TQApplication.commitData() and TQApplication.saveState(), without - subclassing TDEApplication. TDEMainWindow internally makes use of this. - You don't need to do anything with this class when using - TDEMainWindow. Instead, use TDEMainWindow.saveProperties(), - TDEMainWindow.readProperties(), TDEMainWindow.queryClose(), - TDEMainWindow.queryExit() and friends. - @author Matthias Ettrich <ettrich@kde.org> - - @short Highlevel access to session management. - -*/ -public class KSessionManaged implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KSessionManaged(Class dummy){} - - public KSessionManaged() { - newKSessionManaged(); - } - private native void newKSessionManaged(); - /** - See TQApplication.saveState() for documentation. - This function is just a convenience version to avoid subclassing TDEApplication. - Return true to indicate a successful state save or false to - indicate a problem and to halt the shutdown process (will - implicitly call sm.cancel() ). - @short See TQApplication.saveState() for documentation. - */ - public native boolean saveState(TQSessionManager sm); - /** - See TQApplication.commitData() for documentation. - This function is just a convenience version to avoid subclassing TDEApplication. - Return true to indicate a successful commit of data or false to - indicate a problem and to halt the shutdown process (will - implicitly call sm.cancel() ). - @short See TQApplication.commitData() for documentation. - */ - public native boolean commitData(TQSessionManager sm); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KShell.java b/kdejava/koala/org/kde/koala/KShell.java deleted file mode 100644 index 0af36230..00000000 --- a/kdejava/koala/org/kde/koala/KShell.java +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - \namespace KShell - Provides some basic POSIX shell and bash functionality. - @short \namespace KShell Provides some basic POSIX shell and bash functionality. - @see KStringHandler - -*/ -public class KShell { - /** - Flags for splitArgs(). - @short Flags for splitArgs(). - */ - public static final int NoOptions = 0; - public static final int TildeExpand = 1; - public static final int AbortOnMeta = 2; - - /** - Status codes from splitArgs() - @short Status codes from splitArgs() - */ - public static final int NoError = 0; - public static final int BadQuoting = 1; - public static final int FoundMeta = 2; - - /** - Splits <code>cmd</code> according to POSIX shell word splitting and quoting rules. - Can optionally perform tilde expansion and/or abort if it finds shell - meta characters it cannot process. - @param cmd the command to split - @param flags operation flags, see Options - @param err if not NULL, a status code will be stored at the pointer - target, see Errors - @return a list of unquoted words or an empty list if an error occurred - - @short Splits <code>cmd</code> according to POSIX shell word splitting and quoting rules. - */ - public static native ArrayList splitArgs(String cmd, int flags, int[] err); - public static native ArrayList splitArgs(String cmd, int flags); - public static native ArrayList splitArgs(String cmd); - /** - Quotes and joins <code>args</code> together according to POSIX shell rules. - @param args a list of strings to quote and join - @return a command suitable for shell execution - - @short Quotes and joins <code>args</code> together according to POSIX shell rules. - */ - public static native String joinArgs(String[] args); - /** - Same as above, but $'' is used instead of '' for the quoting. - The output is suitable for splitArgs(), bash, zsh and possibly - other bourne-compatible shells, but not for plain sh. The advantage - is, that control characters (ASCII less than 32) are escaped into - human-readable strings. - @param args a list of strings to quote and join - @return a command suitable for shell execution - - @short Same as above, but $'' is used instead of '' for the quoting. - */ - public static native String joinArgsDQ(String[] args); - /** - Quotes and joins <code>argv</code> together according to POSIX shell rules. - @param argv an array of c strings to quote and join. - The strings are expected to be in local-8-bit encoding. - @return a command suitable for shell execution - - @short Quotes and joins <code>argv</code> together according to POSIX shell rules. - */ - // TQString joinArgs(const char** arg1,int arg2); >>>> NOT CONVERTED - // TQString joinArgs(const char** arg1); >>>> NOT CONVERTED - /** - Performs tilde expansion on <code>path.</code> Interprets "~/path" and - "~user/path". - @param path the path to tilde-expand - @return the expanded path - - @short Performs tilde expansion on <code>path.</code> - */ - public static native String tildeExpand(String path); - /** - Obtain a <code>user</code>'s home directory. - @param user The name of the user whose home dir should be obtained. - An empty string denotes the current user. - @return The user's home directory. - - @short Obtain a <code>user</code>'s home directory. - */ - public static native String homeDir(String user); -} diff --git a/kdejava/koala/org/kde/koala/KShellCompletion.java b/kdejava/koala/org/kde/koala/KShellCompletion.java deleted file mode 100644 index 5a2c43f5..00000000 --- a/kdejava/koala/org/kde/koala/KShellCompletion.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - This class does shell-like completion of file names. - A string passed to makeCompletion() will be interpreted as a shell - command line. Completion will be done on the last argument on the line. - Returned matches consist of the first arguments (uncompleted) plus the - completed last argument. - @author David Smith <dsmith@algonet.se> - - @short Shell-like completion of file names. - -*/ -public class KShellCompletion extends KURLCompletion { - protected KShellCompletion(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KShellCompletion object. - @short Constructs a KShellCompletion object. - */ - public KShellCompletion() { - super((Class) null); - newKShellCompletion(); - } - private native void newKShellCompletion(); - /** - Finds completions to the given text. - The first match is returned and emitted in the signal match(). - @param text the text to complete - @return the first match, or null if not found - - @short Finds completions to the given text. - */ - public native String makeCompletion(String text); - protected native void postProcessMatch(StringBuffer match); - protected native void postProcessMatches(String[] matches); - // void postProcessMatches(TDECompletionMatches* arg1); >>>> NOT CONVERTED - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KShellProcess.java b/kdejava/koala/org/kde/koala/KShellProcess.java deleted file mode 100644 index fead4c89..00000000 --- a/kdejava/koala/org/kde/koala/KShellProcess.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - Use TDEProcess and TDEProcess.setUseShell(true) instead. - @author Christian Czezatke <e9025461@student.tuwien.ac.at> - - @short A class derived from TDEProcess to start child processes through a shell. - -*/ -public class KShellProcess extends TDEProcess { - protected KShellProcess(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - If no shellname is specified, the user's default shell is used. - @short Constructor - */ - public KShellProcess(String shellname) { - super((Class) null); - newKShellProcess(shellname); - } - private native void newKShellProcess(String shellname); - public KShellProcess() { - super((Class) null); - newKShellProcess(); - } - private native void newKShellProcess(); - public native boolean start(int runmode, int comm); - public native boolean start(int runmode); - public native boolean start(); - public static native String quote(String arg); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KShred.java b/kdejava/koala/org/kde/koala/KShred.java deleted file mode 100644 index 3755b1ee..00000000 --- a/kdejava/koala/org/kde/koala/KShred.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - Erase a file in a way that makes recovery impossible -- well, no guarentee - of that, but at least as difficult as reasonably possible. - For this, KShred write several times over the - existing file, using different patterns, before deleting it. - See {@link KShredSignals} for signals emitted by KShred - @author David Faure <faure@kde.org> (integration into KDE and progress signal) - - @short - -*/ -public class KShred extends TQObject { - protected KShred(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Initialize the class using the name of the file to 'shred'. - @param fileName fully qualified name of the file to shred. - @short Initialize the class using the name of the file to 'shred'. - */ - public KShred(String fileName) { - super((Class) null); - newKShred(fileName); - } - private native void newKShred(String fileName); - /** - Writes all 1's over the entire file and flushes the file buffers. - @return true on success, false on error (invalid filename or write error) - - @short Writes all 1's over the entire file and flushes the file buffers. - */ - public native boolean fill1s(); - /** - Writes all 0's over the entire file and flushes the file buffers. - @return true on success, false on error (invalid filename or write error) - - @short Writes all 0's over the entire file and flushes the file buffers. - */ - public native boolean fill0s(); - /** - Writes the specified byte over the entire file and flushes the file buffers. - @param byte the value to write over every byte of the file - @return true on success, false on error (invalid filename or write error) - - @short Writes the specified byte over the entire file and flushes the file buffers. - */ - public native boolean fillbyte(int arg1); - /** - Writes random bites over the entire file and flushes the file buffers. - @return true on success, false on error (invalid filename or write error) - - @short Writes random bites over the entire file and flushes the file buffers. - */ - public native boolean fillrandom(); - /** - Writes the specified byte array over the entire file and flushes the file buffers. - @param pattern the value to write over the entire file - @param size the length of the 'pattern' byte array - @return true on success, false on error (invalid filename or write error) - - @short Writes the specified byte array over the entire file and flushes the file buffers. - */ - public native boolean fillpattern(short pattern, int size); - /** - Shreds a file by writing a series of values over it (uses - #fill0s, then fill1s, then fillrandom, then - fillbyte with 0101..., then fillbyte with 1010.... - @return true on success, false on error (invalid filename or write error) - - @short Shreds a file by writing a series of values over it (uses #fill0s, then fill1s, then fillrandom, then fillbyte with 0101. - */ - public native boolean shred(); - /** - The simplest method to shred a file. - No need to create an instance of the class. - @param fileName fully qualified name of the file to shred. - @short The simplest method to shred a file. - */ - public static native boolean shred(String fileName); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KShredSignals.java b/kdejava/koala/org/kde/koala/KShredSignals.java deleted file mode 100644 index f8589438..00000000 --- a/kdejava/koala/org/kde/koala/KShredSignals.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface KShredSignals { - /** - Shows progress of the shredding. - @param bytes the number of bytes written to the file - @short Shows progress of the shredding. - */ - void processedSize(long bytes); - /** - Shows a message in the progress dialog - @param message the message to display - @short Shows a message in the progress dialog - */ - void infoMessage(String message); -} diff --git a/kdejava/koala/org/kde/koala/KSimpleConfig.java b/kdejava/koala/org/kde/koala/KSimpleConfig.java deleted file mode 100644 index 9fbb7186..00000000 --- a/kdejava/koala/org/kde/koala/KSimpleConfig.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - KDE Configuration entries - This is a trivial extension of TDEConfig for applications that need - only one configuration file and no default system. - A difference with TDEConfig is that when the data in memory is written back - it is not merged with what is on disk. - Whatever is in memory simply replaces what is on disk entirely. - @author Kalle Dalheimer <kalle@kde.org>, Preston Brown <pbrown@kde.org> - - @short KDE Configuration Management class with deletion ability. - @see TDEConfigBase - @see TDEConfig - -*/ -public class KSimpleConfig extends TDEConfig { - protected KSimpleConfig(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a KSimpleConfig object and make it either read-write - or read-only. - @param fileName The file used for saving the config data. Either - a full path can be specified or just the filename. - If only a filename is specified, the default - directory for "config" files is used. - @param bReadOnly Whether the object should be read-only. - @short Construct a KSimpleConfig object and make it either read-write or read-only. - */ - public KSimpleConfig(String fileName, boolean bReadOnly) { - super((Class) null); - newKSimpleConfig(fileName,bReadOnly); - } - private native void newKSimpleConfig(String fileName, boolean bReadOnly); - public KSimpleConfig(String fileName) { - super((Class) null); - newKSimpleConfig(fileName); - } - private native void newKSimpleConfig(String fileName); - public KSimpleConfig(TDEConfigBackEnd backEnd, boolean bReadOnly) { - super((Class) null); - newKSimpleConfig(backEnd,bReadOnly); - } - private native void newKSimpleConfig(TDEConfigBackEnd backEnd, boolean bReadOnly); - public KSimpleConfig(TDEConfigBackEnd backEnd) { - super((Class) null); - newKSimpleConfig(backEnd); - } - private native void newKSimpleConfig(TDEConfigBackEnd backEnd); - public native void sync(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSimpleFileFilter.java b/kdejava/koala/org/kde/koala/KSimpleFileFilter.java deleted file mode 100644 index 08d5d949..00000000 --- a/kdejava/koala/org/kde/koala/KSimpleFileFilter.java +++ /dev/null @@ -1,128 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - A simple file filter that can filter hidden dot files, by name, - by mime type and by mode. - @short A simple file filter. - -*/ -public class KSimpleFileFilter extends KFileFilter { - protected KSimpleFileFilter(Class dummy){super((Class) null);} - /** - Creates a new filter. By default, it filters only hidden dot files - and "." and "..". - @short Creates a new filter. - */ - public KSimpleFileFilter() { - super((Class) null); - newKSimpleFileFilter(); - } - private native void newKSimpleFileFilter(); - /** - Enable or disable filtering hidden dot files. - This option is enabled by default. - @param filter true to enable filtering dot files, false to - disable - @short Enable or disable filtering hidden dot files. - @see #filterDotFiles - */ - public native void setFilterDotFiles(boolean filter); - /** - Checks whether filtering dot files is enabled. - This option is enabled by default. - @return true if filtering is enabled, false otherwise - - @short Checks whether filtering dot files is enabled. - @see #setFilterDotFiles - */ - public native boolean filterDotFiles(); - /** - Filters "." and "..", default is true. - @param filter true to enable, false otherwise - @short Filters ". - */ - public native void setFilterSpecials(boolean filter); - /** - Checks whether it filters "." and "..", default is true. - @return true if enabled, false otherwise - - @short Checks whether it filters ". - */ - public native boolean filterSpecials(); - /** - Sets a list of regular expressions to filter by name. - The file will only pass if its name matches one of the regular - expressions. - @param nameFilters a list of regular expressions, separated by - the character <code>separator</code> - @param caseSensitive if true, matches case sensitive. False - otherwise - @param separator the separator in the <code>nameFilter</code> - @short Sets a list of regular expressions to filter by name. - */ - public native void setNameFilters(String nameFilters, boolean caseSensitive, char separator); - public native void setNameFilters(String nameFilters, boolean caseSensitive); - /** - Sets a list of regular expressions to filter by name. - The file will only pass if its name matches one of the regular - expressions. - @param nameFilters a list of regular expressions, separated by - space (' ') - @short Sets a list of regular expressions to filter by name. - */ - public native void setNameFilters(String nameFilters); - /** - Sets a list of mime filters. A file can only pass if its - mime type is contained in this list. - @param mimeFilters the list of mime types - @short Sets a list of mime filters. - @see #setMimeFilter - */ - public native void setMimeFilters(String[] mimeFilters); - /** - Returns the list of mime types. - @return the list of mime types - - @short Returns the list of mime types. - @see #mimeFilter - */ - public native ArrayList mimeFilters(); - /** - Sets the mode filter. If the <code>mode</code> is 0, the filter is - disabled. - When enabled, a file will only pass if the files mode - ANDed with <code>mode</code> is not zero. - @param mode the new mode. 0 to disable - @short Sets the mode filter. - @see #modeFilter - */ - public native void setModeFilter(long mode); - /** - Returns the mode filter, as set by setModeFilter(). - @return the mode filter, 0 if disabled - - @short Returns the mode filter, as set by setModeFilter(). - @see #setModeFilter - */ - public native long modeFilter(); - /** - Checks the given <code>item.</code> - @param item the item to filter - @return true if the <code>item</code> passes the filter, false otherwise - - @short Checks the given <code>item.</code> - */ - public native boolean passesFilter(KFileItem item); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSpell.java b/kdejava/koala/org/kde/koala/KSpell.java deleted file mode 100644 index a1535e00..00000000 --- a/kdejava/koala/org/kde/koala/KSpell.java +++ /dev/null @@ -1,390 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - %KDE Spellchecker - A %KDE programmer's interface to International ISpell 3.1, ASpell, - HSpell and ZPSpell.. - A static method, modalCheck() is provided for convenient - access to the spellchecker. - See {@link KSpellSignals} for signals emitted by KSpell - @author David Sweet <dsweet@kde.org> - - @short %KDE Spellchecker - @see KSpellConfig - @see KSyntaxHighlighter - -*/ -public class KSpell extends TQObject { - protected KSpell(Class dummy){super((Class) null);} - /** - Possible states of the spell checker. - - <li> - <code>Starting</code> - After creation of KSpell. - </li> - - <li> - <code>Running</code> - After the ready signal has been emitted. - </li> - - <li> - <code>Cleaning</code> - After cleanUp() has been called. - </li> - - <li> - <code>Finished</code> - After cleanUp() has been completed. - </li> - The following error states exist: - - <li> - <code>Error</code> - An error occurred in the <code>Starting</code> state. - </li> - - <li> - <code>Crashed</code> - An error occurred in the <code>Running</code> state. - </li> - @short Possible states of the spell checker. - */ - public static final int Starting = 0; - public static final int Running = 1; - public static final int Cleaning = 2; - public static final int Finished = 3; - public static final int Error = 4; - public static final int Crashed = 5; - public static final int FinishedNoMisspellingsEncountered = 6; - - /** - These are possible types of documents which the spell checker can check. - - <li> - <code>Text</code> - The default type, checks every word - </li> - - <li> - <code>HTML</code> - For HTML/SGML/XML documents, will skip the tags, - </li> - - <li> - <code>TeX</code> - For TeX/LaTeX documents, will skip commands, - </li> - - <li> - <code>Nroff</code> - For nroff/troff documents. - </li> - Please note that not every option is supported on every type of - checker (e.g. ASpell doesn't support Nroff). In case a type - of a document is not supported the default Text option will - be used. - @short These are possible types of documents which the spell checker can check. - */ - public static final int Text = 0; - public static final int HTML = 1; - public static final int TeX = 2; - public static final int Nroff = 3; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Starts the spellchecker. - KSpell emits ready() when it has verified that - ISpell/ASpell is working properly. Pass the name of a slot -- do not pass zero! - Be sure to call cleanUp() when you are done with KSpell. - If KSpell could not be started correctly, death() is emitted. - @param parent Parent of KSpellConfig dialog.. - @param caption Caption of KSpellConfig dialog. - @param receiver Receiver object for the ready(KSpell ) signal. - @param slot Receiver's slot, will be connected to the ready(KSpell ) signal. - @param kcs Configuration for KSpell. - @param progressbar Indicates if progress bar should be shown. - @param modal Indicates modal or non-modal dialog. - @short Starts the spellchecker. - */ - public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal) { - super((Class) null); - newKSpell(parent,caption,receiver,slot,kcs,progressbar,modal); - } - private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal); - public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar) { - super((Class) null); - newKSpell(parent,caption,receiver,slot,kcs,progressbar); - } - private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar); - public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs) { - super((Class) null); - newKSpell(parent,caption,receiver,slot,kcs); - } - private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs); - public KSpell(TQWidget parent, String caption, TQObject receiver, String slot) { - super((Class) null); - newKSpell(parent,caption,receiver,slot); - } - private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot); - /** - Starts the spellchecker. - KSpell emits ready() when it has verified that - ISpell/ASpell is working properly. Pass the name of a slot -- do not pass zero! - Be sure to call cleanUp() when you are done with KSpell. - If KSpell could not be started correctly, death() is emitted. - @param parent Parent of KSpellConfig dialog.. - @param caption Caption of KSpellConfig dialog. - @param receiver Receiver object for the ready(KSpell ) signal. - @param slot Receiver's slot, will be connected to the ready(KSpell ) signal. - @param kcs Configuration for KSpell. - @param progressbar Indicates if progress bar should be shown. - @param modal Indicates modal or non-modal dialog. - @param type Type of the document to check - @short Starts the spellchecker. - */ - public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal, int type) { - super((Class) null); - newKSpell(parent,caption,receiver,slot,kcs,progressbar,modal,type); - } - private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal, int type); - /** - Returns the status of KSpell. - @short Returns the status of KSpell. - @see #spellStatus - */ - public native int status(); - /** - Cleans up ISpell. - Write out the personal dictionary and close ISpell's - stdin. A death() signal will be emitted when the cleanup is - complete, but this method will return immediately. - @short Cleans up ISpell. - */ - public native void cleanUp(); - /** - Sets the auto-delete flag. If this is set, the KSpell object - is automatically deleted after emitting death(). - @short Sets the auto-delete flag. - */ - public native void setAutoDelete(boolean _autoDelete); - /** - Spellchecks a buffer of many words in plain text - format. - The <code>_buffer</code> is not modified. The signal done() will be - sent when check() is finished and the argument will be a - spell-corrected version of <code>_buffer.</code> - The spell check may be stopped by the user before the entire buffer - has been checked. You can check lastPosition() to see how far - in <code>_buffer</code> check() reached before stopping. - @short Spellchecks a buffer of many words in plain text format. - */ - public native boolean check(String _buffer, boolean usedialog); - public native boolean check(String _buffer); - /** - Returns the position (when using check()) or word - number (when using checkList()) of - the last word checked. - @short Returns the position (when using check()) or word number (when using checkList()) of the last word checked. - */ - public native int lastPosition(); - /** - Spellchecks a list of words. - checkList() is more flexible than check(). You could parse - any type - of document (HTML, TeX, etc.) into a list of spell-checkable words - and send the list to checkList(). Sending a marked-up document - to check() would result in the mark-up tags being - spell checked. - @short Spellchecks a list of words. - */ - public native boolean checkList(String[] _wordlist, boolean usedialog); - public native boolean checkList(String[] _wordlist); - /** - Spellchecks a single word. - checkWord() is the most flexible function. Some applications - might need this flexibility but will sacrifice speed when - checking large numbers of words. Consider checkList() for - checking many words. - Use this method for implementing "online" spellchecking (i.e., - spellcheck as-you-type). - checkWord() returns <code>false</code> if <code>buffer</code> is not a single word (e.g. - if it contains white space), otherwise it returns <code>true</code>; - If <code>usedialog</code> is set to <code>true</code>, KSpell will open the standard - dialog if the word is not found. The dialog results can be queried - by using dlgResult() and replacement(). - The signal corrected() is emitted when the check is - complete. You can look at suggestions() to see what the - suggested replacements were. - @short Spellchecks a single word. - */ - public native boolean checkWord(String _buffer, boolean usedialog); - public native boolean checkWord(String _buffer); - public native boolean checkWord(String buffer, boolean _usedialog, boolean suggest); - /** - Hides the dialog box. - You'll need to do this when you are done with checkWord(); - @short Hides the dialog box. - */ - public native void hide(); - /** - Returns list of suggested word replacements. - After calling checkWord() (an in response to - a misspelled() signal you can - use this to get the list of - suggestions (if any were available). - @short Returns list of suggested word replacements. - */ - public native ArrayList suggestions(); - /** - Gets the result code of the dialog box. - After calling checkWord, you can use this to get the dialog box's - result code. - The possible - values are (from tdespelldlg.h): - - <li> - KS_CANCEL - </li> - - <li> - KS_REPLACE - </li> - - <li> - KS_REPLACEALL - </li> - - <li> - KS_IGNORE - </li> - - <li> - KS_IGNOREALL - </li> - - <li> - KS_ADD - </li> - - <li> - KS_STOP - </li> - @short Gets the result code of the dialog box. - */ - public native int dlgResult(); - /** - Moves the dialog. - If the dialog is not currently visible, it will - be placed at this position when it becomes visible. - Use this to get the dialog out of the way of a highlighted - misspelled word in a document. - @short Moves the dialog. - */ - public native void moveDlg(int x, int y); - /** - Returns the height of the dialog box. - @short Returns the height of the dialog box. - */ - public native int heightDlg(); - /** - Returns the width of the dialog box. - @short Returns the width of the dialog box. - */ - public native int widthDlg(); - /** - Returns the partially spellchecked buffer. - You might want the full buffer in its partially-checked state. - @short Returns the partially spellchecked buffer. - */ - public native String intermediateBuffer(); - /** - Tells ISpell/ASpell to ignore this word for the life of this KSpell instance. - @return false if <code>word</code> is not a word or there was an error - communicating with ISpell/ASpell. - - @short Tells ISpell/ASpell to ignore this word for the life of this KSpell instance. - */ - public native boolean ignore(String word); - /** - Adds a word to the user's personal dictionary. - @return false if <code>word</code> - is not a word or there was an error communicating with ISpell/ASpell. - - @short Adds a word to the user's personal dictionary. - */ - public native boolean addPersonal(String word); - /** - @return the KSpellConfig object being used by this KSpell instance. - - @short - */ - public native KSpellConfig ksConfig(); - /** - Sets the resolution (in percent) of the progress() signals. - E.g. setProgressResolution (10) instructs KSpell to send progress - signals (at most) every 10% (10%, 20%, 30%...). - The default is 10%. - @short Sets the resolution (in percent) of the progress() signals. - */ - public native void setProgressResolution(int res); - /** - Call setIgnoreUpperWords(true) to tell the spell-checker to ignore - words that are completely uppercase. They are spell-checked by default. - @short Call setIgnoreUpperWords(true) to tell the spell-checker to ignore words that are completely uppercase. - */ - public native void setIgnoreUpperWords(boolean b); - /** - Call setIgnoreTitleCase(true) to tell the spell-checker to ignore - words with a 'title' case, i.e. starting with an uppercase letter. - They are spell-checked by default. - @short Call setIgnoreTitleCase(true) to tell the spell-checker to ignore words with a 'title' case, i. - */ - public native void setIgnoreTitleCase(boolean b); - /** - Performs a synchronous spellcheck. - This method does not return until spellchecking is done or canceled. - Your application's GUI will still be updated, however. - This overloaded method uses the spell-check configuration passed as parameter. - @short Performs a synchronous spellcheck. - */ - public static native int modalCheck(StringBuffer text, KSpellConfig kcs); - protected native int parseOneResponse(String _buffer, StringBuffer word, String[] sugg); - protected native String funnyWord(String word); - protected native void dialog(String word, String[] sugg, String _slot); - protected native String replacement(); - protected native void setUpDialog(boolean reallyusedialogbox); - protected native void setUpDialog(); - protected native void emitProgress(); - protected native boolean cleanFputs(String s, boolean appendCR); - protected native boolean cleanFputs(String s); - protected native boolean cleanFputsWord(String s, boolean appendCR); - protected native boolean cleanFputsWord(String s); - protected native void startIspell(); - protected native boolean writePersonalDictionary(); - protected native void initialize(TQWidget _parent, String _caption, TQObject arg3, String slot, KSpellConfig _ksc, boolean _progressbar, boolean _modal, int type); - protected native void KSpell2(KProcIO arg1); - protected native void checkWord2(KProcIO arg1); - protected native void checkWord3(); - protected native void check2(KProcIO arg1); - protected native void checkList2(); - protected native void checkList3a(KProcIO arg1); - protected native void checkListReplaceCurrent(); - protected native void checkList4(); - protected native void dialog2(int dlgresult); - protected native void check3(); - protected native void suggestWord(KProcIO arg1); - protected native void slotStopCancel(int arg1); - protected native void ispellExit(TDEProcess arg1); - protected native void emitDeath(); - protected native void ispellErrors(TDEProcess arg1, String arg2, int arg3); - protected native void checkNext(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSpellConfig.java b/kdejava/koala/org/kde/koala/KSpellConfig.java deleted file mode 100644 index 02db891d..00000000 --- a/kdejava/koala/org/kde/koala/KSpellConfig.java +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQComboBox; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - A configuration class/dialog for KSpell. - It contains all of the options settings.The options are set to default - values by the constructor and can be reset either by using the - public interface or by using KSpellConfig as a widget in a dialog - (or, preferably a tabbed dialog using KDialogBase) and letting - the user change the settings. This way an application that uses - KSpell can either rely on the default settings (in the simplest - case), offer a dialog to configure KSpell, or offer a dialog to - configure KSpell <em>for this app only</em> (in which case, the application - should save the settings for use next time it is run). - This last option might be useful in an email program, for example, where - people may be writing in a language different from that used for - writing papers in their word processor. - See {@link KSpellConfigSignals} for signals emitted by KSpellConfig - @author David Sweet <dsweet@kde.org> - - @short A configuration class/dialog for KSpell. - @see KSpell - -*/ -public class KSpellConfig extends TQWidget { - protected KSpellConfig(Class dummy){super((Class) null);} - public static final int rdictlist = 3; - public static final int rencoding = 4; - public static final int rhelp = 6; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KSpellConfig with default or custom settings. - @param parent Parent of the widget. - @param name Widget name. - @param spellConfig Predefined configuration. If this parameter - is 0, a default configuration will be used. - @param addHelpButton Enabled or hides a help button. See - activateHelp for more information. - @short Constructs a KSpellConfig with default or custom settings. - */ - public KSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig, boolean addHelpButton) { - super((Class) null); - newKSpellConfig(parent,name,spellConfig,addHelpButton); - } - private native void newKSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig, boolean addHelpButton); - public KSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig) { - super((Class) null); - newKSpellConfig(parent,name,spellConfig); - } - private native void newKSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig); - public KSpellConfig(TQWidget parent, String name) { - super((Class) null); - newKSpellConfig(parent,name); - } - private native void newKSpellConfig(TQWidget parent, String name); - public KSpellConfig(TQWidget parent) { - super((Class) null); - newKSpellConfig(parent); - } - private native void newKSpellConfig(TQWidget parent); - public KSpellConfig() { - super((Class) null); - newKSpellConfig(); - } - private native void newKSpellConfig(); - public KSpellConfig(KSpellConfig arg1) { - super((Class) null); - newKSpellConfig(arg1); - } - private native void newKSpellConfig(KSpellConfig arg1); - /** - Fills <code>box</code> with the human readable, translated dictionary names and - selects the currently used dictionary (this will be the global - dictionary if you call {@link #fillDicts} directly after the constructor). - If <code>dictionaries</code> isn't 0 then <code>dictionaries</code> will be filled with the - corresponding internal dictionary names that are necessary to set the - dictionary with {@link #setDictionary}. - @param box Will be filled with the translated dictionary names. - @param dictionaries Will be filled with the internal dictionary names. - @short Get the translated dictionary names and, optionally, the corresponding internal dictionary names. - */ - public native void fillDicts(TQComboBox box, String[] dictionaries); - public native void fillDicts(TQComboBox box); - /** - The <code>_ignorelist</code> contains words you'd like KSpell - to ignore when it is spellchecking. When you get a KSpellConfig - object back from KSpell (using KSpell.kcConfig()), - the <code>_ignorelist</code> contains whatever was put in by you plus - any words the user has chosen to ignore via the dialog box. - It may be useful to save this list with the document being - edited to facilitate quicker future spellchecking. - @short - */ - public native void setIgnoreList(String[] _ignorelist); - /** - The <code>_replaceAllList</code> contains word you like that replace - word. Be careful that this list contains word which is replaced - and new word. - @short The <code>_replaceAllList</code> contains word you like that replace word. - */ - public native void setReplaceAllList(String[] _replaceAllList); - /** - Set an ISpell option. - If <code>true</code>, don't create root-affix combinations. - @short Set an ISpell option. - */ - public native void setNoRootAffix(boolean arg1); - /** - Set an ISpell option. - If <code>true</code>, treat run-together words a valid. - @short Set an ISpell option. - */ - public native void setRunTogether(boolean arg1); - /** - Set the name of the dictionary to use. - @short Set the name of the dictionary to use. - */ - public native void setDictionary(String qs); - public native void setDictFromList(boolean dfl); - /** - @short - */ - public native void setEncoding(int enctype); - public native void setClient(int client); - /** - Options reading routines. - @short Options reading routines. - */ - public native boolean noRootAffix(); - public native boolean runTogether(); - public native String dictionary(); - public native boolean dictFromList(); - public native int encoding(); - public native ArrayList ignoreList(); - public native ArrayList replaceAllList(); - public native int client(); - /** - Call this method before this class is deleted if you want - the settings you have (or the user has) chosen to become the - global, default settings. - @short Call this method before this class is deleted if you want the settings you have (or the user has) chosen to become the global, default settings. - */ - public native boolean writeGlobalSettings(); - public native boolean readGlobalSettings(); - /** - Use this function to activate the help information for this - widget. The function is particulary useful if the help button is - not displayed as specified by the constructor. Normally you want - to hide the help button if this widget is embedded into a larger - dialog box that has its own help button. See kedit - (optiondialog.cpp) for an example - @short Use this function to activate the help information for this widget. - */ - public native void activateHelp(); - protected native void fillInDialog(); - /** - This takes a dictionary file name and provides both a language - abbreviation appropriate for the $LANG variable, and a - human-readable name. - It also truncates ".aff" at the end of fname. - @param fname the dictionary name file (input) - @param lname the language abbreviation, such as de for German (output) - @param hname the human-readable name, such as Deutsch (output) - @return true if <pre>lname.data()==$LANG</pre> - - @short This takes a dictionary file name and provides both a language abbreviation appropriate for the $LANG variable, and a human-readable name. - */ - protected native boolean interpret(StringBuffer fname, StringBuffer lname, StringBuffer hname); - /** - Invokes the help documentation for tdespell - @short Invokes the help documentation for tdespell - */ - protected native void sHelp(); - protected native void sNoAff(boolean arg1); - protected native void sRunTogether(boolean arg1); - protected native void sDictionary(boolean arg1); - protected native void sPathDictionary(boolean arg1); - protected native void sSetDictionary(int arg1); - protected native void sChangeEncoding(int arg1); - protected native void sChangeClient(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSpellConfigSignals.java b/kdejava/koala/org/kde/koala/KSpellConfigSignals.java deleted file mode 100644 index 61272936..00000000 --- a/kdejava/koala/org/kde/koala/KSpellConfigSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQComboBox; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KSpellConfigSignals { - void configChanged(); -} diff --git a/kdejava/koala/org/kde/koala/KSpellDlg.java b/kdejava/koala/org/kde/koala/KSpellDlg.java deleted file mode 100644 index 97b94add..00000000 --- a/kdejava/koala/org/kde/koala/KSpellDlg.java +++ /dev/null @@ -1,67 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQWidget; - -/** - See {@link KSpellDlgSignals} for signals emitted by KSpellDlg -*/ -public class KSpellDlg extends KDialogBase { - protected KSpellDlg(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KSpellDlg(TQWidget parent, String name, boolean _progressbar, boolean _modal) { - super((Class) null); - newKSpellDlg(parent,name,_progressbar,_modal); - } - private native void newKSpellDlg(TQWidget parent, String name, boolean _progressbar, boolean _modal); - public KSpellDlg(TQWidget parent, String name, boolean _progressbar) { - super((Class) null); - newKSpellDlg(parent,name,_progressbar); - } - private native void newKSpellDlg(TQWidget parent, String name, boolean _progressbar); - public KSpellDlg(TQWidget parent, String name) { - super((Class) null); - newKSpellDlg(parent,name); - } - private native void newKSpellDlg(TQWidget parent, String name); - public native String replacement(); - /** - Change the misspelled word and suggested replacements - and enable the disabled buttons on the dialog box. - (Buttons are disabled by standby().) - @short Change the misspelled word and suggested replacements and enable the disabled buttons on the dialog box. - */ - public native void init(String _word, String[] _sugg); - public native void init(String _word, String[] _sugg, String context); - public native void standby(); - /** - Adjust the progress bar to <code>p</code> percent. - @short Adjust the progress bar to <code>p</code> percent. - */ - public native void slotProgress(int p); - protected native void closeEvent(TQCloseEvent e); - protected native void done(int i); - protected native void ignore(); - protected native void add(); - protected native void ignoreAll(); - public native void cancel(); - protected native void replace(); - protected native void replaceAll(); - protected native void suggest(); - protected native void stop(); - protected native void slotConfigChanged(); - protected native void textChanged(String arg1); - protected native void slotSelectionChanged(TQListViewItem item); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSpellDlgSignals.java b/kdejava/koala/org/kde/koala/KSpellDlgSignals.java deleted file mode 100644 index 45511367..00000000 --- a/kdejava/koala/org/kde/koala/KSpellDlgSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQWidget; - -public interface KSpellDlgSignals { - /** - This signal is emitted when a button is pressed. - @short This signal is emitted when a button is pressed. - */ - void command(int arg1); - void ready(boolean arg1); -} diff --git a/kdejava/koala/org/kde/koala/KSpellSignals.java b/kdejava/koala/org/kde/koala/KSpellSignals.java deleted file mode 100644 index 1690de85..00000000 --- a/kdejava/koala/org/kde/koala/KSpellSignals.java +++ /dev/null @@ -1,117 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KSpellSignals { - /** - Emitted whenever a misspelled word is found by check() or - by checkWord(). - If it is emitted by checkWord(), <code>pos</code>=0. - If it is emitted by check(), then <code>pos</code> indicates the position of - the misspelled word in the (original) <code>_buffer.</code> - (The first position is zero.) - If it is emitted by checkList(), <code>pos</code> is the index to - the misspelled - word in the ArrayList passed to checkList(). - Note, that <code>originalword</code> can be only a word part, if it's - word with hyphens. - These are called _before_ the dialog is opened, so that the - calling program's GUI may be updated. (e.g. the misspelled word may - be highlighted). - @short Emitted whenever a misspelled word is found by check() or by checkWord(). - */ - void misspelling(String originalword, String[] suggestions, int pos); - /** - Emitted after the "Replace" or "Replace All" buttons of the dialog - was pressed, or if the word was - corrected without calling the dialog (i.e., the user previously chose - "Replace All" for this word). - Results from the dialog may be checked with dlgResult() - and replacement(). - Note, that when using checkList() this signal can occur - more then once with same list position, when checking a word with - hyphens. In this case <code>originalword</code> is the last replacement. - @short Emitted after the "Replace" or "Replace All" buttons of the dialog was pressed, or if the word was corrected without calling the dialog (i. - @see #check - */ - void corrected(String originalword, String newword, int pos); - /** - Emitted when the user pressed "Ignore All" in the dialog. - This could be used to make an application or file specific - user dictionary. - @short Emitted when the user pressed "Ignore All" in the dialog. - */ - void ignoreall(String originalword); - /** - Emitted when the user pressed "Ignore" in the dialog. - Don't know if this could be useful. - @short Emitted when the user pressed "Ignore" in the dialog. - */ - void ignoreword(String originalword); - /** - Emitted when the user pressed "Add" in the dialog. - This could be used to make an external user dictionary - independent of the ISpell personal dictionary. - @short Emitted when the user pressed "Add" in the dialog. - */ - void addword(String originalword); - /** - Emitted when the user pressed "ReplaceAll" in the dialog. - @short Emitted when the user pressed "ReplaceAll" in the dialog. - */ - void replaceall(String origword, String replacement); - /** - Emitted after KSpell has verified that ISpell/ASpell is running - and working properly. - @short Emitted after KSpell has verified that ISpell/ASpell is running and working properly. - */ - void ready(KSpell arg1); - /** - Emitted during a check(). - <code>i</code> is between 1 and 100. - @short Emitted during a check(). - */ - void progress(int i); - /** - Emitted when check() is done. - Be sure to copy the results of <code>buffer</code> if you need them. - You can only rely - on the contents of buffer for the life of the slot which was signaled - by done(). - @short Emitted when check() is done. - */ - void done(String buffer); - /** - Emitted when checkList() is done. - If the argument is - <code>true</code>, then you should update your text from the - wordlist, otherwise not. - @short Emitted when checkList() is done. - */ - void done(boolean arg1); - /** - Emitted on terminal errors and after clean up. - You can delete the KSpell object in this signal. - You can check status() to see what caused the death: - - <li> - <code>Error</code> - KSpell could not start. - </li> - - <li> - <code>Crashed</code> - KSpell encountered an unexpected error during execution. - </li> - - <li> - <code>Finished</code> - Clean up finished. - - </li> @short Emitted on terminal errors and after clean up. - */ - void death(); - void dialog3(); -} diff --git a/kdejava/koala/org/kde/koala/KSpellingHighlighter.java b/kdejava/koala/org/kde/koala/KSpellingHighlighter.java deleted file mode 100644 index c752d5d9..00000000 --- a/kdejava/koala/org/kde/koala/KSpellingHighlighter.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQTextEdit; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** -*/ -public class KSpellingHighlighter extends KSyntaxHighlighter { - protected KSpellingHighlighter(Class dummy){super((Class) null);} - public native int highlightParagraph(String text, int endStateOfLastPara); - public native boolean isMisspelled(String word); - public native boolean intraWordEditing(); - public native void setIntraWordEditing(boolean editing); - public static native ArrayList personalWords(); -} diff --git a/kdejava/koala/org/kde/koala/KSqueezedTextLabel.java b/kdejava/koala/org/kde/koala/KSqueezedTextLabel.java deleted file mode 100644 index ca2052a8..00000000 --- a/kdejava/koala/org/kde/koala/KSqueezedTextLabel.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQLabel; - -/** - - A label class that squeezes its text into the label - If the text is too long to fit into the label it is divided into - remaining left and right parts which are separated by three dots. - Example: - http://www.kde.org/documentation/index.html could be squeezed to - http://www.kde...ion/index.html - \image html ksqueezedtextlabel.png "KSqueezedTextLabel Widget" - @author Ronny Standtke <Ronny.Standtke@gmx.de> - - @short A replacement for TQLabel that squeezes its text. - -*/ -public class KSqueezedTextLabel extends TQLabel { - protected KSqueezedTextLabel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Default constructor. - @short Default constructor. - */ - public KSqueezedTextLabel(TQWidget parent, String name) { - super((Class) null); - newKSqueezedTextLabel(parent,name); - } - private native void newKSqueezedTextLabel(TQWidget parent, String name); - public KSqueezedTextLabel(TQWidget parent) { - super((Class) null); - newKSqueezedTextLabel(parent); - } - private native void newKSqueezedTextLabel(TQWidget parent); - public KSqueezedTextLabel(String text, TQWidget parent, String name) { - super((Class) null); - newKSqueezedTextLabel(text,parent,name); - } - private native void newKSqueezedTextLabel(String text, TQWidget parent, String name); - public KSqueezedTextLabel(String text, TQWidget parent) { - super((Class) null); - newKSqueezedTextLabel(text,parent); - } - private native void newKSqueezedTextLabel(String text, TQWidget parent); - public native TQSize minimumSizeHint(); - public native TQSize sizeHint(); - /** - Overridden for internal reasons; the API remains unaffected. - @short Overridden for internal reasons; the API remains unaffected. - */ - public native void setAlignment(int arg1); - public native void setText(String arg1); - /** - used when widget is resized - @short used when widget is resized - */ - protected native void resizeEvent(TQResizeEvent arg1); - /** - does the dirty work - @short does the dirty work - */ - protected native void squeezeTextToLabel(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KStaticDeleterBase.java b/kdejava/koala/org/kde/koala/KStaticDeleterBase.java deleted file mode 100644 index 3893d6f8..00000000 --- a/kdejava/koala/org/kde/koala/KStaticDeleterBase.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Static deleters are used to manage static resources. They can register - themselves with TDEGlobal. TDEGlobal will call destructObject() when - TDEGlobal.deleteStaticDeleters() is called or when it the process - finishes. - @short Static deleters are used to manage static resources. - @see KStaticDeleter - @see TDEGlobal#registerStaticDeleter - @see TDEGlobal#unregisterStaticDeleter - @see TDEGlobal#deleteStaticDeleters - -*/ -public class KStaticDeleterBase implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KStaticDeleterBase(Class dummy){} - - /** - Should destruct the resources managed by this KStaticDeleterBase. - Usually you also want to call it in your destructor. - @short Should destruct the resources managed by this KStaticDeleterBase. - @see TDEGlobal#deleteStaticDeleters - */ - public native void destructObject(); - public KStaticDeleterBase() { - newKStaticDeleterBase(); - } - private native void newKStaticDeleterBase(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KStatusBar.java b/kdejava/koala/org/kde/koala/KStatusBar.java deleted file mode 100644 index 65ec7f8d..00000000 --- a/kdejava/koala/org/kde/koala/KStatusBar.java +++ /dev/null @@ -1,126 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQStatusBar; - -/** - - Display status messages. - You can insert text labels or custom widgets. Their geometry is managed - internally. KStatusBar resizes itself, but positioning is left to - TDEMainWindow (or to you, if you don't use TDEMainWindow ). - A special type of item is a message which is a temporary text-message - displayed on top of other items in full-width. Messages are visible for - specified time, or until you call the slot TQStatusBar.clear(). See - TQStatusBar.message for details. - It is useful to connect the TDEActionCollection signals to the - TQStatusBar.message slots. - KStatusBar inherits TQStatusBar, you can freely use all TQStatusBar - methods. - Empty text items are not visible. They will become visible when you change - (add) text. - See {@link KStatusBarSignals} for signals emitted by KStatusBar - @author Mark Donohoe (donohoe@kde.org) Maintained by Sven Radej <radej@kde.org> - - @short %KDE statusbar widget. - @see TDEActionCollection - -*/ -public class KStatusBar extends TQStatusBar { - protected KStatusBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a status bar. <code>parent</code> is usually TDEMainWindow. - @short Constructs a status bar. - */ - public KStatusBar(TQWidget parent, String name) { - super((Class) null); - newKStatusBar(parent,name); - } - private native void newKStatusBar(TQWidget parent, String name); - public KStatusBar(TQWidget parent) { - super((Class) null); - newKStatusBar(parent); - } - private native void newKStatusBar(TQWidget parent); - public KStatusBar() { - super((Class) null); - newKStatusBar(); - } - private native void newKStatusBar(); - /** - Inserts a text label into the status bar. - Parameters <code>stretch</code> and <code>permanent</code> are passed to - TQStatusBar.addWidget . - If <code>permanent</code> is true, then item will be placed on the far right of - the statusbar and will never be hidden by TQStatusBar.message. - @param text The label's text string. - @param id id of item - @param stretch stretch passed to TQStatusBar.addWidget - @param permanent is item permanent or not (passed to TQStatusBar.addWidget ) - @short Inserts a text label into the status bar. - @see org.kde.qt.TQStatusbar#addWidget - */ - public native void insertItem(String text, int id, int stretch, boolean permanent); - public native void insertItem(String text, int id, int stretch); - public native void insertItem(String text, int id); - /** - Inserts a fixed width text label into status bar. The width will be set - according to <code>text</code>, but will remain fixed even if you change text. - You can change fixed width by calling setItemFixed. - @param text The label's text string - @param id id of item - @param permanent permanent flag passed to TQStatusBar.addWidget - @short Inserts a fixed width text label into status bar. - */ - public native void insertFixedItem(String text, int id, boolean permanent); - public native void insertFixedItem(String text, int id); - /** - Removes an item. - @param id The item to remove. - @short Removes an item. - */ - public native void removeItem(int id); - /** - Returns true if an item with <code>id</code> exists already in KStatusBar, - otherwise returns false. - @param id id of the item - @short - */ - public native boolean hasItem(int id); - /** - Changes the text in a status bar field. - The item will be resized to fit the text. If you change text to be empty, - item will not be visible (untill you add some text). - @param text The label's text string - @param id The id of item. - @short Changes the text in a status bar field. - */ - public native void changeItem(String text, int id); - /** - Sets the alignment of item <code>id.</code> By default all fields are aligned - <code>AlignHCenter</code> | <code>AlignVCenter.</code> See TQLabel.setAlignment for details. - @short Sets the alignment of item <code>id.</code> - */ - public native void setItemAlignment(int id, int align); - /** - Sets item <code>id</code> to have fixed width. This cannot be undone, but you can - always set new fixed width. - @param id id of item - @param width fixed width in pixels. Default -1 is to adapt to text width. - @short Sets item <code>id</code> to have fixed width. - */ - public native void setItemFixed(int id, int width); - public native void setItemFixed(int id); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KStatusBarLabel.java b/kdejava/koala/org/kde/koala/KStatusBarLabel.java deleted file mode 100644 index 760c8016..00000000 --- a/kdejava/koala/org/kde/koala/KStatusBarLabel.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQLabel; - -/** - - Internal label class for use in KStatusBar - See {@link KStatusBarLabelSignals} for signals emitted by KStatusBarLabel - @short Internal label class for use in KStatusBar - -*/ -public class KStatusBarLabel extends TQLabel { - protected KStatusBarLabel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KStatusBarLabel(String text, int _id, KStatusBar parent, String name) { - super((Class) null); - newKStatusBarLabel(text,_id,parent,name); - } - private native void newKStatusBarLabel(String text, int _id, KStatusBar parent, String name); - public KStatusBarLabel(String text, int _id, KStatusBar parent) { - super((Class) null); - newKStatusBarLabel(text,_id,parent); - } - private native void newKStatusBarLabel(String text, int _id, KStatusBar parent); - public KStatusBarLabel(String text, int _id) { - super((Class) null); - newKStatusBarLabel(text,_id); - } - private native void newKStatusBarLabel(String text, int _id); - protected native void mousePressEvent(TQMouseEvent _event); - protected native void mouseReleaseEvent(TQMouseEvent _event); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java b/kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java deleted file mode 100644 index b810cce5..00000000 --- a/kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMouseEvent; - -public interface KStatusBarLabelSignals { - void itemPressed(int id); - void itemReleased(int id); -} diff --git a/kdejava/koala/org/kde/koala/KStatusBarSignals.java b/kdejava/koala/org/kde/koala/KStatusBarSignals.java deleted file mode 100644 index 9848e9d9..00000000 --- a/kdejava/koala/org/kde/koala/KStatusBarSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KStatusBarSignals { - /** - Emitted when mouse is pressed over item <code>id.</code> - Connect to this signal if you want to respond to mouse press events. - @short Emitted when mouse is pressed over item <code>id.</code> - */ - void pressed(int arg1); - /** - Emitted when mouse is released over item <code>id.</code> - Connect to this signal if you want to respond to mouse release events (clicks). - @short Emitted when mouse is released over item <code>id.</code> - */ - void released(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KStdAction.java b/kdejava/koala/org/kde/koala/KStdAction.java deleted file mode 100644 index fc9948e9..00000000 --- a/kdejava/koala/org/kde/koala/KStdAction.java +++ /dev/null @@ -1,544 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -/** - - Convenience methods to access all standard KDE actions. - These actions should be used instead of hardcoding menubar and - toolbar items. Using these actions helps your application easily - conform to the KDE UI Style Guide - All of the documentation for TDEAction holds for KStdAction - also. When in doubt on how things work, check the TDEAction - documention first. - <li><b>Simple Example:</b></li> - In general, using standard actions should be a drop in replacement - for regular actions. For example, if you previously had: - <pre> - TDEAction newAct = new TDEAction(i18n("&New"), TQIconSet(BarIcon("filenew")), - TDEStdAccel.shortcut(TDEStdAccel.New), this, - SLOT("fileNew()"), actionCollection()); - </pre> - You could drop that and replace it with: - <pre> - TDEAction newAct = KStdAction.openNew(this, SLOT("fileNew()"), - actionCollection()); - </pre> - <li><b>Non-standard Usages</b></li> - It is possible to use the standard actions in various - non-recommended ways. Say, for instance, you wanted to have a - standard action (with the associated correct text and icon and - accelerator, etc) but you didn't want it to go in the standard - place (this is not recommended, by the way). One way to do this is - to simply not use the XML UI framework and plug it into wherever - you want. If you do want to use the XML UI framework (good!), then - it is still possible. - Basically, the XML building code matches names in the XML code with - the internal names of the actions. You can find out the internal - names of each of the standard actions by using the stdName - action like so: KStdAction.stdName(KStdAction.Cut) would return - 'edit_cut'. The XML building code will match 'edit_cut' to the - attribute in the global XML file and place your action there. - However, you can change the internal name. In this example, just - do something like: - <pre> - KStdAction.cut(this, SLOT("editCut()"), actionCollection(), "my_cut"); - </pre> - Now, in your local XML resource file (e.g., yourappui.rc), simply - put 'my_cut' where you want it to go. - Another non-standard usage concerns getting a pointer to an - existing action if, say, you want to enable or disable the action. - You could do it the recommended way and just grab a pointer when - you instantiate it as in the the 'openNew' example above... or you - could do it the hard way: - <pre> - TDEAction cut = actionCollection().action(KStdAction.stdName(KStdAction.Cut)); - </pre> - Another non-standard usage concerns instantiating the action in the - first place. Usually, you would use the member functions as - shown above (e.g., KStdAction.cut(this, SLOT, parent)). You - may, however, do this using the enums provided. This author can't - think of a reason why you would want to, but, hey, if you do, - here's how: - <pre> - KStdAction.action(KStdAction.New, this, SLOT("fileNew()"), actionCollection()); - KStdAction.action(KStdAction.Cut, this, SLOT("editCut()"), actionCollection()); - </pre> - @author Kurt Granroth <granroth@kde.org> - - @short Convenience methods to access all standard KDE actions. - @see #http://developer#kde#org/documentation/standards/kde/style/basics/index#html - -*/ -public class KStdAction { - /** - The standard menubar and toolbar actions. - @short The standard menubar and toolbar actions. - */ - public static final int ActionNone = 0; - public static final int New = 1; - public static final int Open = 2; - public static final int OpenRecent = 3; - public static final int Save = 4; - public static final int SaveAs = 5; - public static final int Revert = 6; - public static final int Close = 7; - public static final int Print = 8; - public static final int PrintPreview = 9; - public static final int Mail = 10; - public static final int Quit = 11; - public static final int Undo = 12; - public static final int Redo = 13; - public static final int Cut = 14; - public static final int Copy = 15; - public static final int Paste = 16; - public static final int SelectAll = 17; - public static final int Deselect = 18; - public static final int Find = 19; - public static final int FindNext = 20; - public static final int FindPrev = 21; - public static final int Replace = 22; - public static final int ActualSize = 23; - public static final int FitToPage = 24; - public static final int FitToWidth = 25; - public static final int FitToHeight = 26; - public static final int ZoomIn = 27; - public static final int ZoomOut = 28; - public static final int Zoom = 29; - public static final int Redisplay = 30; - public static final int Up = 31; - public static final int Back = 32; - public static final int Forward = 33; - public static final int Home = 34; - public static final int Prior = 35; - public static final int Next = 36; - public static final int Goto = 37; - public static final int GotoPage = 38; - public static final int GotoLine = 39; - public static final int FirstPage = 40; - public static final int LastPage = 41; - public static final int AddBookmark = 42; - public static final int EditBookmarks = 43; - public static final int Spelling = 44; - public static final int ShowMenubar = 45; - public static final int ShowToolbar = 46; - public static final int ShowStatusbar = 47; - public static final int SaveOptions = 48; - public static final int KeyBindings = 49; - public static final int Preferences = 50; - public static final int ConfigureToolbars = 51; - public static final int Help = 52; - public static final int HelpContents = 53; - public static final int WhatsThis = 54; - public static final int ReportBug = 55; - public static final int AboutApp = 56; - public static final int AboutKDE = 57; - public static final int TipofDay = 58; - public static final int ConfigureNotifications = 59; - public static final int FullScreen = 60; - public static final int Clear = 61; - public static final int PasteText = 62; - - /** - Creates an action corresponding to the - KStdAction.StdAction enum. - @short Creates an action corresponding to the KStdAction.StdAction enum. - */ - public static native TDEAction create(int id, String name, TQObject recvr, String slot, TDEActionCollection parent); - public static native TDEAction create(int id, TQObject recvr, String slot, TDEActionCollection parent); - /** - This will return the internal name of a given standard action. - @short This will return the internal name of a given standard action. - */ - public static native String name(int id); - public static native String stdName(int act_enum); - /** - Returns a list of all standard names. Used by TDEAccelManager - to give those heigher weight. - @short Returns a list of all standard names. - */ - public static native ArrayList stdNames(); - /** - Create a new document or window. - @short Create a new document or window. - */ - public static native TDEAction openNew(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction openNew(TQObject recvr, String slot, TDEActionCollection parent); - /** - Open an existing file. - @short Open an existing file. - */ - public static native TDEAction open(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction open(TQObject recvr, String slot, TDEActionCollection parent); - /** - Open a recently used document. The signature of the slot being called - is of the form slotURLSelected( KURL ). - @param recvr object to receive slot - @param slot The SLOT to invoke when a URL is selected. The slot's - signature is slotURLSelected( KURL ). - @param parent parent widget - @param name name of widget - @short Open a recently used document. - */ - public static native TDERecentFilesAction openRecent(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDERecentFilesAction openRecent(TQObject recvr, String slot, TDEActionCollection parent); - /** - Save the current document. - @short Save the current document. - */ - public static native TDEAction save(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction save(TQObject recvr, String slot, TDEActionCollection parent); - /** - Save the current document under a different name. - @short Save the current document under a different name. - */ - public static native TDEAction saveAs(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction saveAs(TQObject recvr, String slot, TDEActionCollection parent); - /** - Revert the current document to the last saved version - (essentially will undo all changes). - @short Revert the current document to the last saved version (essentially will undo all changes). - */ - public static native TDEAction revert(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction revert(TQObject recvr, String slot, TDEActionCollection parent); - /** - Close the current document. - @short Close the current document. - */ - public static native TDEAction close(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction close(TQObject recvr, String slot, TDEActionCollection parent); - /** - Print the current document. - @short Print the current document. - */ - public static native TDEAction print(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction print(TQObject recvr, String slot, TDEActionCollection parent); - /** - Show a print preview of the current document. - @short Show a print preview of the current document. - */ - public static native TDEAction printPreview(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction printPreview(TQObject recvr, String slot, TDEActionCollection parent); - /** - Mail this document. - @short Mail this document. - */ - public static native TDEAction mail(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction mail(TQObject recvr, String slot, TDEActionCollection parent); - /** - Quit the program. - @short Quit the program. - */ - public static native TDEAction quit(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction quit(TQObject recvr, String slot, TDEActionCollection parent); - /** - Undo the last operation. - @short Undo the last operation. - */ - public static native TDEAction undo(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction undo(TQObject recvr, String slot, TDEActionCollection parent); - /** - Redo the last operation. - @short Redo the last operation. - */ - public static native TDEAction redo(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction redo(TQObject recvr, String slot, TDEActionCollection parent); - /** - Cut selected area and store it in the clipboard. - @short Cut selected area and store it in the clipboard. - */ - public static native TDEAction cut(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction cut(TQObject recvr, String slot, TDEActionCollection parent); - /** - Copy the selected area into the clipboard. - @short Copy the selected area into the clipboard. - */ - public static native TDEAction copy(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction copy(TQObject recvr, String slot, TDEActionCollection parent); - /** - Paste the contents of clipboard at the current mouse or cursor - position. - @short Paste the contents of clipboard at the current mouse or cursor position. - */ - public static native TDEAction paste(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction paste(TQObject recvr, String slot, TDEActionCollection parent); - /** - Paste the contents of clipboard at the current mouse or cursor - position. Provide a button on the toolbar with the clipboard history - menu if Klipper is running. - @short Paste the contents of clipboard at the current mouse or cursor position. - */ - public static native TDEAction pasteText(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction pasteText(TQObject recvr, String slot, TDEActionCollection parent); - /** - Clear the content of the focus widget - @short Clear the content of the focus widget - */ - public static native TDEAction clear(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction clear(TQObject recvr, String slot, TDEActionCollection parent); - /** - Select all elements in the current document. - @short Select all elements in the current document. - */ - public static native TDEAction selectAll(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction selectAll(TQObject recvr, String slot, TDEActionCollection parent); - /** - Deselect any selected elements in the current document. - @short Deselect any selected elements in the current document. - */ - public static native TDEAction deselect(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction deselect(TQObject recvr, String slot, TDEActionCollection parent); - /** - Initiate a 'find' request in the current document. - @short Initiate a 'find' request in the current document. - */ - public static native TDEAction find(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction find(TQObject recvr, String slot, TDEActionCollection parent); - /** - Find the next instance of a stored 'find'. - @short Find the next instance of a stored 'find'. - */ - public static native TDEAction findNext(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction findNext(TQObject recvr, String slot, TDEActionCollection parent); - /** - Find a previous instance of a stored 'find'. - @short Find a previous instance of a stored 'find'. - */ - public static native TDEAction findPrev(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction findPrev(TQObject recvr, String slot, TDEActionCollection parent); - /** - Find and replace matches. - @short Find and replace matches. - */ - public static native TDEAction replace(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction replace(TQObject recvr, String slot, TDEActionCollection parent); - /** - View the document at its actual size. - @short View the document at its actual size. - */ - public static native TDEAction actualSize(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction actualSize(TQObject recvr, String slot, TDEActionCollection parent); - /** - Fit the document view to the size of the current window. - @short Fit the document view to the size of the current window. - */ - public static native TDEAction fitToPage(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction fitToPage(TQObject recvr, String slot, TDEActionCollection parent); - /** - Fit the document view to the width of the current window. - @short Fit the document view to the width of the current window. - */ - public static native TDEAction fitToWidth(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction fitToWidth(TQObject recvr, String slot, TDEActionCollection parent); - /** - Fit the document view to the height of the current window. - @short Fit the document view to the height of the current window. - */ - public static native TDEAction fitToHeight(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction fitToHeight(TQObject recvr, String slot, TDEActionCollection parent); - /** - Zoom in. - @short Zoom in. - */ - public static native TDEAction zoomIn(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction zoomIn(TQObject recvr, String slot, TDEActionCollection parent); - /** - Zoom out. - @short Zoom out. - */ - public static native TDEAction zoomOut(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction zoomOut(TQObject recvr, String slot, TDEActionCollection parent); - /** - Popup a zoom dialog. - @short Popup a zoom dialog. - */ - public static native TDEAction zoom(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction zoom(TQObject recvr, String slot, TDEActionCollection parent); - /** - Redisplay or redraw the document. - @short Redisplay or redraw the document. - */ - public static native TDEAction redisplay(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction redisplay(TQObject recvr, String slot, TDEActionCollection parent); - /** - Move up (web style menu). - @short Move up (web style menu). - */ - public static native TDEAction up(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction up(TQObject recvr, String slot, TDEActionCollection parent); - /** - Move back (web style menu). - @short Move back (web style menu). - */ - public static native TDEAction back(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction back(TQObject recvr, String slot, TDEActionCollection parent); - /** - Move forward (web style menu). - @short Move forward (web style menu). - */ - public static native TDEAction forward(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction forward(TQObject recvr, String slot, TDEActionCollection parent); - /** - Go to the "Home" position or document. - @short Go to the "Home" position or document. - */ - public static native TDEAction home(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction home(TQObject recvr, String slot, TDEActionCollection parent); - /** - Scroll up one page. - @short Scroll up one page. - */ - public static native TDEAction prior(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction prior(TQObject recvr, String slot, TDEActionCollection parent); - /** - Scroll down one page. - @short Scroll down one page. - */ - public static native TDEAction next(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction next(TQObject recvr, String slot, TDEActionCollection parent); - /** - Go to somewhere in general. - @short Go to somewhere in general. - */ - public static native TDEAction goTo(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction goTo(TQObject recvr, String slot, TDEActionCollection parent); - /** - Go to a specific page (dialog). - @short Go to a specific page (dialog). - */ - public static native TDEAction gotoPage(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction gotoPage(TQObject recvr, String slot, TDEActionCollection parent); - /** - Go to a specific line (dialog). - @short Go to a specific line (dialog). - */ - public static native TDEAction gotoLine(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction gotoLine(TQObject recvr, String slot, TDEActionCollection parent); - /** - Jump to the first page. - @short Jump to the first page. - */ - public static native TDEAction firstPage(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction firstPage(TQObject recvr, String slot, TDEActionCollection parent); - /** - Jump to the last page. - @short Jump to the last page. - */ - public static native TDEAction lastPage(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction lastPage(TQObject recvr, String slot, TDEActionCollection parent); - /** - Add the current page to the bookmarks tree. - @short Add the current page to the bookmarks tree. - */ - public static native TDEAction addBookmark(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction addBookmark(TQObject recvr, String slot, TDEActionCollection parent); - /** - Edit the application bookmarks. - @short Edit the application bookmarks. - */ - public static native TDEAction editBookmarks(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction editBookmarks(TQObject recvr, String slot, TDEActionCollection parent); - /** - Pop up the spell checker. - @short Pop up the spell checker. - */ - public static native TDEAction spelling(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction spelling(TQObject recvr, String slot, TDEActionCollection parent); - /** - Show/Hide the menubar. - @short Show/Hide the menubar. - */ - public static native TDEToggleAction showMenubar(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEToggleAction showMenubar(TQObject recvr, String slot, TDEActionCollection parent); - /** - Show/Hide the statusbar. - @short Show/Hide the statusbar. - */ - public static native TDEToggleAction showStatusbar(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEToggleAction showStatusbar(TQObject recvr, String slot, TDEActionCollection parent); - /** - Switch to/from full screen mode - @short Switch to/from full screen mode - */ - public static native TDEToggleFullScreenAction fullScreen(TQObject recvr, String slot, TDEActionCollection parent, TQWidget window, String name); - public static native TDEToggleFullScreenAction fullScreen(TQObject recvr, String slot, TDEActionCollection parent, TQWidget window); - /** - Display the save options dialog. - @short Display the save options dialog. - */ - public static native TDEAction saveOptions(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction saveOptions(TQObject recvr, String slot, TDEActionCollection parent); - /** - Display the configure key bindings dialog. - Note that you might be able to use the pre-built KXMLGUIFactory's fuction: - KStdAction.keyBindings(guiFactory(), SLOT("configureShortcuts()"), actionCollection()); - @short Display the configure key bindings dialog. - */ - public static native TDEAction keyBindings(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction keyBindings(TQObject recvr, String slot, TDEActionCollection parent); - /** - Display the preferences/options dialog. - @short Display the preferences/options dialog. - */ - public static native TDEAction preferences(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction preferences(TQObject recvr, String slot, TDEActionCollection parent); - /** - The Customize Toolbar dialog. - @short The Customize Toolbar dialog. - */ - public static native TDEAction configureToolbars(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction configureToolbars(TQObject recvr, String slot, TDEActionCollection parent); - /** - The Configure Notifications dialog. - @short The Configure Notifications dialog. - */ - public static native TDEAction configureNotifications(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction configureNotifications(TQObject recvr, String slot, TDEActionCollection parent); - /** - Display the help. - @short Display the help. - */ - public static native TDEAction help(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction help(TQObject recvr, String slot, TDEActionCollection parent); - /** - Display the help contents. - @short Display the help contents. - */ - public static native TDEAction helpContents(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction helpContents(TQObject recvr, String slot, TDEActionCollection parent); - /** - Trigger the What's This cursor. - @short Trigger the What's This cursor. - */ - public static native TDEAction whatsThis(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction whatsThis(TQObject recvr, String slot, TDEActionCollection parent); - /** - Display "Tip of the Day" - @short Display "Tip of the Day" - */ - public static native TDEAction tipOfDay(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction tipOfDay(TQObject recvr, String slot, TDEActionCollection parent); - /** - Open up the Report Bug dialog. - @short Open up the Report Bug dialog. - */ - public static native TDEAction reportBug(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction reportBug(TQObject recvr, String slot, TDEActionCollection parent); - /** - Display the application's About box. - @short Display the application's About box. - */ - public static native TDEAction aboutApp(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction aboutApp(TQObject recvr, String slot, TDEActionCollection parent); - /** - Display the About KDE dialog. - @short Display the About KDE dialog. - */ - public static native TDEAction aboutKDE(TQObject recvr, String slot, TDEActionCollection parent, String name); - public static native TDEAction aboutKDE(TQObject recvr, String slot, TDEActionCollection parent); -} diff --git a/kdejava/koala/org/kde/koala/KStdGuiItem.java b/kdejava/koala/org/kde/koala/KStdGuiItem.java deleted file mode 100644 index 5c437781..00000000 --- a/kdejava/koala/org/kde/koala/KStdGuiItem.java +++ /dev/null @@ -1,183 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The various static methods returns standardized {@link KGuiItem}'s - conforming to the KDE UI Standards. Use them instead of creating - your own. - @author Holger Freyther <freyther@kde.org> - - @short Provides a set of standardized KGuiItems. - -*/ -public class KStdGuiItem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KStdGuiItem(Class dummy){} - - /** - The back and forward items by default use the RTL settings for Hebrew - and Arab countries. If you want those actions to ignore the RTL value - and force 'Western' behavior instead, use the IgnoreRTL value instead. - @short The back and forward items by default use the RTL settings for Hebrew and Arab countries. - */ - public static final int UseRTL = 0; - public static final int IgnoreRTL = 1; - - public static final int Ok = 1; - public static final int Cancel = 2; - public static final int Yes = 3; - public static final int No = 4; - public static final int Discard = 5; - public static final int Save = 6; - public static final int DontSave = 7; - public static final int SaveAs = 8; - public static final int Apply = 9; - public static final int Clear = 10; - public static final int Help = 11; - public static final int Defaults = 12; - public static final int Close = 13; - public static final int Back = 14; - public static final int Forward = 15; - public static final int Print = 16; - public static final int Continue = 17; - public static final int Open = 18; - public static final int Quit = 19; - public static final int AdminMode = 20; - public static final int Reset = 21; - public static final int Delete = 22; - public static final int Insert = 23; - public static final int Configure = 24; - public static final int Find = 25; - public static final int Stop = 26; - public static final int Add = 27; - public static final int Remove = 28; - public static final int Test = 29; - public static final int Properties = 30; - public static final int Overwrite = 31; - - public KStdGuiItem() { - newKStdGuiItem(); - } - private native void newKStdGuiItem(); - public static native KGuiItem guiItem(int ui_enum); - public static native String stdItem(int ui_enum); - public static native KGuiItem ok(); - public static native KGuiItem cancel(); - public static native KGuiItem yes(); - public static native KGuiItem no(); - public static native KGuiItem insert(); - public static native KGuiItem discard(); - public static native KGuiItem save(); - public static native KGuiItem help(); - public static native KGuiItem dontSave(); - public static native KGuiItem saveAs(); - public static native KGuiItem apply(); - public static native KGuiItem clear(); - public static native KGuiItem defaults(); - public static native KGuiItem close(); - public static native KGuiItem print(); - /** - @short - */ - public static native KGuiItem properties(); - public static native KGuiItem reset(); - /** - @short - */ - public static native KGuiItem overwrite(); - /** - Returns a KGuiItem suiting for cases where code or functionality - runs under root privileges. Used in conjunction with TDEConfig Modules. - @short Returns a KGuiItem suiting for cases where code or functionality runs under root privileges. - */ - public static native KGuiItem adminMode(); - /** - Returns a "continue" item. The short name is due to "continue" being a - reserved word in the C++ language. - @short Returns a "continue" item. - */ - public static native KGuiItem cont(); - /** - Returns a "delete" item. The short name is due to "delete" being a - reserved word in the C++ language. - @short Returns a "delete" item. - */ - public static native KGuiItem del(); - public static native KGuiItem open(); - /** - Return a GUI item for a 'back' action, like Konqueror's back button. - This GUI item can optionally honor the user's setting for BiDi, so the - icon for right-to-left languages (Hebrew and Arab) has the arrow - pointing in the opposite direction. - By default the arrow points in the Western 'back' direction (i.e. - to the left). This is because usually you only want the Bidi aware - GUI item if you also want the 'forward' item. Those two are available - in the separate backAndForward() method. - @short Return a GUI item for a 'back' action, like Konqueror's back button. - */ - public static native KGuiItem back(int useBidi); - public static native KGuiItem back(); - /** - Return a GUI item for a 'forward' action, like Konqueror's forward - button. This GUI item can optionally honor the user's setting for BiDi, - so the icon for right-to-left languages (Hebrew and Arab) has the arrow - pointing in the opposite direction. - By default the arrow points in the Western 'forward' direction (i.e. - to the right). This is because usually you only want the Bidi aware - GUI item if you also want the 'back' item. Those two are available - in the separate backAndForward() method. - @short Return a GUI item for a 'forward' action, like Konqueror's forward button. - */ - public static native KGuiItem forward(int useBidi); - public static native KGuiItem forward(); - /** - Returns a "configure" item. - @short Returns a "configure" item. - */ - public static native KGuiItem configure(); - /** - Return both a back and a forward item. This function always returns - items that are aware of the Right-to-Left setting for Arab and Hebrew - locales. If you have a reason for wanting the 'Western' back/forward - buttons, please use the back() and forward() items instead. - @short Return both a back and a forward item. - */ - // TQPair<KGuiItem, KGuiItem> backAndForward(); >>>> NOT CONVERTED - public static native KGuiItem quit(); - /** - Returns a "find" item. - @short Returns a "find" item. - */ - public static native KGuiItem find(); - /** - Returns a "stop" item. - @short Returns a "stop" item. - */ - public static native KGuiItem stop(); - /** - Returns a "add" item. - @short Returns a "add" item. - */ - public static native KGuiItem add(); - /** - Returns a "remove" item. - @short Returns a "remove" item. - */ - public static native KGuiItem remove(); - /** - Returns a "test" item. - @short Returns a "test" item. - */ - public static native KGuiItem test(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KStringHandler.java b/kdejava/koala/org/kde/koala/KStringHandler.java deleted file mode 100644 index 3e271c22..00000000 --- a/kdejava/koala/org/kde/koala/KStringHandler.java +++ /dev/null @@ -1,407 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQRegExp; -import java.util.ArrayList; -import org.kde.qt.TQFontMetrics; - -/** - - This class contains utility functions for handling strings. - This class is <b>not</b> a substitute for the String class. What - I tried to do with this class is provide an easy way to - cut/slice/splice words inside sentences in whatever order desired. - While the main focus of this class are words (ie characters - separated by spaces/tabs), the two core functions here ( split() - and join() ) will function given any char to use as a separator. - This will make it easy to redefine what a 'word' means in the - future if needed. - I freely stole some of the function names from python. I also think - some of these were influenced by mIRC (yes, believe it if you will, I - used to write a LOT of scripts in mIRC). - The ranges are a fairly powerful way of getting/stripping words from - a string. These ranges function, for the large part, as they would in - python. See the word(String, String ) and remword(String, uint) functions for more detail. - This class contains no data members of its own. All strings are cut - on the fly and returned as new qstrings/qstringlists. - Quick example on how to use: - <pre> - KStringHandler kstr; - String line = "This is a test of the strings"; - cout << "1> " << kstr.word( line , "4:" ) << "\n"; - cout << "2> " << kstr.remrange( line , "2:5" ) << "\n"; - cout << "2> " << kstr.reverse( line ) << "\n"; - cout << "2> " << kstr.center( kstr.word( line , 4 ) , 15 ) << "\n"; - </pre> - and so forth. - @author Ian Zepp <icszepp@islc.net> - - @short Class for manipulating words and sentences in strings. - @see KShell - -*/ -public class KStringHandler implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KStringHandler(Class dummy){} - - public KStringHandler() { - newKStringHandler(); - } - private native void newKStringHandler(); - /** Returns a range of words from that string. - Ie: - - <li> - "0" returns the very first word - </li> - - <li> - "0:" returns the first to the last word - </li> - - <li> - "0:3" returns the first to fourth words - </li> - - <li> - ":3" returns everything up to the fourth word - </li> - If you grok python, you're set. - @param text the string to search for the words - @param range the words to return (see description) - @return the words, or an empty string if not found - - @short Returns a range of words from that string. - */ - public static native String word(String text, String range); - /** Inserts a word into the string, and returns - a new string with the word included. the first - index is zero (0). If there are not <code>pos</code> words in the original - string, the new word will be appended to the end. - @param text the original text - @param word the word to insert - @param pos the position (in words) for the new word - @return the resulting string - - @short Inserts a word into the string, and returns a new string with the word included. - */ - public static native String insword(String text, String word, int pos); - /** Replaces a word in the string, and returns - a new string with the word included. the first - index is zero (0). If there are not <code>pos</code> words in the original - string, the new word will be appended to the end. - @param text the original text - @param word the word to insert - @param pos the position (in words) for the new word - @return the resulting string - - @short Replaces a word in the string, and returns a new string with the word included. - */ - public static native String setword(String text, String word, int pos); - /** Removes a word or ranges of words from the string, - and returns a new string. The ranges definitions - follow the definitions for the word() function. - - <li> - "0" removes the very first word - </li> - - <li> - "0:" removes the first the the last word - </li> - - <li> - "0:3" removes the first to fourth words - </li> - - <li> - ":3" removes everything up to the fourth word - </li> - @param text the original text - @param range the words to remove (see description) - @return the resulting string - - @short Removes a word or ranges of words from the string, and returns a new string. - */ - public static native String remrange(String text, String range); - /** Removes a word at the given index, and returns a - new string. The first index is zero (0). - @param text the original text - @param pos the position (in words) of thw word to delete - @return the resulting string - - @short Removes a word at the given index, and returns a new string. - */ - public static native String remword(String text, int pos); - /** Removes a matching word from the string, and returns - a new string. Note that only ONE match is removed. - @param text the original text - @param word the word to remove - @return the resulting string - - @short Removes a matching word from the string, and returns a new string. - */ - public static native String remword(String text, String word); - /** Capitalizes each word in the string - "hello there" becomes "Hello There" (string) - @param text the text to capitalize - @return the resulting string - - @short Capitalizes each word in the string "hello there" becomes "Hello There" (string) - */ - public static native String capwords(String text); - /** Capitalizes each word in the list - [hello, there] becomes [Hello, There] (list) - @param list the list to capitalize - @return the resulting list - - @short Capitalizes each word in the list [hello, there] becomes [Hello, There] (list) - */ - public static native ArrayList capwords(String[] list); - /** Reverses the order of the words in a string - "hello there" becomes "there hello" (string) - @param text the text to reverse - @return the resulting string - - @short Reverses the order of the words in a string "hello there" becomes "there hello" (string) - */ - public static native String reverse(String text); - /** Reverses the order of the words in a list - [hello, there] becomes [there, hello] (list) - @param list the list to reverse - @return the resulting list - - @short Reverses the order of the words in a list [hello, there] becomes [there, hello] (list) - */ - public static native ArrayList reverse(String[] list); - /** Centers a string and returns a string at least 'width' characters - wide. - If the string is longer than the <code>width</code>, the original - string is returned. It is never truncated. - @param text the text to justify - @param width the desired width of the new string - @return the resulting string - - @short Centers a string and returns a string at least 'width' characters wide. - */ - public static native String center(String text, int width); - /** Substitute characters at the beginning of a string by "...". - @param str is the string to modify - @param maxlen is the maximum length the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters at the beginning of a string by ". - */ - public static native String lsqueeze(String str, int maxlen); - public static native String lsqueeze(String str); - /** Substitute characters at the beginning of a string by "...". Similar to - method above, except that it truncates based on pixel width rather than - the number of characters - @param name is the string to modify - @param fontMetrics is the font metrics to use to calculate character sizes - @param maxlen is the maximum length in ems the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters at the beginning of a string by ". - */ - public static native String lEmSqueeze(String name, TQFontMetrics fontMetrics, int maxlen); - public static native String lEmSqueeze(String name, TQFontMetrics fontMetrics); - /** Substitute characters at the beginning of a string by "...". Similar to - method above, except that maxlen is the width in pixels to truncate to - @param name is the string to modify - @param fontMetrics is the font metrics to use to calculate character sizes - @param maxPixels is the maximum pixel length the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters at the beginning of a string by ". - */ - public static native String lPixelSqueeze(String name, TQFontMetrics fontMetrics, int maxPixels); - /** Substitute characters at the middle of a string by "...". - @param str is the string to modify - @param maxlen is the maximum length the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters at the middle of a string by ". - */ - public static native String csqueeze(String str, int maxlen); - public static native String csqueeze(String str); - /** Substitute characters in the middle of a string by "...". Similar to - method above, except that it truncates based on pixel width rather than - the number of characters - @param name is the string to modify - @param fontMetrics is the font metrics to use to calculate character sizes - @param maxlen is the maximum length in ems the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters in the middle of a string by ". - */ - public static native String cEmSqueeze(String name, TQFontMetrics fontMetrics, int maxlen); - public static native String cEmSqueeze(String name, TQFontMetrics fontMetrics); - /** Substitute characters in the middle of a string by "...". Similar to - method above, except that maxlen is the width in pixels to truncate to - @param name is the string to modify - @param fontMetrics is the font metrics to use to calculate character sizes - @param maxPixels is the maximum pixel length the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters in the middle of a string by ". - */ - public static native String cPixelSqueeze(String name, TQFontMetrics fontMetrics, int maxPixels); - /** Substitute characters at the end of a string by "...". - @param str is the string to modify - @param maxlen is the maximum length the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters at the end of a string by ". - */ - public static native String rsqueeze(String str, int maxlen); - public static native String rsqueeze(String str); - /** Substitute characters at the end of a string by "...". Similar to - method above, except that it truncates based on pixel width rather than - the number of characters - @param name is the string to modify - @param fontMetrics is the font metrics to use to calculate character sizes - @param maxlen is the maximum length in ems the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters at the end of a string by ". - */ - public static native String rEmSqueeze(String name, TQFontMetrics fontMetrics, int maxlen); - public static native String rEmSqueeze(String name, TQFontMetrics fontMetrics); - /** Substitute characters at the end of a string by "...". Similar to - method above, except that maxlen is the width in pixels to truncate to - @param name is the string to modify - @param fontMetrics is the font metrics to use to calculate character sizes - @param maxPixels is the maximum pixel length the modified string will have - If the original string is shorter than "maxlen", it is returned verbatim - @return the modified string - - @short Substitute characters at the end of a string by ". - */ - public static native String rPixelSqueeze(String name, TQFontMetrics fontMetrics, int maxPixels); - /** - Match a filename. - @param filename is the real decoded filename (or dirname - without trailing '/'). - @param pattern is a pattern like .txt, .tar.gz, Makefile., README, etc. - Patterns with two asterisks like "*.pk" are not supported. - @return true if the given filename matches the given pattern - - @short Match a filename. - */ - public static native boolean matchFileName(String filename, String pattern); - /** - Split a String into an ArrayList in a similar fashion to the static - ArrayList function in Qt, except you can specify a maximum number - of tokens. If max is specified (!= 0) then only that number of tokens - will be extracted. The final token will be the remainder of the string. - Example: - <pre> - perlSplit("__", "some__string__for__you__here", 4) - ArrayList contains: "some", "string", "for", "you__here" - </pre> - @param sep is the string to use to delimit s. - @param s is the input string - @param max is the maximum number of extractions to perform, or 0. - @return An ArrayList containing tokens extracted from s. - - @short Split a String into an ArrayList in a similar fashion to the static ArrayList function in Qt, except you can specify a maximum number of tokens. - */ - public static native ArrayList perlSplit(String sep, String s, int max); - public static native ArrayList perlSplit(String sep, String s); - /** - Split a String into an ArrayList in a similar fashion to the static - ArrayList function in Qt, except you can specify a maximum number - of tokens. If max is specified (!= 0) then only that number of tokens - will be extracted. The final token will be the remainder of the string. - Example: - <pre> - perlSplit(' ', "tdeparts reaches the parts other parts can't", 3) - ArrayList contains: "tdeparts", "reaches", "the parts other parts can't" - </pre> - @param sep is the character to use to delimit s. - @param s is the input string - @param max is the maximum number of extractions to perform, or 0. - @return An ArrayList containing tokens extracted from s. - - @short Split a String into an ArrayList in a similar fashion to the static ArrayList function in Qt, except you can specify a maximum number of tokens. - */ - public static native ArrayList perlSplit(char sep, String s, int max); - public static native ArrayList perlSplit(char sep, String s); - /** - Split a String into an ArrayList in a similar fashion to the static - ArrayList function in Qt, except you can specify a maximum number - of tokens. If max is specified (!= 0) then only that number of tokens - will be extracted. The final token will be the remainder of the string. - Example: - <pre> - perlSplit(TQRegExp("[! ]", "Split me up ! I'm bored ! OK ?", 3) - ArrayList contains: "Split", "me", "up ! I'm bored, OK ?" - </pre> - @param sep is the regular expression to use to delimit s. - @param s is the input string - @param max is the maximum number of extractions to perform, or 0. - @return An ArrayList containing tokens extracted from s. - - @short Split a String into an ArrayList in a similar fashion to the static ArrayList function in Qt, except you can specify a maximum number of tokens. - */ - public static native ArrayList perlSplit(TQRegExp sep, String s, int max); - public static native ArrayList perlSplit(TQRegExp sep, String s); - /** - This method auto-detects URLs in strings, and adds HTML markup to them - so that richtext or HTML-enabled widgets (such as KActiveLabel) - will display the URL correctly. - @param text the string which may contain URLs - @return the resulting text - - @short This method auto-detects URLs in strings, and adds HTML markup to them so that richtext or HTML-enabled widgets (such as KActiveLabel) will display the URL correctly. - */ - public static native String tagURLs(String text); - /** - Obscure string by using a simple symmetric encryption. Applying the - function to a string obscured by this function will result in the original - string. - The function can be used to obscure passwords stored to configuration - files. Note that this won't give you any more security than preventing - that the password is directly copied and pasted. - @param str string to be obscured - @return obscured string - - @short Obscure string by using a simple symmetric encryption. - */ - public static native String obscure(String str); - /** - Guess whether a string is UTF8 encoded. - @param str the string to check - @return true if UTF8. If false, the string is probably in Local8Bit. - - @short Guess whether a string is UTF8 encoded. - */ - public static native boolean isUtf8(String str); - /** - Construct String from a c string, guessing whether it is UTF8- or - Local8Bit-encoded. - @param str the input string - @return the (hopefully correctly guessed) String representation of <code>str</code> - - @short Construct String from a c string, guessing whether it is UTF8- or Local8Bit-encoded. - */ - public static native String from8Bit(String str); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KStringListValidator.java b/kdejava/koala/org/kde/koala/KStringListValidator.java deleted file mode 100644 index 4490e950..00000000 --- a/kdejava/koala/org/kde/koala/KStringListValidator.java +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQValidator; - -/** - - This validator allows you to accept only certain or to accept all - but certain strings. - When used in rejecting mode, accepts only strings not in the - stringlist. This mode is the default and comes in handy when asking - the user for a name of some listed entity. Set the list of already - used names to prevent the user from entering duplicate names. - When used in non-rejecting mode, accepts only strings that appear - in the stringlist. Use with care! From a user's point of view this - mode is hard to grasp. - This validator can also fix strings. In rejecting mode, a number - will be appended to the string until it is Acceptable. E.g. if - "foo" and "foo 1" are in the stringlist, then fixup will change - "foo" to "foo 2", provided "foo 2" isn't in the list of forbidden - strings. - In accepting mode, when the input starts with an Acceptable - substring, truncates to the longest Acceptable string. When the - input is the start of an Acceptable string, completes to the - shortest Acceptable string. - NOTE: fixup isn't yet implemented. - @author Marc Mutz <mutz@kde.org> - - @short A TQValidator to (dis)allow certain strings. - -*/ -public class KStringListValidator extends TQValidator { - protected KStringListValidator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** Construct a new validator. - @param list The list of strings to (dis)allow. - @param rejecting Selects the validator's mode - (rejecting: true; accepting: false) - @param fixupEnabled Selects whether to fix strings or not. - @param parent Passed to lower level constructor. - @param name Passed to lower level constructor - @short Construct a new validator. - */ - public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent, String name) { - super((Class) null); - newKStringListValidator(list,rejecting,fixupEnabled,parent,name); - } - private native void newKStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent, String name); - public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent) { - super((Class) null); - newKStringListValidator(list,rejecting,fixupEnabled,parent); - } - private native void newKStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent); - public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled) { - super((Class) null); - newKStringListValidator(list,rejecting,fixupEnabled); - } - private native void newKStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled); - public KStringListValidator(String[] list, boolean rejecting) { - super((Class) null); - newKStringListValidator(list,rejecting); - } - private native void newKStringListValidator(String[] list, boolean rejecting); - public KStringListValidator(String[] list) { - super((Class) null); - newKStringListValidator(list); - } - private native void newKStringListValidator(String[] list); - public KStringListValidator() { - super((Class) null); - newKStringListValidator(); - } - private native void newKStringListValidator(); - public native int validate(StringBuffer input, int[] pos); - public native void fixup(StringBuffer input); - public native void setRejecting(boolean rejecting); - public native boolean isRejecting(); - public native void setFixupEnabled(boolean fixupEnabled); - public native boolean isFixupEnabled(); - public native void setStringList(String[] list); - public native ArrayList stringList(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSycoca.java b/kdejava/koala/org/kde/koala/KSycoca.java deleted file mode 100644 index 69172b4e..00000000 --- a/kdejava/koala/org/kde/koala/KSycoca.java +++ /dev/null @@ -1,364 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDataStream; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - Read-only SYstem COnfiguration CAche - See {@link KSycocaSignals} for signals emitted by KSycoca - @short - -*/ -public class KSycoca extends TQObject implements DCOPObjectInterface { - protected KSycoca(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Read-only database - @short Read-only database - */ - public KSycoca() { - super((Class) null); - newKSycoca(); - } - private native void newKSycoca(); - /** - This is how factories get a stream to an entry - @short - */ - public native TQDataStream findEntry(int offset, int type); - /** - @short - */ - public native TQDataStream findFactory(int id); - /** - @short - */ - public native String kfsstnd_prefixes(); - /** - @short - */ - public native String language(); - /** - The database contains all changes made _before_ this time and - _might_ contain changes made after that. - @short - */ - public native int timeStamp(); - /** - Signature that keeps track of changes to - $TDEDIR/share/services/update_tdesycoca - Touching this file causes the database to be recreated - from scratch. - @short - */ - public native int updateSignature(); - /** - stored inside sycoca. - @short - */ - public native ArrayList allResourceDirs(); - /** - @short - */ - // void addFactory(KSycocaFactory* arg1); >>>> NOT CONVERTED - /** - @return true if building (i.e. if a KBuildSycoca); - - @short - */ - public native boolean isBuilding(); - /** - @short - */ - public native void disableAutoRebuild(); - /** - internal function for receiving kded/tdebuildsycoca's signal, when the sycoca file changes - @short internal function for receiving kded/tdebuildsycoca's signal, when the sycoca file changes - */ - // void notifyDatabaseChanged(const TQStringList& arg1); >>>> NOT CONVERTED - /** - Get or create the only instance of KSycoca (read-only) - @short Get or create the only instance of KSycoca (read-only) - */ - public static native KSycoca self(); - public static native int version(); - /** - Determine relative path for a .desktop file from a full path and a resource name - @short Determine relative path for a . - */ - public static native String determineRelativePath(String _fullpath, String _resource); - /** - When you receive a "databaseChanged" signal, you can query here if - a change has occurred in a specific resource type. - @short When you receive a "databaseChanged" signal, you can query here if a change has occurred in a specific resource type. - @see TDEStandardDirs - @see #for - @see #the - @see #various - @see #resource - @see #types# - */ - public static native boolean isChanged(String type); - /** - A read error occurs. - @short A read error occurs. - */ - public static native void flagError(); - /** - Returns read error status and clears flag. - @short Returns read error status and clears flag. - */ - public static native boolean readError(); - /** - Building database - @short - */ - public KSycoca(boolean arg1) { - super((Class) null); - newKSycoca(arg1); - } - private native void newKSycoca(boolean arg1); - protected native boolean checkVersion(boolean abortOnError); - protected native boolean checkVersion(); - protected native boolean openDatabase(boolean openDummyIfNotFound); - protected native boolean openDatabase(); - protected native void closeDatabase(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Returns the object id of the DCOPObject. - @return the object's id - - @short Returns the object id of the DCOPObject. - */ - public native String objId(); - /** - Renames a dcop object, if no other with the same name exists - Use with care, all dcop signals are disconnected - @param objId the new object id - @short Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disconnected - */ - public native boolean setObjId(String objId); - /** - Dispatches a message. - Usually you want to use an IDL - compiler to automatically generate an implementation for - this function. - If this function returns false, then processDynamic() - is called. - Note to implementators: remember to call the baseclasses - implementation. It handles the functions "functions()" and - "interfaces()" which return the lists of supported functions - and interfaces, respectively. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns false for all <code>fun</code> except "functions()" and - "interfaces()". - - @short Dispatches a message. - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for process() but - you still want to dispatch some functions dynamically. - Dynamically means that methods may appear and vanish - during runtime. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short This function is of interest when you used an IDL compiler to generate the implementation for process() but you still want to dispatch some functions dynamically. - @see #process - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for functions() but - you still want to list some functions dynamically. - Dynamically means that the methods may appear and vanish - during runtime. - @return A list of the additional functions, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for functions() but you still want to list some functions dynamically. - @see #functions - */ - public native ArrayList functionsDynamic(); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for interfaces() but - you still want to list some interfaces dynamically. - Dynamically means that they may appear and vanish - during runtime. - @return A list of the additional interfaces, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for interfaces() but you still want to list some interfaces dynamically. - @see #interfaces - */ - public native ArrayList interfacesDynamic(); - /** - Returns the names of the interfaces, specific ones last. The - functions gets reimplemented by the IDL compiler. If you don't - use the IDL compiler, consider implementing this function - manually if you want your object to be easily explorable. - @return a list of interfaces - - @short Returns the names of the interfaces, specific ones last. - @see #functions - */ - public native ArrayList interfaces(); - /** - Returns the list of functions understood by the object. It gets - reimplemented by the IDL compiler. If you don't use the IDL - compiler, consider implementing this function manually if you - want your object to be easily scriptable. - Rationale: functions() allows an interpreter to do client-side - type-casting properly. - Note to implementators: remember to call the baseclasses - implementation. - @return a list of functions - - @short Returns the list of functions understood by the object. - @see #interfaces - @see #process - @see #processDynamic - @see DCOPClient#normalizeFunctionSignature - */ - public native ArrayList functions(); - /** - Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as - arguments - @param signal the signal to emit - @param data the data to send - @short Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as arguments - */ - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> - must be registered when the connection is made. - If false, the connection will be reestablished when <code>sender</code> reregisters. - In this case the connection can be made even if <code>sender</code> is not registered - at that time. - - <li> - <code>Volatile</code> is true and <code>sender</code> does not exist. - </li> - - <li> - <code>signal</code> and <code>slot</code> do not have matching arguments. - - </li> @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both <code>sender</code> & <code>signal</code> are empty. In this - case all connections related to this object in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - /** - Returns the DCOPClient responsible for making the call. - Only call this function while you are handling a DCOP call. - @return the DCOPClient responsible for making the call. - This information is only guaranteed to be correct when - entering your DCOP function. - - @short Returns the DCOPClient responsible for making the call. - */ - public native DCOPClient callingDcopClient(); - /** - @short - */ - public native void setCallingDcopClient(DCOPClient arg1); - /** - Checks whether an object with the given id is known in this process. - DCOPObjectProxy - @return true if an object with the questionable <code>objId</code> is - known in this process. This query does not ask proxies. - - @short Checks whether an object with the given id is known in this process. - */ - public static native boolean hasObject(String objId); - /** - Try to find a dcop object with the given id. - This function does not query the DCOPObjectProxy. - @param objId the object id to search - @return the DCOPObject for the id <code>objId.</code> - - @short Try to find a dcop object with the given id. - */ - public static native DCOPObjectInterface find(String objId); - /** - Tries to find an object using a partial object id. - This function is used for multicasting a DCOP message to - several objects inside a single process. - @param partialId the partial object id to search for - @return a list of DCOPObjects beginning with the string - contained in <code>partialId.</code> - - @short Tries to find an object using a partial object id. - */ - // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED - /** - Creates an object id for the TQObject <code>obj.</code> This is done - using the TQObject.name() function. - @param obj the object whose name will be used - @return the created object id - - @short Creates an object id for the TQObject <code>obj.</code> - */ - public static native String objectName(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/KSycocaEntry.java b/kdejava/koala/org/kde/koala/KSycocaEntry.java deleted file mode 100644 index d96c87cb..00000000 --- a/kdejava/koala/org/kde/koala/KSycocaEntry.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; - -/** - - Base class for all Sycoca entries. - You can't create an instance of KSycocaEntry, but it provides - the common functionality for servicetypes and services. - @short Base class for all Sycoca entries. - @see #http://developer#kde#org/documentation/library/kdeqt/trinityarch/tdesycoca#html - -*/ -public class KSycocaEntry extends TDEShared { - protected KSycocaEntry(Class dummy){super((Class) null);} - public native boolean isType(int t); - public native int sycocaType(); - /** - Default constructor - @short Default constructor - */ - /** - Restores itself from a stream. - @short - */ - /** - @return the name of this entry - - @short - */ - public native String name(); - /** - @return the path of this entry - The path can be absolute or relative. - The corresponding factory should know relative to what. - - @short - */ - public native String entryPath(); - /** - @return true if valid - - @short - */ - public native boolean isValid(); - /** - @return true if deleted - - @short - */ - public native boolean isDeleted(); - /** - @return the position of the entry in the sycoca file - - @short - */ - public native int offset(); - /** - Save ourselves to the database. Don't forget to call the parent class - first if you override this function. - @short - */ - public native void save(TQDataStream s); - /** - Load ourselves from the database. Don't call the parent class! - @short - */ - public native void load(TQDataStream arg1); - /** - Safe demarshalling functions. - @short Safe demarshalling functions. - */ - public static native void read(TQDataStream s, StringBuffer str); - public static native void read(TQDataStream s, String[] list); -} diff --git a/kdejava/koala/org/kde/koala/KSycocaSignals.java b/kdejava/koala/org/kde/koala/KSycocaSignals.java deleted file mode 100644 index aa1d3d4f..00000000 --- a/kdejava/koala/org/kde/koala/KSycocaSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDataStream; -import java.util.ArrayList; - -public interface KSycocaSignals { - /** - Connect to this to get notified when the database changes - (Usually apps showing icons do a 'refresh' to take into account the new mimetypes) - @short Connect to this to get notified when the database changes (Usually apps showing icons do a 'refresh' to take into account the new mimetypes) - */ - void databaseChanged(); -} diff --git a/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java b/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java deleted file mode 100644 index 682cb4f8..00000000 --- a/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQTextEdit; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSyntaxHighlighter; - -/** - - \brief Syntax sensitive text highlighter - @short \brief Syntax sensitive text highlighter - -*/ -public class KSyntaxHighlighter extends TQSyntaxHighlighter { - protected KSyntaxHighlighter(Class dummy){super((Class) null);} - public static final int PlainTextMode = 0; - public static final int RichTextMode = 1; - - public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode) { - super((Class) null); - newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3,mode); - } - private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode); - public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3) { - super((Class) null); - newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3); - } - private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3); - public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2) { - super((Class) null); - newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2); - } - private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2); - public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1) { - super((Class) null); - newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1); - } - private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1); - public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0) { - super((Class) null); - newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0); - } - private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0); - public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting) { - super((Class) null); - newKSyntaxHighlighter(textEdit,colorQuoting); - } - private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting); - public KSyntaxHighlighter(TQTextEdit textEdit) { - super((Class) null); - newKSyntaxHighlighter(textEdit); - } - private native void newKSyntaxHighlighter(TQTextEdit textEdit); - public native int highlightParagraph(String text, int endStateOfLastPara); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSystemTray.java b/kdejava/koala/org/kde/koala/KSystemTray.java deleted file mode 100644 index d0a818c3..00000000 --- a/kdejava/koala/org/kde/koala/KSystemTray.java +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQLabel; - -/** - - \brief %KDE System Tray Window class - This class implements system tray windows. - A tray window is a small window (typically 24x24 pixel) that docks - into the system tray in the desktop panel. It usually displays an - icon or an animated icon there. The icon represents - the application, similar to a taskbar button, but consumes less - screen space. - When the user clicks with the left mouse button on the icon, the - main application window is shown/raised and activated. With the - right mouse button, she gets a popupmenu with application specific - commands, including "Minimize/Restore" and "Quit". - Docking happens magically when calling show(). The window undocks - with either hide() or when it is destroyed. - KSystemTray inherits methods such as setPixmap() and setMovie() to - specify an icon or movie (animated icon) respectively. It is - designed to be usable "as is", without the need to subclass it. In - case you need to provide something special (such as an additional - popupmenu on a click with the left mouse button), you can subclass - anyway, of course. - Having an icon on the system tray is a useful technique for - daemon-like applications that may run for some time without user - interaction but have to be there immediately when the user needs - them. Examples are kppp, kisdn, kscd, kmix or knotes. With kppp and - kisdn, the docked icon even provides real-time information about - the network status. - See {@link KSystemTraySignals} for signals emitted by KSystemTray - @author Matthias Ettrich <ettrich@kde.org> - - @short \brief %KDE System Tray Window class - -*/ -public class KSystemTray extends TQLabel { - protected KSystemTray(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a KSystemTray widget just like any other widget. - The parent widget <code>parent</code> has a special meaning: - Besides owning the tray window, the parent widget will - dissappear from taskbars when it is iconified while the tray - window is visible. This is the desired behavior. After all, - the tray window <code>is</code> the parent's taskbar icon. - Furthermore, the parent widget is shown or raised respectively - when the user clicks on the trray window with the left mouse - button. - @short Construct a KSystemTray widget just like any other widget. - */ - public KSystemTray(TQWidget parent, String name) { - super((Class) null); - newKSystemTray(parent,name); - } - private native void newKSystemTray(TQWidget parent, String name); - public KSystemTray(TQWidget parent) { - super((Class) null); - newKSystemTray(parent); - } - private native void newKSystemTray(TQWidget parent); - public KSystemTray() { - super((Class) null); - newKSystemTray(); - } - private native void newKSystemTray(); - /** - Access to the context menu. This makes it easy to add new items - to it. - @short Access to the context menu. - */ - public native TDEPopupMenu contextMenu(); - /** - Easy access to the actions in the context menu - Currently includes KStdAction.Quit and minimizeRestore - @short Easy access to the actions in the context menu Currently includes KStdAction.Quit and minimizeRestore - */ - public native TDEActionCollection actionCollection(); - /** - Changes the tray's icon. - @short Changes the tray's icon. - */ - public native void setPixmap(TQPixmap icon); - /** - Changes the tray's text description (which can be seen e.g. in the systray - configuration dialog). The default value is TDEAboutData.programName(). - @short Changes the tray's text description (which can be seen e. - */ - public native void setCaption(String title); - /** - Toggles the state of the window associated with this system tray icon (hides it, - shows it or activates it depending on the window state). The default implementation - of mousePressEvent() calls toggleActive() when the tray icon is left-clicked, use - it when reimplementing mousePressEvent(). - @short Toggles the state of the window associated with this system tray icon (hides it, shows it or activates it depending on the window state). - */ - public native void toggleActive(); - /** - Activates the window associated with this system tray icon, regardless of its current state. - @short Activates the window associated with this system tray icon, regardless of its current state. - */ - public native void setActive(); - /** - Hides the window associated with this system tray icon, regardless of its current state. - @short Hides the window associated with this system tray icon, regardless of its current state. - */ - public native void setInactive(); - /** - Loads an icon <code>icon</code> using the icon loader class of the given instance <code>instance.</code> - The icon is applied the panel effect as it should only be used to be shown in the - system tray. - It's commonly used in the form : systray.setPixmap( systray.loadIcon( "mysystray" ) ); - @short Loads an icon <code>icon</code> using the icon loader class of the given instance <code>instance.</code> - */ - public static native TQPixmap loadIcon(String icon, TDEInstanceInterface instance); - public static native TQPixmap loadIcon(String icon); - /** - Reimplemented to provide the standard show/raise behavior - for the parentWidget() and the context menu. - Feel free to reimplement this if you need something special. - @short Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu. - */ - protected native void mousePressEvent(TQMouseEvent arg1); - /** - Reimplemented to provide the standard show/raise behavior - for the parentWidget() and the context menu. - Feel free to reimplement this if you need something special. - @short Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu. - */ - protected native void mouseReleaseEvent(TQMouseEvent arg1); - /** - Makes it easy to adjust some menu items right before the - context menu becomes visible. - @short Makes it easy to adjust some menu items right before the context menu becomes visible. - */ - protected native void contextMenuAboutToShow(TDEPopupMenu menu); - /** - Reimplemented for internal reasons. - @short Reimplemented for internal reasons. - */ - public native void showEvent(TQShowEvent arg1); - /** - Reimplemented for internal reasons. - @short Reimplemented for internal reasons. - */ - protected native void enterEvent(TQEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSystemTraySignals.java b/kdejava/koala/org/kde/koala/KSystemTraySignals.java deleted file mode 100644 index ebaedf90..00000000 --- a/kdejava/koala/org/kde/koala/KSystemTraySignals.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KSystemTraySignals { - /** - Emitted when quit is selected in the menu. If you want to perform any other - action than to close the main application window please connect to this signal. - @short Emitted when quit is selected in the menu. - */ - void quitSelected(); -} diff --git a/kdejava/koala/org/kde/koala/KTabBar.java b/kdejava/koala/org/kde/koala/KTabBar.java deleted file mode 100644 index 8ddaab6c..00000000 --- a/kdejava/koala/org/kde/koala/KTabBar.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQTab; -import org.kde.qt.TQTabBar; - -/** - - See {@link KTabBarSignals} for signals emitted by KTabBar - @short - -*/ -public class KTabBar extends TQTabBar { - protected KTabBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KTabBar(TQWidget parent, String name) { - super((Class) null); - newKTabBar(parent,name); - } - private native void newKTabBar(TQWidget parent, String name); - public KTabBar(TQWidget parent) { - super((Class) null); - newKTabBar(parent); - } - private native void newKTabBar(TQWidget parent); - public KTabBar() { - super((Class) null); - newKTabBar(); - } - private native void newKTabBar(); - public native void setTabEnabled(int arg1, boolean arg2); - public native TQColor tabColor(int arg1); - public native void setTabColor(int arg1, TQColor arg2); - public native int insertTab(TQTab arg1, int index); - public native int insertTab(TQTab arg1); - public native void removeTab(TQTab arg1); - public native void setTabReorderingEnabled(boolean enable); - public native boolean isTabReorderingEnabled(); - public native void setHoverCloseButton(boolean arg1); - public native boolean hoverCloseButton(); - public native void setHoverCloseButtonDelayed(boolean arg1); - public native boolean hoverCloseButtonDelayed(); - public native void setTabCloseActivatePrevious(boolean arg1); - public native boolean tabCloseActivatePrevious(); - protected native void mouseDoubleClickEvent(TQMouseEvent e); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseMoveEvent(TQMouseEvent e); - protected native void mouseReleaseEvent(TQMouseEvent e); - protected native void wheelEvent(TQWheelEvent e); - protected native void dragMoveEvent(TQDragMoveEvent e); - protected native void dropEvent(TQDropEvent e); - protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4); - protected native void closeButtonClicked(); - protected native void onLayoutChange(); - protected native void enableCloseButton(); - protected native void activateDragSwitchTab(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTabBarSignals.java b/kdejava/koala/org/kde/koala/KTabBarSignals.java deleted file mode 100644 index c28024af..00000000 --- a/kdejava/koala/org/kde/koala/KTabBarSignals.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQTab; - -public interface KTabBarSignals { - void contextMenu(int arg1, TQPoint arg2); - void mouseDoubleClick(int arg1); - void mouseMiddleClick(int arg1); - void initiateDrag(int arg1); - void testCanDecode(TQDragMoveEvent e, boolean accept); - void receivedDropEvent(int arg1, TQDropEvent arg2); - void moveTab(int arg1, int arg2); - void closeRequest(int arg1); - void wheelDelta(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KTabCtl.java b/kdejava/koala/org/kde/koala/KTabCtl.java deleted file mode 100644 index 3158bbde..00000000 --- a/kdejava/koala/org/kde/koala/KTabCtl.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWidget; - -/** - - Tabbed dialog with extended features. - KTabCtl is very similar to TQTabDialog, with the following differences: - - <li> - To avoid confusion, the API is almost identical with TQTabDialog. - </li> - - <li> - Does not create any buttons, therefore KTabCtl is not limited - to dialog boxes. You can use it whereever you want. - </li> - - <li> - emits the signal tabSelected(int pagenumber) when the user - selects one of the tabs. This gives you the chance to update the - widget contents of a single page. The signal is emitted _before_ the - page is shown. This is very useful if the contents of some widgets - on page A depend on the contents of some other widgets on page B. - </li> - See {@link KTabCtlSignals} for signals emitted by KTabCtl - @author Alexander Sanda (alex@darkstar.ping.at) - - @version $Id$ - - @short Tabbed dialog with extended features. - -*/ -public class KTabCtl extends TQWidget { - protected KTabCtl(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KTabCtl(TQWidget parent, String name) { - super((Class) null); - newKTabCtl(parent,name); - } - private native void newKTabCtl(TQWidget parent, String name); - public KTabCtl(TQWidget parent) { - super((Class) null); - newKTabCtl(parent); - } - private native void newKTabCtl(TQWidget parent); - public KTabCtl() { - super((Class) null); - newKTabCtl(); - } - private native void newKTabCtl(); - public native void show(); - public native void setFont(TQFont font); - public native void setTabFont(TQFont font); - public native void addTab(TQWidget arg1, String arg2); - public native boolean isTabEnabled(String arg1); - public native void setTabEnabled(String arg1, boolean arg2); - public native void setBorder(boolean arg1); - public native void setShape(int shape); - public native TQSize sizeHint(); - protected native void paintEvent(TQPaintEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void setSizes(); - protected native TQRect getChildRect(); - protected native void showTab(int i); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTabCtlSignals.java b/kdejava/koala/org/kde/koala/KTabCtlSignals.java deleted file mode 100644 index 96c03726..00000000 --- a/kdejava/koala/org/kde/koala/KTabCtlSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KTabCtlSignals { - void tabSelected(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KTabWidget.java b/kdejava/koala/org/kde/koala/KTabWidget.java deleted file mode 100644 index 7a23c6c4..00000000 --- a/kdejava/koala/org/kde/koala/KTabWidget.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQTab; -import org.kde.qt.TQTabWidget; - -/** - - \brief A widget containing multiple tabs - See {@link KTabWidgetSignals} for signals emitted by KTabWidget - @short \brief A widget containing multiple tabs - -*/ -public class KTabWidget extends TQTabWidget { - protected KTabWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KTabWidget(TQWidget parent, String name, int f) { - super((Class) null); - newKTabWidget(parent,name,f); - } - private native void newKTabWidget(TQWidget parent, String name, int f); - public KTabWidget(TQWidget parent, String name) { - super((Class) null); - newKTabWidget(parent,name); - } - private native void newKTabWidget(TQWidget parent, String name); - public KTabWidget(TQWidget parent) { - super((Class) null); - newKTabWidget(parent); - } - private native void newKTabWidget(TQWidget parent); - public KTabWidget() { - super((Class) null); - newKTabWidget(); - } - private native void newKTabWidget(); - public native void setTabColor(TQWidget arg1, TQColor color); - public native TQColor tabColor(TQWidget arg1); - public native boolean hoverCloseButtonDelayed(); - public native boolean tabCloseActivatePrevious(); - public native boolean automaticResizeTabs(); - public native void setTabBarHidden(boolean hide); - public native boolean isTabBarHidden(); - public native void insertTab(TQWidget arg1, String arg2, int index); - public native void insertTab(TQWidget arg1, String arg2); - public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); - public native void insertTab(TQWidget child, TQIconSet iconset, String label); - public native void insertTab(TQWidget arg1, TQTab arg2, int index); - public native void insertTab(TQWidget arg1, TQTab arg2); - public native void changeTab(TQWidget arg1, String arg2); - public native void changeTab(TQWidget child, TQIconSet iconset, String label); - public native String label(int arg1); - public native String tabLabel(TQWidget arg1); - public native void setTabLabel(TQWidget arg1, String arg2); - public native void moveTab(int arg1, int arg2); - public native void removePage(TQWidget w); - public native void setTabReorderingEnabled(boolean enable); - public native void setHoverCloseButton(boolean enable); - public native void setHoverCloseButtonDelayed(boolean delayed); - public native void setTabCloseActivatePrevious(boolean previous); - public native void setAutomaticResizeTabs(boolean enable); - protected native void mouseDoubleClickEvent(TQMouseEvent e); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void dragMoveEvent(TQDragMoveEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - protected native int tabBarWidthForMaxChars(int maxLength); - protected native void wheelEvent(TQWheelEvent e); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void receivedDropEvent(int arg1, TQDropEvent arg2); - protected native void initiateDrag(int arg1); - protected native void contextMenu(int arg1, TQPoint arg2); - protected native void mouseDoubleClick(int arg1); - protected native void mouseMiddleClick(int arg1); - protected native void closeRequest(int arg1); - protected native void wheelDelta(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTabWidgetSignals.java b/kdejava/koala/org/kde/koala/KTabWidgetSignals.java deleted file mode 100644 index c5f8e741..00000000 --- a/kdejava/koala/org/kde/koala/KTabWidgetSignals.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQTab; - -public interface KTabWidgetSignals { - void testCanDecode(TQDragMoveEvent e, boolean accept); - void receivedDropEvent(TQDropEvent arg1); - void receivedDropEvent(TQWidget arg1, TQDropEvent arg2); - void initiateDrag(TQWidget arg1); - void contextMenu(TQPoint arg1); - void contextMenu(TQWidget arg1, TQPoint arg2); - void movedTab(int arg1, int arg2); - void mouseDoubleClick(); - void mouseDoubleClick(TQWidget arg1); - void mouseMiddleClick(); - void mouseMiddleClick(TQWidget arg1); - void closeRequest(TQWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KTar.java b/kdejava/koala/org/kde/koala/KTar.java deleted file mode 100644 index 8e42f824..00000000 --- a/kdejava/koala/org/kde/koala/KTar.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - A class for reading / writing (optionally compressed) tar archives. - KTar allows you to read and write tar archives, including those - that are compressed using gzip or bzip2. - @author Torben Weis <weis@kde.org>, David Faure <faure@kde.org> - - @short A class for reading / writing (optionally compressed) tar archives. - -*/ -public class KTar extends KArchive { - protected KTar(Class dummy){super((Class) null);} - /** - Creates an instance that operates on the given filename - using the compression filter associated to given mimetype. - @param filename is a local path (e.g. "/home/weis/myfile.tgz") - @param mimetype "application/x-gzip" or "application/x-bzip2" - Do not use application/x-tgz or similar - you only need to - specify the compression layer ! If the mimetype is omitted, it - will be determined from the filename. - @short Creates an instance that operates on the given filename using the compression filter associated to given mimetype. - */ - public KTar(String filename, String mimetype) { - super((Class) null); - newKTar(filename,mimetype); - } - private native void newKTar(String filename, String mimetype); - public KTar(String filename) { - super((Class) null); - newKTar(filename); - } - private native void newKTar(String filename); - /** - Creates an instance that operates on the given device. - The device can be compressed (KFilterDev) or not (TQFile, etc.). - @warning Do not assume that giving a TQFile here will decompress the file, - in case it's compressed! - @param dev the device to read from. If the source is compressed, the - TQIODevice must take care of decompression - @short Creates an instance that operates on the given device. - */ - public KTar(TQIODeviceInterface dev) { - super((Class) null); - newKTar(dev); - } - private native void newKTar(TQIODeviceInterface dev); - /** - The name of the tar file, as passed to the constructor - Null if you used the TQIODevice constructor. - @return the name of the file, or null if unknown - - @short The name of the tar file, as passed to the constructor Null if you used the TQIODevice constructor. - */ - public native String fileName(); - /** - Special function for setting the "original file name" in the gzip header, - when writing a tar.gz file. It appears when using in the "file" command, - for instance. Should only be called if the underlying device is a KFilterDev! - @param fileName the original file name - @short Special function for setting the "original file name" in the gzip header, when writing a tar. - */ - public native void setOrigFileName(String fileName); - public native boolean writeSymLink(String name, String target, String user, String group, long perm, int atime, int mtime, int ctime); - public native boolean writeDir(String name, String user, String group); - public native boolean writeDir(String name, String user, String group, long perm, int atime, int mtime, int ctime); - public native boolean prepareWriting(String name, String user, String group, int size); - public native boolean prepareWriting(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime); - public native boolean doneWriting(int size); - /** - Opens the archive for reading. - Parses the directory listing of the archive - and creates the KArchiveDirectory/KArchiveFile entries. - @param mode the mode of the file - @short Opens the archive for reading. - */ - protected native boolean openArchive(int mode); - protected native boolean closeArchive(); - protected native boolean prepareWriting_impl(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime); - protected native boolean writeDir_impl(String name, String user, String group, long perm, int atime, int mtime, int ctime); - protected native boolean writeSymLink_impl(String name, String target, String user, String group, long perm, int atime, int mtime, int ctime); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTempDir.java b/kdejava/koala/org/kde/koala/KTempDir.java deleted file mode 100644 index a6918c62..00000000 --- a/kdejava/koala/org/kde/koala/KTempDir.java +++ /dev/null @@ -1,124 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDir; -import org.kde.qt.QtSupport; - -/** - - The KTempDir class creates a unique directory for temporary use. - This is especially useful if you need to create a directory in a world - writable directory like /tmp without being vulnerable to so called - symlink attacks. - KDE applications, however, shouldn't create files or directories in /tmp in the first - place but use the "tmp" resource instead. The standard KTempDir - constructor will do that by default. - To create a temporary directory that starts with a certain name - in the "tmp" resource, one should use: - KTempDir(locateLocal("tmp", prefix)); - KTempFile does not create any missing directories, but locateLocal() does. - See also TDEStandardDirs - @author Joseph Wenninger <jowenn@kde.org> - - @short The KTempDir class creates a unique directory for temporary use. - -*/ -public class KTempDir implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KTempDir(Class dummy){} - - /** - Creates a temporary directory with the name: - \p \<directoryPrefix\>\<six letters\> - The default <pre>directoryPrefix</pre> is "$TDEHOME/tmp-$HOST/appname" - @param directoryPrefix the prefix of the file name, or - null for the default value - @param mode the file permissions, - almost always in octal. The first digit selects permissions for - the user who owns the file: read (4), write (2), and execute - (1); the second selects permissions for other users in the - file's group, with the same values; and the fourth for other - users not in the file's group, with the same values. - @short Creates a temporary directory with the name: \p \<directoryPrefix\>\<six letters\> - */ - public KTempDir(String directoryPrefix, int mode) { - newKTempDir(directoryPrefix,mode); - } - private native void newKTempDir(String directoryPrefix, int mode); - public KTempDir(String directoryPrefix) { - newKTempDir(directoryPrefix); - } - private native void newKTempDir(String directoryPrefix); - public KTempDir() { - newKTempDir(); - } - private native void newKTempDir(); - /** - Turn automatic deletion on or off. - Automatic deletion is off by default. - @param autoDelete true to turn automatic deletion on - @short Turn automatic deletion on or off. - */ - public native void setAutoDelete(boolean autoDelete); - /** - Returns the status of the directory creation based on errno. (see errno.h) - 0 means OK. - You should check the status after object creation to check - whether a directory could be created in the first place. - @return the errno status, 0 means ok - - @short Returns the status of the directory creation based on errno. - */ - public native int status(); - /** - Returns the full path and name of the directory, including a trailing '/'. - @return The name of the directory, or null if creating the - directory has failed or the directory has been unlinked - - @short Returns the full path and name of the directory, including a trailing '/'. - */ - public native String name(); - /** - Returns the TQDir of the temporary directory. - @return TQDir directory information of the directory or 0 if their is no managed directory - The caller has to free the pointer open for writing to the - - @short Returns the TQDir of the temporary directory. - */ - public native TQDir qDir(); - /** - Deletes the directory recursively - @short Deletes the directory recursively - */ - public native void unlink(); - /** - @return true if a temporary directory has successfully been created and not been unlinked yet - - @short - */ - public native boolean existing(); - /** - Creates a "random" directory with specified mode - @param directoryPrefix to use when creating temp directory - (the rest is generated randomly) - @param mode directory permissions - @return bool true upon sucess - - @short Creates a "random" directory with specified mode - */ - protected native boolean create(String directoryPrefix, int mode); - /** - Sets the errno value - @param error the value to set the status to. - @short Sets the errno value - */ - protected native void setError(int error); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTempFile.java b/kdejava/koala/org/kde/koala/KTempFile.java deleted file mode 100644 index 1d312b94..00000000 --- a/kdejava/koala/org/kde/koala/KTempFile.java +++ /dev/null @@ -1,184 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQFile; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQTextStream; - -/** - - The KTempFile class creates and opens a unique file for temporary use. - This is especially useful if you need to create a file in a world - writable directory like /tmp without being vulnerable to so called - symlink attacks. - KDE applications, however, shouldn't create files in /tmp in the first - place but use the "tmp" resource instead. The standard KTempFile - constructor will do that by default. - To create a temporary file that starts with a certain name - in the "tmp" resource, one should use: - KTempFile(locateLocal("tmp", prefix), extension); - KTempFile does not create any missing directories, but locateLocal() does. - See also TDEStandardDirs - @author Waldo Bastian <bastian@kde.org> - - @short The KTempFile class creates and opens a unique file for temporary use. - -*/ -public class KTempFile implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KTempFile(Class dummy){} - - /** - Creates a temporary file with the name: - \<filePrefix>\<six letters>\<fileExtension> - The default <code>filePrefix</code> is "$TDEHOME/tmp-$HOST/appname/" - The default <code>fileExtension</code> is ".tmp" - @param filePrefix the prefix of the file name, or null - for the default value - @param fileExtension the extension of the prefix, or null for the - default value - @param mode the file permissions - @short Creates a temporary file with the name: \<filePrefix>\<six letters>\<fileExtension> - */ - public KTempFile(String filePrefix, String fileExtension, int mode) { - newKTempFile(filePrefix,fileExtension,mode); - } - private native void newKTempFile(String filePrefix, String fileExtension, int mode); - public KTempFile(String filePrefix, String fileExtension) { - newKTempFile(filePrefix,fileExtension); - } - private native void newKTempFile(String filePrefix, String fileExtension); - public KTempFile(String filePrefix) { - newKTempFile(filePrefix); - } - private native void newKTempFile(String filePrefix); - public KTempFile() { - newKTempFile(); - } - private native void newKTempFile(); - /** - Turn automatic deletion on or off. - Automatic deletion is off by default. - @param autoDelete true to turn automatic deletion on - @short Turn automatic deletion on or off. - */ - public native void setAutoDelete(boolean autoDelete); - /** - Returns the status of the file based on errno. (see errno.h) - 0 means OK. - You should check the status after object creation to check - whether a file could be created in the first place. - You may check the status after closing the file to verify that - the file has indeed been written correctly. - @return the errno status, 0 means ok - - @short Returns the status of the file based on errno. - */ - public native int status(); - /** - Returns the full path and name of the file. - Note that in most circumstances the file needs to be closed - before you use it by name. - In particular, if another process or software part needs to write data - to the file based on the filename, the file should be closed before doing - so. Otherwise the act of closing the file later on may cause the file to - get truncated to a zero-size, resulting in an unexpected loss of the data. - In some cases there is only interest in the filename itself but where the - actual presence of a file with such name is a problem. In that case the - file should first be both closed and unlinked. Such usage is not recommended - since it may lead to the kind of symlink vulnerabilities that the KTempFile - design attempts to prevent. - @return The name of the file, or null if opening the - file has failed or the file has been unlinked already. - - @short Returns the full path and name of the file. - */ - public native String name(); - /** - An integer file descriptor open for writing to the file - @return The file descriptor, or a negative number if opening - the file failed - - @short An integer file descriptor open for writing to the file - */ - public native int handle(); - /** - Returns the FILE of the temporary file. - @return FILE* stream open for writing to the file, or 0 - if opening the file failed - - @short Returns the FILE of the temporary file. - */ - // FILE* fstream(); >>>> NOT CONVERTED - /** - Returns the TQTextStream for writing. - @return TQTextStream open for writing to the file, or 0 - if opening the file failed - - @short Returns the TQTextStream for writing. - */ - public native TQTextStream textStream(); - /** - Returns a TQDataStream for writing. - @return TQDataStream open for writing to the file, or 0 - if opening the file failed - - @short Returns a TQDataStream for writing. - */ - public native TQDataStream dataStream(); - /** - Returns a TQFile. - @return A TQFile open for writing to the file, or 0 if - opening the file failed. - - @short Returns a TQFile. - */ - public native TQFile file(); - /** - Unlinks the file from the directory. The file is - deleted once the last reader/writer closes it. - @short Unlinks the file from the directory. - */ - public native void unlink(); - /** - Flushes file to disk (fsync). - If you want to be as sure as possible that the file data has - actually been physically stored on disk you need to call sync(). - See status() for details about errors. - @return true if successful, or false if an error has occurred. - - @short Flushes file to disk (fsync). - */ - public native boolean sync(); - /** - Closes the file. - See status() for details about errors. - @return true if successful, or false if an error has occurred. - - @short Closes the file. - */ - public native boolean close(); - /** - Constructor used by KSaveFile - @short Constructor used by KSaveFile - */ - public KTempFile(boolean arg1) { - newKTempFile(arg1); - } - private native void newKTempFile(boolean arg1); - /** - Create function used internally by KTempFile and KSaveFile - @short - */ - protected native boolean create(String filePrefix, String fileExtension, int mode); - protected native void setError(int error); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTextBrowser.java b/kdejava/koala/org/kde/koala/KTextBrowser.java deleted file mode 100644 index 605cdaf9..00000000 --- a/kdejava/koala/org/kde/koala/KTextBrowser.java +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQTextBrowser; - -/** - - An extended TQTextBrowser. - By default it will - invoke the system mailer or the system browser when a link is - activated, or it can emit the signal urlClick() or mailClick() - when a link is activated. - \image html ktextbrowser.png "KDE Text Browser" - See {@link KTextBrowserSignals} for signals emitted by KTextBrowser - @author Espen Sand (espensa@online.no) - - @short Extended TQTextBrowser. - -*/ -public class KTextBrowser extends TQTextBrowser { - protected KTextBrowser(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @param parent Parent of the widget. - @param name Widget name. - @param notifyClick <code>true</code> causes signals to be emitted. - @short Constructor. - */ - public KTextBrowser(TQWidget parent, String name, boolean notifyClick) { - super((Class) null); - newKTextBrowser(parent,name,notifyClick); - } - private native void newKTextBrowser(TQWidget parent, String name, boolean notifyClick); - public KTextBrowser(TQWidget parent, String name) { - super((Class) null); - newKTextBrowser(parent,name); - } - private native void newKTextBrowser(TQWidget parent, String name); - public KTextBrowser(TQWidget parent) { - super((Class) null); - newKTextBrowser(parent); - } - private native void newKTextBrowser(TQWidget parent); - public KTextBrowser() { - super((Class) null); - newKTextBrowser(); - } - private native void newKTextBrowser(); - /** - Decide whether a click on a link should be handled internally - or if a signal should be emitted. - @param notifyClick <code>true</code> causes signals to be emitted. - @short Decide whether a click on a link should be handled internally or if a signal should be emitted. - */ - public native void setNotifyClick(boolean notifyClick); - /** - Returns whether a click on a link should be handled internally - or if a signal should be emitted. - @short Returns whether a click on a link should be handled internally or if a signal should be emitted. - */ - public native boolean isNotifyClick(); - /** - Reimplemented to NOT set the source but to do the special handling. - Do not call. - @short Reimplemented to NOT set the source but to do the special handling. - */ - public native void setSource(String name); - /** - Makes sure Key_Escape is ignored - @short Makes sure Key_Escape is ignored - */ - protected native void keyPressEvent(TQKeyEvent e); - /** - Make sure we use our own hand cursor - @short Make sure we use our own hand cursor - */ - protected native void viewportMouseMoveEvent(TQMouseEvent e); - /** - Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll) - @short Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll) - */ - protected native void contentsWheelEvent(TQWheelEvent e); - /** - Re-implemented for internal reasons. API not affected. - See TQLineEdit.createPopupMenu(). - @short Re-implemented for internal reasons. - */ - protected native TQPopupMenu createPopupMenu(TQPoint pos); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTextBrowserSignals.java b/kdejava/koala/org/kde/koala/KTextBrowserSignals.java deleted file mode 100644 index 3bf40d8a..00000000 --- a/kdejava/koala/org/kde/koala/KTextBrowserSignals.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface KTextBrowserSignals { - /** - Emitted when a mail link has been activated and the widget has - been configured to emit the signal. - @param name The destination name. It is null at the moment. - @param address The destination address. - @short Emitted when a mail link has been activated and the widget has been configured to emit the signal. - */ - void mailClick(String name, String address); - /** - Emitted if mailClick() is not emitted and the widget has been - configured to emit the signal. - @param url The destination address. - @short Emitted if mailClick() is not emitted and the widget has been configured to emit the signal. - */ - void urlClick(String url); -} diff --git a/kdejava/koala/org/kde/koala/KTextEdit.java b/kdejava/koala/org/kde/koala/KTextEdit.java deleted file mode 100644 index 41cee113..00000000 --- a/kdejava/koala/org/kde/koala/KTextEdit.java +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPoint; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPalette; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQTextEdit; - -/** - - This is just a little subclass of TQTextEdit, implementing - some standard KDE features, like Cursor auto-hiding, configurable - wheelscrolling (fast-scroll or zoom) and deleting of entire - words with Ctrl-Backspace or Ctrl-Delete. - Basic rule: whenever you want to use TQTextEdit, use KTextEdit! - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A KDE'ified TQTextEdit. - @see org.kde.qt.TQTextEdit - -*/ -public class KTextEdit extends TQTextEdit { - protected KTextEdit(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KTextEdit object. See TQTextEdit.TQTextEdit - for details. - @short Constructs a KTextEdit object. - */ - public KTextEdit(String text, String context, TQWidget parent, String name) { - super((Class) null); - newKTextEdit(text,context,parent,name); - } - private native void newKTextEdit(String text, String context, TQWidget parent, String name); - public KTextEdit(String text, String context, TQWidget parent) { - super((Class) null); - newKTextEdit(text,context,parent); - } - private native void newKTextEdit(String text, String context, TQWidget parent); - public KTextEdit(String text, String context) { - super((Class) null); - newKTextEdit(text,context); - } - private native void newKTextEdit(String text, String context); - public KTextEdit(String text) { - super((Class) null); - newKTextEdit(text); - } - private native void newKTextEdit(String text); - /** - Constructs a KTextEdit object. See TQTextEdit.TQTextEdit - for details. - @short Constructs a KTextEdit object. - */ - public KTextEdit(TQWidget parent, String name) { - super((Class) null); - newKTextEdit(parent,name); - } - private native void newKTextEdit(TQWidget parent, String name); - public KTextEdit(TQWidget parent) { - super((Class) null); - newKTextEdit(parent); - } - private native void newKTextEdit(TQWidget parent); - public KTextEdit() { - super((Class) null); - newKTextEdit(); - } - private native void newKTextEdit(); - /** - Reimplemented to set a proper "deactivated" background color. - @short Reimplemented to set a proper "deactivated" background color. - */ - public native void setReadOnly(boolean readOnly); - /** - Reimplemented for tracking custom palettes. - @short Reimplemented for tracking custom palettes. - */ - public native void setPalette(TQPalette palette); - /** - Turns spell checking for this text edit on or off. - @short Turns spell checking for this text edit on or off. - @see #checkSpellingEnabled - */ - public native void setCheckSpellingEnabled(boolean check); - /** - Returns true if spell checking is enabled for this text edit. - @ see setCheckSpellingEnabled() - @short Returns true if spell checking is enabled for this text edit. - */ - public native boolean checkSpellingEnabled(); - public native void highLightWord(int length, int pos); - /** - Create a modal dialog to check the spelling. This slot will not return - until spell checking has been completed. - @short Create a modal dialog to check the spelling. - */ - public native void checkSpelling(); - /** - Reimplemented to catch "delete word" key events. - @short Reimplemented to catch "delete word" key events. - */ - protected native void keyPressEvent(TQKeyEvent arg1); - /** - Reimplemented to instantiate a KDictSpellingHighlighter, if - spellchecking is enabled. - @short Reimplemented to instantiate a KDictSpellingHighlighter, if spellchecking is enabled. - */ - protected native void focusInEvent(TQFocusEvent arg1); - /** - Reimplemented to allow fast-wheelscrolling with Ctrl-Wheel - or zoom. - @short Reimplemented to allow fast-wheelscrolling with Ctrl-Wheel or zoom. - */ - protected native void contentsWheelEvent(TQWheelEvent arg1); - /** - Deletes a word backwards from the current cursor position, - if available. - @short Deletes a word backwards from the current cursor position, if available. - */ - protected native void deleteWordBack(); - /** - Deletes a word forwards from the current cursor position, - if available. - @short Deletes a word forwards from the current cursor position, if available. - */ - protected native void deleteWordForward(); - /** - Reimplemented from TQTextEdit to add spelling related items - when appropriate. - @short Reimplemented from TQTextEdit to add spelling related items when appropriate. - */ - protected native TQPopupMenu createPopupMenu(TQPoint pos); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTimeWidget.java b/kdejava/koala/org/kde/koala/KTimeWidget.java deleted file mode 100644 index e69d1e7c..00000000 --- a/kdejava/koala/org/kde/koala/KTimeWidget.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Date; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This widget can be used to display or allow user selection of time. - \image html ktimewidget.png "KDE Time Widget" - See {@link KTimeWidgetSignals} for signals emitted by KTimeWidget - @author Hans Petter Bieker <bieker@kde.org> - - @short A time selection widget. - -*/ -public class KTimeWidget extends TQWidget { - protected KTimeWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a time selection widget. - @short Constructs a time selection widget. - */ - public KTimeWidget(TQWidget parent, String name) { - super((Class) null); - newKTimeWidget(parent,name); - } - private native void newKTimeWidget(TQWidget parent, String name); - public KTimeWidget(TQWidget parent) { - super((Class) null); - newKTimeWidget(parent); - } - private native void newKTimeWidget(TQWidget parent); - public KTimeWidget() { - super((Class) null); - newKTimeWidget(); - } - private native void newKTimeWidget(); - /** - Constructs a time selection widget with the initial time set to - <code>time.</code> - @short Constructs a time selection widget with the initial time set to <code>time.</code> - */ - public KTimeWidget(Date time, TQWidget parent, String name) { - super((Class) null); - newKTimeWidget(time,parent,name); - } - private native void newKTimeWidget(Date time, TQWidget parent, String name); - public KTimeWidget(Date time, TQWidget parent) { - super((Class) null); - newKTimeWidget(time,parent); - } - private native void newKTimeWidget(Date time, TQWidget parent); - public KTimeWidget(Date time) { - super((Class) null); - newKTimeWidget(time); - } - private native void newKTimeWidget(Date time); - /** - Returns the currently selected time. - @short Returns the currently selected time. - */ - public native Date time(); - /** - Changes the selected time to <code>time.</code> - @short Changes the selected time to <code>time.</code> - */ - public native void setTime(Date time); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTimeWidgetSignals.java b/kdejava/koala/org/kde/koala/KTimeWidgetSignals.java deleted file mode 100644 index 4f36020a..00000000 --- a/kdejava/koala/org/kde/koala/KTimeWidgetSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Date; -import org.kde.qt.TQWidget; - -public interface KTimeWidgetSignals { - /** - Emitted whenever the time of the widget - is changed, either with setTime() or via user selection. - @short Emitted whenever the time of the widget is changed, either with setTime() or via user selection. - */ - void valueChanged(Date time); -} diff --git a/kdejava/koala/org/kde/koala/KTipDatabase.java b/kdejava/koala/org/kde/koala/KTipDatabase.java deleted file mode 100644 index 56087877..00000000 --- a/kdejava/koala/org/kde/koala/KTipDatabase.java +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A database for tips-of-the-day. - This class provides convenient access to a database containing - tips of the day. The database is stored in a XML file and parsed - when a KTipDatabase object is created. - Once the file is read in, you can access the tips to display - them in the tip of the day dialog. - The state of the tipdialog is saved to the applications's config file - in the group "TipOfDay" with a boolean entry "RunOnStart". Check this value - if you want to allow the user to enable/disable the tipdialog in the - application's configuration dialog. - @author Matthias Hoelzer-Kluepfel <mhk@kde.org> - - @short A database for tips-of-the-day. - -*/ -public class KTipDatabase implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KTipDatabase(Class dummy){} - - /** - This constructor reads in the tips from a file with the given name. If - no name is given, a file called 'application-name/tips' will be loaded. - @param tipFile The absolute path to the tips file. - @short This constructor reads in the tips from a file with the given name. - */ - public KTipDatabase(String tipFile) { - newKTipDatabase(tipFile); - } - private native void newKTipDatabase(String tipFile); - public KTipDatabase() { - newKTipDatabase(); - } - private native void newKTipDatabase(); - /** - This constructor takes a list of files that will be merged. This constructor - essentially behaves like the one above. It returns when tipFiles is empty. - @param tipFiles A list of absolute paths to the tips file - @short This constructor takes a list of files that will be merged. - */ - public KTipDatabase(String[] tipFiles) { - newKTipDatabase(tipFiles); - } - private native void newKTipDatabase(String[] tipFiles); - /** - Returns the current tip. - @short Returns the current tip. - */ - public native String tip(); - /** - The next tip will become the current one. - @short The next tip will become the current one. - */ - public native void nextTip(); - /** - The previous tip will become the current one. - @short The previous tip will become the current one. - */ - public native void prevTip(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KTipDialog.java b/kdejava/koala/org/kde/koala/KTipDialog.java deleted file mode 100644 index 83d3b493..00000000 --- a/kdejava/koala/org/kde/koala/KTipDialog.java +++ /dev/null @@ -1,97 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - - A Tip-of-the-Day dialog. - This dialog class presents a tip-of-the-day. - @author Matthias Hoelzer-Kluepfel <mhk@caldera.de> - - @short A Tip-of-the-Day dialog. - -*/ -public class KTipDialog extends KDialog { - protected KTipDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a tip dialog. - @param db TipDatabase that should be used by the TipDialog. - @param parent Parent widget of TipDialog. - @param name The object name. - @short Construct a tip dialog. - */ - public KTipDialog(KTipDatabase db, TQWidget parent, String name) { - super((Class) null); - newKTipDialog(db,parent,name); - } - private native void newKTipDialog(KTipDatabase db, TQWidget parent, String name); - public KTipDialog(KTipDatabase db, TQWidget parent) { - super((Class) null); - newKTipDialog(db,parent); - } - private native void newKTipDialog(KTipDatabase db, TQWidget parent); - public KTipDialog(KTipDatabase db) { - super((Class) null); - newKTipDialog(db); - } - private native void newKTipDialog(KTipDatabase db); - /** - Shows a tip. - This static method is all that is needed to add a tip-of-the-day - dialog to an application. It will pop up the dialog, unless the - user has asked that the dialog does not pop up on startup. - Note that you probably want an item in the help menu calling - this method with force=true. - @param parent Parent widget of TipDialog. - @param tipFile The name of the tip file. It has be relative to the "data" - resource of TDEStandardDirs - @param force If true, the dialog is show, even when the users - disabled it. - @short Shows a tip. - */ - public static native void showTip(TQWidget parent, String tipFile, boolean force); - public static native void showTip(TQWidget parent, String tipFile); - public static native void showTip(TQWidget parent); - /** - Shows a tip - This method behaves essentially as the one above, but expects a list of tips - @param parent Parent widget of TipDialog. - @param tipFiles A List of tip files. Each has be relative to the "data" - resource of TDEStandardDirs - @param force If true, the dialog is show, even when the users - disabled it. - @short Shows a tip - */ - public static native void showMultiTip(TQWidget parent, String[] tipFiles, boolean force); - public static native void showMultiTip(TQWidget parent, String[] tipFiles); - /** - Shows a tip. - This methods calls showTip() with the applications main window as parent. - @short Shows a tip. - */ - public static native void showTip(String tipFile, boolean force); - public static native void showTip(String tipFile); - public static native void showTip(); - /** - Toggles the start behavior. - Normally, the user can disable the display of the tip in the dialog. - This is just a way to change this setting from outside. - @short Toggles the start behavior. - */ - public static native void setShowOnStart(boolean show); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURIFilter.java b/kdejava/koala/org/kde/koala/KURIFilter.java deleted file mode 100644 index a3aa5ce1..00000000 --- a/kdejava/koala/org/kde/koala/KURIFilter.java +++ /dev/null @@ -1,174 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Manages the filtering of URIs. - The intention of this plugin class is to allow people to extend the - functionality of KURL without modifying it directly. This way KURL will - remain a generic parser capable of parsing any generic URL that adheres - to specifications. - The KURIFilter class applies a number of filters to a URI and returns the - filtered version whenever possible. The filters are implemented using - plugins to provide easy extensibility of the filtering mechanism. New - filters can be added in the future by simply inheriting from - KURIFilterPlugin and implementing the KURIFilterPlugin.filterURI - method. - Use of this plugin-manager class is straight forward. Since it is a - singleton object, all you have to do is obtain an instance by doing - <code>KURIFilter</code>.self() and use any of the public member functions to - preform the filtering. - <b></b>xample - To simply filter a given string: - <pre> - boolean filtered = KURIFilter.self().filterURI( "kde.org" ); - </pre> - You can alternatively use a KURL: - <pre> - KURL url = "kde.org"; - boolean filtered = KURIFilter.self().filterURI( url ); - </pre> - If you have a constant string or a constant URL, simply invoke the - corresponding function to obtain the filtered string or URL instead - of a booleanean flag: - <pre> - String u = KURIFilter.self().filteredURI( "kde.org" ); - </pre> - You can also restrict the filter(s) to be used by supplying - the name of the filter(s) to use. By defualt all available - filters will be used. To use specific filters, add the names - of the filters you want to use to an ArrayList and invoke - the appropriate filtering function. The examples below show - the use of specific filters. The first one uses a single - filter called tdeshorturifilter while the second example uses - multiple filters: - <pre> - String text = "kde.org"; - boolean filtered = KURIFilter.self().filterURI( text, "tdeshorturifilter" ); - </pre> - <pre> - ArrayList list; - list << "tdeshorturifilter" << "localdomainfilter"; - boolean filtered = KURIFilter.self().filterURI( text, list ); - </pre> - KURIFilter also allows richer data exchange through a simple - meta-object called <code>KURIFilterData.</code> Using this meta-object - you can find out more information about the URL you want to - filter. See KURIFilterData for examples and details. - @short Filters a given URL into its proper format whenever possible. - -*/ -public class KURIFilter implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KURIFilter(Class dummy){} - - /** - Filters the URI given by the object URIFilterData. - The given URL is filtered based on the specified list of filters. - If the list is empty all available filters would be used. - @param data object that contains the URI to be filtered. - @param filters specify the list of filters to be used. - @return a boolean indicating whether the URI has been changed - - @short Filters the URI given by the object URIFilterData. - */ - public native boolean filterURI(KURIFilterData data, String[] filters); - public native boolean filterURI(KURIFilterData data); - /** - Filters the URI given by the URL. - The given URL is filtered based on the specified list of filters. - If the list is empty all available filters would be used. - @param uri the URI to filter. - @param filters specify the list of filters to be used. - @return a boolean indicating whether the URI has been changed - - @short Filters the URI given by the URL. - */ - public native boolean filterURI(KURL uri, String[] filters); - public native boolean filterURI(KURL uri); - /** - Filters a string representing a URI. - The given URL is filtered based on the specified list of filters. - If the list is empty all available filters would be used. - @param uri The URI to filter. - @param filters specify the list of filters to be used. - @return a boolean indicating whether the URI has been changed - - @short Filters a string representing a URI. - */ - public native boolean filterURI(StringBuffer uri, String[] filters); - public native boolean filterURI(StringBuffer uri); - /** - Returns the filtered URI. - The given URL is filtered based on the specified list of filters. - If the list is empty all available filters would be used. - @param uri The URI to filter. - @param filters specify the list of filters to be used. - @return the filtered URI or null if it cannot be filtered - - @short Returns the filtered URI. - */ - public native KURL filteredURI(KURL uri, String[] filters); - public native KURL filteredURI(KURL uri); - /** - Return a filtered string representation of a URI. - The given URL is filtered based on the specified list of filters. - If the list is empty all available filters would be used. - @param uri the URI to filter. - @param filters specify the list of filters to be used. - @return the filtered URI or null if it cannot be filtered - - @short Return a filtered string representation of a URI. - */ - public native String filteredURI(String uri, String[] filters); - public native String filteredURI(String uri); - /** - Return an iterator to iterate over all loaded - plugins. - @return a plugin iterator. - - @short Return an iterator to iterate over all loaded plugins. - */ - // TQPtrListIterator<KURIFilterPlugin> pluginsIterator(); >>>> NOT CONVERTED - /** - Return a list of the names of all loaded plugins. - @return an ArrayList of plugin names - - @short Return a list of the names of all loaded plugins. - */ - public native ArrayList pluginNames(); - /** - Returns an instance of KURIFilter. - @short Returns an instance of KURIFilter. - */ - public static native KURIFilter self(); - /** - A protected constructor. - This constructor creates a KURIFilter and - initializes all plugins it can find by invoking - loadPlugins. - @short A protected constructor. - */ - public KURIFilter() { - newKURIFilter(); - } - private native void newKURIFilter(); - /** - Loads all allowed plugins. - This function loads all filters that have not - been disbled. - @short Loads all allowed plugins. - */ - protected native void loadPlugins(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURIFilterData.java b/kdejava/koala/org/kde/koala/KURIFilterData.java deleted file mode 100644 index f74e035b..00000000 --- a/kdejava/koala/org/kde/koala/KURIFilterData.java +++ /dev/null @@ -1,284 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A basic message object used for exchanging filtering - information between the filter plugins and the application - requesting the filtering service. - Use this object if you require a more detailed information - about the URI you want to filter. Any application can create - an instance of this class and send it to KURIFilter to - have the plugins fill out all possible information about the - URI. - <b></b>xample - <pre> - String text = "kde.org"; - KURIFilterData d = text; - boolean filtered = KURIFilter.self().filter( d ); - cout << "URL: " << text.latin1() << endl - << "Filtered URL: " << d.uri().url().latin1() << endl - << "URI Type: " << d.uriType() << endl - << "Was Filtered: " << filtered << endl; - </pre> - The above code should yield the following output: - <pre> - URI: kde.org - Filtered URI: http://kde.org - URI Type: 0 <== means NET_PROTOCOL - Was Filtered: 1 <== means the URL was successfully filtered - </pre> - @author Dawit Alemayehu <adawit at kde.org> - - @short A message object for exchanging filtering URI info. - -*/ -public class KURIFilterData implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KURIFilterData(Class dummy){} - - /** - Describes the type of the URI that was filtered. - Here is a brief description of the types: - - <li> - NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - </li> - - <li> - LOCAL_FILE - A local file whose executable flag is not set - </li> - - <li> - LOCAL_DIR - A local directory - </li> - - <li> - EXECUTABLE - A local file whose executable flag is set - </li> - - <li> - HELP - A man or info page - </li> - - <li> - SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - </li> - - <li> - BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - </li> - - <li> - ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - does not exist in that system ) - </li> - - <li> - UNKNOWN - A URI that is not identified. Default value when - a KURIFilterData is first created. - - </li> @short Describes the type of the URI that was filtered. - */ - public static final int NET_PROTOCOL = 0; - public static final int LOCAL_FILE = 1; - public static final int LOCAL_DIR = 2; - public static final int EXECUTABLE = 3; - public static final int HELP = 4; - public static final int SHELL = 5; - public static final int BLOCKED = 6; - public static final int ERROR = 7; - public static final int UNKNOWN = 8; - - /** - Default constructor. - Creates a URIFilterData object. - @short Default constructor. - */ - public KURIFilterData() { - newKURIFilterData(); - } - private native void newKURIFilterData(); - /** - Creates a URIFilterData object from the given URL. - @param url is the URL to be filtered. - @short Creates a URIFilterData object from the given URL. - */ - public KURIFilterData(KURL url) { - newKURIFilterData(url); - } - private native void newKURIFilterData(KURL url); - /** - Creates a URIFilterData object from the given string. - @param url is the string to be filtered. - @short Creates a URIFilterData object from the given string. - */ - public KURIFilterData(String url) { - newKURIFilterData(url); - } - private native void newKURIFilterData(String url); - /** - Copy constructor. - Creates a URIFilterData object from another - URI filter data object. - @param data the uri filter data to be copied. - @short Copy constructor. - */ - public KURIFilterData(KURIFilterData data) { - newKURIFilterData(data); - } - private native void newKURIFilterData(KURIFilterData data); - /** - Returns the filtered or the original URL. - This function returns the filtered url if one - of the plugins successfully filtered the original - URL. Otherwise, it returns the original URL. - See hasBeenFiltered() and - @return the filtered or original url. - - @short Returns the filtered or the original URL. - */ - public native KURL uri(); - /** - Returns an error message. - This functions returns the error message set - by the plugin whenever the uri type is set to - KURIFilterData.ERROR. Otherwise, it returns - a null. - @return the error message or a NULL when there is none. - - @short Returns an error message. - */ - public native String errorMsg(); - /** - Returns the URI type. - This method always returns KURIFilterData.UNKNOWN - if the given URL was not filtered. - @return the type of the URI - - @short Returns the URI type. - */ - public native int uriType(); - /** - Sets the URL to be filtered. - Use this function to set the string to be - filtered when you construct an empty filter - object. - @param url the string to be filtered. - @short Sets the URL to be filtered. - */ - public native void setData(String url); - /** - Same as above except the argument is a URL. - Use this function to set the string to be - filtered when you construct an empty filter - object. - @param url the URL to be filtered. - @short Same as above except the argument is a URL. - */ - public native void setData(KURL url); - /** - Sets the absolute path to be used whenever the supplied - data is a relative local URL. - NOTE: This function should only be used for local resources, - i.e. the "file:/" protocol. It is useful for specifying the - absolute path in cases where the actual URL might be relative. - meta object. If deriving the path from a KURL, make sure you - set the argument for this function to the result of calling - path () instead of url (). - @param abs_path the abolute path to the local resource. - @return true if absolute path is successfully set. Otherwise, false. - - @short Sets the absolute path to be used whenever the supplied data is a relative local URL. - */ - public native boolean setAbsolutePath(String abs_path); - /** - Returns the absolute path if one has already been set. - @return the absolute path, or null - - @short Returns the absolute path if one has already been set. - @see #hasAbsolutePath - */ - public native String absolutePath(); - /** - Checks whether the supplied data had an absolute path. - @return true if the supplied data has an absolute path - - @short Checks whether the supplied data had an absolute path. - @see #absolutePath - */ - public native boolean hasAbsolutePath(); - /** - Returns the command line options and arguments for a - local resource when present. - @return options and arguments when present, otherwise null - - @short Returns the command line options and arguments for a local resource when present. - */ - public native String argsAndOptions(); - /** - Checks whether the current data is a local resource with - command line options and arguments. - @return true if the current data has command line options and arguments - - @short Checks whether the current data is a local resource with command line options and arguments. - */ - public native boolean hasArgsAndOptions(); - /** - Returns the name of the icon that matches - the current filtered URL. - NOTE that this function will return a NULL - string by default and when no associated icon - is found. - @return the name of the icon associated with the resource, - or null if not found - - @short Returns the name of the icon that matches the current filtered URL. - */ - public native String iconName(); - /** - Check whether the provided uri is executable or not. - Setting this to false ensures that typing the name of - an executable does not start that application. This is - useful in the location bar of a browser. The default - value is true. - @short Check whether the provided uri is executable or not. - */ - public native void setCheckForExecutables(boolean check); - /** - @return true if the filters should attempt to check whether the - supplied uri is an executable. False otherwise. - - @short - */ - public native boolean checkForExecutables(); - /** - @return the string as typed by the user, before any URL processing is done - - @short - */ - public native String typedString(); - /** - Initializes the KURIFilterData on construction. - @param url the URL to initialize the object with - @short Initializes the KURIFilterData on construction. - */ - protected native void init(KURL url); - /** - Initializes the KURIFilterData on construction. - @param url the URL to initialize the object with - @short Initializes the KURIFilterData on construction. - */ - protected native void init(String url); - protected native void init(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURIFilterPlugin.java b/kdejava/koala/org/kde/koala/KURIFilterPlugin.java deleted file mode 100644 index 3cb26f26..00000000 --- a/kdejava/koala/org/kde/koala/KURIFilterPlugin.java +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - Base class for URI filter plugins. - This class applies a single filter to a URI. All plugins designed - to provide URI filtering service should inherit from this abstract - class and provide a concrete implementation. - All inheriting classes need to implement the pure function - filterURI. - @short Abstract class for URI filter plugins. - -*/ -public class KURIFilterPlugin extends TQObject { - protected KURIFilterPlugin(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a filter plugin with a given name and - priority. - @param parent the parent object, or 0 for no parent - @param name the name of the plugin, or 0 for no name - @param pri the priority of the plugin. - @short Constructs a filter plugin with a given name and priority. - */ - /** - Returns the filter's name. - @return A string naming the filter. - - @short Returns the filter's name. - */ - public native String name(); - /** - Returns the filter's priority. - Each filter has an assigned priority, a float from 0 to 1. Filters - with the lowest priority are first given a chance to filter a URI. - @return The priority of the filter. - - @short Returns the filter's priority. - */ - public native double priority(); - /** - Filters a URI. - @param data the URI data to be filtered. - @return A boolean indicating whether the URI has been changed. - - @short Filters a URI. - */ - public native boolean filterURI(KURIFilterData data); - /** - Creates a configuration module for the filter. - It is the responsibility of the caller to delete the module - once it is not needed anymore. - @return A configuration module, 0 if the filter isn't configurable. - - @short Creates a configuration module for the filter. - */ - public native TDECModule configModule(TQWidget arg1, String arg2); - /** - Returns the name of the configuration module for the filter. - @return the name of a configuration module or null if none. - - @short Returns the name of the configuration module for the filter. - */ - public native String configName(); -} diff --git a/kdejava/koala/org/kde/koala/KURL.java b/kdejava/koala/org/kde/koala/KURL.java deleted file mode 100644 index e1abee7c..00000000 --- a/kdejava/koala/org/kde/koala/KURL.java +++ /dev/null @@ -1,1341 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQUrlInterface; -import java.util.ArrayList; -import org.kde.qt.TQUrl; - -/** - - @brief Represents and parses a URL - A prototypical URL looks like: - @code - protocol://user:password@hostname:port/path/to/file.ext#reference - @endcode - KURL handles escaping of URLs. This means that the specification - of a full URL will differ from the corresponding string that would specify a - local file or directory in file-operations like fopen. This is because an URL - doesn't allow certain characters and escapes them. - For examle: - - '#' . "%23" - (In a URL the hash-character @c '#' is used to specify a "reference", i.e. - the position within a document) - - space . "%20" - The constructor KURL(String) expects a string properly escaped, - or at least non-ambiguous. - For instance a local file or directory <tt>"/bar/#foo#"</tt> would have the - URL <tt>"file:///bar/%23foo%23"</tt>. - If you have the absolute path and need the URL-escaping you should create - KURL via the default-constructor and then call setPath(String): - @code - KURL kurl; - kurl.setPath( "/bar/#foo#" ); - String url = kurl.url(); // . "file:///bar/%23foo%23" - @endcode - If you have the URL of a local file or directory and need the absolute path, - you would use path(). - @code - KURL url( "file:///bar/%23foo%23" ); - ... - if ( url.isLocalFile() ) - String path = url.path(); // . "/bar/#foo#" - @endcode - The other way round: if the user can enter a string, that can be either a - path or a URL, then you need to use KURL.fromPathOrURL() to build a KURL. - This must also be considered, when you have separated directory and file - strings and need to put them together. - While you can simply concatenate normal path strings, you must take care if - the directory-part is already an escaped URL. - (This might be needed if the user specifies a relative path, and your - program supplies the rest from elsewhere.) - Wrong: - @code - String dirUrl = "file:///bar/"; - String fileName = "#foo#"; - String invalidURL = dirUrl + fileName; // . "file:///bar/#foo#" won't behave like you would expect. - @endcode - Instead you should use addPath(). - Right: - @code - KURL url( "file:///bar/" ); - String fileName = "#foo#"; - url.addPath( fileName ); - String validURL = url.url(); // . "file:///bar/%23foo%23" - @endcode - Also consider that some URLs contain the password, but this shouldn't be - visible. Your program should use prettyURL() every time it displays a - URL, whether in the GUI or in debug output or... - @code - KURL url( "ftp://name:password@ftp.faraway.org/bar/%23foo%23"); - String visibleURL = url.prettyURL(); // . "ftp://name@ftp.faraway.org/bar/%23foo%23" - @endcode - Note that prettyURL() doesn't change the character escapes (like <tt>"%23"</tt>). - Otherwise the URL would be invalid and the user wouldn't be able to use it in another - context. - KURL has some restrictions regarding the path - encoding. KURL works internally with the decoded path and - and encoded query. For example, - @code - http://localhost/cgi-bin/test%20me.pl?cmd=Hello%20you - @endcode - would result in a decoded path <tt>"/cgi-bin/test me.pl"</tt> - and in the encoded query <tt>"?cmd=Hello%20you"</tt>. - Since path is internally always encoded you may <b>not</b> use - <tt>"%00"</tt> in the path, although this is OK for the query. - @author Torben Weis <weis@kde.org> - - @short @brief Represents and parses a URL - -*/ -public class KURL implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KURL(Class dummy){} - - /** - Flags to choose how file: URLs are treated when creating their String - representation with prettyURL(int,AdjustementFlags) - However it is recommended to use pathOrURL() instead of this variant of prettyURL() - @short Flags to choose how file: URLs are treated when creating their String representation with prettyURL(int,AdjustementFlags) - */ - public static final int NoAdjustements = 0; - public static final int StripFileProtocol = 1; - - /** - Defines the type of URI we are processing. - @short Defines the type of URI we are processing. - */ - public static final int Auto = 0; - public static final int Invalid = 1; - public static final int RawURI = 2; - public static final int URL = 3; - public static final int Mailto = 4; - - /** - Options for queryItems() - @short Options for queryItems() - */ - public static final int CaseInsensitiveKeys = 1; - - /** - @brief Constructs an empty URL - The created instance will also be invalid, see isValid() - @short @brief Constructs an empty URL - */ - public KURL() { - newKURL(); - } - private native void newKURL(); - /** - @brief Usual constructor, to construct from a string - @warning It is dangerous to feed UNIX filenames into this function, - this will work most of the time but not always. - For example <tt>"/home/Torben%20Weis"</tt> will be considered a URL - pointing to the file <tt>"/home/Torben Weis"</tt> instead - of to the file <tt>"/home/Torben%20Weis"</tt>. - This means that if you have a usual UNIX like path you should not use - this constructor. Instead use fromPathOrURL() - @param url a URL, not a filename. If the URL does not have a protocol - part, @c "file:" is assumed - @param encoding_hint MIB of original encoding of URL. - See TQTextCodec.mibEnum() - @short @brief Usual constructor, to construct from a string - @see #fromPathOrURL - */ - public KURL(String url, int encoding_hint) { - newKURL(url,encoding_hint); - } - private native void newKURL(String url, int encoding_hint); - public KURL(String url) { - newKURL(url); - } - private native void newKURL(String url); - /** - @brief Copy constructor - @param u the KURL to copy - @short @brief Copy constructor - */ - public KURL(KURL u) { - newKURL(u); - } - private native void newKURL(KURL u); - /** - @brief Constructor taking a Qt URL - Converts from a Qt URL. - @param u the TQUrl - @short @brief Constructor taking a Qt URL - */ - public KURL(TQUrlInterface u) { - newKURL(u); - } - private native void newKURL(TQUrlInterface u); - /** - @brief Constructor allowing relative URLs - @warning It is dangerous to feed UNIX filenames into this function, - this will work most of the time but not always. - For example <tt>"/home/Torben%20Weis"</tt> will be considered a URL - pointing to the file <tt>"/home/Torben Weis"</tt> instead - of to the file <tt>"/home/Torben%20Weis"</tt>. - This means that if you have a usual UNIX like path you should not use - this constructor. Instead use fromPathOrURL() - @param _baseurl The base url. - @param _rel_url A relative or absolute URL. - If this is an absolute URL then <code>_baseurl</code> will be ignored. - If this is a relative URL it will be combined with <code>_baseurl.</code> - Note that <code>_rel_url</code> should be encoded too, in any case. - So do NOT pass a path here (use setPath() or addPath() or - fromPathOrURL() instead) - @param encoding_hint MIB of original encoding of URL. - See TQTextCodec.mibEnum() - @short @brief Constructor allowing relative URLs - @see #fromPathOrURL - */ - public KURL(KURL _baseurl, String _rel_url, int encoding_hint) { - newKURL(_baseurl,_rel_url,encoding_hint); - } - private native void newKURL(KURL _baseurl, String _rel_url, int encoding_hint); - public KURL(KURL _baseurl, String _rel_url) { - newKURL(_baseurl,_rel_url); - } - private native void newKURL(KURL _baseurl, String _rel_url); - /** - @brief Returns the protocol for the URL - Examples for a protocol string are @c "file", @c "http", etc. but also - @c "mailto:" and other pseudo protocols. - @return the protocol of the URL, does not include the colon. If the - URL is malformed, @c null will be returned - - @short @brief Returns the protocol for the URL - @see #setProtocol - @see #isValid - */ - public native String protocol(); - /** - @brief Sets the protocol for the URL - Examples for a protocol string are @c "file", @c "http", etc. but also - @c "mailto:" and other pseudo protocols. - @param _txt the new protocol of the URL (without colon) - @short @brief Sets the protocol for the URL - @see #protocol - */ - public native void setProtocol(String _txt); - /** - @brief Returns the URI processing mode for the URL - @return the URI processing mode set for this URL - - @short @brief Returns the URI processing mode for the URL - @see URIMode - @see #uriModeForProtocol - */ - public native int uriMode(); - /** - @brief Returns the decoded user name (login, user id, etc) included in - the URL - @return the user name or @c null if there is no user name - - @short @brief Returns the decoded user name (login, user id, etc) included in the URL - @see #setUser - @see #hasUser - */ - public native String user(); - /** - @brief Sets the user name (login, user id, etc) to include in the URL - Special characters in the user name will appear encoded in the URL. - If there is a password associated with the user, it can be set using - setPass(). - @param _txt the name of the user or <code>null</code> to remove the user - @short @brief Sets the user name (login, user id, etc) to include in the URL - @see #user - @see #hasUser - @see #hasPass - */ - public native void setUser(String _txt); - /** - @brief Tests if this URL has a user name included in it - @return @c true if the URL has an non-empty user name - - @short @brief Tests if this URL has a user name included in it - @see #user - @see #setUser - @see #hasPass - */ - public native boolean hasUser(); - /** - @brief Returns the decoded password (corresponding to user()) included - in the URL - @note a password can only appear in a URL string if you also set - a user, see setUser(). - @return the password or @c null if it does not exist - - @short @brief Returns the decoded password (corresponding to user()) included in the URL - @see #setPass - @see #hasPass - @see #hasUser - */ - public native String pass(); - /** - @brief Sets the password (corresponding to user()) to include in the URL - Special characters in the password will appear encoded in the URL. - @note a password can only appear in a URL string if you also set - a user, see setUser(). - @param _txt the password to set or <code>null</code> to remove the password - @short @brief Sets the password (corresponding to user()) to include in the URL - @see #pass - @see #hasPass - @see #hasUser - */ - public native void setPass(String _txt); - /** - @brief Tests if this URL has a password included in it - @note a password can only appear in a URL string if you also set - a user, see setUser(). - @return @c true if there is a non-empty password set - - @short @brief Tests if this URL has a password included in it - @see #pass - @see #setPass - @see #hasUser - */ - public native boolean hasPass(); - /** - @brief Returns the decoded hostname included in the URL - @return the name of the host or @c null if no host is set - - @short @brief Returns the decoded hostname included in the URL - @see #setHost - @see #hasHost - */ - public native String host(); - /** - @brief Sets the hostname to include in the URL - Special characters in the hostname will appear encoded in the URL. - @param _txt the new name of the host or null to remove the host - @short @brief Sets the hostname to include in the URL - @see #host - @see #hasHost - */ - public native void setHost(String _txt); - /** - @brief Tests if this URL has a hostname included in it - @return @c true if the URL has a non-empty host - - @short @brief Tests if this URL has a hostname included in it - @see #host - @see #setHost - */ - public native boolean hasHost(); - /** - @brief Returns the port number included in the URL - @return the port number or @c 0 if there is no port number specified in - the URL - - @short @brief Returns the port number included in the URL - @see #setPort - @see #host - */ - public native short port(); - /** - @brief Sets the port number to include in the URL - @param _p the new port number or <code>0</code> to have no port number - @short @brief Sets the port number to include in the URL - @see #port - @see #setHost - */ - public native void setPort(short _p); - /** - @brief Returns the current decoded path - This does <b>not</b> include the query. - @return the path of the URL (without query), or @c null if no - path is set - - @short @brief Returns the current decoded path - @see #path(int) - @see #setPath - @see #hasPath - */ - public native String path(); - /** - @brief Returns the current decoded path - This does <b>not</b> include the query, see query() for accessing it. - The <code>_trailing</code> parameter allows to ensure the existance or absence of - the last (trailing) @c '/' character in the path. - If the URL has no path, then no @c '/' is added anyway. - And on the other side: if the path is just @c "/", then this character - won't be stripped. - Reason: <tt>"ftp://weis@host"</tt> means something completely different - than <tt>"ftp://weis@host/"</tt>. - So adding or stripping the '/' would really alter the URL, while - <tt>"ftp://host/path"</tt> and <tt>"ftp://host/path/"</tt> mean the same - directory. - @param _trailing May be ( @c -1, <code>0</code>, @c +1 ). @c -1 strips a trailing - @c '/', @c +1 adds a trailing @c '/' if there is none yet - and <code>0</code> returns the path unchanged - @return the path of the URL (without query), or @c null if no - path is set - - @short @brief Returns the current decoded path - @see #path - @see #setPath - @see #hasPath - @see #adjustPath - */ - public native String path(int _trailing); - /** - @brief Sets the decoded path of the URL - This does <b>not</b> changed the query, see setQuery() for that. - The <code>path</code> is considered to be decoded, i.e. characters not allowed in - path, for example @c '?' will be encoded and does not indicate the - beginning of the query part. Something that might look encoded, - like @c "%3f" will not become decoded. - @param path the new, decoded, path or <code>null</code> to remove the path - @short @brief Sets the decoded path of the URL - @see #path - @see #path(int) - @see #hasPath - */ - public native void setPath(String path); - /** - @brief Tests if this URL has a path included in it - @return @c true if there is a non-empty path - - @short @brief Tests if this URL has a path included in it - @see #path - @see #setPath - */ - public native boolean hasPath(); - /** - @brief Resolves @c "." and @c ".." components in path - Some servers seem not to like the removal of extra @c '/' - even though it is against the specification in RFC 2396. - @param cleanDirSeparator if <code>true</code>, occurrences of consecutive - directory separators (e.g. <tt>"/foo//bar"</tt>) are cleaned up as - well - @short @brief Resolves @c ". - @see #hasPath - @see #adjustPath - */ - public native void cleanPath(boolean cleanDirSeparator); - public native void cleanPath(); - /** - @brief Adds or removes a trailing slash to/from the path - The <code>_trailing</code> parameter allows to ensure the existance or absence of - the last (trailing) @c '/' character in the path. - If the URL has no path, then no @c '/' is added anyway. - And on the other side: if the path is just @c "/", then this character - won't be stripped. - Reason: <tt>"ftp://weis@host"</tt> means something completely different - than <tt>"ftp://weis@host/"</tt>. - So adding or stripping the '/' would really alter the URL, while - <tt>"ftp://host/path"</tt> and <tt>"ftp://host/path/"</tt> mean the same - directory. - @param _trailing May be ( @c -1, <code>0</code>, @c +1 ). @c -1 strips a trailing - @c '/', @c +1 adds a trailing @c '/' if there is none yet - and <code>0</code> returns the path unchanged - @short @brief Adds or removes a trailing slash to/from the path - @see #hasPath - @see #cleanPath - */ - public native void adjustPath(int _trailing); - /** - @brief Sets both path and query of the URL in their encoded form - This is useful for HTTP. It looks first for @c '?' and decodes then, - see setEncodedPath(). - The encoded path is the concatenation of the current path and the query. - @param _txt the new encoded path and encoded query - @param encoding_hint MIB of original encoding of <code>_txt</code> . - See TQTextCodec.mibEnum() - @short @brief Sets both path and query of the URL in their encoded form - @see #encodedPathAndQuery - @see #setPath - @see #setQuery - */ - public native void setEncodedPathAndQuery(String _txt, int encoding_hint); - public native void setEncodedPathAndQuery(String _txt); - /** - @brief Sets the (already encoded) path of the URL - @param _txt the new encoded path - @param encoding_hint MIB of original encoding of <code>_txt</code> . - See TQTextCodec.mibEnum() - @short @brief Sets the (already encoded) path of the URL - @see #setEncodedPathAndQuery - @see #setPath - */ - public native void setEncodedPath(String _txt, int encoding_hint); - public native void setEncodedPath(String _txt); - /** - @brief Returns the encoded path and the query - The <code>_trailing</code> parameter allows to ensure the existance or absence of - the last (trailing) @c '/' character in the path. - If the URL has no path, then no @c '/' is added anyway. - And on the other side: if the path is just @c "/", then this character - won't be stripped. - Reason: <tt>"ftp://weis@host"</tt> means something completely different - than <tt>"ftp://weis@host/"</tt>. - So adding or stripping the '/' would really alter the URL, while - <tt>"ftp://host/path"</tt> and <tt>"ftp://host/path/"</tt> mean the same - directory. - @param _trailing May be ( @c -1, <code>0</code>, @c +1 ). @c -1 strips a trailing - @c '/', @c +1 adds a trailing @c '/' if there is none yet - and <code>0</code> returns the path unchanged - @param _no_empty_path if set to <code>true</code> then an empty path is substituted - by @c "/" - @param encoding_hint MIB of desired encoding of URL. - See TQTextCodec.mibEnum() - @return the concatenation of the encoded path , @c '?' and the - encoded query - - @short @brief Returns the encoded path and the query - @see #setEncodedPathAndQuery - @see #path - @see #query - */ - public native String encodedPathAndQuery(int _trailing, boolean _no_empty_path, int encoding_hint); - public native String encodedPathAndQuery(int _trailing, boolean _no_empty_path); - public native String encodedPathAndQuery(int _trailing); - public native String encodedPathAndQuery(); - /** - @brief Sets the encoded query of the URL - The query should start with a @c '?'. If it doesn't @c '?' is prepended. - @param _txt this is considered to be encoded. This has a good reason: - the query may contain the @c '0' character - @param encoding_hint MIB of the encoding. Reserved, should be <code>0</code> . - See TQTextCodec.mibEnum() - @short @brief Sets the encoded query of the URL - @see #query - */ - public native void setQuery(String _txt, int encoding_hint); - public native void setQuery(String _txt); - /** - @brief Returns the encoded query of the URL - The query may contain the @c '0' character. - If a query is present it always starts with a @c '?'. - A single @c '?' means an empty query. - An empty string means no query. - @return the encoded query or @c null if there is none - - @short @brief Returns the encoded query of the URL - @see #setQuery - */ - public native String query(); - /** - @brief Returns the encoded reference of the URL - The reference is <b>never</b> decoded automatically. - @return the undecoded reference, or @c null if there is none - - @short @brief Returns the encoded reference of the URL - @see #setRef - @see #hasRef - @see #htmlRef - */ - public native String ref(); - /** - @brief Sets the encoded reference part (everything after @c '#') - This is considered to be encoded, i.e. characters that are not allowed - as part of the reference will <b>not</b> be encoded. - @param _txt the encoded reference or <code>null</code> to remove it - @short @brief Sets the encoded reference part (everything after @c '#') - @see #ref - @see #hasRef - */ - public native void setRef(String _txt); - /** - @brief Tests if the URL has a reference part - @return @c true if the URL has a reference part. In a URL like - <tt>"http://www.kde.org/tdebase.tar#tar:/README"</tt> it would - return @c true as well - - @short @brief Tests if the URL has a reference part - @see #ref - @see #setRef - */ - public native boolean hasRef(); - /** - @brief Returns decoded the HTML-style reference - (the part of the URL after @c '#') - @return the HTML-style reference - - @short @brief Returns decoded the HTML-style reference (the part of the URL after @c '#') - @see #encodedHtmlRef - @see #setHTMLRef - @see #hasHTMLRef - @see #split - @see #hasSubURL - @see #ref - */ - public native String htmlRef(); - /** - @brief Returns the encoded HTML-style reference - (the part of the URL after @c '#') - @return the HTML-style reference in its original, encoded, form - - @short @brief Returns the encoded HTML-style reference (the part of the URL after @c '#') - @see #htmlRef - @see #setHTMLRef - @see #hasHTMLRef - */ - public native String encodedHtmlRef(); - /** - @brief Sets the decoded HTML-style reference - @param _ref the new reference. This is considered to be <b>not</b> encoded in - contrast to setRef(). Use <code>null</code> to remove it - @short @brief Sets the decoded HTML-style reference - @see #htmlRef - @see #hasHTMLRef - */ - public native void setHTMLRef(String _ref); - /** - @brief Tests if there is an HTML-style reference - @return @c true if the URL has an HTML-style reference - - @short @brief Tests if there is an HTML-style reference - @see #htmlRef - @see #encodedHtmlRef - @see #setHTMLRef - @see #hasRef - */ - public native boolean hasHTMLRef(); - /** - @brief Tests if the URL is well formed - @return @c false if the URL is malformed. This function does @em not test - whether sub URLs are well-formed as well - - @short @brief Tests if the URL is well formed - */ - public native boolean isValid(); - /** - @brief Tests if the file is local - @return @c true if the file is a plain local file and has no filter - protocols attached to it - - @short @brief Tests if the file is local - */ - public native boolean isLocalFile(); - /** - @brief Adds file encoding information - Adds encoding information to the URL by adding a @c "charset" parameter. - If there is already a charset parameter, it will be replaced. - @param encoding the encoding to add or <code>null</code> to remove the - encoding - @short @brief Adds file encoding information - @see #fileEncoding - @see org.kde.qt.TQTextCodec#codecForName - */ - public native void setFileEncoding(String encoding); - /** - @brief Returns encoding information of the URL - The encoding information is the content of the @c "charset" parameter. - @return an encoding suitable for TQTextCodec.codecForName() - or @c null if not encoding was specified - - @short @brief Returns encoding information of the URL - */ - public native String fileEncoding(); - /** - @brief Tests if the URL has any sub URLs - See split() for examples for sub URLs. - @return @c true if the file has at least one sub URL - - @short @brief Tests if the URL has any sub URLs - @see #split - */ - public native boolean hasSubURL(); - /** - @brief Adds to the current path - Assumes that the current path is a directory. <code>_txt</code> is appended to the - current path. The function adds @c '/' if needed while concatenating. - This means it does not matter whether the current path has a trailing - @c '/' or not. If there is none, it becomes appended. If <code>_txt</code> - has a leading @c '/' then this one is stripped. - @param txt the text to add. It is considered to be decoded - @short @brief Adds to the current path - @see #setPath - @see #hasPath - */ - public native void addPath(String txt); - /** - @brief Returns the value of a certain query item - @param item item whose value we want - @return the value of the given query item name or @c null if the - specified item does not exist - - @short @brief Returns the value of a certain query item - @see #addQueryItem - @see #removeQueryItem - @see #queryItems - @see #query - */ - public native String queryItem(String item); - /** - @brief Returns the value of a certain query item - @param item item whose value we want - @param encoding_hint MIB of encoding of query. - See TQTextCodec.mibEnum() - @return the value of the given query item name or @c null if the - specified item does not exist - - @short @brief Returns the value of a certain query item - @see #addQueryItem - @see #removeQueryItem - @see #queryItems - @see #query - */ - public native String queryItem(String item, int encoding_hint); - /** - @short - */ - // TQMap<TQString, TQString> queryItems(int arg1); >>>> NOT CONVERTED - // TQMap<TQString, TQString> queryItems(); >>>> NOT CONVERTED - /** - @brief Returns the list of query items as a map mapping keys to values - @param options any of QueryItemsOptions <em>OR</em>ed together - @param encoding_hint MIB of encoding of query. - See TQTextCodec.mibEnum() - @return the map of query items or the empty map if the URL has no - query items - - @short @brief Returns the list of query items as a map mapping keys to values - @see #queryItem - @see #addQueryItem - @see #removeQueryItem - @see #query - */ - // TQMap<TQString, TQString> queryItems(int arg1,int arg2); >>>> NOT CONVERTED - /** - @brief Adds an additional query item - To replace an existing query item, the item should first be - removed with removeQueryItem() - @param _item name of item to add - @param _value value of item to add - @param encoding_hint MIB of encoding to use for _value. - See TQTextCodec.mibEnum() - @short @brief Adds an additional query item - @see #queryItem - @see #queryItems - @see #query - */ - public native void addQueryItem(String _item, String _value, int encoding_hint); - public native void addQueryItem(String _item, String _value); - /** - @brief Removea an item from the query - @param _item name of item to remove - @short @brief Removea an item from the query - @see #addQueryItem - @see #queryItem - @see #queryItems - @see #query - */ - public native void removeQueryItem(String _item); - /** - @brief Sets the filename of the path - In comparison to addPath() this function does not assume that the current - path is a directory. This is only assumed if the current path ends - with @c '/'. - If the current path ends with @c '/' then <code>_txt</code> is just appended, - otherwise all text behind the last @c '/' in the current path is erased - and <code>_txt</code> is appended then. It does not matter whether <code>_txt</code> starts - with @c '/' or not. - Any reference is reset. - @param _txt the filename to be set. It is considered to be decoded - @short @brief Sets the filename of the path - @see #fileName - @see #setDirectory - @see #setPath - */ - public native void setFileName(String _txt); - /** - @brief Returns the filename of the path - <code>_ignore_trailing_slash_in_path</code> tells whether a trailing @c '/' should - be ignored. This means that the function would return @c "torben" for - <tt>"file:///hallo/torben/"</tt> and <tt>"file:///hallo/torben"</tt>. - @param _ignore_trailing_slash_in_path if set to <code>false</code>, then everything - behind the last @c '/' is considered to be the filename - @return the filename of the current path. The returned string is decoded. - @c null if there is no file (and thus no path) - - @short @brief Returns the filename of the path - @see #setFileName - @see #directory - @see #path - */ - public native String fileName(boolean _ignore_trailing_slash_in_path); - public native String fileName(); - /** - @brief Returns the directory of the path - The directory is everything between the last and the second last @c '/' - is returned. For example <tt>"file:///hallo/torben/"</tt> would return - <tt>"/hallo/torben/"</tt> while <tt>"file:///hallo/torben"</tt> would - return <tt>"hallo/"</tt>. - <code>_ignore_trailing_slash_in_path</code> tells whether a trailing @c '/' should - be ignored. This means that the function would return @c "/hallo" - (or @c "/hallo" depending on <code>_strip_trailing_slash_from_result</code>) for - <tt>"file:///hallo/torben/"</tt> and <tt>"file:///hallo/torben"</tt>. - @param _strip_trailing_slash_from_result tells whether the returned result - should end with @c '/' or not. If the path is empty or just @c "/" - then this flag has no effect - @param _ignore_trailing_slash_in_path if set to <code>false</code>, then everything - behind the last @c '/' is considered to be the filename - @return the directory part of the current path or @c null when - there is no path. The returned string is decoded - - @short @brief Returns the directory of the path - @see #setDirectory - @see #fileName - @see #path - */ - public native String directory(boolean _strip_trailing_slash_from_result, boolean _ignore_trailing_slash_in_path); - public native String directory(boolean _strip_trailing_slash_from_result); - public native String directory(); - /** - @brief Sets the directory of the path, leaving the filename empty - @param dir the decoded directory to set - @short @brief Sets the directory of the path, leaving the filename empty - @see #directory - @see #setFileName - @see #setPath - */ - public native void setDirectory(String dir); - /** - @brief Changes the directory by descending into the given directory - It is assumed the current URL represents a directory. - If <code>_dir</code> starts with a @c '/' the current URL will be - <tt>"protocol://host/dir"</tt> otherwise <code>_dir</code> will be appended to the - path. <code>_dir</code> can be @c ".." - This function won't strip protocols. That means that when you are in - <tt>"file:///dir/dir2/my.tgz#tar:/"</tt> and you do <tt>cd("..")</tt> you - will still be in <tt>"file:///dir/dir2/my.tgz#tar:/"</tt> - @param _dir the directory to change to - @return @c true if successful - - @short @brief Changes the directory by descending into the given directory - @see #directory - @see #path - */ - public native boolean cd(String _dir); - /** - @brief Returns the URL as string, with all escape sequences intact, - encoded in a given charset - This is used in particular for encoding URLs in UTF-8 before using them - in a drag and drop operation. - @note that the string returned by url() will include the password of the - URL. If you want to show the URL to the user, use prettyURL(). - The <code>_trailing</code> parameter allows to ensure the existance or absence of - the last (trailing) @c '/' character in the path. - If the URL has no path, then no @c '/' is added anyway. - And on the other side: if the path is just @c "/", then this character - won't be stripped. - Reason: <tt>"ftp://weis@host"</tt> means something completely different - than <tt>"ftp://weis@host/"</tt>. - So adding or stripping the '/' would really alter the URL, while - <tt>"ftp://host/path"</tt> and <tt>"ftp://host/path/"</tt> mean the same - directory. - @param _trailing May be ( @c -1, <code>0</code>, @c +1 ). @c -1 strips a trailing - @c '/', @c +1 adds a trailing @c '/' if there is none yet - and <code>0</code> returns the path unchanged - @param encoding_hint MIB of encoding to use. - See TQTextCodec.mibEnum() - @return the complete URL, with all escape sequences intact, encoded - in a given charset - - @short @brief Returns the URL as string, with all escape sequences intact, encoded in a given charset - @see #prettyURL - @see #pathOrURL - @see #htmlURL - */ - public native String url(int _trailing, int encoding_hint); - public native String url(int _trailing); - public native String url(); - /** - @brief Returns the URL as string in human-friendly format - Example: - @code - http://localhost:8080/test.cgi?test=hello world&name=fred - @endcode - Does <b>not</b> contain the password if the URL has one, use url() if you - need to have it in the string. - The <code>_trailing</code> parameter allows to ensure the existance or absence of - the last (trailing) @c '/' character in the path. - If the URL has no path, then no @c '/' is added anyway. - And on the other side: if the path is just @c "/", then this character - won't be stripped. - Reason: <tt>"ftp://weis@host"</tt> means something completely different - than <tt>"ftp://weis@host/"</tt>. - So adding or stripping the '/' would really alter the URL, while - <tt>"ftp://host/path"</tt> and <tt>"ftp://host/path/"</tt> mean the same - directory. - @param _trailing May be ( @c -1, <code>0</code>, @c +1 ). @c -1 strips a trailing - @c '/', @c +1 adds a trailing @c '/' if there is none yet - and <code>0</code> returns the path unchanged - @return a human readable URL, with no non-necessary encodings/escaped - characters. Password will not be shown - - @short @brief Returns the URL as string in human-friendly format - @see #url - @see #pathOrURL - */ - public native String prettyURL(int _trailing); - public native String prettyURL(); - /** - @brief Returns the URL as string in human-friendly format - Example: - @code - http://localhost:8080/test.cgi?test=hello world&name=fred - @endcode - Does <b>not</b> contain the password if the URL has one, use url() if you - need to have it in the string. - The <code>_trailing</code> parameter allows to ensure the existance or absence of - the last (trailing) @c '/' character in the path. - If the URL has no path, then no @c '/' is added anyway. - And on the other side: if the path is just @c "/", then this character - won't be stripped. - Reason: <tt>"ftp://weis@host"</tt> means something completely different - than <tt>"ftp://weis@host/"</tt>. - So adding or stripping the '/' would really alter the URL, while - <tt>"ftp://host/path"</tt> and <tt>"ftp://host/path/"</tt> mean the same - directory. - @param _trailing May be ( @c -1, <code>0</code>, @c +1 ). @c -1 strips a trailing - @c '/', @c +1 adds a trailing @c '/' if there is none yet - and <code>0</code> returns the path unchanged - @param _flags if StripFileProtocol, @c "file://" will be stripped. - The use of this method is now discouraged, better use pathOrURL(). - @return a human readable URL, with no non-necessary encodings/escaped - characters. Password will not be shown - - @short @brief Returns the URL as string in human-friendly format Example: @code http://localhost:8080/test. - @see #prettyURL - @see #url - @see #pathOrURL - */ - public native String prettyURL(int _trailing, int _flags); - /** - @brief Returns the URL as a string depending if it is a local file - It will be either the URL (as prettyURL() would return) or, when the URL - is a local file without query or ref, the path(). - Use this method, together with its opposite, fromPathOrURL(), - to display and even let the user edit URLs. - @return the path or URL string depending on its properties - - @short @brief Returns the URL as a string depending if it is a local file - @see #prettyURL - @see #path - @see #url - @see #isLocalFile - */ - public native String pathOrURL(); - /** - @brief Returns the URL as string, escaped for HTML - @return a human readable URL, with no non-necessary encodings/escaped - characters which is HTML encoded for safe inclusion in HTML or - rich text. Password will not be shown. - - @short @brief Returns the URL as string, escaped for HTML - @see #prettyURL - @see #url - @see #pathOrURL - */ - public native String htmlURL(); - /** - @brief Tests if the KURL is empty - An empty URL has neither path nor protocol set. - @return @c true if the URL is empty - - @short @brief Tests if the KURL is empty - @see #hasPath - @see #protocol - @see #isValid - */ - public native boolean isEmpty(); - /** - @brief Returns the URL that is the best possible candidate for on level - higher in the path hierachy - This function is useful to implement the "Up" button in a file manager for - example. - cd() never strips a sub-protocol. That means that if you are in - <tt>"file:///home/x.tgz#gzip:/#tar:/"</tt> and hit the up button you - expect to see <tt>"file:///home"</tt>. The algorithm tries to go up on the - right-most URL. If that is not possible it strips the right most URL. It - continues stripping URLs until it can go up. - @return a URL that is a level higher - - @short @brief Returns the URL that is the best possible candidate for on level higher in the path hierachy - @see #cd - @see #split - @see #hasSubURL - @see #path - */ - public native KURL upURL(); - /** - @brief Tests if this URL is less than the given URL - The current URL is consideres <tt>"less than"</tt> then <code>_u</code> if - (tested in this order): - - it is not valid but <code>_u</code> is. See isValid() - - its protocol is "less than" <code>_u</code>'s protocol. See protocol() - - its host is "less than" <code>_u</code>'s host. See host() - - its port is "less than" <code>_u</code>'s port. See port() - - its path is "less than" <code>_u</code>'s path. See path() - - its encoded query is "less than" <code>_u</code>'s encoded query. See query() - - its endoded reference is "less than" <code>_u</code>'s encoded reference. - See ref() - - its username is "less than" <code>_u</code>'s username. See user() - - its password is "less than" <code>_u</code>'s password. See pass() - Examples: - @code - KURL url1; - KURL url2; - boolean lessThan = url1 < url2; // false. Both invalid, no protocols - url2.setProtocol( null ); - lessThan = url1 < url2; // true. url2 is valid because of setProtocol() - url1.setProtocol( null ); - lessThan = url1 < url2; // false. Both valid and everything empty - url1.setProtocol( "http" ); - url2.setProtocol( "https" ); - lessThan = url1 < url2; // true. "http" < "https" - url2.setHost( "api.kde.org" ); - url2.setProtocol( "http" ); - url2.setProtocol( "www.kde.org" ); - lessThan = url1 < url2; // true. protocols equal and "api" < "www" - url1.setProtocol( "https" ); - url2.setProtocol( "http" ); - lessThan = url1 < url2; // false. "https" > "http". host doesn't matter yet - @endcode - @param _u the URL to compare to - @return @c true if the URL is less than <code>_u.</code> Otherwise @c false - (equal or greater than) - - @short @brief Tests if this URL is less than the given URL - @see #operator== - */ - public native boolean op_lt(KURL _u); - /** - @brief Tests if this URL is equal to the given one - Tests each member for equality unless one of the URLs is invalid - in which case they are not considered equal (even if both are invalid). - Same as equals() when used with <code>ignore_trailing</code> set to - <code>false</code> (default) - @param _u the URL to compare to - @return @c true if equal and neither this URL nor <code>_u</code> is malformed. - Otherwise @c false - - @short @brief Tests if this URL is equal to the given one - @see #equals - @see #isValid - @see #operator!= - @see #operator< - */ - public native boolean op_equals(KURL _u); - /** - @brief Tests if this URL is equal to the one given as a string - Creates a KURL instance for <code>_u</code> and compares with that using - the equality operator for two KURLs. - See the respective constructor for known limitations. - @param _u the string to compare to - @return @c true if equal and neither this URL nor <code>_u</code> is malformed. - Otherwise @c false - - @short @brief Tests if this URL is equal to the one given as a string - @see KURL(const - @see #int) - @see #operator==(const - @see KURL - @see #equals - @see #isValid - @see #operator!= - @see #operator< - */ - public native boolean op_equals(String _u); - /** - @brief Tests if this URL is different from the given one - Tests by negating the result of operator==() - @param _u the URL to compare to - @return the negated result of operator==() - - @short @brief Tests if this URL is different from the given one - @see #operator== - @see #operator< - */ - public native boolean op_not_equals(KURL _u); - /** - @brief Tests if this URL is different from the one given as a string - Tests by negating the result of operator==(String) - @param _u the URL to compare to - @return the negated result of operator==(String) - - @short @brief Tests if this URL is different from the one given as a string - @see #operator==(const - @see #operator< - */ - public native boolean op_not_equals(String _u); - /** - @brief Compares this URL with another one - @param u the URL to compare this one with - @param ignore_trailing set to <code>true</code> to ignore trailing @c '/' characters - @return @c true if both urls are the same - - @short @brief Compares this URL with another one - @see #operator==# - @see This - @see #function - @see #should - @see #be - @see #used - @see #if - @see #you - @see #want - @see #to - @see #ignore - @see #trailing - @see @c - @see #characters - */ - public native boolean equals(KURL u, boolean ignore_trailing); - public native boolean equals(KURL u); - /** - @brief Tests if the given URL is parent of this URL - For instance, <tt>"ftp://host/dir/"</tt> is a parent of - <tt>"ftp://host/dir/subdir/subsubdir/"</tt>. - @return @c true if this URL is a parent of <code>u</code> (or the same URL as <code>u</code>) - - @short @brief Tests if the given URL is parent of this URL - @see #equals - @see #cd - */ - public native boolean isParentOf(KURL u); - /** - @brief Splits nested URLs into a list of URLs - Example for a nested URL: - @code - file:///home/weis/kde.tgz#gzip:/#tar:/tdebase - @endcode - A URL like <tt>"http://www.kde.org#tar:/kde/README.hml#ref1"</tt> will be - split in <tt>"http://www.kde.org#ref1"</tt> and - <tt>"tar:/kde/README.html#ref1"</tt>. - That means in turn that @c "#ref1" is an HTML-style reference and not a - new sub URL. Since HTML-style references mark a certain position in a - document this reference is appended to every URL. - The idea behind this is that browsers, for example, only look at the first - URL while the rest is not of interest to them. - @param _url the URL that has to be split - @return an empty list on error or the list of split URLs - - @short @brief Splits nested URLs into a list of URLs - @see #hasSubURL - @see KURL(const - @see #int) - @see #join - */ - public static native ArrayList split(String _url); - /** - @brief Splits nested URLs into a list of URLs - Example for a nested URL: - @code - file:///home/weis/kde.tgz#gzip:/#tar:/tdebase - @endcode - A URL like <tt>"http://www.kde.org#tar:/kde/README.hml#ref1"</tt> will be - split in <tt>"http://www.kde.org#ref1"</tt> and - <tt>"tar:/kde/README.html#ref1"</tt>. - That means in turn that @c "#ref1" is an HTML-style reference and not a - new sub URL. Since HTML-style references mark a certain position in a - document this reference is appended to every URL. - The idea behind this is that browsers, for example, only look at the first - URL while the rest is not of interest to them. - @param _url the URL that has to be split - @return an empty list on error or the list of split URLs - - @short @brief Splits nested URLs into a list of URLs - @see #hasSubURL - @see #join - */ - public static native ArrayList split(KURL _url); - /** - @brief Joins a list of URLs into a single URL with sub URLs - Reverses split(). Only the first URL may have a reference. This reference - is considered to be HTML-like and is appended at the end of the resulting - joined URL. - @param _list the list to join - @return the joined URL or an invalid URL if the list is empty - - @short @brief Joins a list of URLs into a single URL with sub URLs - @see #split - */ - public static native KURL join(ArrayList _list); - /** - @brief Creates a KURL object from a String representing either an - absolute path or a real URL - Use this method instead of - @code - String someDir = ... - KURL url = someDir; - @endcode - Otherwise some characters (e.g. the '#') won't be encoded properly. - @param text the string representation of the URL to convert - @return the new KURL - - @short @brief Creates a KURL object from a String representing either an absolute path or a real URL - @see #pathOrURL - @see KURL(const - @see #int) - */ - public static native KURL fromPathOrURL(String text); - /** - @brief Encodes a string for use in URLs - Convenience function. - Convert unicoded string to local encoding and use %%-style - encoding for all common delimiters / non-ascii characters. - @param str the string to encode (can be <code>null</code>) - @param encoding_hint MIB of encoding to use. - See TQTextCodec.mibEnum() - @return the encoded string - - @short @brief Encodes a string for use in URLs - @see #encode_string_no_slash - @see #decode_string - */ - public static native String encode_string(String str, int encoding_hint); - public static native String encode_string(String str); - /** - @brief Encodes a string for use in URLs - Convenience function. - Convert unicoded string to local encoding and use %%-style - encoding for all common delimiters and non-ascii characters - as well as the slash @c '/'. - @param str the string to encode (can be <code>null</code>) - @param encoding_hint MIB of encoding to use. - See TQTextCodec.mibEnum() - @short @brief Encodes a string for use in URLs - @see #encode_string - @see #decode_string - */ - public static native String encode_string_no_slash(String str, int encoding_hint); - public static native String encode_string_no_slash(String str); - /** - @brief Decodes a string as used in URLs - Convenience function. - Decode %-style encoding and convert from local encoding to unicode. - Reverse of encode_string() - @param str the string to decode (can be <code>null</code>) - @param encoding_hint MIB of original encoding of <code>str</code> . - See TQTextCodec.mibEnum() - @return the decoded string - - @short @brief Decodes a string as used in URLs - @see #encode_string - @see #encode_string_no_slash - */ - public static native String decode_string(String str, int encoding_hint); - public static native String decode_string(String str); - /** - @brief Tests if a given URL is a relative as opposed to an absolute URL - Convenience function. - Returns whether <code>_url</code> is likely to be a "relative" URL instead of - an "absolute" URL. - @param _url the URL to examine - @return @c true when the URL is likely to be "relative", - @c false otherwise - - @short @brief Tests if a given URL is a relative as opposed to an absolute URL - @see #relativeURL - */ - public static native boolean isRelativeURL(String _url); - /** - @brief Creates an URL relative to a base URL for a given input URL - Convenience function - Returns a "relative URL" based on <code>base_url</code> that points to <code>url.</code> - If no "relative URL" can be created, e.g. because the protocol - and/or hostname differ between <code>base_url</code> and <code>url</code> an absolute - URL is returned. - @note if <code>base_url</code> represents a directory, it should contain - a trailing slash - @param base_url the URL to derive from - @param url the URL to point to relatively from <code>base_url</code> - @param encoding_hint MIB of original encoding of <code>str</code> . - See TQTextCodec.mibEnum() - @short @brief Creates an URL relative to a base URL for a given input URL - @see #isRelativeURL - @see #relativePath - @see #adjustPath - */ - public static native String relativeURL(KURL base_url, KURL url, int encoding_hint); - public static native String relativeURL(KURL base_url, KURL url); - /** - @brief Creates a path relative to a base path for a given input path - Convenience function - Returns a relative path based on <code>base_dir</code> that points to <code>path.</code> - @param base_dir the base directory to derive from - @param path the new target directory - @param isParent an optional pointer to a booleanean which, if provided, will - be set to reflect whether <code>path</code> has <code>base_dir</code> as a parent dir - @short @brief Creates a path relative to a base path for a given input path - @see #relativeURL - */ - public static native String relativePath(String base_dir, String path, boolean[] isParent); - public static native String relativePath(String base_dir, String path); - /** - @brief Determines which URI mode is suitable for processing URIs of a - given protocol - @param protocol the protocol name. See protocol() - @return the URIMode suitable for the given protocol - - @short @brief Determines which URI mode is suitable for processing URIs of a given protocol - @see #uriMode - */ - public static native int uriModeForProtocol(String protocol); - /** - @brief Resets the members to their "null" state - All String members get reset to <code>null</code>, the port to <code>0</code> - the URIMode to <code>Auto</code> and the URL becomes invalid. - This is like assigning a null URL, but more efficient as it doesn't - require the temporary object. - Called by constructors, assignment operators and the parse methods in case - of a parsing error. - @short @brief Resets the members to their "null" state - @see #isValid - @see #isEmpty - */ - protected native void reset(); - /** - @brief Parses the given string and fills the URL's values on success - Treats the string as an URL. - @param _url the string to parse - @param encoding_hint MIB of original encoding of <code>str</code> . - See TQTextCodec.mibEnum() - @short @brief Parses the given string and fills the URL's values on success - */ - protected native void parseURL(String _url, int encoding_hint); - protected native void parseURL(String _url); - /** - @brief Parses the given string and fills the URL's values on success - Treats the string as a generic URI. - @param _url the string to parse - @param encoding_hint MIB of original encoding of <code>str</code> . - See TQTextCodec.mibEnum() - @short @brief Parses the given string and fills the URL's values on success - */ - protected native void parseRawURI(String _url, int encoding_hint); - protected native void parseRawURI(String _url); - /** - @brief Parses the given string and fills the URL's values on success - Treats the string as a @c "mailto:" URI. - @param _url the string to parse - @param encoding_hint MIB of original encoding of <code>str</code> . - See TQTextCodec.mibEnum() - @short @brief Parses the given string and fills the URL's values on success - */ - protected native void parseMailto(String _url, int encoding_hint); - protected native void parseMailto(String _url); - /** - @brief Parses the given string and fills the URL's values on success - @param _url the string to parse - @param encoding_hint MIB of original encoding of <code>str</code> . - See TQTextCodec.mibEnum() - @short @brief Parses the given string and fills the URL's values on success - */ - protected native void parse(String _url, int encoding_hint); - protected native void parse(String _url); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLBar.java b/kdejava/koala/org/kde/koala/KURLBar.java deleted file mode 100644 index 0729ecf3..00000000 --- a/kdejava/koala/org/kde/koala/KURLBar.java +++ /dev/null @@ -1,274 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListBoxItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQSize; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPalette; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQFrame; - -/** - - KURLBar is a widget that displays icons together with a description. They - can be arranged either horizontally or vertically. Clicking on an item - will cause the activated() signal to be emitted. The user can edit - existing items by choosing "Edit entry" in the contextmenu. He can also - remove or add new entries (via drag&drop or the context menu). - KURLBar offers the methods readConfig() and writeConfig() to - read and write the configuration of all the entries. It can differentiate - between global and local entries -- global entries will be saved in the - global configuration (kdeglobals), while local entries will be saved in - your application's TDEConfig object. - Due to the configurability, you usually only insert some default entries - once and then solely use the read and writeConfig methods to preserve the - user's configuration. - The widget has a "current" item, that is visualized to differentiate it - from others. - See {@link KURLBarSignals} for signals emitted by KURLBar - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A URL-bar widget, as used in the KFileDialog. - -*/ -public class KURLBar extends TQFrame { - protected KURLBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLBar. Set <code>useGlobalItems</code> to true if you want to - allow global/local item separation. - @short Constructs a KURLBar. - */ - public KURLBar(boolean useGlobalItems, TQWidget parent, String name, int f) { - super((Class) null); - newKURLBar(useGlobalItems,parent,name,f); - } - private native void newKURLBar(boolean useGlobalItems, TQWidget parent, String name, int f); - public KURLBar(boolean useGlobalItems, TQWidget parent, String name) { - super((Class) null); - newKURLBar(useGlobalItems,parent,name); - } - private native void newKURLBar(boolean useGlobalItems, TQWidget parent, String name); - public KURLBar(boolean useGlobalItems, TQWidget parent) { - super((Class) null); - newKURLBar(useGlobalItems,parent); - } - private native void newKURLBar(boolean useGlobalItems, TQWidget parent); - public KURLBar(boolean useGlobalItems) { - super((Class) null); - newKURLBar(useGlobalItems); - } - private native void newKURLBar(boolean useGlobalItems); - /** - Inserts a new item into the KURLBar and returns the created - KURLBarItem. - <code>url</code> the url of the item - <code>description</code> the description of the item (shown in the view) - <code>applicationLocal</code> whether this should be a global or a local item - <code>icon</code> an icon -- if empty, the default icon for the url will be used - <code>group</code> the icon-group for using icon-effects - @short Inserts a new item into the KURLBar and returns the created KURLBarItem. - */ - public native KURLBarItem insertItem(KURL url, String description, boolean applicationLocal, String icon, int group); - public native KURLBarItem insertItem(KURL url, String description, boolean applicationLocal, String icon); - public native KURLBarItem insertItem(KURL url, String description, boolean applicationLocal); - public native KURLBarItem insertItem(KURL url, String description); - /** - Inserts a new dynamic item into the KURLBar and returns the created - KURLBarItem. - <code>url</code> the url of the item - <code>description</code> the description of the item (shown in the view) - <code>icon</code> an icon -- if empty, the default icon for the url will be used - <code>group</code> the icon-group for using icon-effects - @short Inserts a new dynamic item into the KURLBar and returns the created KURLBarItem. - */ - public native KURLBarItem insertDynamicItem(KURL url, String description, String icon, int group); - public native KURLBarItem insertDynamicItem(KURL url, String description, String icon); - public native KURLBarItem insertDynamicItem(KURL url, String description); - /** - The items can be arranged either vertically in one column or - horizontally in one row. - @short The items can be arranged either vertically in one column or horizontally in one row. - @see #orientation - */ - public native void setOrientation(int orient); - /** - @return the current orientation mode. - - @short - @see #setOrientation - */ - public native int orientation(); - /** - Allows to set a custom KURLBarListBox. - Note: The previous listbox will be deleted. Items of the previous - listbox will not be moved to the new box. - @short Allows to set a custom KURLBarListBox. - @see #listBox - */ - public native void setListBox(KURLBarListBox arg1); - /** - @return the KURLBarListBox that is used. - - @short - @see #setListBox - */ - public native KURLBarListBox listBox(); - /** - Sets the default iconsize to be used for items inserted with - insertItem. By default TDEIcon.SizeMedium. - @short Sets the default iconsize to be used for items inserted with insertItem. - @see #iconsize - */ - public native void setIconSize(int size); - /** - @return the default iconsize used for items inserted with - insertItem. By default TDEIcon.SizeMedium - - @short - @see #setIconSize - */ - public native int iconSize(); - /** - Clears the view, removes all items. - @short Clears the view, removes all items. - */ - public native void clear(); - /** - @return a proper sizehint, depending on the orientation and the number - of items available. - - @short - */ - public native TQSize sizeHint(); - /** - @return a proper minimum size (reimplemented) - - @short - */ - public native TQSize minimumSizeHint(); - /** - Call this method to read a saved configuration from <code>config</code>, - inside the group <code>itemGroup.</code> All items in there will be restored. - The reading of every item is delegated to the readItem() method. - @short Call this method to read a saved configuration from <code>config</code>, inside the group <code>itemGroup.</code> - */ - public native void readConfig(TDEConfig config, String itemGroup); - /** - Call this method to save the current configuration into <code>config</code>, - inside the group <code>iconGroup.</code> The writeItem() method is used - to save each item. - @short Call this method to save the current configuration into <code>config</code>, inside the group <code>iconGroup.</code> - */ - public native void writeConfig(TDEConfig config, String itemGroup); - /** - Called from readConfig() to read the i'th from <code>config.</code> - After reading a KURLBarItem is created and initialized with the read - values (as well as the given <code>applicationLocal</code>). - @short Called from readConfig() to read the i'th from <code>config.</code> - */ - public native void readItem(int i, TDEConfig config, boolean applicationLocal); - /** - Called from writeConfig() to save the KURLBarItem <code>item</code> as the - i'th entry in the config-object. - <code>global</code> tell whether it should be saved in the global configuration - or not (using TDEConfig.writeEntry( key, value, true, global ) ). - @short Called from writeConfig() to save the KURLBarItem <code>item</code> as the i'th entry in the config-object. - */ - public native void writeItem(KURLBarItem item, int i, TDEConfig arg3, boolean global); - /** - @return the current KURLBarItem, or 0L if none. - - @short - @see #setCurrentItem - @see #currentURL - */ - public native KURLBarItem currentItem(); - /** - @return the url of the current item or an invalid url, if there is - no current item. - - @short - @see #currentItem - @see #setCurrentItem - */ - public native KURL currentURL(); - /** - @return true when the urlbar was modified by the user (e.g. by - editing/adding/removing one or more entries). Will be reset to false - after calling writeConfig(). - - @short - */ - public native boolean isModified(); - /** - @return true when the urlbar may not be modified by the user - - @short - */ - public native boolean isImmutable(); - /** - @return true if the bar is in vertical mode. - - @short - */ - public native boolean isVertical(); - /** - Makes the item with the url <code>url</code> the current item. Does nothing - if no item with that url is available. - @short Makes the item with the url <code>url</code> the current item. - @see #currentItem - @see #currentURL - */ - public native void setCurrentItem(KURL url); - /** - Pops up a KURLBarItemDialog to let the user add a new item. - Uses editItem() to do the job. - @return false if the user aborted the dialog and no item is added. - - @short Pops up a KURLBarItemDialog to let the user add a new item. - */ - protected native boolean addNewItem(); - /** - Pops up a KURLBarItemDialog to let the user edit the properties - of <code>item.</code> Invoked e.g. by addNewItem(), when the user drops - a url onto the bar or from the contextmenu. - @return false if the user aborted the dialog and <code>item</code> is not - changed. - - @short Pops up a KURLBarItemDialog to let the user edit the properties of <code>item.</code> - */ - protected native boolean editItem(KURLBarItem item); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void paletteChange(TQPalette arg1); - /** - Reimplemented to show a contextmenu, allowing the user to add, edit - or remove items, or change the iconsize. - @short Reimplemented to show a contextmenu, allowing the user to add, edit or remove items, or change the iconsize. - */ - protected native void slotContextMenuRequested(TQListBoxItem arg1, TQPoint pos); - /** - Called when an item has been selected. Emits the activated() - signal. - @short Called when an item has been selected. - */ - protected native void slotSelected(TQListBoxItem arg1); - /** - Called when a url was dropped onto the bar to show a - KURLBarItemDialog. - @short Called when a url was dropped onto the bar to show a KURLBarItemDialog. - */ - protected native void slotDropped(TQDropEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLBarItem.java b/kdejava/koala/org/kde/koala/KURLBarItem.java deleted file mode 100644 index f4845f40..00000000 --- a/kdejava/koala/org/kde/koala/KURLBarItem.java +++ /dev/null @@ -1,195 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListBox; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQListBoxPixmap; - -/** - - An item to be used in KURLBar / KURLBarListBox. All the properties - (url, icon, description, tooltip) can be changed dynamically. - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short An item to be used in KURLBar / KURLBarListBox. - @see KURLBar - @see KURLBarListBox - -*/ -public class KURLBarItem extends TQListBoxPixmap { - protected KURLBarItem(Class dummy){super((Class) null);} - /** - Creates a KURLBarItem to be used in the <code>parent</code> KURLBar. You need - to insert the item into the listbox manually, if you don't use - KURLBar.insertItem(). - If description is empty, it will try to use the filename/directory - of <code>url</code>, which will be shown as text of the item. - <code>url</code> will be used as tooltip, unless you set a different tip with - setToolTip(). - <code>persistent</code> specifies whether this item is a persistent item or a - dynamic item, that is not saved with KURLBar.writeConfig(). - @short Creates a KURLBarItem to be used in the <code>parent</code> KURLBar. - */ - public KURLBarItem(KURLBar parent, KURL url, boolean persistent, String description, String icon, int group) { - super((Class) null); - newKURLBarItem(parent,url,persistent,description,icon,group); - } - private native void newKURLBarItem(KURLBar parent, KURL url, boolean persistent, String description, String icon, int group); - public KURLBarItem(KURLBar parent, KURL url, boolean persistent, String description, String icon) { - super((Class) null); - newKURLBarItem(parent,url,persistent,description,icon); - } - private native void newKURLBarItem(KURLBar parent, KURL url, boolean persistent, String description, String icon); - public KURLBarItem(KURLBar parent, KURL url, boolean persistent, String description) { - super((Class) null); - newKURLBarItem(parent,url,persistent,description); - } - private native void newKURLBarItem(KURLBar parent, KURL url, boolean persistent, String description); - public KURLBarItem(KURLBar parent, KURL url, boolean persistent) { - super((Class) null); - newKURLBarItem(parent,url,persistent); - } - private native void newKURLBarItem(KURLBar parent, KURL url, boolean persistent); - /** - Creates a persistent KURLBarItem to be used in the <code>parent</code> KURLBar. You need - to insert the item into the listbox manually, if you don't use - KURLBar.insertItem(). - If description is empty, it will try to use the filename/directory - of <code>url</code>, which will be shown as text of the item. - <code>url</code> will be used as tooltip, unless you set a different tip with - setToolTip(). - <code>persistent</code> specifies whether this item is a persistent item or a - dynamic item, that is not saved with KURLBar.writeConfig(). - @short Creates a persistent KURLBarItem to be used in the <code>parent</code> KURLBar. - */ - public KURLBarItem(KURLBar parent, KURL url, String description, String icon, int group) { - super((Class) null); - newKURLBarItem(parent,url,description,icon,group); - } - private native void newKURLBarItem(KURLBar parent, KURL url, String description, String icon, int group); - public KURLBarItem(KURLBar parent, KURL url, String description, String icon) { - super((Class) null); - newKURLBarItem(parent,url,description,icon); - } - private native void newKURLBarItem(KURLBar parent, KURL url, String description, String icon); - public KURLBarItem(KURLBar parent, KURL url, String description) { - super((Class) null); - newKURLBarItem(parent,url,description); - } - private native void newKURLBarItem(KURLBar parent, KURL url, String description); - public KURLBarItem(KURLBar parent, KURL url) { - super((Class) null); - newKURLBarItem(parent,url); - } - private native void newKURLBarItem(KURLBar parent, KURL url); - /** - Sets <code>url</code> for this item. Also updates the visible text to the - filename/directory of the url, if no description is set. - @short Sets <code>url</code> for this item. - @see #url - */ - public native void setURL(KURL url); - /** - <code>sets</code> the icon for this item. See TDEIconLoader for a description - of the icon groups. - @short <code>sets</code> the icon for this item. - @see #icon - */ - public native void setIcon(String icon, int group); - public native void setIcon(String icon); - /** - Sets the description of this item that will be shown as item-text. - @short Sets the description of this item that will be shown as item-text. - @see #description - */ - public native void setDescription(String desc); - /** - Sets a tooltip to be used for this item. - @short Sets a tooltip to be used for this item. - @see #toolTip - */ - public native void setToolTip(String tip); - /** - returns the preferred size of this item - @short returns the preferred size of this item - */ - public native TQSize sizeHint(); - /** - returns the width of this item. - @short returns the width of this item. - */ - public native int width(TQListBox arg1); - /** - returns the height of this item. - @short returns the height of this item. - */ - public native int height(TQListBox arg1); - /** - returns the url of this item. - @short returns the url of this item. - @see #setURL - */ - public native KURL url(); - /** - returns the description of this item. - @short returns the description of this item. - @see #setDescription - */ - public native String description(); - /** - returns the icon of this item. - @short returns the icon of this item. - @see #setIcon - */ - public native String icon(); - /** - returns the tooltip of this item. - @short returns the tooltip of this item. - @see #setToolTip - */ - public native String toolTip(); - /** - returns the icon-group of this item (determines icon-effects). - @short returns the icon-group of this item (determines icon-effects). - @see #setIcon - */ - public native int iconGroup(); - /** - returns the pixmap of this item. - @short returns the pixmap of this item. - */ - public native TQPixmap pixmap(); - /** - Makes this item a local or global one. This has only an effect - on persistent items of course. - @short Makes this item a local or global one. - @see #isPersistent - @see #applicationLocal - */ - public native void setApplicationLocal(boolean local); - /** - returns whether this is a global item or a local one. KURLBar - can differentiate between global and local items (only for the current - application) for easy extensiblity. - @short returns whether this is a global item or a local one. - @see #setApplicationLocal - */ - public native boolean applicationLocal(); - /** - returns whether this item is persistent (via KURLBar.writeConfig() - and KURLBar.readConfig()) or not. - @short returns whether this item is persistent (via KURLBar.writeConfig() and KURLBar.readConfig()) or not. - */ - public native boolean isPersistent(); - protected native void paint(TQPainter p); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLBarItemDialog.java b/kdejava/koala/org/kde/koala/KURLBarItemDialog.java deleted file mode 100644 index 473c63fe..00000000 --- a/kdejava/koala/org/kde/koala/KURLBarItemDialog.java +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - A dialog that allows editing entries of a KURLBar ( KURLBarItem). - The dialog offers to configure a given url, description and icon. - See the class-method getInformation() for easy usage. - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A dialog that allows editing entries of a KURLBar ( KURLBarItem). - -*/ -public class KURLBarItemDialog extends KDialogBase { - protected KURLBarItemDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLBarItemDialog. - <code>allowGlobal</code> if you set this to true, the dialog will have a checkbox - for the user to decide if he wants the entry to be - available globally or just for the current application. - <code>url</code> the url of the item - <code>description</code> a short, translated description of the item - <code>icon</code> an icon for the item - <code>appLocal</code> tells whether the item should be local for this application - or be available globally - <code>iconSize</code> determines the size of the icon that is shown/selectable - <code>parent</code> the parent-widget for the dialog - If you leave the icon empty, the default icon for the given url will be - used (KMimeType.pixmapForURL()). - @short Constructs a KURLBarItemDialog. - */ - public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name) { - super((Class) null); - newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent,name); - } - private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name); - public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent) { - super((Class) null); - newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent); - } - private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent); - public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize) { - super((Class) null); - newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize); - } - private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize); - public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal) { - super((Class) null); - newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal); - } - private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal); - public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon) { - super((Class) null); - newKURLBarItemDialog(allowGlobal,url,description,icon); - } - private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon); - /** - @return the configured url - - @short - */ - public native KURL url(); - /** - @return the configured description - - @short - */ - public native String description(); - /** - @return the configured icon - - @short - */ - public native String iconName(); - /** - @return whether the item should be local to the application or global. - If allowGlobal was set to false in the constructor, this will always - return true. - - @short - */ - public native boolean applicationLocal(); - public native void urlChanged(String arg1); - /** - A convenience method to show the dialog and retrieve all the - properties via the given parameters. The parameters are used to - initialize the dialog and then return the user-configured values. - See the KURLBarItem constructor for the parameter description. - @short A convenience method to show the dialog and retrieve all the properties via the given parameters. - */ - public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize, TQWidget parent); - public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLBarListBox.java b/kdejava/koala/org/kde/koala/KURLBarListBox.java deleted file mode 100644 index 87305d15..00000000 --- a/kdejava/koala/org/kde/koala/KURLBarListBox.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -/** - - This is the listbox used in KURLBar. It is a subclass of TDEListBox to support - drag & drop and to set up the row / column mode. - The widget has just one row or one column, depending on orientation(). - See {@link KURLBarListBoxSignals} for signals emitted by KURLBarListBox - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short This is the listbox used in KURLBar. - -*/ -public class KURLBarListBox extends TDEListBox { - protected KURLBarListBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLBarListBox. - @short Constructs a KURLBarListBox. - */ - public KURLBarListBox(TQWidget parent, String name) { - super((Class) null); - newKURLBarListBox(parent,name); - } - private native void newKURLBarListBox(TQWidget parent, String name); - public KURLBarListBox(TQWidget parent) { - super((Class) null); - newKURLBarListBox(parent); - } - private native void newKURLBarListBox(TQWidget parent); - public KURLBarListBox() { - super((Class) null); - newKURLBarListBox(); - } - private native void newKURLBarListBox(); - /** - Sets the orientation of the widget. Horizontal means, all items are - arranged in one row. Vertical means, all items are arranged in one - column. - @short Sets the orientation of the widget. - @see #orientation - */ - public native void setOrientation(int orient); - /** - @return the current orientation. - - @short - @see #setOrientation - */ - public native int orientation(); - public native boolean isVertical(); - /** - @return a suitable TQDragObject when an item is dragged. - - @short - */ - protected native TQDragObject dragObject(); - protected native void contentsDragEnterEvent(TQDragEnterEvent arg1); - protected native void contentsDropEvent(TQDropEvent arg1); - protected native void contextMenuEvent(TQContextMenuEvent arg1); - protected native void paintEvent(TQPaintEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java b/kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java deleted file mode 100644 index 0cbc10e6..00000000 --- a/kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDragObject; - -public interface KURLBarListBoxSignals { - /** - Emitted when a drop-event happened. - @short Emitted when a drop-event happened. - */ - void dropped(TQDropEvent e); -} diff --git a/kdejava/koala/org/kde/koala/KURLBarSignals.java b/kdejava/koala/org/kde/koala/KURLBarSignals.java deleted file mode 100644 index 3b772cde..00000000 --- a/kdejava/koala/org/kde/koala/KURLBarSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListBoxItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQSize; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPalette; -import org.kde.qt.TQResizeEvent; - -public interface KURLBarSignals { - /** - This signal is emitted when the user activated an item, e.g., by - clicking on it. - @short This signal is emitted when the user activated an item, e. - */ - void activated(KURL url); -} diff --git a/kdejava/koala/org/kde/koala/KURLComboBox.java b/kdejava/koala/org/kde/koala/KURLComboBox.java deleted file mode 100644 index 720ba032..00000000 --- a/kdejava/koala/org/kde/koala/KURLComboBox.java +++ /dev/null @@ -1,220 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -/** - - This combobox shows a number of recent URLs/directories, as well as some - default directories. - It will manage the default dirs root-directory, home-directory and - Desktop-directory, as well as a number of URLs set via setURLs() - and one additional entry to be set via setURL(). - See {@link KURLComboBoxSignals} for signals emitted by KURLComboBox - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A combo box showing a number of recent URLs/directories. - -*/ -public class KURLComboBox extends KComboBox { - protected KURLComboBox(Class dummy){super((Class) null);} - /** - This enum describes which kind of items is shown in the combo box. - @short This enum describes which kind of items is shown in the combo box. - */ - public static final int Files = -1; - public static final int Directories = 1; - public static final int Both = 0; - - /** - This Enumeration is used in setURL() to determine which items - will be removed when the given list is larger than maxItems(). - - <li> - RemoveTop means that items will be removed from top - </li> - - <li> - RemoveBottom means, that items will be removed from the bottom - - </li> @short This Enumeration is used in setURL() to determine which items will be removed when the given list is larger than maxItems(). - */ - public static final int RemoveTop = 0; - public static final int RemoveBottom = 1; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLComboBox. - @param mode is either Files, Directories or Both and controls the - following behavior: - - <li> - Files all inserted URLs will be treated as files, therefore the - url shown in the combo will never show a trailing / - the icon will be the one associated with the file's mimetype. - </li> - - <li> - Directories all inserted URLs will be treated as directories, will - have a trailing slash in the combobox. The current - directory will show the "open folder" icon, other - directories the "folder" icon. - </li> - - <li> - Both Don't mess with anything, just show the url as given. - </li> - @param parent The parent object of this widget. - @param name The name of this widget. - @short Constructs a KURLComboBox. - */ - public KURLComboBox(int mode, TQWidget parent, String name) { - super((Class) null); - newKURLComboBox(mode,parent,name); - } - private native void newKURLComboBox(int mode, TQWidget parent, String name); - public KURLComboBox(int mode, TQWidget parent) { - super((Class) null); - newKURLComboBox(mode,parent); - } - private native void newKURLComboBox(int mode, TQWidget parent); - public KURLComboBox(int mode) { - super((Class) null); - newKURLComboBox(mode); - } - private native void newKURLComboBox(int mode); - public KURLComboBox(int mode, boolean rw, TQWidget parent, String name) { - super((Class) null); - newKURLComboBox(mode,rw,parent,name); - } - private native void newKURLComboBox(int mode, boolean rw, TQWidget parent, String name); - public KURLComboBox(int mode, boolean rw, TQWidget parent) { - super((Class) null); - newKURLComboBox(mode,rw,parent); - } - private native void newKURLComboBox(int mode, boolean rw, TQWidget parent); - public KURLComboBox(int mode, boolean rw) { - super((Class) null); - newKURLComboBox(mode,rw); - } - private native void newKURLComboBox(int mode, boolean rw); - /** - Sets the current url. This combo handles exactly one url additionally - to the default items and those set via setURLs(). So you can call - setURL() as often as you want, it will always replace the previous one - set via setURL(). - If <code>url</code> is already in the combo, the last item will stay there - and the existing item becomes the current item. - The current item will always have the open-directory-pixmap as icon. - Note that you won't receive any signals, e.g. textChanged(), - returnPressed() or activated() upon calling this method. - @short Sets the current url. - */ - public native void setURL(KURL url); - /** - Inserts <code>urls</code> into the combobox below the "default urls" (see - addDefaultURL). - If the list of urls contains more items than maxItems, the first items - will be stripped. - @short Inserts <code>urls</code> into the combobox below the "default urls" (see addDefaultURL). - */ - public native void setURLs(String[] urls); - /** - Inserts <code>urls</code> into the combobox below the "default urls" (see - addDefaultURL). - If the list of urls contains more items than maxItems, the <code>remove</code> - parameter determines whether the first or last items will be stripped. - @short Inserts <code>urls</code> into the combobox below the "default urls" (see addDefaultURL). - */ - public native void setURLs(String[] urls, int remove); - /** - @return a list of all urls currently handled. The list contains at most - maxItems() items. - Use this to save the list of urls in a config-file and reinsert them - via setURLs() next time. - Note that all default urls set via addDefaultURL() are not - returned, they will automatically be set via setURLs() or setURL(). - You will always get fully qualified urls, i.e. with protocol like - file:/ - - @short - */ - public native ArrayList urls(); - /** - Sets how many items should be handled and displayed by the combobox. - @short Sets how many items should be handled and displayed by the combobox. - @see #maxItems - */ - public native void setMaxItems(int arg1); - /** - @return the maximum of items the combobox handles. - - @short - @see #setMaxItems - */ - public native int maxItems(); - /** - Adds a url that will always be shown in the combobox, it can't be - "rotated away". Default urls won't be returned in urls() and don't - have to be set via setURLs(). - If you want to specify a special pixmap, use the overloaded method with - the pixmap parameter. - Default URLs will be inserted into the combobox by setDefaults() - @short Adds a url that will always be shown in the combobox, it can't be "rotated away". - */ - public native void addDefaultURL(KURL url, String text); - public native void addDefaultURL(KURL url); - /** - Adds a url that will always be shown in the combobox, it can't be - "rotated away". Default urls won't be returned in urls() and don't - have to be set via setURLs(). - If you don't need to specify a pixmap, use the overloaded method without - the pixmap parameter. - Default URLs will be inserted into the combobox by setDefaults() - @short Adds a url that will always be shown in the combobox, it can't be "rotated away". - */ - public native void addDefaultURL(KURL url, TQPixmap pix, String text); - public native void addDefaultURL(KURL url, TQPixmap pix); - /** - Clears all items and inserts the default urls into the combo. Will be - called implicitly upon the first call to setURLs() or setURL() - @short Clears all items and inserts the default urls into the combo. - @see #addDefaultURL - */ - public native void setDefaults(); - /** - Removes any occurrence of <code>url.</code> If <code>checkDefaultURLs</code> is false - default-urls won't be removed. - @short Removes any occurrence of <code>url.</code> - */ - public native void removeURL(KURL url, boolean checkDefaultURLs); - public native void removeURL(KURL url); - protected native void init(int mode); - // void insertURLItem(const KURLComboBox::KURLComboItem* arg1); >>>> NOT CONVERTED - /** - Uses KMimeType.pixmapForURL() to return a proper pixmap for <code>url.</code> - In directory mode, a folder icon is always returned. - @short Uses KMimeType.pixmapForURL() to return a proper pixmap for <code>url.</code> - */ - protected native TQPixmap getPixmap(KURL url); - /** - Updates <code>item</code> with <code>pixmap</code> and sets the url instead of the text - of the KURLComboItem. - Also works around a Qt bug. - @short Updates <code>item</code> with <code>pixmap</code> and sets the url instead of the text of the KURLComboItem. - */ - // void updateItem(const KURLComboBox::KURLComboItem* arg1,int arg2,const TQPixmap& arg3); >>>> NOT CONVERTED - protected native void slotActivated(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLComboBoxSignals.java b/kdejava/koala/org/kde/koala/KURLComboBoxSignals.java deleted file mode 100644 index d2c24ec1..00000000 --- a/kdejava/koala/org/kde/koala/KURLComboBoxSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KURLComboBoxSignals { - /** - Emitted when an item was clicked at. - @param url is the url of the now current item. If it is a local url, - it won't have a protocol (file:/), otherwise it will. - @short Emitted when an item was clicked at. - */ - void urlActivated(KURL url); -} diff --git a/kdejava/koala/org/kde/koala/KURLComboRequester.java b/kdejava/koala/org/kde/koala/KURLComboRequester.java deleted file mode 100644 index 833f8fb3..00000000 --- a/kdejava/koala/org/kde/koala/KURLComboRequester.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - URL requester with a combo box, for use in Designer - @short URL requester with a combo box, for use in Designer - -*/ -public class KURLComboRequester extends KURLRequester { - protected KURLComboRequester(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLRequester widget with a combobox. - @short Constructs a KURLRequester widget with a combobox. - */ - public KURLComboRequester(TQWidget parent, String name) { - super((Class) null); - newKURLComboRequester(parent,name); - } - private native void newKURLComboRequester(TQWidget parent, String name); - public KURLComboRequester(TQWidget parent) { - super((Class) null); - newKURLComboRequester(parent); - } - private native void newKURLComboRequester(TQWidget parent); - public KURLComboRequester() { - super((Class) null); - newKURLComboRequester(); - } - private native void newKURLComboRequester(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLCompletion.java b/kdejava/koala/org/kde/koala/KURLCompletion.java deleted file mode 100644 index 339499bc..00000000 --- a/kdejava/koala/org/kde/koala/KURLCompletion.java +++ /dev/null @@ -1,176 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCustomEvent; - -/** - - This class does completion of URLs including user directories (~user) - and environment variables. Remote URLs are passed to TDEIO. - @author David Smith <dsmith@algonet.se> - - @short Completion of a single URL. - -*/ -public class KURLCompletion extends TDECompletion { - protected KURLCompletion(Class dummy){super((Class) null);} - /** - Determines how completion is done. - - <li> - ExeCompletion - executables in $PATH or with full path. - </li> - - <li> - FileCompletion - all files with full path or in dir(), URLs - are listed using TDEIO. - </li> - - <li> - DirCompletion - Same as FileCompletion but only returns directories. - - </li> @short Determines how completion is done. - */ - public static final int ExeCompletion = 1; - public static final int FileCompletion = 2; - public static final int DirCompletion = 3; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLCompletion object in FileCompletion mode. - @short Constructs a KURLCompletion object in FileCompletion mode. - */ - public KURLCompletion() { - super((Class) null); - newKURLCompletion(); - } - private native void newKURLCompletion(); - /** - This overloaded constructor allows you to set the Mode to ExeCompletion - or FileCompletion without using setMode. Default is FileCompletion. - @short This overloaded constructor allows you to set the Mode to ExeCompletion or FileCompletion without using setMode. - */ - public KURLCompletion(int arg1) { - super((Class) null); - newKURLCompletion(arg1); - } - private native void newKURLCompletion(int arg1); - /** - Finds completions to the given text. - Remote URLs are listed with TDEIO. For performance reasons, local files - are listed with TDEIO only if KURLCOMPLETION_LOCAL_TDEIO is set. - The completion is done asyncronously if TDEIO is used. - Returns the first match for user, environment, and local dir completion - and null for asynchronous completion (TDEIO or threaded). - @param text the text to complete - @return the first match, or null if not found - - @short Finds completions to the given text. - */ - public native String makeCompletion(String text); - /** - Sets the current directory (used as base for completion). - Default = $HOME. - @param dir the current directory, either as a path or URL - @short Sets the current directory (used as base for completion). - */ - public native void setDir(String dir); - /** - Returns the current directory, as it was given in setDir - @return the current directory (path or URL) - - @short Returns the current directory, as it was given in setDir - */ - public native String dir(); - /** - Check whether asynchronous completion is in progress. - @return true if asynchronous completion is in progress - - @short Check whether asynchronous completion is in progress. - */ - public native boolean isRunning(); - /** - Stops asynchronous completion. - @short Stops asynchronous completion. - */ - public native void stop(); - /** - Returns the completion mode: exe or file completion (default FileCompletion). - @return the completion mode - - @short Returns the completion mode: exe or file completion (default FileCompletion). - */ - public native int mode(); - /** - Changes the completion mode: exe or file completion - @param mode the new completion mode - @short Changes the completion mode: exe or file completion - */ - public native void setMode(int mode); - /** - Checks whether environment variables are completed and - whether they are replaced internally while finding completions. - Default is enabled. - @return true if environment vvariables will be replaced - - @short Checks whether environment variables are completed and whether they are replaced internally while finding completions. - */ - public native boolean replaceEnv(); - /** - Enables/disables completion and replacement (internally) of - environment variables in URLs. Default is enabled. - @param replace true to replace environment variables - @short Enables/disables completion and replacement (internally) of environment variables in URLs. - */ - public native void setReplaceEnv(boolean replace); - /** - Returns whether ~username is completed and whether ~username - is replaced internally with the user's home directory while - finding completions. Default is enabled. - @return true to replace tilde with the home directory - - @short Returns whether ~username is completed and whether ~username is replaced internally with the user's home directory while finding completions. - */ - public native boolean replaceHome(); - /** - Enables/disables completion of ~username and replacement - (internally) of ~username with the user's home directory. - Default is enabled. - @param replace true to replace tilde with the home directory - @short Enables/disables completion of ~username and replacement (internally) of ~username with the user's home directory. - */ - public native void setReplaceHome(boolean replace); - /** - Replaces username and/or environment variables, depending on the - current settings and returns the filtered url. Only works with - local files, i.e. returns back the original string for non-local - urls. - @param text the text to process - @return the path or URL resulting from this operation. If you - want to convert it to a KURL, use KURL.fromPathOrURL. - - @short Replaces username and/or environment variables, depending on the current settings and returns the filtered url. - */ - public native String replacedPath(String text); - /** - @short - */ - public static native String replacedPath(String text, boolean replaceHome, boolean replaceEnv); - public static native String replacedPath(String text, boolean replaceHome); - protected native void postProcessMatch(StringBuffer match); - protected native void postProcessMatches(String[] matches); - // void postProcessMatches(TDECompletionMatches* arg1); >>>> NOT CONVERTED - protected native void customEvent(TQCustomEvent e); - // void slotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED - protected native void slotIOFinished(Job arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLDrag.java b/kdejava/koala/org/kde/koala/KURLDrag.java deleted file mode 100644 index 50cc86a9..00000000 --- a/kdejava/koala/org/kde/koala/KURLDrag.java +++ /dev/null @@ -1,135 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMimeSourceInterface; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQMimeSource; -import org.kde.qt.TQWidget; -import org.kde.qt.TQUriDrag; - -/** - - This class is to be used instead of TQUriDrag when using KURL. - The reason is: TQUriDrag (and the XDND/W3C standards) expect URLs to - be encoded in UTF-8 (unicode), but KURL uses the current locale - by default. - The other reasons for using this class are: - - <li> - it exports text/plain (for dropping/pasting into lineedits, mails etc.) - </li> - - <li> - it has support for metadata, shipped as part of the dragobject - This is important, for instance to set a correct HTTP referrer (some websites - require it for downloading e.g. an image). - </li> - To create a drag object, use the KURLDrag constructor. - To handle drops, use TQUriDrag.canDecode() and KURLDrag.decode() - @short This class is to be used instead of TQUriDrag when using KURL. - -*/ -public class KURLDrag extends TQUriDrag { - protected KURLDrag(Class dummy){super((Class) null);} - /** - Constructs an object to drag the list of URLs in <code>urls.</code> - The <code>dragSource</code> and <code>name</code> arguments are passed on to TQUriDrag, - and the list of urls is converted to UTF-8 before being passed - to TQUriDrag. - @param urls the list of URLs - @param dragSource the parent of the TQObject. Should be set when doing drag-n-drop, - but should be 0 when copying to the clipboard - @param name the name of the TQObject - @short Constructs an object to drag the list of URLs in <code>urls.</code> - */ - public KURLDrag(ArrayList urls, TQWidget dragSource, String name) { - super((Class) null); - newKURLDrag(urls,dragSource,name); - } - private native void newKURLDrag(ArrayList urls, TQWidget dragSource, String name); - public KURLDrag(ArrayList urls, TQWidget dragSource) { - super((Class) null); - newKURLDrag(urls,dragSource); - } - private native void newKURLDrag(ArrayList urls, TQWidget dragSource); - public KURLDrag(ArrayList urls) { - super((Class) null); - newKURLDrag(urls); - } - private native void newKURLDrag(ArrayList urls); - /** - Constructs an object to drag the list of URLs in <code>urls.</code> - This version also includes metadata. - @param urls the list of URLs - @param metaData a map containing meta data - @param dragSource the parent of the TQObject. Should be set when doing drag-n-drop, - but should be 0 when copying to the clipboard - @param name the name of the TQObject - @short Constructs an object to drag the list of URLs in <code>urls.</code> - @see #metaData - */ - // KURLDrag* KURLDrag(const KURL::List& arg1,const TQMap<TQString, TQString>& arg2,TQWidget* arg3,const char* arg4); >>>> NOT CONVERTED - // KURLDrag* KURLDrag(const KURL::List& arg1,const TQMap<TQString, TQString>& arg2,TQWidget* arg3); >>>> NOT CONVERTED - // KURLDrag* KURLDrag(const KURL::List& arg1,const TQMap<TQString, TQString>& arg2); >>>> NOT CONVERTED - /** - By default, KURLDrag also exports the URLs as plain text, for e.g. dropping onto a text editor. - But in some cases this might not be wanted, e.g. if using the KURLDrag in a KMultipleDrag - and another component of the multiple-drag provides better plain text data. - In such a case, setExportAsText( false ) should be called. - @short By default, KURLDrag also exports the URLs as plain text, for e. - */ - public native void setExportAsText(boolean exp); - /** - Meta-data to associate with those URLs. - This is an alternative way of setting the metadata: - either use the constructor to pass it all at once, or use - drag.metaData()["key"] = data; - @short Meta-data to associate with those URLs. - @see TransferJob - */ - // TQMap<TQString, TQString>& metaData(); >>>> NOT CONVERTED - public native String format(int i); - public native byte[] encodedData(String mime); - /** - Convenience method that decodes the contents of <code>e</code> - into a list of KURLs. Decoding will fail if at least one decoded value - is not a valid KURL. - @param e the mime source - @param urls the list of urls will be written here - @return true if successful, false otherwise - - @short Convenience method that decodes the contents of <code>e</code> into a list of KURLs. - */ - public static native boolean decode(TQMimeSourceInterface e, ArrayList urls); - /** - Convenience method that decodes the contents of <code>e</code> - into a list of KURLs and a set of metadata. Decoding will fail if - at least one decoded value is not a valid KURL. - You should be using this one, if possible. - @param e the mime source - @param urls the list of urls will be written here - @param metaData the metadata map will be written here - @return true if successful, false otherwise - - @short Convenience method that decodes the contents of <code>e</code> into a list of KURLs and a set of metadata. - */ - // bool decode(const TQMimeSource* arg1,KURL::List& arg2,TQMap<TQString, TQString>& arg3); >>>> NOT CONVERTED - /** - Converts a URL to a string representation suitable for dragging. - @short Converts a URL to a string representation suitable for dragging. - */ - public static native String urlToString(KURL url); - /** - Converts a string used for dragging to a URL. - @short Converts a string used for dragging to a URL. - */ - public static native KURL stringToUrl(String s); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLLabel.java b/kdejava/koala/org/kde/koala/KURLLabel.java deleted file mode 100644 index 6dcb74d8..00000000 --- a/kdejava/koala/org/kde/koala/KURLLabel.java +++ /dev/null @@ -1,279 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQLabel; - -/** - - KURLLabel is a drop-in replacement for TQLabel that handles text - in a fashion similar to how an HTML widget handles hyperlinks. The - text can be underlined (or not) and set to different colors. It - can also "glow" (cycle colors) when the mouse passes over it. - KURLLabel also provides signals for several events, including - the mouse leaving and entering the text area and all forms of - mouse clicking. - A typical usage would be something like so: - <pre> - KURLLabel address = new KURLLabel(this); - address.setText("My homepage"); - address.setURL("http://www.home.com/~me"); - connect(address, SIGNAL("leftClickedURL(String)"), - SLOT("processMyURL(String)")); - </pre> - In this example, the text "My homepage" would be displayed - as blue, underlined text. When the mouse passed over it, - it would "glow" red. When the user clicks on the text, the - signal leftClickedURL() would be emitted with "http://www.home.com/~me" - as its argument. - \image html kurllabel.png "KDE URL Label" - See {@link KURLLabelSignals} for signals emitted by KURLLabel - @author Peter Putzer <putzer@kde.org> (Rewrite) - - @version $Id$ - - @short A drop-in replacement for TQLabel that displays hyperlinks. - -*/ -public class KURLLabel extends TQLabel { - protected KURLLabel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Default constructor. - Use setURL() and setText() or TQListView.setPixmap() - to set the resp. properties. - @short Default constructor. - */ - public KURLLabel(TQWidget parent, String name) { - super((Class) null); - newKURLLabel(parent,name); - } - private native void newKURLLabel(TQWidget parent, String name); - public KURLLabel(TQWidget parent) { - super((Class) null); - newKURLLabel(parent); - } - private native void newKURLLabel(TQWidget parent); - public KURLLabel() { - super((Class) null); - newKURLLabel(); - } - private native void newKURLLabel(); - /** - Convenience constructor. - @param url is the URL emitted when the label is clicked. - @param text is the displayed string. If it's equal to null - the <code>url</code> will be used instead. - @param parent Passed to lower level constructor - @param name Passed to lower level constructor - <code>parent</code> and <code>name</code> are passed to TQLabel, which in turn passes - them further down - @short Convenience constructor. - */ - public KURLLabel(String url, String text, TQWidget parent, String name) { - super((Class) null); - newKURLLabel(url,text,parent,name); - } - private native void newKURLLabel(String url, String text, TQWidget parent, String name); - public KURLLabel(String url, String text, TQWidget parent) { - super((Class) null); - newKURLLabel(url,text,parent); - } - private native void newKURLLabel(String url, String text, TQWidget parent); - public KURLLabel(String url, String text) { - super((Class) null); - newKURLLabel(url,text); - } - private native void newKURLLabel(String url, String text); - public KURLLabel(String url) { - super((Class) null); - newKURLLabel(url); - } - private native void newKURLLabel(String url); - /** - Returns the URL. - @short Returns the URL. - */ - public native String url(); - /** - Returns the current tooltip text. - @short Returns the current tooltip text. - */ - public native String tipText(); - /** - @return true if a tooltip will be displayed. - - @short - @see #setTipText - */ - public native boolean useTips(); - /** - @return true if the cursor will change while over the URL. - - @short - @see #setUseCursor - */ - public native boolean useCursor(); - /** - When this is on, the text will switch to the selected - color whenever the mouse passes over it. - @short When this is on, the text will switch to the selected color whenever the mouse passes over it. - */ - public native boolean isGlowEnabled(); - /** - This feature is very similar to the "glow" feature in that the color of the - label switches to the selected color when the cursor passes - over it. In addition, underlining is turned on for as - long as the mouse is overhead. Note that if "glow" and - underlining are both already turned on, this feature - will have no visible effect. - @short This feature is very similar to the "glow" feature in that the color of the label switches to the selected color when the cursor passes over it. - */ - public native boolean isFloatEnabled(); - /** - @return the alternate pixmap (may be 0L if none was set). - - @short - */ - public native TQPixmap altPixmap(); - /** - Turns on or off the underlining. - When this is on, the - text will be underlined. By default, it is <code>true.</code> - @short Turns on or off the underlining. - */ - public native void setUnderline(boolean on); - public native void setUnderline(); - /** - Sets the URL for this label to <code>url.</code> - @short Sets the URL for this label to <code>url.</code> - @see #url - */ - public native void setURL(String url); - /** - Overridden for internal reasons; the API remains unaffected. - @short Overridden for internal reasons; the API remains unaffected. - */ - public native void setFont(TQFont arg1); - /** - Turns on or off the tool tip feature. - When this is on, the URL will be displayed as a - tooltip whenever the mouse passes passes over it. - By default, it is <code>false.</code> - @short Turns on or off the tool tip feature. - */ - public native void setUseTips(boolean on); - public native void setUseTips(); - /** - Specifies what text to display when tooltips are turned on. - If this is not used, the tip will default to the URL. - @short Specifies what text to display when tooltips are turned on. - @see #setUseTips - */ - public native void setTipText(String tip); - /** - Sets the highlight color. - This is the default foreground - color (non-selected). By default, it is <code>blue.</code> - @short Sets the highlight color. - */ - public native void setHighlightedColor(TQColor highcolor); - /** - This is an overloaded version for convenience. - @short This is an overloaded version for convenience. - @see #setHighlightedColor - */ - public native void setHighlightedColor(String highcolor); - /** - Sets the selected color. - This is the color the text will change - to when either a mouse passes over it and "glow" mode is on or - when it is selected (clicked). By default, it is <code>red.</code> - @short Sets the selected color. - */ - public native void setSelectedColor(TQColor selcolor); - /** - This is an overloaded version for convenience. - @short This is an overloaded version for convenience. - @see #setSelectedColor - */ - public native void setSelectedColor(String selcolor); - /** - Turns the custom cursor feature on or off. - When this is on, the cursor will change to a custom cursor - (default is a "pointing hand") whenever the cursor passes - over the label. By default, it is on. - @param on whether a custom cursor should be displayed. - @param cursor is the custom cursor. <code>null</code> indicates the default "hand cursor". - @short Turns the custom cursor feature on or off. - */ - public native void setUseCursor(boolean on, TQCursor cursor); - public native void setUseCursor(boolean on); - /** - Turns on or off the "glow" feature. - When this is on, the text will switch to the - selected color whenever the mouse - passes over it. By default, it is <code>true.</code> - @short Turns on or off the "glow" feature. - */ - public native void setGlow(boolean glow); - public native void setGlow(); - /** - Turns on or off the "float" feature. - This feature is very similar to the "glow" feature in - that the color of the label switches to the selected - color when the cursor passes over it. In addition, - underlining is turned on for as long as the mouse is overhead. - Note that if "glow" and underlining are both already turned - on, this feature will have no visible effect. - By default, it is <code>false.</code> - @short Turns on or off the "float" feature. - */ - public native void setFloat(boolean do_float); - public native void setFloat(); - /** - Sets the "alt" pixmap. - This pixmap will be displayed when the - cursor passes over the label. The effect is similar to the - trick done with 'onMouseOver' in javascript. - @short Sets the "alt" pixmap. - @see #altPixmap - */ - public native void setAltPixmap(TQPixmap altPix); - /** - Overridden for internal reasons; the API remains unaffected. - @short Overridden for internal reasons; the API remains unaffected. - */ - protected native void mouseReleaseEvent(TQMouseEvent arg1); - /** - Overridden for internal reasons; the API remains unaffected. - @short Overridden for internal reasons; the API remains unaffected. - */ - protected native void enterEvent(TQEvent arg1); - /** - Overridden for internal reasons; the API remains unaffected. - @short Overridden for internal reasons; the API remains unaffected. - */ - protected native void leaveEvent(TQEvent arg1); - /** - Catch parent palette changes - @short Catch parent palette changes - */ - public native boolean event(TQEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLLabelSignals.java b/kdejava/koala/org/kde/koala/KURLLabelSignals.java deleted file mode 100644 index da121a70..00000000 --- a/kdejava/koala/org/kde/koala/KURLLabelSignals.java +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KURLLabelSignals { - /** - Emitted when the mouse has passed over the label. - @param url The URL for this label. - @short Emitted when the mouse has passed over the label. - */ - void enteredURL(String url); - /** - Emitted when the mouse has passed over the label. - @short Emitted when the mouse has passed over the label. - */ - void enteredURL(); - /** - Emitted when the mouse is no longer over the label. - @param url The URL for this label. - @short Emitted when the mouse is no longer over the label. - */ - void leftURL(String url); - /** - Emitted when the mouse is no longer over the label. - @short Emitted when the mouse is no longer over the label. - */ - void leftURL(); - /** - Emitted when the user clicked the left mouse button on this label. - @param url The URL for this label. - @short Emitted when the user clicked the left mouse button on this label. - */ - void leftClickedURL(String url); - /** - Emitted when the user clicked the left mouse button on this label. - @short Emitted when the user clicked the left mouse button on this label. - */ - void leftClickedURL(); - /** - Emitted when the user clicked the right mouse button on this label. - @param url The URL for this label. - @short Emitted when the user clicked the right mouse button on this label. - */ - void rightClickedURL(String url); - /** - Emitted when the user clicked the right mouse button on this label. - @short Emitted when the user clicked the right mouse button on this label. - */ - void rightClickedURL(); - /** - Emitted when the user clicked the middle mouse button on this label. - @param url The URL for this label. - @short Emitted when the user clicked the middle mouse button on this label. - */ - void middleClickedURL(String url); - /** - Emitted when the user clicked the left mouse button on this label. - @short Emitted when the user clicked the left mouse button on this label. - */ - void middleClickedURL(); -} diff --git a/kdejava/koala/org/kde/koala/KURLPixmapProvider.java b/kdejava/koala/org/kde/koala/KURLPixmapProvider.java deleted file mode 100644 index 1056c9f6..00000000 --- a/kdejava/koala/org/kde/koala/KURLPixmapProvider.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; - -/** - - Implementation of KPixmapProvider. - Uses KMimeType.pixmapForURL() to resolve icons. - Instatiate this class and supply it to the desired class, e.g. - <pre> - KHistoryCombo combo = new KHistoryCombo( this ); - combo.setPixmapProvider( new KURLPixmapProvider ); - [...] - </pre> - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short Resolves pixmaps for URLs. - -*/ -public class KURLPixmapProvider extends KPixmapProvider { - protected KURLPixmapProvider(Class dummy){super((Class) null);} - /** - Returns a pixmap for <code>url</code> with size <code>size.</code> - Uses KMimeType.pixmapForURL(). - @param url the URL to fetch a pixmap for - @param size the size of the pixmap in pixels, or 0 for default. - @return the resulting pixmap - - @short Returns a pixmap for <code>url</code> with size <code>size.</code> - @see TDEIcon#StdSizes - */ - public native TQPixmap pixmapFor(String url, int size); - public native TQPixmap pixmapFor(String url); - public KURLPixmapProvider() { - super((Class) null); - newKURLPixmapProvider(); - } - private native void newKURLPixmapProvider(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLRequester.java b/kdejava/koala/org/kde/koala/KURLRequester.java deleted file mode 100644 index 56d55d75..00000000 --- a/kdejava/koala/org/kde/koala/KURLRequester.java +++ /dev/null @@ -1,224 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQHBox; - -/** - - This class is a widget showing a lineedit and a button, which invokes a - filedialog. File name completion is available in the lineedit. - The defaults for the filedialog are to ask for one existing local file, i.e. - KFileDialog.setMode( KFile.File | KFile.ExistingOnly | KFile.LocalOnly ) - The default filter is "*", i.e. show all files, and the start directory is - the current working directory, or the last directory where a file has been - selected. - You can change this behavior by using setMode() or setFilter(). - \image html kurlrequester.png "KDE URL Requester" - See {@link KURLRequesterSignals} for signals emitted by KURLRequester - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A widget to request a filename/url from the user. - -*/ -public class KURLRequester extends TQHBox { - protected KURLRequester(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLRequester widget. - @short Constructs a KURLRequester widget. - */ - public KURLRequester(TQWidget parent, String name) { - super((Class) null); - newKURLRequester(parent,name); - } - private native void newKURLRequester(TQWidget parent, String name); - public KURLRequester(TQWidget parent) { - super((Class) null); - newKURLRequester(parent); - } - private native void newKURLRequester(TQWidget parent); - public KURLRequester() { - super((Class) null); - newKURLRequester(); - } - private native void newKURLRequester(); - /** - Constructs a KURLRequester widget with the initial URL <code>url.</code> - // TODO KDE4: Use KURL instead - @short Constructs a KURLRequester widget with the initial URL <code>url.</code> - */ - public KURLRequester(String url, TQWidget parent, String name) { - super((Class) null); - newKURLRequester(url,parent,name); - } - private native void newKURLRequester(String url, TQWidget parent, String name); - public KURLRequester(String url, TQWidget parent) { - super((Class) null); - newKURLRequester(url,parent); - } - private native void newKURLRequester(String url, TQWidget parent); - public KURLRequester(String url) { - super((Class) null); - newKURLRequester(url); - } - private native void newKURLRequester(String url); - /** - Special constructor, which creates a KURLRequester widget with a custom - edit-widget. The edit-widget can be either a KComboBox or a KLineEdit - (or inherited thereof). Note: for geometry management reasons, the - edit-widget is reparented to have the KURLRequester as parent. - @short Special constructor, which creates a KURLRequester widget with a custom edit-widget. - */ - public KURLRequester(TQWidget editWidget, TQWidget parent, String name) { - super((Class) null); - newKURLRequester(editWidget,parent,name); - } - private native void newKURLRequester(TQWidget editWidget, TQWidget parent, String name); - public KURLRequester(TQWidget editWidget, TQWidget parent) { - super((Class) null); - newKURLRequester(editWidget,parent); - } - private native void newKURLRequester(TQWidget editWidget, TQWidget parent); - /** - @return the current url in the lineedit. May be malformed, if the user - entered something weird. ~user or environment variables are substituted - for local files. - // TODO KDE4: Use KURL so that the result is properly defined - - @short - */ - public native String url(); - /** - Enables/disables showing file:/ in the lineedit, when a local file has - been selected in the filedialog or was set via setURL(). - Default is false, not showing file:/ - @short Enables/disables showing file:/ in the lineedit, when a local file has been selected in the filedialog or was set via setURL(). - @see #showLocalProtocol - */ - public native void setShowLocalProtocol(boolean b); - /** - Sets the mode of the file dialog. - Note: you can only select one file with the filedialog, - so KFile.Files doesn't make much sense. - @short Sets the mode of the file dialog. - @see KFileDialog#setMode - */ - public native void setMode(int m); - /** - Returns the current mode - @short Returns the current mode - @see KFileDialog#mode - */ - public native int mode(); - /** - Sets the filter for the file dialog. - @short Sets the filter for the file dialog. - @see KFileDialog#setFilter - */ - public native void setFilter(String filter); - /** - Returns the current filter for the file dialog. - @short Returns the current filter for the file dialog. - @see KFileDialog#filter - */ - public native String filter(); - /** - @return whether local files will be prefixed with file:/ in the - lineedit - - @short - @see #setShowLocalProtocol - */ - public native boolean showLocalProtocol(); - /** - Remove in KDE4? KURLRequester should use KDirSelectDialog for - (mode & KFile.Directory) && !(mode & KFile.File) - @return a pointer to the filedialog - You can use this to customize the dialog, e.g. to specify a filter. - Never returns 0L. - - @short - */ - public native KFileDialog fileDialog(); - /** - It is provided so that you can e.g. set an own completion object - (e.g. KShellCompletion) into it. - @return a pointer to the lineedit, either the default one, or the - special one, if you used the special constructor. - - @short - */ - public native KLineEdit lineEdit(); - /** - @return a pointer to the combobox, in case you have set one using the - special constructor. Returns 0L otherwise. - - @short - */ - public native KComboBox comboBox(); - /** - @return a pointer to the pushbutton. It is provided so that you can - specify an own pixmap or a text, if you really need to. - - @short - */ - public native KPushButton button(); - /** - @return the KURLCompletion object used in the lineedit/combobox. - - @short - */ - public native KURLCompletion completionObject(); - /** - @return an object, suitable for use with KEditListBox. It allows you - to put this KURLRequester into a KEditListBox. - Basically, do it like this: - <pre> - KURLRequester *req = new KURLRequester( someWidget ); - [...] - KEditListBox *editListBox = new KEditListBox( i18n("Some Title"), req.customEditor(), someWidget ); - </pre> - - @short - */ - // KEditListBox::CustomEditor customEditor(); >>>> NOT CONVERTED - /** - Sets the url in the lineedit to <code>url.</code> Depending on the state of - showLocalProtocol(), file:/ on local files will be shown or not. - @short Sets the url in the lineedit to <code>url.</code> - */ - public native void setURL(String url); - /** - Sets the url in the lineedit to <code>url.</code> - @short Sets the url in the lineedit to <code>url.</code> - */ - public native void setKURL(KURL url); - /** - Sets the caption of the file dialog. - @short Sets the caption of the file dialog. - */ - public native void setCaption(String caption); - /** - Clears the lineedit/combobox. - @short Clears the lineedit/combobox. - */ - public native void clear(); - protected native void init(); - /** - Called when the button is pressed to open the filedialog. - Also called when TDEStdAccel.Open (default is Ctrl-O) is pressed. - @short Called when the button is pressed to open the filedialog. - */ - protected native void slotOpenDialog(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLRequesterDlg.java b/kdejava/koala/org/kde/koala/KURLRequesterDlg.java deleted file mode 100644 index 93c33f6c..00000000 --- a/kdejava/koala/org/kde/koala/KURLRequesterDlg.java +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Dialog in which a user can enter a filename or url. It is a dialog - encapsulating KURLRequester. The API is derived from - KFileDialog. - @author Wilco Greven <greven@kde.org> - - @short Simple dialog to enter a filename/url. - -*/ -public class KURLRequesterDlg extends KDialogBase { - protected KURLRequesterDlg(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KURLRequesterDlg. - @param url The url of the directory to start in. Use null - to start in the current working directory, or the last - directory where a file has been selected. - @param parent The parent object of this widget. - @param name The name of this widget. - @param modal Specifies whether the dialog should be opened as modal - or not. - @short Constructs a KURLRequesterDlg. - */ - public KURLRequesterDlg(String url, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKURLRequesterDlg(url,parent,name,modal); - } - private native void newKURLRequesterDlg(String url, TQWidget parent, String name, boolean modal); - public KURLRequesterDlg(String url, TQWidget parent, String name) { - super((Class) null); - newKURLRequesterDlg(url,parent,name); - } - private native void newKURLRequesterDlg(String url, TQWidget parent, String name); - /** - Constructs a KURLRequesterDlg. - @param url The url of the directory to start in. Use null - to start in the current working directory, or the last - directory where a file has been selected. - @param text Text of the label - @param parent The parent object of this widget. - @param name The name of this widget. - @param modal Specifies whether the dialog should be opened as modal - or not. - @short Constructs a KURLRequesterDlg. - */ - public KURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKURLRequesterDlg(url,text,parent,name,modal); - } - private native void newKURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal); - public KURLRequesterDlg(String url, String text, TQWidget parent, String name) { - super((Class) null); - newKURLRequesterDlg(url,text,parent,name); - } - private native void newKURLRequesterDlg(String url, String text, TQWidget parent, String name); - /** - Returns the fully qualified filename. - @short Returns the fully qualified filename. - */ - public native KURL selectedURL(); - /** - Returns a pointer to the file dialog used by the KURLRequester. - @short Returns a pointer to the file dialog used by the KURLRequester. - */ - public native KFileDialog fileDialog(); - /** - Returns a pointer to the KURLRequester. - @short Returns a pointer to the KURLRequester. - */ - public native KURLRequester urlRequester(); - /** - Creates a modal dialog, executes it and returns the selected URL. - @param url This specifies the initial path of the input line. - @param parent The widget the dialog will be centered on initially. - @param caption The caption to use for the dialog. - @short Creates a modal dialog, executes it and returns the selected URL. - */ - public static native KURL getURL(String url, TQWidget parent, String caption); - public static native KURL getURL(String url, TQWidget parent); - public static native KURL getURL(String url); - public static native KURL getURL(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KURLRequesterSignals.java b/kdejava/koala/org/kde/koala/KURLRequesterSignals.java deleted file mode 100644 index 66b4e556..00000000 --- a/kdejava/koala/org/kde/koala/KURLRequesterSignals.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KURLRequesterSignals { - /** - Emitted when the text in the lineedit changes. - The parameter contains the contents of the lineedit. - @short Emitted when the text in the lineedit changes. - */ - void textChanged(String arg1); - /** - Emitted when return or enter was pressed in the lineedit. - @short Emitted when return or enter was pressed in the lineedit. - */ - void returnPressed(); - /** - Emitted when return or enter was pressed in the lineedit. - The parameter contains the contents of the lineedit. - @short Emitted when return or enter was pressed in the lineedit. - */ - void returnPressed(String arg1); - /** - Emitted before the filedialog is going to open. Connect - to this signal to "configure" the filedialog, e.g. set the - filefilter, the mode, a preview-widget, etc. It's usually - not necessary to set a URL for the filedialog, as it will - get set properly from the editfield contents. - If you use multiple KURLRequesters, you can connect all of them - to the same slot and use the given KURLRequester pointer to know - which one is going to open. - @short Emitted before the filedialog is going to open. - */ - void openFileDialog(KURLRequester arg1); - /** - Emitted when the user changed the URL via the file dialog. - The parameter contains the contents of the lineedit. - // TODO KDE4: Use KURL instead - @short Emitted when the user changed the URL via the file dialog. - */ - void urlSelected(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/KUniqueApplication.java b/kdejava/koala/org/kde/koala/KUniqueApplication.java deleted file mode 100644 index a7fcc087..00000000 --- a/kdejava/koala/org/kde/koala/KUniqueApplication.java +++ /dev/null @@ -1,346 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; - -/** - - Maintains only a single - instance of a running application at a time. - If another instance - is started, it will determine (via DCOP) whether it is the first instance - or a second instance. If it is a second instance, it will forward on - the information to the first instance and then quit. - The .desktop file for the application should state X-DCOP-ServiceType=Unique, - see tdeapplication.h - If your application is used to open files, it should also support the --tempfile - option (see TDECmdLineArgs.addTempFileOption()), to delete tempfiles after use. - Add X-TDE-HasTempFileOption=true to the .desktop file to indicate this. - @author Preston Brown <pbrown@kde.org> - - @short Maintains only a single instance of a running application at a time. - @see TDEApplication - @see DCOPObject - -*/ -public class KUniqueApplication extends TDEApplication implements DCOPObjectInterface { - protected KUniqueApplication(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. Takes command line arguments from TDECmdLineArgs - @param allowStyles Set to false to disable the loading on plugin based - styles. This is only useful to applications that do not display a GUI - normally. If you do create an application with <code>allowStyles</code> set to false - it normally runs in the background but under special circumstances - displays widgets. Call TDEApplication.enableStyles() before - displaying any widgets. - @param GUIenabled Set to false to disable all GUI stuff. This implies - no styles either. - @param configUnique If true, the uniqueness of the application will - depend on the value of the "MultipleInstances" - key in the "KDE" group of the application config file. - @short Constructor. - */ - public KUniqueApplication(boolean allowStyles, boolean GUIenabled, boolean configUnique) { - super((Class) null); - newKUniqueApplication(allowStyles,GUIenabled,configUnique); - } - private native void newKUniqueApplication(boolean allowStyles, boolean GUIenabled, boolean configUnique); - public KUniqueApplication(boolean allowStyles, boolean GUIenabled) { - super((Class) null); - newKUniqueApplication(allowStyles,GUIenabled); - } - private native void newKUniqueApplication(boolean allowStyles, boolean GUIenabled); - public KUniqueApplication(boolean allowStyles) { - super((Class) null); - newKUniqueApplication(allowStyles); - } - private native void newKUniqueApplication(boolean allowStyles); - public KUniqueApplication() { - super((Class) null); - newKUniqueApplication(); - } - private native void newKUniqueApplication(); - /** - Dispatches any incoming DCOP message for a new instance. - If it is not a request for a new instance, return false. - Overloaded from DCOPObject to make sure that the application - stays unique. - @param fun DCOP function signature - @param data the data for the arguments - @param replyType the type of the reply value - @param replyData the reply - @short Dispatches any incoming DCOP message for a new instance. - @see DCOPObject - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Creates a new "instance" of the application. - Usually this will involve making some calls into the GUI portion of your - application asking for a new window to be created, possibly with - some data already loaded based on the arguments received. - Command line arguments have been passed to TDECmdLineArgs before this - function is called and can be checked in the usual way. - The default implementation ensures the mainwindow of the already - running instance is shown and activated if necessary. You should - prefer using it from your overridden method instead of doing - it directly. - Note that newInstance() is called also in the first started - application process. - @return An exit value. The calling process will exit with this value. - - @short Creates a new "instance" of the application. - */ - public native int newInstance(); - /** - Returns whether newInstance() is being called while session - restoration is in progress. - @short Returns whether newInstance() is being called while session restoration is in progress. - */ - public native boolean restoringSession(); - /** - Adds command line options specific for KUniqueApplication. - Should be called before calling KUniqueApplication constructor - and / or start(). - @short Adds command line options specific for KUniqueApplication. - */ - public static native void addCmdLineOptions(); - /** - Forks and registers with dcop. - The command line arguments are being sent via DCOP to newInstance() - and will be received once the application enters the event loop. - Typically this is used like: - <pre> - int main(String[] args) { - TDEAboutData about("myappname", "myAppName", .....); - TDECmdLineArgs.init(args, &about); - TDECmdLineArgs.addCmdLineOptions( myCmdOptions ); - KUniqueApplication.addCmdLineOptions(); - if (!KUniqueApplication.start()) { - fprintf(stderr, "myAppName is already running!\n"); - exit(0); - } - KUniqueApplication a; - a.exec(); - } - </pre> - Note that it's not necessary to call start() explicitly. It will be - called automatically before creating KUniqueApplication if it hasn't - been called yet, without any performance impact. - @return true if registration is successful. - false if another process was already running. - - @short Forks and registers with dcop. - */ - public static native boolean start(); - /** - @short - */ - public static native void setHandleAutoStarted(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Returns the object id of the DCOPObject. - @return the object's id - - @short Returns the object id of the DCOPObject. - */ - public native String objId(); - /** - Renames a dcop object, if no other with the same name exists - Use with care, all dcop signals are disconnected - @param objId the new object id - @short Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disconnected - */ - public native boolean setObjId(String objId); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for process() but - you still want to dispatch some functions dynamically. - Dynamically means that methods may appear and vanish - during runtime. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short This function is of interest when you used an IDL compiler to generate the implementation for process() but you still want to dispatch some functions dynamically. - @see #process - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for functions() but - you still want to list some functions dynamically. - Dynamically means that the methods may appear and vanish - during runtime. - @return A list of the additional functions, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for functions() but you still want to list some functions dynamically. - @see #functions - */ - public native ArrayList functionsDynamic(); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for interfaces() but - you still want to list some interfaces dynamically. - Dynamically means that they may appear and vanish - during runtime. - @return A list of the additional interfaces, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for interfaces() but you still want to list some interfaces dynamically. - @see #interfaces - */ - public native ArrayList interfacesDynamic(); - /** - Returns the names of the interfaces, specific ones last. The - functions gets reimplemented by the IDL compiler. If you don't - use the IDL compiler, consider implementing this function - manually if you want your object to be easily explorable. - @return a list of interfaces - - @short Returns the names of the interfaces, specific ones last. - @see #functions - */ - public native ArrayList interfaces(); - /** - Returns the list of functions understood by the object. It gets - reimplemented by the IDL compiler. If you don't use the IDL - compiler, consider implementing this function manually if you - want your object to be easily scriptable. - Rationale: functions() allows an interpreter to do client-side - type-casting properly. - Note to implementators: remember to call the baseclasses - implementation. - @return a list of functions - - @short Returns the list of functions understood by the object. - @see #interfaces - @see #process - @see #processDynamic - @see DCOPClient#normalizeFunctionSignature - */ - public native ArrayList functions(); - /** - Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as - arguments - @param signal the signal to emit - @param data the data to send - @short Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as arguments - */ - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> - must be registered when the connection is made. - If false, the connection will be reestablished when <code>sender</code> reregisters. - In this case the connection can be made even if <code>sender</code> is not registered - at that time. - - <li> - <code>Volatile</code> is true and <code>sender</code> does not exist. - </li> - - <li> - <code>signal</code> and <code>slot</code> do not have matching arguments. - - </li> @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both <code>sender</code> & <code>signal</code> are empty. In this - case all connections related to this object in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - /** - Returns the DCOPClient responsible for making the call. - Only call this function while you are handling a DCOP call. - @return the DCOPClient responsible for making the call. - This information is only guaranteed to be correct when - entering your DCOP function. - - @short Returns the DCOPClient responsible for making the call. - */ - public native DCOPClient callingDcopClient(); - /** - @short - */ - public native void setCallingDcopClient(DCOPClient arg1); - /** - Checks whether an object with the given id is known in this process. - DCOPObjectProxy - @return true if an object with the questionable <code>objId</code> is - known in this process. This query does not ask proxies. - - @short Checks whether an object with the given id is known in this process. - */ - public static native boolean hasObject(String objId); - /** - Try to find a dcop object with the given id. - This function does not query the DCOPObjectProxy. - @param objId the object id to search - @return the DCOPObject for the id <code>objId.</code> - - @short Try to find a dcop object with the given id. - */ - public static native DCOPObjectInterface find(String objId); - /** - Tries to find an object using a partial object id. - This function is used for multicasting a DCOP message to - several objects inside a single process. - @param partialId the partial object id to search for - @return a list of DCOPObjects beginning with the string - contained in <code>partialId.</code> - - @short Tries to find an object using a partial object id. - */ - // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED - /** - Creates an object id for the TQObject <code>obj.</code> This is done - using the TQObject.name() function. - @param obj the object whose name will be used - @return the created object id - - @short Creates an object id for the TQObject <code>obj.</code> - */ - public static native String objectName(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/KValueSelector.java b/kdejava/koala/org/kde/koala/KValueSelector.java deleted file mode 100644 index 086c36b0..00000000 --- a/kdejava/koala/org/kde/koala/KValueSelector.java +++ /dev/null @@ -1,89 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -/** - - Widget for color value selection. - @author Martin Jones (mjones@kde.org) - - @short Widget for color value selection. - @see KHSSelector - @see KColorDialog - -*/ -public class KValueSelector extends TDESelector { - protected KValueSelector(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a widget for color selection. - @short Constructs a widget for color selection. - */ - public KValueSelector(TQWidget parent, String name) { - super((Class) null); - newKValueSelector(parent,name); - } - private native void newKValueSelector(TQWidget parent, String name); - public KValueSelector(TQWidget parent) { - super((Class) null); - newKValueSelector(parent); - } - private native void newKValueSelector(TQWidget parent); - public KValueSelector() { - super((Class) null); - newKValueSelector(); - } - private native void newKValueSelector(); - /** - Constructs a widget for color selection with a given orientation - @short Constructs a widget for color selection with a given orientation - */ - public KValueSelector(int o, TQWidget parent, String name) { - super((Class) null); - newKValueSelector(o,parent,name); - } - private native void newKValueSelector(int o, TQWidget parent, String name); - public KValueSelector(int o, TQWidget parent) { - super((Class) null); - newKValueSelector(o,parent); - } - private native void newKValueSelector(int o, TQWidget parent); - public KValueSelector(int o) { - super((Class) null); - newKValueSelector(o); - } - private native void newKValueSelector(int o); - public native int hue(); - public native void setHue(int h); - public native int saturation(); - public native void setSaturation(int s); - public native void updateContents(); - /** - Draws the contents of the widget on a pixmap, - which is used for buffering. - @short Draws the contents of the widget on a pixmap, which is used for buffering. - */ - protected native void drawPalette(TQPixmap pixmap); - protected native void resizeEvent(TQResizeEvent arg1); - /** - Reimplemented from TDESelector. The drawing is - buffered in a pixmap here. As real drawing - routine, drawPalette() is used. - @short Reimplemented from TDESelector. - */ - protected native void drawContents(TQPainter painter); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KWidgetAction.java b/kdejava/koala/org/kde/koala/KWidgetAction.java deleted file mode 100644 index ab7704dc..00000000 --- a/kdejava/koala/org/kde/koala/KWidgetAction.java +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - An action that automatically embeds a widget into a - toolbar. - @short An action that automatically embeds a widget into a toolbar. - -*/ -public class KWidgetAction extends TDEAction { - protected KWidgetAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create an action that will embed widget into a toolbar - when plugged. This action may only be plugged into - a toolbar. - @short Create an action that will embed widget into a toolbar when plugged. - */ - public KWidgetAction(TQWidget widget, String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { - super((Class) null); - newKWidgetAction(widget,text,cut,receiver,slot,parent,name); - } - private native void newKWidgetAction(TQWidget widget, String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); - /** - Returns the widget associated with this action. - @short Returns the widget associated with this action. - */ - public native TQWidget widget(); - public native void setAutoSized(boolean arg1); - /** - Plug the action. The widget passed to the constructor - will be reparented to w, which must inherit TDEToolBar. - @short Plug the action. - */ - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** - Unplug the action. Ensures that the action is not - destroyed. It will be hidden and reparented to null instead. - @short Unplug the action. - */ - public native void unplug(TQWidget w); - protected native void slotToolbarDestroyed(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KWindowInfo.java b/kdejava/koala/org/kde/koala/KWindowInfo.java deleted file mode 100644 index 575462e3..00000000 --- a/kdejava/koala/org/kde/koala/KWindowInfo.java +++ /dev/null @@ -1,135 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - Displays messages in the window icon and title. The message is usually - transient with the original title and icon being restored automatically - after a specified time. The simplest use displays a text message in the - window title: - <pre> - KWindowInfo.showMessage( this, "Message Body" ); - </pre> - This more complex example changes the window icon, as well as - displaying the text. In addition, this example overrides the - default timeout to ensure the message is only displayed for 1 - second. - <pre> - TQPixmap px; - px.load( "lo16-app-logtracker.png" ); - KWindowInfo.showMessage( this, "Message Body", px, 1000 ); - </pre> - If the parent window inherits KSystemTray then KWindowInfo changes the - pixmap and tooltip of the system window to display the message. - @author Richard Moore, rich@kde.org - - @short Displays messages in the window icon and title. - -*/ -public class KWindowInfo extends TQObject { - protected KWindowInfo(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a KWindowInfo with the specified parent. - @short Creates a KWindowInfo with the specified parent. - */ - public KWindowInfo(TQWidget parent, String name) { - super((Class) null); - newKWindowInfo(parent,name); - } - private native void newKWindowInfo(TQWidget parent, String name); - public KWindowInfo(TQWidget parent) { - super((Class) null); - newKWindowInfo(parent); - } - private native void newKWindowInfo(TQWidget parent); - /** - Returns true iff the object should delete itself when it resets. - @short Returns true iff the object should delete itself when it resets. - */ - public native boolean autoDelete(); - /** - Set to true if you want the object to delete itself when the message - timeout occurs. - @short Set to true if you want the object to delete itself when the message timeout occurs. - */ - public native void setAutoDelete(boolean enable); - /** - Shows the specified text in the window title. - @short Shows the specified text in the window title. - */ - public native void message(String text); - /** - Shows the specified text in the window title, and sets the window icon. - @short Shows the specified text in the window title, and sets the window icon. - */ - public native void message(String text, TQPixmap pix); - /** - Shows the specified text in the window title for the specified time. - @short Shows the specified text in the window title for the specified time. - */ - public native void message(String text, int timeout); - /** - Shows the specified icon and text in the window title and WM - icon, for the specified time. The time is a delay specified in - milliseconds, or one of the two special values. The special - values are -1 which means the default timeout should be used, - and 0 which means the message is permanent. - @short Shows the specified icon and text in the window title and WM icon, for the specified time. - */ - public native void message(String text, TQPixmap pix, int timeout); - /** - Shows the specified text in the window title with no timeout. - @short Shows the specified text in the window title with no timeout. - */ - public native void permanent(String text); - /** - Shows the specified text and icon in the window title with no timeout. - @short Shows the specified text and icon in the window title with no timeout. - */ - public native void permanent(String text, TQPixmap pix); - /** - Utility method to display a title bar message for the specified - window. - @short Utility method to display a title bar message for the specified window. - */ - public static native void showMessage(TQWidget window, String text, int timeout); - public static native void showMessage(TQWidget window, String text); - /** - Utility method to display a title bar message and icon for the - specified window. - @short Utility method to display a title bar message and icon for the specified window. - */ - public static native void showMessage(TQWidget window, String text, TQPixmap pix, int timeout); - public static native void showMessage(TQWidget window, String text, TQPixmap pix); - /** - Displays the message in the titlebar/icon. - @short Displays the message in the titlebar/icon. - */ - protected native void display(String text, TQPixmap pix); - /** - Saves the window title and icon. - @short Saves the window title and icon. - */ - protected native void save(); - /** - Resets the window title and icon to the saved values. If - auto-delete is enabled then the object is deleted. - @short Resets the window title and icon to the saved values. - */ - protected native void restore(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KWizard.java b/kdejava/koala/org/kde/koala/KWizard.java deleted file mode 100644 index a2cb12e1..00000000 --- a/kdejava/koala/org/kde/koala/KWizard.java +++ /dev/null @@ -1,67 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWizard; - -/** - - General-purpose multi-page dialog. - KWizard is a class for a multi-page dialog. The user can navigate trough - the pages with "Next" and "Back" buttons and is optionally offered "Finish", - "Cancel" and "Help" buttons. A wizard comes in handy for tutorials or - configuration dialogs with sequential steps. - KWizard is just a wrapper for Qt's TQWizard class. See the - TQWizard documentation for a detailed description of available - functions. The only added functionality is a KDE conformant translation - mechanism for the built-in buttons. - @author Harri Porten <porten@kde.org> - - @version 0.3 - - @short General-purpose multi-page dialog. - -*/ -public class KWizard extends TQWizard { - protected KWizard(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @short Constructor - */ - public KWizard(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newKWizard(parent,name,modal,f); - } - private native void newKWizard(TQWidget parent, String name, boolean modal, int f); - public KWizard(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKWizard(parent,name,modal); - } - private native void newKWizard(TQWidget parent, String name, boolean modal); - public KWizard(TQWidget parent, String name) { - super((Class) null); - newKWizard(parent,name); - } - private native void newKWizard(TQWidget parent, String name); - public KWizard(TQWidget parent) { - super((Class) null); - newKWizard(parent); - } - private native void newKWizard(TQWidget parent); - public KWizard() { - super((Class) null); - newKWizard(); - } - private native void newKWizard(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KWordWrap.java b/kdejava/koala/org/kde/koala/KWordWrap.java deleted file mode 100644 index c30b86a2..00000000 --- a/kdejava/koala/org/kde/koala/KWordWrap.java +++ /dev/null @@ -1,132 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFontMetrics; - -/** - - Word-wrap algorithm that takes into account beautifulness ;) - That means: - - <li> - not letting a letter alone on the last line, - </li> - - <li> - breaking at punctuation signs (not only at spaces) - </li> - - <li> - improved handling of (), [] and {} - </li> - - <li> - improved handling of '/' (e.g. for paths) - </li> - Usage: call the static method, formatText, with the text to - wrap and the constraining rectangle etc., it will return an instance of KWordWrap - containing internal data, result of the word-wrapping. - From that instance you can retrieve the boundingRect, and invoke drawing. - This design allows to call the word-wrap algorithm only when the text changes - and not every time we want to know the bounding rect or draw the text. - @author David Faure <faure@kde.org> - - @short Word-wrap algorithm that takes into account beautifulness ;) - -*/ -public class KWordWrap implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KWordWrap(Class dummy){} - - /** - Use this flag in drawText() if you want to fade out the text if it does - not fit into the constraining rectangle. - @short Use this flag in drawText() if you want to fade out the text if it does not fit into the constraining rectangle. - */ - public static final int FadeOut = 0x10000000; - public static final int Truncate = 0x20000000; - - /** - @return the bounding rect, calculated by formatText. The width is the - width of the widest text line, and never wider than - the rectangle given to formatText. The height is the - text block. X and Y are always 0. - - @short - */ - public native TQRect boundingRect(); - /** - @return the original string, with '\n' inserted where - the text is broken by the wordwrap algorithm. - - @short - */ - public native String wrappedString(); - /** - @return the original string, truncated to the first line. - If <code>dots</code> was set, '...' is appended in case the string was truncated. - Bug: Note that the '...' come out of the bounding rect. - - @short - */ - public native String truncatedString(boolean dots); - public native String truncatedString(); - /** - Draw the text that has been previously wrapped, at position x,y. - Flags are for alignment, e.g. Qt.AlignHCenter. Default is - Qt.AlignAuto. - @param painter the TQPainter to use. - @param x the horizontal position of the text - @param y the vertical position of the text - @param flags the ORed text alignment flags from the Qt namespace, - ORed with FadeOut if you want the text to fade out if it - does not fit (the <code>painter</code>'s background must be set - accordingly) - @short Draw the text that has been previously wrapped, at position x,y. - */ - public native void drawText(TQPainter painter, int x, int y, int flags); - public native void drawText(TQPainter painter, int x, int y); - /** - Main method for wrapping text. - @param fm Font metrics, for the chosen font. Better cache it, creating a TQFontMetrics is expensive. - @param r Constraining rectangle. Only the width and height matter. With - negative height the complete text will be rendered - @param flags currently unused - @param str The text to be wrapped. - @param len Length of text to wrap (default is -1 for all). - @return a KWordWrap instance. The caller is responsible for storing and deleting the result. - - @short Main method for wrapping text. - */ - public static native KWordWrap formatText(TQFontMetrics fm, TQRect r, int flags, String str, int len); - public static native KWordWrap formatText(TQFontMetrics fm, TQRect r, int flags, String str); - /** - Draws the string <code>t</code> at the given coordinates, if it does not - <code>fit</code> into <code>maxW</code> the text will be faded out. - @param p the painter to use. Must have set the pen for the text - color and the background for the color to fade out - @param x the horizontal position of the text - @param y the vertical position of the text - @param maxW the maximum width of the text (including the fade-out - effect) - @param t the text to draw - @short Draws the string <code>t</code> at the given coordinates, if it does not <code>fit</code> into <code>maxW</code> the text will be faded out. - */ - public static native void drawFadeoutText(TQPainter p, int x, int y, int maxW, String t); - /** - Draws the string <code>t</code> at the given coordinates, if it does not - <code>fit</code> into <code>maxW</code> the text will be truncated. - @param p the painter to use - @param x the horizontal position of the text - @param y the vertical position of the text - @param maxW the maximum width of the text (including the '...') - @param t the text to draw - @short Draws the string <code>t</code> at the given coordinates, if it does not <code>fit</code> into <code>maxW</code> the text will be truncated. - */ - public static native void drawTruncateText(TQPainter p, int x, int y, int maxW, String t); -} diff --git a/kdejava/koala/org/kde/koala/KWritePermsIcon.java b/kdejava/koala/org/kde/koala/KWritePermsIcon.java deleted file mode 100644 index 5b486e21..00000000 --- a/kdejava/koala/org/kde/koala/KWritePermsIcon.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Auth icon for write permission display. - @author Preston Brown <pbrown@kde.org> - - @short Auth icon for write permission display. - @see KAuthIcon - -*/ -public class KWritePermsIcon extends KAuthIcon { - protected KWritePermsIcon(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KWritePermsIcon(String fileName, TQWidget parent, String name) { - super((Class) null); - newKWritePermsIcon(fileName,parent,name); - } - private native void newKWritePermsIcon(String fileName, TQWidget parent, String name); - public KWritePermsIcon(String fileName, TQWidget parent) { - super((Class) null); - newKWritePermsIcon(fileName,parent); - } - private native void newKWritePermsIcon(String fileName, TQWidget parent); - public KWritePermsIcon(String fileName) { - super((Class) null); - newKWritePermsIcon(fileName); - } - private native void newKWritePermsIcon(String fileName); - /** - @return whether or not the monitored file is writable. - - @short - */ - public native boolean status(); - /** - make the icon watch a new filename. - @param fileName the new file to monitor / display status for. - @short make the icon watch a new filename. - */ - public native void setFileName(String fileName); - /** - return the filename of the currently watched file. - @short return the filename of the currently watched file. - */ - public native String fileName(); - public native void updateStatus(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KXMLGUI.java b/kdejava/koala/org/kde/koala/KXMLGUI.java deleted file mode 100644 index 315b1443..00000000 --- a/kdejava/koala/org/kde/koala/KXMLGUI.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** -*/ -public class KXMLGUI { -} diff --git a/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java b/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java deleted file mode 100644 index 7096cc87..00000000 --- a/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -/** - - Abstract interface for a "GUI builder", used by the GUIFactory - This interface is implemented by TDEMainWindow for the case where - the toplevel widget is a TDEMainWindow. Other implementations may appear - in the future (dialogs for instance) - @short Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by TDEMainWindow for the case where the toplevel widget is a TDEMainWindow. - -*/ -public class KXMLGUIBuilder implements QtSupport, KXMLGUIBuilderInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KXMLGUIBuilder(Class dummy){} - - public KXMLGUIBuilder(TQWidget widget) { - newKXMLGUIBuilder(widget); - } - private native void newKXMLGUIBuilder(TQWidget widget); - public native KXMLGUIClientInterface builderClient(); - public native void setBuilderClient(KXMLGUIClientInterface client); - public native TDEInstanceInterface builderInstance(); - public native void setBuilderInstance(TDEInstanceInterface instance); - public native TQWidget widget(); - public native ArrayList containerTags(); - /** - Creates a container (menubar/menu/toolbar/statusbar/separator/...) - from an element in the XML file - @param parent The parent for the container - @param index The index where the container should be inserted - into the parent container/widget - @param element The element from the DOM tree describing the - container (use it to access container specified - attributes or child elements) - @param id The id to be used for this container - @short Creates a container (menubar/menu/toolbar/statusbar/separator/. - */ - public native TQWidget createContainer(TQWidget parent, int index, TQDomElement element, int[] id); - /** - Removes the given (and previously via createContainer ) - created container. - @short Removes the given (and previously via createContainer ) created container. - */ - public native void removeContainer(TQWidget container, TQWidget parent, TQDomElement element, int id); - public native ArrayList customTags(); - public native int createCustomElement(TQWidget parent, int index, TQDomElement element); - public native void removeCustomElement(TQWidget parent, int id); - public native void finalizeGUI(KXMLGUIClientInterface client); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java b/kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java deleted file mode 100644 index adbc49b5..00000000 --- a/kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KXMLGUIBuilderInterface { - KXMLGUIClientInterface builderClient(); - void setBuilderClient(KXMLGUIClientInterface client); - TDEInstanceInterface builderInstance(); - void setBuilderInstance(TDEInstanceInterface instance); - TQWidget widget(); - ArrayList containerTags(); - TQWidget createContainer(TQWidget parent, int index, TQDomElement element, int[] id); - void removeContainer(TQWidget container, TQWidget parent, TQDomElement element, int id); - ArrayList customTags(); - int createCustomElement(TQWidget parent, int index, TQDomElement element); - void removeCustomElement(TQWidget parent, int id); - void finalizeGUI(KXMLGUIClientInterface client); -} diff --git a/kdejava/koala/org/kde/koala/KXMLGUIClient.java b/kdejava/koala/org/kde/koala/KXMLGUIClient.java deleted file mode 100644 index 346f9081..00000000 --- a/kdejava/koala/org/kde/koala/KXMLGUIClient.java +++ /dev/null @@ -1,290 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -/** - - A KXMLGUIClient can be used with KXMLGUIFactory to create a - GUI from actions and an XML document, and can be dynamically merged - with other KXMLGUIClients. - @short - -*/ -public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KXMLGUIClient(Class dummy){} - - public static final int StateNoReverse = 0; - public static final int StateReverse = 1; - - /** - Constructs a KXMLGUIClient which can be used with a - KXMLGUIFactory to create a GUI from actions and an XML document, and - which can be dynamically merged with other KXMLGUIClients. - @short Constructs a KXMLGUIClient which can be used with a KXMLGUIFactory to create a GUI from actions and an XML document, and which can be dynamically merged with other KXMLGUIClients. - */ - public KXMLGUIClient() { - newKXMLGUIClient(); - } - private native void newKXMLGUIClient(); - /** - Constructs a KXMLGUIClient which can be used with a KXMLGUIFactory - to create a GUI from actions and an XML document, - and which can be dynamically merged with other KXMLGUIClients. - This constructor takes an additional <code>parent</code> argument, which makes - the client a child client of the parent. - Child clients are automatically added to the GUI if the parent is added. - @short Constructs a KXMLGUIClient which can be used with a KXMLGUIFactory to create a GUI from actions and an XML document, and which can be dynamically merged with other KXMLGUIClients. - */ - public KXMLGUIClient(KXMLGUIClientInterface parent) { - newKXMLGUIClient(parent); - } - private native void newKXMLGUIClient(KXMLGUIClientInterface parent); - /** - Retrieves an action of the client by name. If not found, it looks in its child clients. - This method is provided for convenience, as it uses actionCollection() - to get the action object. - @short Retrieves an action of the client by name. - */ - public native TDEAction action(String name); - /** - Retrieves an action for a given TQDomElement. The default - implementation uses the "name" attribute to query the action - object via the other action() method. - @short Retrieves an action for a given TQDomElement. - */ - public native TDEAction action(TQDomElement element); - /** - Retrieves the entire action collection for the GUI client. If - you subclass KXMLGUIClient you should call - TDEActionCollection.setWidget( TQWidget ) with this object, or - you will encounter subtle bugs with TDEAction keyboard shortcuts. - This is not necessary if your KXMLGUIClient is a TDEMainWindow. - @short Retrieves the entire action collection for the GUI client. - @see TDEActionCollection#setWidget( - @see #org#kde#qt#TQWidget* - */ - public native TDEActionCollection actionCollection(); - /** - @return The instance ( TDEInstance ) for this GUI client. - - @short - */ - public native TDEInstanceInterface instance(); - /** - @return The parsed XML in a TQDomDocument, set by - setXMLFile() or setXML(). - This document describes the layout of the GUI. - - @short - */ - public native TQDomDocument domDocument(); - /** - This will return the name of the XML file as set by setXMLFile(). - If setXML() is used directly, then this will return NULL. - The filename that this returns is obvious for components as each - component has exactly one XML file. In non-components, however, - there are usually two: the global file and the local file. This - function doesn't really care about that, though. It will always - return the last XML file set. This, in almost all cases, will - be the local XML file. - @return The name of the XML file or null - - @short This will return the name of the XML file as set by setXMLFile(). - */ - public native String xmlFile(); - public native String localXMLFile(); - /** - @short - */ - public native void setXMLGUIBuildDocument(TQDomDocument doc); - /** - @short - */ - public native TQDomDocument xmlguiBuildDocument(); - /** - This method is called by the KXMLGUIFactory as soon as the client - is added to the KXMLGUIFactory's GUI. - @short This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. - */ - public native void setFactory(KXMLGUIFactory factory); - /** - Retrieves a pointer to the KXMLGUIFactory this client is - associated with (will return null if the client's GUI has not been built - by a KXMLGUIFactory. - @short Retrieves a pointer to the KXMLGUIFactory this client is associated with (will return 0L if the client's GUI has not been built by a KXMLGUIFactory. - */ - public native KXMLGUIFactory factory(); - /** - KXMLGUIClients can form a simple child/parent object tree. This - method returns a pointer to the parent client or null if it has no - parent client assigned. - @short KXMLGUIClients can form a simple child/parent object tree. - */ - public native KXMLGUIClientInterface parentClient(); - /** - Use this method to make a client a child client of another client. - Usually you don't need to call this method, as it is called - automatically when using the second constructor, which takes a - parent argument. - @short Use this method to make a client a child client of another client. - */ - public native void insertChildClient(KXMLGUIClientInterface child); - /** - Removes the given <code>child</code> from the client's children list. - @short Removes the given <code>child</code> from the client's children list. - */ - public native void removeChildClient(KXMLGUIClientInterface child); - /** - Retrieves a list of all child clients. - @short Retrieves a list of all child clients. - */ - // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED - /** - A client can have an own KXMLGUIBuilder. - Use this method to assign your builder instance to the client (so that the - KXMLGUIFactory can use it when building the client's GUI) - Client specific guibuilders are useful if you want to create - custom container widgets for your GUI. - @short A client can have an own KXMLGUIBuilder. - */ - public native void setClientBuilder(KXMLGUIBuilderInterface builder); - /** - Retrieves the client's GUI builder or null if no client specific - builder has been assigned via setClientBuilder() - @short Retrieves the client's GUI builder or 0L if no client specific builder has been assigned via setClientBuilder() - */ - public native KXMLGUIBuilderInterface clientBuilder(); - /** - Forces this client to re-read its XML resource file. This is - intended to be used when you know that the resource file has - changed and you will soon be rebuilding the GUI. It has no - useful effect with non-KParts GUIs, so don't bother using it - unless your app is component based. - @short Forces this client to re-read its XML resource file. - */ - public native void reloadXML(); - /** - ActionLists are a way for XMLGUI to support dynamic lists of - actions. E.g. if you are writing a file manager, and there is a - menu file whose contents depend on the mimetype of the file that - is selected, then you can achieve this using ActionLists. It - works as follows: - In your xxxui.rc file ( the one that you set in setXMLFile() - ), you put an <p>\<ActionList name="xxx"\></p> tag. E.g. - <pre> - <kpartgui name="xxx_part" version="1"> - <MenuBar> - <Menu name="file"> - ... <!-- some useful actions-. - <ActionList name="xxx_file_actionlist" /> - ... <!-- even more useful actions-. - </Menu> - ... - </MenuBar> - </kpartgui> - </pre> - This tag will get expanded to a list of actions. In the example - above ( a file manager with a dynamic file menu ), you would call - <pre> - TQPtrList<TDEAction> file_actions; - for( ... ) - if( ... ) - file_actions.append( cool_action ); - unplugActionList( "xxx_file_actionlist" ); - plugActionList( "xxx_file_actionlist", file_actions ); - </pre> - every time a file is selected, unselected or ... - <b>Note:<> You should not call createGUI() after calling this - function. In fact, that would remove the newly added - actionlists again... - <b>Note:<> Forgetting to call unplugActionList() before - plugActionList() would leave the previous actions in the - menu too.. - @short ActionLists are a way for XMLGUI to support dynamic lists of actions. - */ - // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED - /** - The complement of plugActionList() ... - @short The complement of plugActionList() . - */ - public native void unplugActionList(String name); - public native void addStateActionEnabled(String state, String action); - public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(TQWidget arg1); - public native void endXMLPlug(); - public native void prepareXMLUnplug(TQWidget arg1); - public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); - /** - Sets the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor. - (At least before setXMLFile().) - @short Sets the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Sets the name of the rc file containing the XML for the part. - Call this in the Part-inherited class constructor. - @param file Either an absolute path for the file, or simply the - filename, which will then be assumed to be installed - in the "data" resource, under a directory named like - the instance. - @param merge Whether to merge with the global document. - @param setXMLDoc Specify whether to call setXML. Default is true. - and the DOM document at once. - @short Sets the name of the rc file containing the XML for the part. - */ - protected native void setXMLFile(String file, boolean merge, boolean setXMLDoc); - protected native void setXMLFile(String file, boolean merge); - protected native void setXMLFile(String file); - protected native void setLocalXMLFile(String file); - /** - Sets the XML for the part. - Call this in the Part-inherited class constructor if you - don't call setXMLFile(). - @short Sets the XML for the part. - */ - protected native void setXML(String document, boolean merge); - protected native void setXML(String document); - /** - Sets the Document for the part, describing the layout of the GUI. - Call this in the Part-inherited class constructor if you don't call - setXMLFile or setXML . - @short Sets the Document for the part, describing the layout of the GUI. - */ - protected native void setDOMDocument(TQDomDocument document, boolean merge); - protected native void setDOMDocument(TQDomDocument document); - /** - This function will attempt to give up some memory after the GUI - is built. It should never be used in apps where the GUI may be - rebuilt at some later time (components, for instance). - @short This function will attempt to give up some memory after the GUI is built. - */ - protected native void conserveMemory(); - /** - Actions can collectively be assigned a "State". To accomplish this - the respective actions are tagged as \<enable\> or \<disable\> in - a \<State\> \</State\> group of the XMLfile. During program execution the - programmer can call stateChanged() to set actions to a defined state. - @param newstate Name of a State in the XMLfile. - @param reverse If the flag reverse is set to StateReverse, the State is reversed. - (actions to be enabled will be disabled and action to be disabled will be enabled) - Default is reverse=false. - @short Actions can collectively be assigned a "State". - */ - protected native void stateChanged(String newstate, int reverse); - protected native void stateChanged(String newstate); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java b/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java deleted file mode 100644 index a1fae857..00000000 --- a/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java +++ /dev/null @@ -1,33 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQDomDocument; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KXMLGUIClientInterface { - TDEAction action(String name); - TDEAction action(TQDomElement element); - TDEActionCollection actionCollection(); - TDEInstanceInterface instance(); - TQDomDocument domDocument(); - String xmlFile(); - String localXMLFile(); - void setXMLGUIBuildDocument(TQDomDocument doc); - TQDomDocument xmlguiBuildDocument(); - void setFactory(KXMLGUIFactory factory); - KXMLGUIFactory factory(); - KXMLGUIClientInterface parentClient(); - void insertChildClient(KXMLGUIClientInterface child); - void removeChildClient(KXMLGUIClientInterface child); - void setClientBuilder(KXMLGUIBuilderInterface builder); - KXMLGUIBuilderInterface clientBuilder(); - void reloadXML(); - void unplugActionList(String name); - void addStateActionEnabled(String state, String action); - void addStateActionDisabled(String state, String action); - void beginXMLPlug(TQWidget arg1); - void endXMLPlug(); - void prepareXMLUnplug(TQWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KXMLGUIFactory.java b/kdejava/koala/org/kde/koala/KXMLGUIFactory.java deleted file mode 100644 index 09b260d7..00000000 --- a/kdejava/koala/org/kde/koala/KXMLGUIFactory.java +++ /dev/null @@ -1,171 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDomNode; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQObject; - -/** - - KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create - a GUI of container widgets (like menus, toolbars, etc.) and container items - (menu items, toolbar buttons, etc.) from an XML document and action objects. - Each KXMLGUIClient represents a part of the GUI, composed from containers and - actions. KXMLGUIFactory takes care of building (with the help of a KXMLGUIBuilder) - and merging the GUI from an unlimited number of clients. - Each client provides XML through a TQDomDocument and actions through a - TDEActionCollection . The XML document contains the rules for how to merge the - GUI. - KXMLGUIFactory processes the DOM tree provided by a client and plugs in the client's actions, - according to the XML and the merging rules of previously inserted clients. Container widgets - are built via a KXMLGUIBuilder , which has to be provided with the KXMLGUIFactory constructor. - See {@link KXMLGUIFactorySignals} for signals emitted by KXMLGUIFactory - @short KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create a GUI of container widgets (like menus, toolbars, etc. - -*/ -public class KXMLGUIFactory extends TQObject { - protected KXMLGUIFactory(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KXMLGUIFactory. The provided <code>builder</code> KXMLGUIBuilder will be called - for creating and removing container widgets, when clients are added/removed from the GUI. - Note that the ownership of the given KXMLGUIBuilder object won't be transferred to this - KXMLGUIFactory, so you have to take care of deleting it properly. - @short Constructs a KXMLGUIFactory. - */ - public KXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent, String name) { - super((Class) null); - newKXMLGUIFactory(builder,parent,name); - } - private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent, String name); - public KXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent) { - super((Class) null); - newKXMLGUIFactory(builder,parent); - } - private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent); - public KXMLGUIFactory(KXMLGUIBuilderInterface builder) { - super((Class) null); - newKXMLGUIFactory(builder); - } - private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder); - /** - Creates the GUI described by the TQDomDocument of the client, - using the client's actions, and merges it with the previously - created GUI. - This also means that the order in which clients are added to the factory - is relevant; assuming that your application supports plugins, you should - first add your application to the factory and then the plugin, so that the - plugin's UI is merged into the UI of your application, and not the other - way round. - @short Creates the GUI described by the TQDomDocument of the client, using the client's actions, and merges it with the previously created GUI. - */ - public native void addClient(KXMLGUIClientInterface client); - /** - Removes the GUI described by the client, by unplugging all - provided actions and removing all owned containers (and storing - container state information in the given client) - @short Removes the GUI described by the client, by unplugging all provided actions and removing all owned containers (and storing container state information in the given client) - */ - public native void removeClient(KXMLGUIClientInterface client); - // void plugActionList(KXMLGUIClient* arg1,const TQString& arg2,const TQPtrList<TDEAction>& arg3); >>>> NOT CONVERTED - public native void unplugActionList(KXMLGUIClientInterface client, String name); - /** - Returns a list of all clients currently added to this factory - @short Returns a list of all clients currently added to this factory - */ - // TQPtrList<KXMLGUIClient> clients(); >>>> NOT CONVERTED - /** - Use this method to get access to a container widget with the name specified with <code>containerName</code> - and which is owned by the <code>client.</code> The container name is specified with a "name" attribute in the - XML document. - This function is particularly useful for getting hold of a popupmenu defined in an XMLUI file. - For instance: - <pre> - TQPopupMenu popup = (TQPopupMenu)(factory().container("my_popup",this)); - </pre> - where <code></code>"my_popup" is the name of the menu in the XMLUI file, and - <code></code>"this" is XMLGUIClient which owns the popupmenu (e.g. the mainwindow, or the part, or the plugin...) - @param containerName Name of the container widget - @param client Owner of the container widget - @param useTagName Specifies whether to compare the specified name with the name attribute or - the tag name. - This method may return null if no container with the given name exists or is not owned by the client. - @short Use this method to get access to a container widget with the name specified with <code>containerName</code> and which is owned by the <code>client.</code> - */ - public native TQWidget container(String containerName, KXMLGUIClientInterface client, boolean useTagName); - public native TQWidget container(String containerName, KXMLGUIClientInterface client); - // TQPtrList<TQWidget> containers(const TQString& arg1); >>>> NOT CONVERTED - /** - Use this method to free all memory allocated by the KXMLGUIFactory. This deletes the internal node - tree and therefore resets the internal state of the class. Please note that the actual GUI is - NOT touched at all, meaning no containers are deleted nor any actions unplugged. That is - something you have to do on your own. So use this method only if you know what you are doing :-) - (also note that this will call KXMLGUIClient.setFactory( null ) for all inserted clients) - @short Use this method to free all memory allocated by the KXMLGUIFactory. - */ - public native void reset(); - /** - Use this method to free all memory allocated by the KXMLGUIFactory for a specific container, - including all child containers and actions. This deletes the internal node subtree for the - specified container. The actual GUI is not touched, no containers are deleted or any actions - unplugged. Use this method only if you know what you are doing :-) - (also note that this will call KXMLGUIClient.setFactory( null ) for all clients of the - container) - @short Use this method to free all memory allocated by the KXMLGUIFactory for a specific container, including all child containers and actions. - */ - public native void resetContainer(String containerName, boolean useTagName); - public native void resetContainer(String containerName); - /** - Show a standard configure shortcut for every action in this factory. - This slot can be connected dirrectly to the action to configure shortcuts. This is very simple to - do that by adding a single line - <pre> - KStdAction.keyBindings( guiFactory(), SLOT("configureShortcuts()"), actionCollection() ); - </pre> - @param bAllowLetterShortcuts Set to false if unmodified alphanumeric - keys ('A', '1', etc.) are not permissible shortcuts. - @param bSaveSettings if true, the settings will also be saved back to - the uirc file which they were intially read from. - @short Show a standard configure shortcut for every action in this factory. - */ - public native int configureShortcuts(boolean bAllowLetterShortcuts, boolean bSaveSettings); - public native int configureShortcuts(boolean bAllowLetterShortcuts); - public native int configureShortcuts(); - public static native String readConfigFile(String filename, boolean never_null, TDEInstanceInterface instance); - public static native String readConfigFile(String filename, boolean never_null); - public static native String readConfigFile(String filename, TDEInstanceInterface instance); - public static native String readConfigFile(String filename); - public static native boolean saveConfigFile(TQDomDocument doc, String filename, TDEInstanceInterface instance); - public static native boolean saveConfigFile(TQDomDocument doc, String filename); - public static native String documentToXML(TQDomDocument doc); - public static native String elementToXML(TQDomElement elem); - /** - Removes all TQDomComment objects from the specified node and all its children. - @short Removes all TQDomComment objects from the specified node and all its children. - */ - public static native void removeDOMComments(TQDomNode node); - /** - Find or create the ActionProperties element, used when saving custom action properties - @short - */ - public static native TQDomElement actionPropertiesElement(TQDomDocument doc); - /** - Find or create the element for a given action, by name. - Used when saving custom action properties - @short - */ - public static native TQDomElement findActionByName(TQDomElement elem, String sName, boolean create); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java b/kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java deleted file mode 100644 index 32a7833c..00000000 --- a/kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDomNode; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KXMLGUIFactorySignals { - void clientAdded(KXMLGUIClientInterface client); - void clientRemoved(KXMLGUIClientInterface client); -} diff --git a/kdejava/koala/org/kde/koala/KXYSelector.java b/kdejava/koala/org/kde/koala/KXYSelector.java deleted file mode 100644 index 5078e9d8..00000000 --- a/kdejava/koala/org/kde/koala/KXYSelector.java +++ /dev/null @@ -1,124 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQWidget; - -/** - - KXYSelector is the base class for other widgets which - provides the ability to choose from a two-dimensional - range of values. The currently chosen value is indicated - by a cross. An example is the KHSSelector which - allows to choose from a range of colors, and which is - used in KColorDialog. - A custom drawing routine for the widget surface has - to be provided by the subclass. - See {@link KXYSelectorSignals} for signals emitted by KXYSelector - @short KXYSelector is the base class for other widgets which provides the ability to choose from a two-dimensional range of values. - -*/ -public class KXYSelector extends TQWidget { - protected KXYSelector(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a two-dimensional selector widget which - has a value range of [0..100] in both directions. - @short Constructs a two-dimensional selector widget which has a value range of [0. - */ - public KXYSelector(TQWidget parent, String name) { - super((Class) null); - newKXYSelector(parent,name); - } - private native void newKXYSelector(TQWidget parent, String name); - public KXYSelector(TQWidget parent) { - super((Class) null); - newKXYSelector(parent); - } - private native void newKXYSelector(TQWidget parent); - public KXYSelector() { - super((Class) null); - newKXYSelector(); - } - private native void newKXYSelector(); - /** - Sets the current values in horizontal and - vertical direction. - @param xPos the horizontal value - @param yPos the veritcal value - @short Sets the current values in horizontal and vertical direction. - */ - public native void setValues(int xPos, int yPos); - /** - Sets the current horizontal value - @param xPos the horizontal value - @short Sets the current horizontal value - */ - public native void setXValue(int xPos); - /** - Sets the current vertical value - @param yPos the veritcal value - @short Sets the current vertical value - */ - public native void setYValue(int yPos); - /** - Sets the range of possible values. - @short Sets the range of possible values. - */ - public native void setRange(int minX, int minY, int maxX, int maxY); - /** - @return the current value in horizontal direction. - - @short - */ - public native int xValue(); - /** - @return the current value in vertical direction. - - @short - */ - public native int yValue(); - /** - @return the rectangle on which subclasses should draw. - - @short - */ - public native TQRect contentsRect(); - /** - Override this function to draw the contents of the widget. - The default implementation does nothing. - Draw within contentsRect() only. - @short Override this function to draw the contents of the widget. - */ - protected native void drawContents(TQPainter arg1); - /** - Override this function to draw the cursor which - indicates the currently selected value pair. - @short Override this function to draw the cursor which indicates the currently selected value pair. - */ - protected native void drawCursor(TQPainter p, int xp, int yp); - protected native void paintEvent(TQPaintEvent e); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseMoveEvent(TQMouseEvent e); - protected native void wheelEvent(TQWheelEvent arg1); - /** - Converts a pixel position to its corresponding values. - @short Converts a pixel position to its corresponding values. - */ - protected native void valuesFromPosition(int x, int y, int[] xVal, int[] yVal); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KXYSelectorSignals.java b/kdejava/koala/org/kde/koala/KXYSelectorSignals.java deleted file mode 100644 index ddb1f037..00000000 --- a/kdejava/koala/org/kde/koala/KXYSelectorSignals.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface KXYSelectorSignals { - /** - This signal is emitted whenever the user chooses a value, - e.g. by clicking with the mouse on the widget. - @short This signal is emitted whenever the user chooses a value, e. - */ - void valueChanged(int x, int y); -} diff --git a/kdejava/koala/org/kde/koala/KZip.java b/kdejava/koala/org/kde/koala/KZip.java deleted file mode 100644 index 60a8b9cb..00000000 --- a/kdejava/koala/org/kde/koala/KZip.java +++ /dev/null @@ -1,183 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - This class implements a tdeioslave to access zip files from KDE. - You can use it in IO_ReadOnly or in IO_WriteOnly mode, and it - behaves just as expected. - It can also be used in IO_ReadWrite mode, in this case one can - append files to an existing zip archive. When you append new files, which - are not yet in the zip, it works as expected, i.e. the files are appended at the end. - When you append a file, which is already in the file, the reference to the - old file is dropped and the new one is added to the zip - but the - old data from the file itself is not deleted, it is still in the - zipfile. so when you want to have a small and garbage-free zipfile, - just read the contents of the appended zip file and write it to a new one - in IO_WriteOnly mode. This is especially important when you don't want - to leak information of how intermediate versions of files in the zip - were looking. - For more information on the zip fileformat go to - http://www.pkware.com/products/enterprise/white_papers/appnote.html - @author Holger Schroeder <holger-kde@holgis.net> - - @short A class for reading/writing zip archives. - -*/ -public class KZip extends KArchive { - protected KZip(Class dummy){super((Class) null);} - /** - Describes the contents of the "extra field" for a given file in the Zip archive. - @short Describes the contents of the "extra field" for a given file in the Zip archive. - */ - public static final int NoExtraField = 0; - public static final int ModificationTime = 1; - public static final int DefaultExtraField = 1; - - /** - Describes the compression type for a given file in the Zip archive. - @short Describes the compression type for a given file in the Zip archive. - */ - public static final int NoCompression = 0; - public static final int DeflateCompression = 1; - - /** - Creates an instance that operates on the given filename. - using the compression filter associated to given mimetype. - @param filename is a local path (e.g. "/home/holger/myfile.zip") - @short Creates an instance that operates on the given filename. - */ - public KZip(String filename) { - super((Class) null); - newKZip(filename); - } - private native void newKZip(String filename); - /** - Creates an instance that operates on the given device. - The device can be compressed (KFilterDev) or not (TQFile, etc.). - @warning Do not assume that giving a TQFile here will decompress the file, - in case it's compressed! - @param dev the device to access - @short Creates an instance that operates on the given device. - */ - public KZip(TQIODeviceInterface dev) { - super((Class) null); - newKZip(dev); - } - private native void newKZip(TQIODeviceInterface dev); - /** - The name of the zip file, as passed to the constructor. - Null if you used the TQIODevice constructor. - @return the zip's file name, or null if a TQIODevice is used - - @short The name of the zip file, as passed to the constructor. - */ - public native String fileName(); - /** - Call this before writeFile or prepareWriting, to define what the next - file to be written should have in its extra field. - @param ef the type of "extra field" - @short Call this before writeFile or prepareWriting, to define what the next file to be written should have in its extra field. - @see #extraField - */ - public native void setExtraField(int ef); - /** - The current type of "extra field" that will be used for new files. - @return the current type of "extra field" - - @short The current type of "extra field" that will be used for new files. - @see #setExtraField - */ - public native int extraField(); - /** - Call this before writeFile or prepareWriting, to define whether the next - files to be written should be compressed or not. - @param c the new compression mode - @short Call this before writeFile or prepareWriting, to define whether the next files to be written should be compressed or not. - @see #compression - */ - public native void setCompression(int c); - /** - The current compression mode that will be used for new files. - @return the current compression mode - - @short The current compression mode that will be used for new files. - @see #setCompression - */ - public native int compression(); - /** - If an archive is opened for writing then you can add a new file - using this function. - This method takes the whole data at once. - @param name can include subdirs e.g. path/to/the/file - @param user the user owning the file - @param group the group owning the file - @param size the size of the file - @param data a pointer to the data - @return true if successful, false otherwise - - @short If an archive is opened for writing then you can add a new file using this function. - */ - public native boolean writeFile(String name, String user, String group, int size, String data); - /** - Alternative method for writing: call prepareWriting(), then feed the data - in small chunks using writeData(), and call doneWriting() when done. - @param name can include subdirs e.g. path/to/the/file - @param user the user owning the file - @param group the group owning the file - @param size unused argument - @return true if successful, false otherwise - - @short Alternative method for writing: call prepareWriting(), then feed the data in small chunks using writeData(), and call doneWriting() when done. - */ - public native boolean prepareWriting(String name, String user, String group, int size); - public native boolean writeSymLink(String name, String target, String user, String group, long perm, int atime, int mtime, int ctime); - public native boolean prepareWriting(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime); - public native boolean writeFile(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime, String data); - /** - Write data to a file that has been created using prepareWriting(). - @param data a pointer to the data - @param size the size of the chunk - @return true if successful, false otherwise - - @short Write data to a file that has been created using prepareWriting(). - */ - public native boolean writeData(String data, int size); - /** - Write data to a file that has been created using prepareWriting(). - @param size the size of the file - @return true if successful, false otherwise - - @short Write data to a file that has been created using prepareWriting(). - */ - public native boolean doneWriting(int size); - /** - Opens the archive for reading. - Parses the directory listing of the archive - and creates the KArchiveDirectory/KArchiveFile entries. - @param mode the mode of the file - @short Opens the archive for reading. - */ - protected native boolean openArchive(int mode); - protected native boolean closeArchive(); - /** - @short - */ - public native boolean writeDir(String name, String user, String group); - /** @internal for virtual_hook @short @internal for virtual_hook - */ - protected native boolean writeData_impl(String data, int size); - protected native boolean prepareWriting_impl(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime); - protected native boolean writeSymLink_impl(String name, String target, String user, String group, long perm, int atime, int mtime, int ctime); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KZipFileEntry.java b/kdejava/koala/org/kde/koala/KZipFileEntry.java deleted file mode 100644 index d9598a30..00000000 --- a/kdejava/koala/org/kde/koala/KZipFileEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - @short - -*/ -public class KZipFileEntry extends KArchiveFile { - protected KZipFileEntry(Class dummy){super((Class) null);} - public KZipFileEntry(KZip zip, String name, int access, int date, String user, String group, String symlink, String path, long start, long uncompressedSize, int encoding, long compressedSize) { - super((Class) null); - newKZipFileEntry(zip,name,access,date,user,group,symlink,path,start,uncompressedSize,encoding,compressedSize); - } - private native void newKZipFileEntry(KZip zip, String name, int access, int date, String user, String group, String symlink, String path, long start, long uncompressedSize, int encoding, long compressedSize); - public native int encoding(); - public native long compressedSize(); - public native void setCompressedSize(long compressedSize); - public native void setHeaderStart(long headerstart); - public native long headerStart(); - public native long crc32(); - public native void setCRC32(long crc32); - public native String path(); - /** - @return the content of this file. - Call data() with care (only once per file), this data isn't cached. - - @short - */ - public native byte[] data(); - /** - This method returns a TQIODevice to read the file contents. - This is obviously for reading only. - Note that the ownership of the device is being transferred to the caller, - who will have to delete it. - The returned device auto-opens (in readonly mode), no need to open it. - @short This method returns a TQIODevice to read the file contents. - */ - public native TQIODeviceInterface device(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/LinkStyle.java b/kdejava/koala/org/kde/koala/LinkStyle.java deleted file mode 100644 index 2113119e..00000000 --- a/kdejava/koala/org/kde/koala/LinkStyle.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - -*/ -public class LinkStyle implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected LinkStyle(Class dummy){} - - public LinkStyle() { - newLinkStyle(); - } - private native void newLinkStyle(); - public LinkStyle(LinkStyle other) { - newLinkStyle(other); - } - private native void newLinkStyle(LinkStyle other); - public native StyleSheet sheet(); - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/ListJob.java b/kdejava/koala/org/kde/koala/ListJob.java deleted file mode 100644 index 977c5287..00000000 --- a/kdejava/koala/org/kde/koala/ListJob.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - A ListJob is allows you to get the get the content of a directory. - Don't create the job directly, but use TDEIO.listRecursive() or - TDEIO.listDir() instead. - See {@link ListJobSignals} for signals emitted by ListJob - @short A ListJob is allows you to get the get the content of a directory. - @see #listRecursive - @see #listDir - -*/ -public class ListJob extends SimpleJob { - protected ListJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a ListJob directly. Use TDEIO.listDir() or - TDEIO.listRecursive() instead. - @param url the url of the directory - @param showProgressInfo true to show progress information to the user - @param recursive true to get the data recursively from child directories, - false to get only the content of the specified dir - @param prefix the prefix of the files, or null for no prefix - @param includeHidden true to include hidden files (those starting with '.') - @short Do not create a ListJob directly. - */ - public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden) { - super((Class) null); - newListJob(url,showProgressInfo,recursive,prefix,includeHidden); - } - private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden); - public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix) { - super((Class) null); - newListJob(url,showProgressInfo,recursive,prefix); - } - private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix); - public ListJob(KURL url, boolean showProgressInfo, boolean recursive) { - super((Class) null); - newListJob(url,showProgressInfo,recursive); - } - private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive); - public ListJob(KURL url, boolean showProgressInfo) { - super((Class) null); - newListJob(url,showProgressInfo); - } - private native void newListJob(KURL url, boolean showProgressInfo); - /** - Called by the scheduler when a <code>slave</code> gets to - work on this job. - @param slave the slave that starts working on this job - @short - */ - public native void start(Slave slave); - /** - Returns the ListJob's redirection URL. This will be invalid if there - was no redirection. - @return the redirection url - - @short Returns the ListJob's redirection URL. - */ - public native KURL redirectionURL(); - /** - Do not apply any KIOSK restrictions to this job. - @short Do not apply any KIOSK restrictions to this job. - */ - public native void setUnrestricted(boolean unrestricted); - protected native void slotFinished(); - // void slotMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED - protected native void slotResult(Job job); - // void slotListEntries(const TDEIO::UDSEntryList& arg1); >>>> NOT CONVERTED - protected native void slotRedirection(KURL url); - // void gotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/ListJobSignals.java b/kdejava/koala/org/kde/koala/ListJobSignals.java deleted file mode 100644 index 49bef2e2..00000000 --- a/kdejava/koala/org/kde/koala/ListJobSignals.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface ListJobSignals { - // void entries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED - /** - Signals a redirection. - Use to update the URL shown to the user. - The redirection itself is handled internally. - @param job the job that is redirected - @param url the new url - @short Signals a redirection. - */ - void redirection(Job job, KURL url); - /** - Signals a permanent redirection. - The redirection itself is handled internally. - @param job the job that emitted this signal - @param fromUrl the original URL - @param toUrl the new URL - @short Signals a permanent redirection. - */ - void permanentRedirection(Job job, KURL fromUrl, KURL toUrl); -} diff --git a/kdejava/koala/org/kde/koala/LiveConnectExtension.java b/kdejava/koala/org/kde/koala/LiveConnectExtension.java deleted file mode 100644 index 1f0dcde6..00000000 --- a/kdejava/koala/org/kde/koala/LiveConnectExtension.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - An extension class for LiveConnect, i.e\. a call from JavaScript - from a HTML page which embeds this part. - A part can have an object hierarchie by using objid as a reference - to an object. - See {@link LiveConnectExtensionSignals} for signals emitted by LiveConnectExtension - @short An extension class for LiveConnect, i. - -*/ -public class LiveConnectExtension extends TQObject { - protected LiveConnectExtension(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public LiveConnectExtension(ReadOnlyPart parent, String name) { - super((Class) null); - newLiveConnectExtension(parent,name); - } - private native void newLiveConnectExtension(ReadOnlyPart parent, String name); - public LiveConnectExtension(ReadOnlyPart parent) { - super((Class) null); - newLiveConnectExtension(parent); - } - private native void newLiveConnectExtension(ReadOnlyPart parent); - /** - get a field value from objid, return true on success - @short get a field value from objid, return true on success - */ - // bool get(const unsigned long arg1,const TQString& arg2,KParts::LiveConnectExtension::Type& arg3,unsigned long& arg4,TQString& arg5); >>>> NOT CONVERTED - /** - put a field value in objid, return true on success - @short put a field value in objid, return true on success - */ - public native boolean put(long objid, String field, String value); - /** - calls a function of objid, return true on success - @short calls a function of objid, return true on success - */ - // bool call(const unsigned long arg1,const TQString& arg2,const TQStringList& arg3,KParts::LiveConnectExtension::Type& arg4,unsigned long& arg5,TQString& arg6); >>>> NOT CONVERTED - /** - notifies the part that there is no reference anymore to objid - @short notifies the part that there is no reference anymore to objid - */ - public native void unregister(long objid); - public static native LiveConnectExtension childObject(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java b/kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java deleted file mode 100644 index 2dc7c89e..00000000 --- a/kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface LiveConnectExtensionSignals { - // void partEvent(const unsigned long arg1,const TQString& arg2,const KParts::LiveConnectExtension::ArgList& arg3); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/MainWindow.java b/kdejava/koala/org/kde/koala/MainWindow.java deleted file mode 100644 index 3d344f48..00000000 --- a/kdejava/koala/org/kde/koala/MainWindow.java +++ /dev/null @@ -1,177 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - A KPart-aware main window, whose user interface is described in XML. - Inherit your main window from this class - and don't forget to call setXMLFile() in the inherited constructor. - It implements all internal interfaces in the case of a - TDEMainWindow as host: the builder and servant interface (for menu - merging). - @short A KPart-aware main window, whose user interface is described in XML. - -*/ -public class MainWindow extends TDEMainWindow implements PartBaseInterface { - protected MainWindow(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor, same signature as TDEMainWindow. - @short Constructor, same signature as TDEMainWindow. - */ - public MainWindow(TQWidget parent, String name, int f) { - super((Class) null); - newMainWindow(parent,name,f); - } - private native void newMainWindow(TQWidget parent, String name, int f); - public MainWindow(TQWidget parent, String name) { - super((Class) null); - newMainWindow(parent,name); - } - private native void newMainWindow(TQWidget parent, String name); - public MainWindow(TQWidget parent) { - super((Class) null); - newMainWindow(parent); - } - private native void newMainWindow(TQWidget parent); - /** - Compatibility Constructor - @short Compatibility Constructor - */ - public MainWindow(String name, int f) { - super((Class) null); - newMainWindow(name,f); - } - private native void newMainWindow(String name, int f); - public MainWindow(String name) { - super((Class) null); - newMainWindow(name); - } - private native void newMainWindow(String name); - public MainWindow() { - super((Class) null); - newMainWindow(); - } - private native void newMainWindow(); - /** - Constructor with creation flags, see TDEMainWindow. - @short Constructor with creation flags, see TDEMainWindow. - */ - public MainWindow(int cflags, TQWidget parent, String name, int f) { - super((Class) null); - newMainWindow(cflags,parent,name,f); - } - private native void newMainWindow(int cflags, TQWidget parent, String name, int f); - public MainWindow(int cflags, TQWidget parent, String name) { - super((Class) null); - newMainWindow(cflags,parent,name); - } - private native void newMainWindow(int cflags, TQWidget parent, String name); - public MainWindow(int cflags, TQWidget parent) { - super((Class) null); - newMainWindow(cflags,parent); - } - private native void newMainWindow(int cflags, TQWidget parent); - protected native void createShellGUI(boolean create); - protected native void createShellGUI(); - /** - Create the GUI (by merging the host's and the active part's) - You _must_ call this in order to see any GUI being created. - In a main window with multiple parts being shown (e.g. as in Konqueror) - you need to connect this slot to the - KPartManager.activePartChanged() signal - @param part The active part (set to null if no part). - @short Create the GUI (by merging the host's and the active part's) You _must_ call this in order to see any GUI being created. - */ - protected native void createGUI(Part part); - /** - Called when the active part wants to change the statusbar message - Reimplement if your mainwindow has a complex statusbar - (with several items) - @short Called when the active part wants to change the statusbar message Reimplement if your mainwindow has a complex statusbar (with several items) - */ - protected native void slotSetStatusBarText(String arg1); - /** - Rebuilds the GUI after KEditToolbar changed the toolbar layout. - @short Rebuilds the GUI after KEditToolbar changed the toolbar layout. - @see #configureToolbars - @see KDE4: - @see #make - @see #this - @see #virtual# - @see (For - @see #now - @see #we - @see #rely - @see #on - @see #the - @see #fact - @see #that - @see #it's - @see #called - @see #as - @see #a - @see #slot - @see #so - @see #the - @see #metaobject - @see #finds - @see #it - @see #here)# - */ - protected native void saveNewToolbarConfig(); - /** - Internal method. Called by KParts.Part to specify the parent object for plugin objects. - @short Internal method. - */ - public native void setPartObject(TQObject object); - public native TQObject partObject(); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance, boolean loadPlugins); - /** - Load the Plugins honoring the PluginLoadingMode. - If you call this method in an already constructed GUI (like when the user - has changed which plugins are enabled) you need to add the new plugins to - the KXMLGUIFactory: - <pre> - if( factory() ) - { - TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - TQPtrListIterator<KParts.Plugin> it( plugins ); - KParts.Plugin plugin; - while( ( plugin = it.current() ) != 0 ) - { - ++it; - factory().addClient( plugin ); - } - } - </pre> - @short Load the Plugins honoring the PluginLoadingMode. - */ - protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance); - /** - For a KParts.Part: call this before setInstance(). - For a KParts.MainWindow: call this before createGUI(). - @short For a KParts.Part: call this before setInstance(). - */ - // void setPluginLoadingMode(KParts::PartBase::PluginLoadingMode arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Makefile.am b/kdejava/koala/org/kde/koala/Makefile.am deleted file mode 100644 index cc452d55..00000000 --- a/kdejava/koala/org/kde/koala/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## - - -EXTRA_DIST = TDEGlobal.java KMdiToolViewAccessor.java BrowserExtension.java DCOPClient.java DCOPObject.java DCOPObjectInterface.java DCOPObjectProxy.java TDEAboutApplication.java TDEAboutContainer.java TDEAboutData.java TDEAboutDialog.java TDEAboutKDE.java TDEAboutPerson.java TDEAboutWidget.java TDEAccel.java TDEAction.java TDEActionCollection.java TDEActionMenu.java TDEActionSeparator.java KAnimWidget.java TDEApplication.java KAudioPlayer.java KAuthIcon.java KBugReport.java KButtonBox.java TDECModule.java KCharSelect.java KCharSelectTable.java KCharsets.java TDECmdLineArgs.java KColorButton.java KColorCombo.java KColorDrag.java KCombiView.java KComboBox.java TDECompletion.java TDECompletionBase.java TDECompletionBaseInterface.java TDEConfig.java TDEConfigBackEnd.java TDEConfigBase.java TDEConfigGroupSaver.java TDEConfigINIBackEnd.java KContextMenuManager.java KCursor.java KDCOPActionProxy.java KDCOPPropertyProxy.java KDEDesktopMimeType.java KDatePicker.java KDateTable.java KDateValidator.java KDesktopFile.java KDialog.java KDialogBase.java KDirOperator.java KDirWatch.java KDockWidgetAbstractHeader.java KDockWidgetAbstractHeaderDrag.java KDockWidgetHeader.java KDockWidgetHeaderDrag.java KDoubleNumInput.java KDualColorButton.java KEdFind.java KEdGotoLine.java KEdReplace.java KEditToolbar.java KEditToolbarWidget.java KEntry.java KEntryKey.java KExecMimeType.java KFile.java KFileDetailView.java KFileDialog.java KFileFilter.java KFileIconView.java KFileIconViewItem.java KFileItem.java KFileListViewItem.java KFilePreview.java KFileView.java KFileViewInterface.java KFileViewSignaler.java KFolderType.java TDEFontAction.java TDEFontChooser.java TDEFontDialog.java TDEFontSizeAction.java TDEGlobalAccel.java TDEGlobalSettings.java KGradientSelector.java TDEHTMLPart.java TDEHTMLSettings.java TDEHTMLView.java KHelpMenu.java KHistoryCombo.java KIPC.java TDEIconButton.java TDEIconCanvas.java TDEIconDialog.java TDEIconEffect.java TDEIconLoader.java TDEIconView.java KImageEffect.java KImageIO.java TDEInstance.java TDEInstanceInterface.java KIntNumInput.java KIntSpinBox.java KIntValidator.java KJanusWidget.java KKeyChooser.java KLed.java KLibFactory.java KLibLoader.java KLineEdit.java TDEListBox.java TDEListView.java TDELocale.java TDEMainWindow.java KMenuBar.java KMessageBox.java KMimeType.java KNotifyClient.java KNumInput.java KOpenWithDlg.java KPalette.java KPanelApplet.java KPanelMenu.java KPasswordDialog.java KPasswordEdit.java KPixmap.java KPixmapEffect.java KPixmapIO.java KPixmapProvider.java TDEPopupFrame.java TDEPopupMenu.java TDEPopupTitle.java KProcIO.java TDEProcess.java TDEProcessController.java TDEProcessRunner.java KProgress.java KProtocolInfo.java KProtocolManager.java KRFCDate.java TDERadioAction.java KRandomSequence.java TDERecentDocument.java KRestrictedLine.java KRootPermsIcon.java KRootPixmap.java KRootProp.java KRuler.java KRun.java KSSL.java KSSLCertificate.java KSSLCertificateHome.java KSSLConnectionInfo.java KSSLInfoDlg.java KSSLPeerInfo.java KSSLSettings.java KSSLX509Map.java KSaveFile.java TDESelectAction.java TDESelector.java KSeparator.java KService.java KServiceGroup.java KServiceOffer.java KServiceType.java KServiceTypeProfile.java KSessionManaged.java TDEShared.java KShellCompletion.java KShred.java KSimpleConfig.java KSpell.java KSpellConfig.java KSpellDlg.java TDEStandardDirs.java KStaticDeleterBase.java KStatusBar.java KStatusBarLabel.java TDEStdAccel.java KStdAction.java KStringHandler.java KSycoca.java KSycocaEntry.java KSystemTray.java KTabCtl.java KTempFile.java KTextBrowser.java TDEToggleAction.java TDEToolBar.java TDEToolBarButton.java TDEToolBarRadioGroup.java TDEToolBarSeparator.java TDETrader.java KURIFilter.java KURIFilterData.java KURIFilterPlugin.java KURL.java KURLComboBox.java KURLCompletion.java KURLDrag.java KURLLabel.java KURLRequester.java KURLRequesterDlg.java KUniqueApplication.java KWizard.java KWritePermsIcon.java KXMLGUIBuilder.java KXMLGUIBuilderInterface.java KXMLGUIClient.java KXMLGUIClientInterface.java KXMLGUIFactory.java KXYSelector.java Part.java PartBaseInterface.java ReadOnlyPart.java NetAccess.java kdejava.java Event.java GUIActivateEvent.java MouseEvent.java OpenURLEvent.java PartActivateEvent.java PartSelectEvent.java ReadWritePart.java DocumentFragment.java DocumentStyle.java DocumentType.java HTMLDocument.java NamedNodeMap.java CSSStyleSheet.java StyleSheet.java CSSException.java CSSPrimitiveValue.java CSSStyleDeclaration.java CSSValue.java Counter.java RGBColor.java Rect.java Element.java HTMLAnchorElement.java HTMLAppletElement.java HTMLAreaElement.java HTMLBRElement.java HTMLBaseElement.java HTMLBaseFontElement.java HTMLBlockquoteElement.java HTMLBodyElement.java HTMLButtonElement.java HTMLCollection.java HTMLDListElement.java HTMLDirectoryElement.java HTMLDivElement.java HTMLElement.java HTMLFieldSetElement.java HTMLFontElement.java HTMLFormElement.java HTMLFrameElement.java HTMLFrameSetElement.java HTMLHRElement.java HTMLHeadElement.java HTMLHeadingElement.java HTMLHtmlElement.java HTMLIFrameElement.java HTMLImageElement.java HTMLInputElement.java HTMLIsIndexElement.java HTMLLIElement.java HTMLLabelElement.java HTMLLegendElement.java HTMLLinkElement.java HTMLMapElement.java HTMLMenuElement.java HTMLMetaElement.java HTMLModElement.java HTMLOListElement.java HTMLObjectElement.java HTMLOptGroupElement.java HTMLOptionElement.java HTMLParagraphElement.java HTMLParamElement.java HTMLPreElement.java HTMLQuoteElement.java HTMLScriptElement.java HTMLSelectElement.java HTMLStyleElement.java HTMLTableCaptionElement.java HTMLTableCellElement.java HTMLTableColElement.java HTMLTableElement.java HTMLTableRowElement.java HTMLTableSectionElement.java HTMLTextAreaElement.java HTMLTitleElement.java HTMLUListElement.java Attr.java DockMainWindow.java MainWindow.java CDATASection.java Comment.java EntityReference.java NodeFilter.java NodeIterator.java ProcessingInstruction.java Range.java Text.java TreeWalker.java CharacterData.java CopyJob.java DeleteJob.java FileCopyJob.java Job.java KDirNotify.java KDirNotifyInterface.java KDirSize.java ListJob.java MimetypeJob.java SimpleJob.java StatJob.java TransferJob.java Connection.java Slave.java TDEAboutContributor.java TDEAboutTranslator.java KCodecs.java KCommand.java KCommandHistory.java TDECompletionBox.java KDialogQueue.java KEditListBox.java KFilterBase.java KFilterDev.java TDEFontCombo.java KMacroCommand.java KPanelExtension.java KPixmapSplitter.java KPreviewWidgetBase.java KPushButton.java KScanDialog.java KSqueezedTextLabel.java TDEToolBarPopupAction.java KTipDatabase.java KTipDialog.java BrowserExtensionSignals.java CopyJobSignals.java DCOPClientSignals.java DeleteJobSignals.java JobSignals.java TDEAboutContainerSignals.java TDEAboutContributorSignals.java TDEAboutDialogSignals.java TDEAboutWidgetSignals.java TDEAccelSignals.java TDEActionCollectionSignals.java TDEActionSignals.java KAnimWidgetSignals.java TDEApplicationSignals.java TDECModuleSignals.java KCharSelectSignals.java KCharSelectTableSignals.java KColorButtonSignals.java KColorComboSignals.java KComboBoxSignals.java KCommandHistorySignals.java TDECompletionBoxSignals.java TDECompletionSignals.java KDatePickerSignals.java KDateTableSignals.java KDialogBaseSignals.java KDialogSignals.java KDirListerSignals.java KDirOperatorSignals.java KDirWatchSignals.java KDoubleNumInputSignals.java KDualColorButtonSignals.java KEdFindSignals.java KEdReplaceSignals.java KEditListBoxSignals.java KEditSignals.java KEditToolbarSignals.java KEditToolbarWidgetSignals.java KFileDetailViewSignals.java KFileDialogSignals.java KFileIconViewSignals.java KFilePreviewSignals.java TDEFontChooserSignals.java TDEFontDialogSignals.java TDEFontSizeActionSignals.java TDEHTMLPartSignals.java TDEHTMLViewSignals.java KHelpMenuSignals.java KHistoryComboSignals.java TDEIconButtonSignals.java TDEIconCanvasSignals.java TDEIconDialogSignals.java TDEIconViewSignals.java KIntNumInputSignals.java KJanusWidgetSignals.java KKeyChooserSignals.java KLineEditSignals.java TDEListBoxSignals.java TDEListViewSignals.java KPanelAppletSignals.java KPanelExtensionSignals.java TDEPopupMenuSignals.java KProcIOSignals.java TDEProcessSignals.java KProgressSignals.java TDERecentFilesActionSignals.java KRestrictedLineSignals.java KRootPixmapSignals.java KRunSignals.java KScanDialogSignals.java TDESelectActionSignals.java TDESelectorSignals.java KShredSignals.java KSpellConfigSignals.java KSpellDlgSignals.java KSpellSignals.java KStatusBarLabelSignals.java KStatusBarSignals.java KSycocaSignals.java KSystemTraySignals.java KTabCtlSignals.java KTextBrowserSignals.java TDEToggleActionSignals.java TDEToolBarButtonSignals.java TDEToolBarSignals.java KURLComboBoxSignals.java KURLLabelSignals.java KURLRequesterSignals.java KXMLGUIFactorySignals.java KXYSelectorSignals.java ListJobSignals.java SlaveSignals.java StatJobSignals.java TransferJobSignals.java TDEListViewItem.java KTar.java KArchive.java KArchiveDirectory.java KSSLPKCS12.java KArchiveEntry.java KArchiveFile.java KFileMetaInfo.java KFileMetaInfoItem.java KGuiItem.java TDEIconViewItem.java KStdGuiItem.java KDataTool.java KDataToolAction.java KDataToolInfo.java KDateWidget.java KDirSelectDialog.java KEMailSettings.java KFileFilterCombo.java KFileTreeBranch.java KFileTreeView.java KFileTreeViewItem.java KFileTreeViewToolTip.java KMultipleDrag.java KWordWrap.java KDataToolActionSignals.java KDateWidgetSignals.java KFileFilterComboSignals.java KFileTreeBranchSignals.java KFileTreeViewSignals.java TDEShortcut.java KKey.java KKeyDialog.java TDEIO.java Scheduler.java SchedulerSignals.java StatusbarProgress.java ProgressBase.java ProgressBaseSignals.java KKeySequence.java KDockMainWindow.java KDockManager.java KDockManagerSignals.java KDockTabGroup.java KDockWidget.java KDockWidgetSignals.java KURLPixmapProvider.java TDEAccelAction.java KColor.java KColorCells.java KColorCellsSignals.java KColorDialog.java KColorDialogSignals.java KColorPatch.java KColorPatchSignals.java KHSSelector.java KPaletteTable.java KPaletteTableSignals.java KValueSelector.java DCOPAnswer.java KDE.java KSSLCertDlgRet.java TDEListAction.java TDERecentFilesAction.java KArrowButton.java KDateTimeWidget.java KDateTimeWidgetSignals.java KFindDialog.java KFind.java KFindSignals.java KMultiTabBarButton.java KMultiTabBarButtonSignals.java KMultiTabBarTab.java KPrintAction.java KPrintActionSignals.java KProgressDialog.java KReplaceDialog.java KReplace.java KReplaceSignals.java KURLBarSignals.java KMultiTabBar.java KCatalogue.java KDoubleValidator.java KKeyButton.java KMdiChildArea.java KMdiChildFrmCaption.java KMdiChildFrmDragBeginEvent.java KMdiChildFrmDragEndEvent.java KMdiChildFrm.java KMdiChildFrmMoveEvent.java KMdiChildFrmResizeBeginEvent.java KMdiChildFrmResizeEndEvent.java KMdiChildView.java KMdi.java KMdiMainFrm.java KMdiTaskBarButton.java KMdiTaskBar.java KMdiViewCloseEvent.java KMdiWin32IconButton.java TDEPasteTextAction.java KStringListValidator.java KTabBar.java KTabWidget.java KTextEdit.java KTimeWidget.java TDEToggleToolBarAction.java KURLComboRequester.java KMdiChildAreaSignals.java KMdiChildViewSignals.java KMdiMainFrmSignals.java KMdiTaskBarButtonSignals.java KMdiWin32IconButtonSignals.java KTabBarSignals.java KTabWidgetSignals.java KTimeWidgetSignals.java DefaultProgress.java SlaveBase.java KEdit.java KFloatValidator.java KMimeMagic.java KMimeMagicResult.java BrowserInterface.java CSSRule.java CSSRuleList.java CustomNodeFilter.java DavJob.java Document.java DomShared.java EventListener.java Invocation.java KCalendarSystem.java KDirLister.java KFileMetaInfoGroup.java KMimeSourceFactory.java TDESharedConfig.java KShellProcess.java TDEShortcutList.java KSSLCertBox.java KSSLCertChain.java KSSLSession.java KSSLX509V3.java TDEToggleFullScreenAction.java KURLBarItem.java KURLBar.java KURLBarListBox.java Marchaller.java MetaInfoJob.java Node.java Observer.java PreviewJob.java SlaveInterface.java UIEvent.java KAsyncIO.java KAsyncIOSignals.java TDEBufferedIO.java TDEBufferedIOSignals.java AuthInfo.java RenameDlg.java AbstractView.java KInputDialog.java KAuthIconSignals.java KFileViewSignalerSignals.java KKeyButtonSignals.java KLibFactorySignals.java KURLBarListBoxSignals.java MetaInfoJobSignals.java PartSignals.java PreviewJobSignals.java ReadOnlyPartSignals.java ReadWritePartSignals.java SlaveInterfaceSignals.java CSSCharsetRule.java CSSFontFaceRule.java CSSImportRule.java CSSMediaRule.java CSSPageRule.java CSSStyleRule.java CSSUnknownRule.java CSSValueList.java DOMException.java DOMImplementation.java Entity.java EventException.java Factory.java HistoryProvider.java HistoryProviderSignals.java HTMLFormCollection.java TDEAccelShortcutList.java TDEActionShortcutList.java KActiveLabel.java KAr.java KCalendarSystemFactory.java TDECModuleInfo.java TDECModuleLoader.java KCMultiDialog.java KCMultiDialogSignals.java TDEConfigGroup.java KCPUInfo.java KCustomMenuEditor.java KDCOPServiceStarter.java KDiskFreeSp.java KDiskFreeSpSignals.java KDockArea.java KDockAreaSignals.java KFilePlugin.java KFileShare.java TDEFontRequester.java TDEFontRequesterSignals.java KIDNA.java KKeyNative.java KMD5.java KMimeTypeResolverBase.java KMimeTypeResolverHelper.java KMimeTypeValidator.java KMountPoint.java KOCRDialog.java KOCRDialogSignals.java KPanelAppMenu.java KPanelAppMenuSignals.java KPassivePopup.java KPassivePopupSignals.java KPluginSelector.java KPluginSelectorSignals.java KRegExpEditorInterface.java KServiceSeparator.java KShell.java KSimpleFileFilter.java KSMIMECrypto.java KSpellingHighlighter.java KSSLCertDlg.java KSSLCertificateCache.java KSSLCertificateFactory.java KSSLKeyGen.java KSSLPKCS7.java KSSLSigners.java KSyntaxHighlighter.java KTempDir.java KURLBarItemDialog.java KWidgetAction.java KWindowInfo.java KXMLGUI.java KZipFileEntry.java KZip.java LinkStyle.java LiveConnectExtension.java LiveConnectExtensionSignals.java MultiGetJob.java MultiGetJobSignals.java MutationEvent.java Notation.java PartBase.java PasswordDialog.java Plugin.java RangeException.java SessionData.java SkipDlg.java SkipDlgSignals.java SlaveConfigSignals.java StatusBarExtension.java TextEvent.java KNamedCommand.java PartManager.java PartManagerSignals.java URLArgs.java WindowArgs.java BrowserHostExtension.java BrowserRun.java TDEAccelActions.java KDockMainWindowSignals.java StoredTransferJob.java - -####### tdevelop will overwrite this part!!! (end)############ - -# nothing is installed. It is first put in a jar a few directories higher in the source tree. -noinst_JAVA = $(EXTRA_DIST) -#javadir = $(kde_libraries)/java/org/kde/koala -#install-data-hook: uninstall-javaJAVA - -JAVAROOT = ../../.. -CLASSPATH = ../../..:../../../../../qtjava/javalib/qtjava.jar:. -JAVACFLAGS = -classpath $(CLASSPATH) -encoding iso-8859-1 -# Prevent stupid automake from putting JAVAC=javac in Makefile.in -JAVAC = @JAVAC@ diff --git a/kdejava/koala/org/kde/koala/Marchaller.java b/kdejava/koala/org/kde/koala/Marchaller.java deleted file mode 100644 index aa013e49..00000000 --- a/kdejava/koala/org/kde/koala/Marchaller.java +++ /dev/null @@ -1,143 +0,0 @@ -package org.kde.koala; - -import java.io.*; - -/** - * This marchaller can convert between serialized Qt objects and Java objects. - * - * (Scooped the code of Stub.java from the javadcop project, and made the operations static and public) - */ -public class Marchaller { - // accessor methods for the datatypes used --------------------------- - - public static boolean read_bool(DataInputStream is) throws IOException - { - return is.readBoolean(); - } - - public static void write_bool(DataOutputStream os, boolean val) throws IOException - { - os.writeBoolean(val); - } - - public static short read_short_int(DataInputStream is) throws IOException - { - return is.readShort(); - } - - public static void write_short_int(DataOutputStream os, short val) throws IOException - { - os.writeShort(val); - } - - public static int read_int(DataInputStream is) throws IOException - { - return is.readInt(); - } - - public static void write_int(DataOutputStream os, int val) throws IOException - { - os.writeInt(val); - } - - public static int read_long_int(DataInputStream is) throws IOException - { - return is.readInt(); - } - - public static void write_long_int(DataOutputStream os, int val) throws IOException - { - os.writeInt(val); - } - - public static float read_float(DataInputStream is) throws IOException - { - return is.readFloat(); - } - - public static void write_float(DataOutputStream os, float val) throws IOException - { - os.writeFloat(val); - } - - public static double read_double(DataInputStream is) throws IOException - { - return is.readDouble(); - } - - public static void write_double(DataOutputStream os, double val) throws IOException - { - os.writeDouble(val); - } - - public static String read_QString(DataInputStream is) throws IOException - { - int len = is.readInt(); - if (len == 0xffffffff) - return new String(); - else - { - StringBuffer b = new StringBuffer(); - for (int i=0; i<len/2; ++i) - b.append(is.readChar()); - return b.toString(); - } - } - - public static void write_QString(DataOutputStream os, String val) throws IOException - { - os.writeInt(val.length()*2); - for (int i=0; i<val.length(); ++i) - os.writeChar(val.charAt(i)); - } - - public static String read_QCString(DataInputStream is) throws IOException - { - int len = is.readInt(); - StringBuffer b = new StringBuffer(); - for (int i=0; i<len; ++i) - b.append((char)is.readByte()); - return b.toString(); - } - - public static void write_QCString(DataOutputStream os, String val) throws IOException - { - os.writeInt(val.length()+1); - for (int i=0; i<val.length(); ++i) - os.writeByte(val.charAt(i)); - os.writeByte(0); - } - - public static String[] read_QStringList(DataInputStream is) throws IOException - { - int n = is.readInt(); - String[] result = new String[n]; - for (int i=0; i<n; ++i) - result[i] = read_QString(is); - return result; - } - - public static void write_QStringList(DataOutputStream os, String[] val) throws IOException - { - os.writeInt(val.length); - for (int i=0; i<val.length; ++i) - write_QCString(os, val[i]); - } -/* - public static void write_DCOPRef(DataOutputStream os, DCOPRef ref) throws IOException - { - write_QCString(os, ref.app()); - write_QCString(os, ref.object()); - write_QCString(os, ref.type()); - } - public static DCOPRef read_DCOPRef(DataInputStream is) throws IOException - { - return new DCOPRef(read_QCString(is), read_QCString(is), read_QCString(is)); - } -*/ - public static void write_QByteArray(DataOutputStream os, byte[] byteArray) throws IOException - { - write_int(os, byteArray.length); - os.write(byteArray); - } -} diff --git a/kdejava/koala/org/kde/koala/MetaInfoJob.java b/kdejava/koala/org/kde/koala/MetaInfoJob.java deleted file mode 100644 index 7a58b376..00000000 --- a/kdejava/koala/org/kde/koala/MetaInfoJob.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - MetaInfoJob is a TDEIO Job to retrieve meta information from files. - See {@link MetaInfoJobSignals} for signals emitted by MetaInfoJob - @short TDEIO Job to retrieve meta information from files. - -*/ -public class MetaInfoJob extends Job { - protected MetaInfoJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new MetaInfoJob. - @param items A list of KFileItems to get the metainfo for - @param deleteItems If true, the finished KFileItems are deleted - @short Creates a new MetaInfoJob. - */ - public MetaInfoJob(ArrayList items, boolean deleteItems) { - super((Class) null); - newMetaInfoJob(items,deleteItems); - } - private native void newMetaInfoJob(ArrayList items, boolean deleteItems); - public MetaInfoJob(ArrayList items) { - super((Class) null); - newMetaInfoJob(items); - } - private native void newMetaInfoJob(ArrayList items); - /** - Removes an item from metainfo extraction. - @param item the item that should be removed from the queue - @short Removes an item from metainfo extraction. - */ - public native void removeItem(KFileItem item); - /** - Returns a list of all available metainfo plugins. The list - contains the basenames of the plugins' .desktop files (no path, - no .desktop). - @return the list of available meta info plugins - - @short Returns a list of all available metainfo plugins. - */ - public static native ArrayList availablePlugins(); - /** - Returns a list of all supported MIME types. The list can - contain entries like text/ (without the space). - @return the list of MIME types that are supported - - @short Returns a list of all supported MIME types. - */ - public static native ArrayList supportedMimeTypes(); - protected native void getMetaInfo(); - protected native void slotResult(Job job); -} diff --git a/kdejava/koala/org/kde/koala/MetaInfoJobSignals.java b/kdejava/koala/org/kde/koala/MetaInfoJobSignals.java deleted file mode 100644 index ca252844..00000000 --- a/kdejava/koala/org/kde/koala/MetaInfoJobSignals.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface MetaInfoJobSignals { - /** - Emitted when the meta info for <code>item</code> has been successfully - retrieved. - @param item the KFileItem describing the fetched item - @short Emitted when the meta info for <code>item</code> has been successfully retrieved. - */ - void gotMetaInfo(KFileItem item); - /** - Emitted when metainfo for <code>item</code> could not be extracted, - either because a plugin for its MIME type does not - exist, or because something went wrong. - @param item the KFileItem of the file that failed - @short Emitted when metainfo for <code>item</code> could not be extracted, either because a plugin for its MIME type does not exist, or because something went wrong. - */ - void failed(KFileItem item); -} diff --git a/kdejava/koala/org/kde/koala/MimetypeJob.java b/kdejava/koala/org/kde/koala/MimetypeJob.java deleted file mode 100644 index 539da604..00000000 --- a/kdejava/koala/org/kde/koala/MimetypeJob.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - A MimetypeJob is a TransferJob that allows you to get - the mime type of an URL. Don't create directly, - but use TDEIO.mimetype() instead. - @short A MimetypeJob is a TransferJob that allows you to get the mime type of an URL. - @see #mimetype - -*/ -public class MimetypeJob extends TransferJob { - protected MimetypeJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a MimetypeJob directly. Use TDEIO.mimetype() - instead. - @param url the url to get - @param command the command to issue - @param packedArgs the arguments - @param showProgressInfo true to show progress information to the user - @short Do not create a MimetypeJob directly. - */ - public MimetypeJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo) { - super((Class) null); - newMimetypeJob(url,command,packedArgs,showProgressInfo); - } - private native void newMimetypeJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo); - /** - Call this in the slot connected to result, - and only after making sure no error happened. - @return the mimetype of the URL - - @short Call this in the slot connected to result, and only after making sure no error happened. - */ - public native String mimetype(); - /** - Called by the scheduler when a slave gets to - work on this job. - @param slave the slave that works on the job - @short - */ - public native void start(Slave slave); - protected native void slotFinished(); -} diff --git a/kdejava/koala/org/kde/koala/MouseEvent.java b/kdejava/koala/org/kde/koala/MouseEvent.java deleted file mode 100644 index 3969aea4..00000000 --- a/kdejava/koala/org/kde/koala/MouseEvent.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2 - The MouseEvent interface provides specific contextual information associated - with Mouse events. - The detail attribute inherited from UIEvent indicates the number of times a - mouse button has been pressed and released over the same screen location - during a user action. The attribute value is 1 when the user begins this - action and increments by 1 for each full sequence of pressing and releasing. - If the user moves the mouse between the mousedown and mouseup the value will - be set to 0, indicating that no click is occurring. - In the case of nested elements mouse events are always targeted at the most - deeply nested element. Ancestors of the targeted element may use bubbling to - obtain notification of mouse events which occur within its descendent elements. - @short Introduced in DOM Level 2 - -*/ -public class MouseEvent extends UIEvent { - protected MouseEvent(Class dummy){super((Class) null);} - /** - The horizontal coordinate at which the event occurred relative to the - origin of the screen coordinate system. - @short The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system. - */ - public native long screenX(); - /** - The vertical coordinate at which the event occurred relative to the - origin of the screen coordinate system. - @short The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system. - */ - public native long screenY(); - /** - The horizontal coordinate at which the event occurred relative to the - DOM implementation's client area. - @short The horizontal coordinate at which the event occurred relative to the DOM implementation's client area. - */ - public native long clientX(); - /** - The vertical coordinate at which the event occurred relative to the DOM - implementation's client area. - @short The vertical coordinate at which the event occurred relative to the DOM implementation's client area. - */ - public native long clientY(); - /** - Used to indicate whether the 'ctrl' key was depressed during the firing - of the event. - @short Used to indicate whether the 'ctrl' key was depressed during the firing of the event. - */ - public native boolean ctrlKey(); - /** - Used to indicate whether the 'shift' key was depressed during the firing - of the event. - @short Used to indicate whether the 'shift' key was depressed during the firing of the event. - */ - public native boolean shiftKey(); - /** - Used to indicate whether the 'alt' key was depressed during the firing - of the event. On some platforms this key may map to an alternative key - name. - @short Used to indicate whether the 'alt' key was depressed during the firing of the event. - */ - public native boolean altKey(); - /** - Used to indicate whether the 'meta' key was depressed during the firing - of the event. On some platforms this key may map to an alternative key - name. - @short Used to indicate whether the 'meta' key was depressed during the firing of the event. - */ - public native boolean metaKey(); - /** - During mouse events caused by the depression or release of a mouse - button, button is used to indicate which mouse button changed state. The - values for button range from zero to indicate the left button of the - mouse, one to indicate the middle button if present, and two to indicate - the right button. For mice configured for left handed use in which the - button actions are reversed the values are instead read from right to - left. - @short During mouse events caused by the depression or release of a mouse button, button is used to indicate which mouse button changed state. - */ - public native short button(); - /** - Used to identify a secondary EventTarget related to a UI event. - Currently this attribute is used with the mouseover event to indicate - the EventTarget which the pointing device exited and with the mouseout - event to indicate the EventTarget which the pointing device entered. - @short Used to identify a secondary EventTarget related to a UI event. - */ - public native Node relatedTarget(); - /** - The initMouseEvent method is used to initialize the value of a - MouseEvent created through the DocumentEvent interface. This method may - only be called before the MouseEvent has been dispatched via the - dispatchEvent method, though it may be called multiple times during that - phase if necessary. If called multiple times, the final invocation takes - precedence. Parameters - @param typeArg Specifies the event type. - @param canBubbleArg Specifies whether or not the event can bubble. - @param cancelableArg Specifies whether or not the event's default action can be prevented. - @param viewArg Specifies the Event's AbstractView. - @param detailArg Specifies the Event's mouse click count. - @param screenXArg Specifies the Event's screen x coordinate - @param screenYArg Specifies the Event's screen y coordinate - @param clientXArg Specifies the Event's client x coordinate - @param clientYArg Specifies the Event's client y coordinate - @param ctrlKeyArg Specifies whether or not control key was depressed during the Event. - @param altKeyArg Specifies whether or not alt key was depressed during the Event. - @param shiftKeyArg Specifies whether or not shift key was depressed during the Event. - @param metaKeyArg Specifies whether or not meta key was depressed during the Event. - @param buttonArg Specifies the Event's mouse button. - @param relatedTargetArg Specifies the Event's related EventTarget. - @short The initMouseEvent method is used to initialize the value of a MouseEvent created through the DocumentEvent interface. - */ - public native void initMouseEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, long detailArg, long screenXArg, long screenYArg, long clientXArg, long clientYArg, boolean ctrlKeyArg, boolean altKeyArg, boolean shiftKeyArg, boolean metaKeyArg, short buttonArg, Node relatedTargetArg); -} diff --git a/kdejava/koala/org/kde/koala/MultiGetJob.java b/kdejava/koala/org/kde/koala/MultiGetJob.java deleted file mode 100644 index 90537564..00000000 --- a/kdejava/koala/org/kde/koala/MultiGetJob.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The MultiGetJob is a TransferJob that allows you to get - several files from a single server. Don't create directly, - but use TDEIO.multi_get() instead. - See {@link MultiGetJobSignals} for signals emitted by MultiGetJob - @short The MultiGetJob is a TransferJob that allows you to get several files from a single server. - @see #multi_get - -*/ -public class MultiGetJob extends TransferJob { - protected MultiGetJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a MultiGetJob directly, use TDEIO.multi_get() - instead. - @param url the first url to get - @param showProgressInfo true to show progress information to the user - @short Do not create a MultiGetJob directly, use TDEIO.multi_get() instead. - */ - public MultiGetJob(KURL url, boolean showProgressInfo) { - super((Class) null); - newMultiGetJob(url,showProgressInfo); - } - private native void newMultiGetJob(KURL url, boolean showProgressInfo); - /** - Called by the scheduler when a <code>slave</code> gets to - work on this job. - @param slave the slave that starts working on this job - @short - */ - public native void start(Slave slave); - /** - Get an additional file. - @param id the id of the file - @param url the url of the file to get - @param metaData the meta data for this request - @short Get an additional file. - */ - // void get(long arg1,const KURL& arg2,const TDEIO::MetaData& arg3); >>>> NOT CONVERTED - protected native void slotRedirection(KURL url); - protected native void slotFinished(); - protected native void slotData(byte[] data); - protected native void slotMimetype(String mimetype); -} diff --git a/kdejava/koala/org/kde/koala/MultiGetJobSignals.java b/kdejava/koala/org/kde/koala/MultiGetJobSignals.java deleted file mode 100644 index 1a95cada..00000000 --- a/kdejava/koala/org/kde/koala/MultiGetJobSignals.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface MultiGetJobSignals { - /** - Data from the slave has arrived. - @param id the id of the request - @param data data received from the slave. - End of data (EOD) has been reached if data.size() == 0 - @short Data from the slave has arrived. - */ - void data(long id, byte[] data); - /** - Mimetype determined - @param id the id of the request - @param type the mime type - @short Mimetype determined - */ - void mimetype(long id, String type); - /** - File transfer completed. - When all files have been processed, result(TDEIO.Job ) gets - emitted. - @param id the id of the request - @short File transfer completed. - */ - void result(long id); -} diff --git a/kdejava/koala/org/kde/koala/MutationEvent.java b/kdejava/koala/org/kde/koala/MutationEvent.java deleted file mode 100644 index e0955da5..00000000 --- a/kdejava/koala/org/kde/koala/MutationEvent.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2 - The MutationEvent interface provides specific contextual information - associated with Mutation events. - @short Introduced in DOM Level 2 - -*/ -public class MutationEvent extends Event { - protected MutationEvent(Class dummy){super((Class) null);} - public MutationEvent() { - super((Class) null); - newMutationEvent(); - } - private native void newMutationEvent(); - public MutationEvent(MutationEvent other) { - super((Class) null); - newMutationEvent(other); - } - private native void newMutationEvent(MutationEvent other); - public MutationEvent(Event other) { - super((Class) null); - newMutationEvent(other); - } - private native void newMutationEvent(Event other); - /** - relatedNode is used to identify a secondary node related to a mutation - event. For example, if a mutation event is dispatched to a node - indicating that its parent has changed, the relatedNode is the changed - parent. If an event is instead dispatched to a subtree indicating a node - was changed within it, the relatedNode is the changed node. In the case - of the DOMAttrModified event it indicates the Attr node which was - modified, added, or removed. - @short relatedNode is used to identify a secondary node related to a mutation event. - */ - public native Node relatedNode(); - /** - prevValue indicates the previous value of the Attr node in - DOMAttrModified events, and of the CharacterData node in - DOMCharDataModified events. - @short prevValue indicates the previous value of the Attr node in DOMAttrModified events, and of the CharacterData node in DOMCharDataModified events. - */ - public native String prevValue(); - /** - newValue indicates the new value of the Attr node in DOMAttrModified - events, and of the CharacterData node in DOMCharDataModified events. - @short newValue indicates the new value of the Attr node in DOMAttrModified events, and of the CharacterData node in DOMCharDataModified events. - */ - public native String newValue(); - /** - attrName indicates the name of the changed Attr node in a - DOMAttrModified event. - @short attrName indicates the name of the changed Attr node in a DOMAttrModified event. - */ - public native String attrName(); - /** - attrChange indicates the type of change which triggered the - DOMAttrModified event. The values can be MODIFICATION, ADDITION, or - REMOVAL. - @short attrChange indicates the type of change which triggered the DOMAttrModified event. - */ - public native short attrChange(); - /** - The initMutationEvent method is used to initialize the value of a - MutationEvent created through the DocumentEvent interface. This method - may only be called before the MutationEvent has been dispatched via the - dispatchEvent method, though it may be called multiple times during that - phase if necessary. If called multiple times, the final invocation takes - precedence. - @param typeArg Specifies the event type. - @param canBubbleArg Specifies whether or not the event can bubble. - @param cancelableArg Specifies whether or not the event's default action can be prevented. - @param relatedNodeArg Specifies the Event's related Node. - @param prevValueArg Specifies the Event's prevValue attribute. This value may be null. - @param newValueArg Specifies the Event's newValue attribute. This value may be null. - @param attrNameArg Specifies the Event's attrName attribute. This value may be null. - @param attrChangeArg Specifies the Event's attrChange attribute - @short The initMutationEvent method is used to initialize the value of a MutationEvent created through the DocumentEvent interface. - */ - public native void initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg); - // DOM::MutationEvent* MutationEvent(DOM::MutationEventImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/NamedNodeMap.java b/kdejava/koala/org/kde/koala/NamedNodeMap.java deleted file mode 100644 index 492bff9d..00000000 --- a/kdejava/koala/org/kde/koala/NamedNodeMap.java +++ /dev/null @@ -1,152 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Objects implementing the <code>NamedNodeMap</code> interface are - used to represent collections of nodes that can be accessed by - name. Note that <code>NamedNodeMap</code> does not inherit from - <code>ArrayList</code> ; <code>NamedNodeMap</code> s are not - maintained in any particular order. Objects contained in an object - implementing <code>NamedNodeMap</code> may also be accessed by an - ordinal index, but this is simply to allow convenient enumeration - of the contents of a <code>NamedNodeMap</code> , and does not - imply that the DOM specifies an order to these Nodes. - @short Objects implementing the <code>NamedNodeMap</code> interface are used to represent collections of nodes that can be accessed by name. - -*/ -public class NamedNodeMap implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected NamedNodeMap(Class dummy){} - - public NamedNodeMap() { - newNamedNodeMap(); - } - private native void newNamedNodeMap(); - public NamedNodeMap(NamedNodeMap other) { - newNamedNodeMap(other); - } - private native void newNamedNodeMap(NamedNodeMap other); - /** - The number of nodes in the map. The range of valid child node - indices is 0 to <code>length-1</code> inclusive. - @short The number of nodes in the map. - */ - public native long length(); - /** - Retrieves a node specified by name. - @param name Name of a node to retrieve. - @return A <code>Node</code> (of any type) with the specified - name, or <code>null</code> if the specified name did not - identify any node in the map. - - @short Retrieves a node specified by name. - */ - public native Node getNamedItem(String name); - /** - Adds a node using its <code>nodeName</code> attribute. - As the <code>nodeName</code> attribute is used to derive the - name which the node must be stored under, multiple nodes of - certain types (those that have a "special" string value) cannot - be stored as the names would clash. This is seen as preferable - to allowing nodes to be aliased. - @param arg A node to store in a named node map. The node will - later be accessible using the value of the <code>nodeName</code> - attribute of the node. If a node with that name is - already present in the map, it is replaced by the new one. - NO_MODIFICATION_ALLOWED_ERR: Raised if this - <code>NamedNodeMap</code> is readonly. - INUSE_ATTRIBUTE_ERR: Raised if <code>arg</code> is an - <code>Attr</code> that is already an attribute of another - <code>Element</code> object. The DOM user must explicitly clone - <code>Attr</code> nodes to re-use them in other elements. - @return If the new <code>Node</code> replaces an existing - node with the same name the previously existing <code>Node</code> - is returned, otherwise <code>null</code> is returned. - - @short Adds a node using its <code>nodeName</code> attribute. - */ - public native Node setNamedItem(Node arg); - /** - Removes a node specified by name. If the removed node is an - <code>Attr</code> with a default value it is immediately - replaced. - @param name The name of a node to remove. - @return The node removed from the map or <code>null</code> if - no node with such a name exists. - - @short Removes a node specified by name. - */ - public native Node removeNamedItem(String name); - /** - Returns the <code>index</code> th item in the map. If - <code>index</code> is greater than or equal to the number of nodes - in the map, this returns <code>null</code> . - @param index Index into the map. - @return The node at the <code>index</code> th position in the - <code>NamedNodeMap</code> , or <code>null</code> if that is - not a valid index. - - @short Returns the <code>index</code> th item in the map. - */ - public native Node item(long index); - /** - Introduced in DOM Level 2 - Retrieves a node specified by local name and namespace URI. HTML-only - DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the node to retrieve. - @param localName The local name of the node to retrieve. - @return A Node (of any type) with the specified local name and namespace - URI, or null if they do not identify any node in this map. - - @short Introduced in DOM Level 2 - */ - public native Node getNamedItemNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Adds a node using its namespaceURI and localName. If a node with that - namespace URI and that local name is already present in this map, it is - replaced by the new one. - HTML-only DOM implementations do not need to implement this method. - @param arg A node to store in this map. The node will later be - accessible using the value of its namespaceURI and localName attributes. - NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly. - INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an - attribute of another Element object. The DOM user must explicitly clone - Attr nodes to re-use them in other elements. - @return If the new Node replaces an existing node the replaced Node is - returned, otherwise null is returned. - - @short Introduced in DOM Level 2 - */ - public native Node setNamedItemNS(Node arg); - /** - Introduced in DOM Level 2 - Removes a node specified by local name and namespace URI. A removed - attribute may be known to have a default value when this map contains - the attributes attached to an element, as returned by the attributes - attribute of the Node interface. If so, an attribute immediately appears - containing the default value as well as the corresponding namespace URI, - local name, and prefix when applicable. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the node to remove. - @param localName The local name of the node to remove. - NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly. - @return The node removed from this map if a node with such a local name - and namespace URI exists. - - @short Introduced in DOM Level 2 - */ - public native Node removeNamedItemNS(String namespaceURI, String localName); - /** - not part of the DOM - @short - */ - // DOM::NamedNodeMapImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::NamedNodeMap* NamedNodeMap(DOM::NamedNodeMapImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/NetAccess.java b/kdejava/koala/org/kde/koala/NetAccess.java deleted file mode 100644 index d4ee9409..00000000 --- a/kdejava/koala/org/kde/koala/NetAccess.java +++ /dev/null @@ -1,359 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - Net Transparency. - NetAccess allows you to do simple file operation (load, save, - copy, delete...) without working with TDEIO.Job directly. - Whereas a TDEIO.Job is asynchronous, meaning that the - developer has to connect slots for it, TDEIO.NetAccess provides - synchronous downloads and uploads, as well as temporary file - creation and removal. The functions appear to be blocking, - but the Qt event loop continues running while the operations - are handled. This means that the GUI will not freeze. - This class isn't meant to be used as a class but only as a simple - namespace for static functions, though an instance of the class - is built for internal purposes. - Port to tdeio done by David Faure, faure@kde.org - @short Provides an easy, synchronous interface to TDEIO file operations. - -*/ -public class NetAccess extends TQObject { - protected NetAccess(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Downloads a file from an arbitrary URL (<code>src</code>) to a - temporary file on the local filesystem (<code>target</code>). - If the argument - for <code>target</code> is an empty string, download will generate a - unique temporary filename in /tmp. Since <code>target</code> is a reference - to String you can access this filename easily. Download will - return true if the download was successful, otherwise false. - Special case: - If the URL is of kind file:, then no downloading is - processed but the full filename is returned in <code>target.</code> - That means you <b>have</b> to take care about the <code>target</code> argument. - (This is very easy to do, please see the example below.) - Download is synchronous. That means you can use it like - this, (assuming <code>u</code> is a string which represents a URL and your - application has a loadFile() function): - <pre> - String tmpFile; - if( TDEIO.NetAccess.download( u, tmpFile, window ) ) - { - loadFile( tmpFile ); - TDEIO.NetAccess.removeTempFile( tmpFile ); - } else { - KMessageBox.error(this, TDEIO.NetAccess.lastErrorString() ); - } - </pre> - Of course, your user interface will still process exposure/repaint - events during the download. - If the download fails, lastError() and lastErrorString() will be set. - @param src URL Reference to the file to download. - @param target String containing the final local location of the - file. If you insert an empty string, it will - return a location in a temporary spot. <B>Note:</B> - you are responsible for the removal of this file when - you are finished reading it using removeTempFile. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @return true if successful, false for failure. Use lastErrorString() to - get the reason it failed. - - @short Downloads a file from an arbitrary URL (<code>src</code>) to a temporary file on the local filesystem (<code>target</code>). - @see #lastErrorString - */ - public static native boolean download(KURL src, StringBuffer target, TQWidget window); - /** - Removes the specified file if and only if it was created - by TDEIO.NetAccess as a temporary file for a former download. - Note: This means that if you created your temporary with KTempFile, - use KTempFile.unlink() or KTempFile.setAutoDelete() to have - it removed. - @param name Path to temporary file to remove. May not be - empty. - @short Removes the specified file if and only if it was created by TDEIO.NetAccess as a temporary file for a former download. - */ - public static native void removeTempFile(String name); - /** - Uploads file <code>src</code> to URL <code>target.</code> - Both must be specified, unlike download. - Note that this is assumed to be used for saving a file over - the network, so overwriting is set to true. This is not the - case with copy. - @param src URL Referencing the file to upload. - @param target URL containing the final location of the file. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be cached - only for a short duration after which the user will again be - prompted for passwords as needed. - @return true if successful, false for failure - - @short Uploads file <code>src</code> to URL <code>target.</code> - */ - public static native boolean upload(String src, KURL target, TQWidget window); - /** - Alternative to upload for copying over the network. - Overwrite is false, so this will fail if <code>target</code> exists. - This one takes two URLs and is a direct equivalent - of TDEIO.file_copy (not TDEIO.copy!). - It will be renamed file_copy in KDE4, so better use file_copy. - @param src URL Referencing the file to upload. - @param target URL containing the final location of the file. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be cached - only for a short duration after which the user will again be - prompted for passwords as needed. - @return true if successful, false for failure - - @short Alternative to upload for copying over the network. - */ - public static native boolean copy(KURL src, KURL target, TQWidget window); - /** - Full-fledged equivalent of TDEIO.file_copy - @short Full-fledged equivalent of TDEIO.file_copy - */ - public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume, TQWidget window); - public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume); - public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite); - public static native boolean file_copy(KURL src, KURL dest, int permissions); - public static native boolean file_copy(KURL src, KURL dest); - /** - Full-fledged equivalent of TDEIO.file_move. - Moves or renames one file. - @short Full-fledged equivalent of TDEIO.file_move. - */ - public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite, boolean resume, TQWidget window); - public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite, boolean resume); - public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite); - public static native boolean file_move(KURL src, KURL target, int permissions); - public static native boolean file_move(KURL src, KURL target); - /** - Alternative method for copying over the network. - Overwrite is false, so this will fail if <code>target</code> exists. - This one takes two URLs and is a direct equivalent - of TDEIO.copy!. - This means that it can copy files and directories alike - (it should have been named copy()). - @param src URL Referencing the file to upload. - @param target URL containing the final location of the - file. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be cached - only for a short duration after which the user will again be - prompted for passwords as needed. - @return true if successful, false for failure - - @short Alternative method for copying over the network. - */ - public static native boolean dircopy(KURL src, KURL target, TQWidget window); - /** - Overloaded method, which takes a list of source URLs - @short Overloaded method, which takes a list of source URLs - */ - public static native boolean dircopy(ArrayList src, KURL target, TQWidget window); - public static native boolean dircopy(ArrayList src, KURL target); - /** - Full-fledged equivalent of TDEIO.move. - Moves or renames one file or directory. - @short Full-fledged equivalent of TDEIO.move. - */ - public static native boolean move(KURL src, KURL target, TQWidget window); - public static native boolean move(KURL src, KURL target); - /** - Full-fledged equivalent of TDEIO.move. - Moves or renames a list of files or directories. - @short Full-fledged equivalent of TDEIO.move. - */ - public static native boolean move(ArrayList src, KURL target, TQWidget window); - public static native boolean move(ArrayList src, KURL target); - /** - Tests whether a URL exists. - @param url the URL we are testing - @param source if true, we want to read from that URL. - If false, we want to write to it. - IMPORTANT: see documentation for TDEIO.stat for more details about this. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @return true if the URL exists and we can do the operation specified by - <code>source</code>, false otherwise - - @short Tests whether a URL exists. - */ - public static native boolean exists(KURL url, boolean source, TQWidget window); - /** - Tests whether a URL exists and return information on it. - This is a convenience function for TDEIO.stat - (it saves creating a slot and testing for the job result). - @param url The URL we are testing. - @param entry The result of the stat. Iterate over the list - of atoms to get hold of name, type, size, etc., or use KFileItem. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @return true if successful, false for failure - - @short Tests whether a URL exists and return information on it. - */ - // bool stat(const KURL& arg1,TDEIO::UDSEntry& arg2,TQWidget* arg3); >>>> NOT CONVERTED - /** - Tries to map a local URL for the given URL. - This is a convenience function for TDEIO.stat + parsing the - resulting UDSEntry. - @param url The URL we are testing. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @return a local URL corresponding to the same ressource than the - original URL, or the original URL if no local URL can be mapped - - @short Tries to map a local URL for the given URL. - */ - public static native KURL mostLocalURL(KURL url, TQWidget window); - /** - Deletes a file or a directory in a synchronous way. - This is a convenience function for TDEIO.del - (it saves creating a slot and testing for the job result). - @param url The file or directory to delete. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @return true on success, false on failure. - - @short Deletes a file or a directory in a synchronous way. - */ - public static native boolean del(KURL url, TQWidget window); - /** - Creates a directory in a synchronous way. - This is a convenience function for <code>TDEIO</code>.mkdir - (it saves creating a slot and testing for the job result). - @param url The directory to create. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @param permissions directory permissions. - @return true on success, false on failure. - - @short Creates a directory in a synchronous way. - */ - public static native boolean mkdir(KURL url, TQWidget window, int permissions); - public static native boolean mkdir(KURL url, TQWidget window); - /** - Executes a remote process via the fish ioslave in a synchronous way. - @param url The remote machine where the command should be executed. - e.g. fish://someuser\@somehost:sshport/ - some special cases exist. - fish://someuser\@localhost/ - will use su instead of ssh to connect and execute the command. - fish://someuser\@localhost:port/ - will use ssh to connect and execute the command. - @param command The command to be executed. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @return The resulting output of the <code>command</code> that is executed. - - @short Executes a remote process via the fish ioslave in a synchronous way. - */ - public static native String fish_execute(KURL url, String command, TQWidget window); - /** - This function executes a job in a synchronous way. - If a job fetches some data, pass a byte[] pointer as data parameter to this function - and after the function returns it will contain all the data fetched by this job. - <code> - TDEIO.Job job = TDEIO.get( url, false, false ); - TQMap<String, String> metaData; - metaData.insert( "PropagateHttpHeader", "true" ); - if ( NetAccess.synchronousRun( job, 0, &data, &url, &metaData ) ) { - String responseHeaders = metaData[ "HTTP-Headers" ]; - kdDebug()<<"Response header = "<< responseHeaders << endl; - } - </code> - @param job job which the function will run. Note that after this function - finishes running, job is deleted and you can't access it anymore! - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @param data if passed and relevant to this job then it will contain the data - that was fetched by the job - @param finalURL if passed will contain the final url of this job (it might differ - from the one it was created with if there was a redirection) - @param metaData you can pass a pointer to the map with meta data you wish to - set on the job. After the job finishes this map will hold all the - meta data from the job. - @return true on success, false on failure. - - @short This function executes a job in a synchronous way. - */ - // bool synchronousRun(TDEIO::Job* arg1,TQWidget* arg2,TQByteArray* arg3,KURL* arg4,TQMap<TQString, TQString>* arg5); >>>> NOT CONVERTED - public static native boolean synchronousRun(Job job, TQWidget window, byte[] data, KURL finalURL); - public static native boolean synchronousRun(Job job, TQWidget window, byte[] data); - public static native boolean synchronousRun(Job job, TQWidget window); - /** - This function is not implemented!? - (only mimetypeInternal) - Determines the mimetype of a given URL. - This is a convenience function for TDEIO.mimetype. You - should call this only when really necessary. - KMimeType.findByURL can determine extension a lot faster, but - less reliably for remote files. Only when findByURL() returns - unknown (application/octet-stream) then this one should be - used. - @param url The URL whose mimetype we are interested in. - @param window main window associated with this job. This is used to - automatically cache and discard authentication information - as needed. If NULL, authentication information will be - cached only for a short duration after which the user will - again be prompted for passwords as needed. - @return The mimetype name. - - @short - */ - public static native String mimetype(KURL url, TQWidget window); - /** - Returns the error string for the last job, in case it failed. - Note that this is already translated. - @return the last error string, or null - - @short Returns the error string for the last job, in case it failed. - */ - public static native String lastErrorString(); - /** - Returns the error code for the last job, in case it failed. - @return the last error code - - @short Returns the error code for the last job, in case it failed. - */ - public static native int lastError(); -} diff --git a/kdejava/koala/org/kde/koala/Node.java b/kdejava/koala/org/kde/koala/Node.java deleted file mode 100644 index 1851b921..00000000 --- a/kdejava/koala/org/kde/koala/Node.java +++ /dev/null @@ -1,425 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - The <code>Node</code> interface is the primary datatype for the - entire Document Object Model. It represents a single node in the - document tree. While all objects implementing the <code>Node</code> - interface expose methods for dealing with children, not all - objects implementing the <code>Node</code> interface may have - children. For example, <code>Text</code> nodes may not have - children, and adding children to such nodes results in a - <code>DOMException</code> being raised. - The attributes <code>nodeName</code> , <code>nodeValue</code> - and <code>attributes</code> are included as a mechanism to get at - node information without casting down to the specific derived - interface. In cases where there is no obvious mapping of these - attributes for a specific <code>nodeType</code> (e.g., - <code>nodeValue</code> for an Element or <code>attributes</code> for a - Comment), this returns <code>null</code> . Note that the - specialized interfaces may contain additional and more convenient - mechanisms to get and set the relevant information. - @short The <code>Node</code> interface is the primary datatype for the entire Document Object Model. - -*/ -public class Node implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected Node(Class dummy){} - - public Node() { - newNode(); - } - private native void newNode(); - public Node(Node other) { - newNode(other); - } - private native void newNode(Node other); - /** - @short - */ - // DOM::Node* Node(DOM::NodeImpl* arg1); >>>> NOT CONVERTED - public native boolean op_equals(Node other); - public native boolean op_not_equals(Node other); - /** - The name of this node, depending on its type; see the table - above. - @short The name of this node, depending on its type; see the table above. - */ - public native String nodeName(); - /** - The value of this node, depending on its type; see the table - above. - @short The value of this node, depending on its type; see the table above. - */ - public native String nodeValue(); - /** - see nodeValue - @short see nodeValue - */ - public native void setNodeValue(String arg1); - /** - A code representing the type of the underlying object, as - defined above. - @short A code representing the type of the underlying object, as defined above. - */ - public native short nodeType(); - /** - The parent of this node. All nodes, except <code>Document</code> - , <code>DocumentFragment</code> , and <code>Attr</code> - may have a parent. However, if a node has just been - created and not yet added to the tree, or if it has been - removed from the tree, this is <code>null</code> . - @short The parent of this node. - */ - public native Node parentNode(); - /** - A <code>ArrayList</code> that contains all children of this - node. If there are no children, this is a <code>ArrayList</code> - containing no nodes. The content of the returned - <code>ArrayList</code> is "live" in the sense that, for - instance, changes to the children of the node object that it - was created from are immediately reflected in the nodes - returned by the <code>ArrayList</code> accessors; it is not a - static snapshot of the content of the node. This is true for - every <code>ArrayList</code> , including the ones returned by - the <code>getElementsByTagName</code> method. - @short A <code>NodeList</code> that contains all children of this node. - */ - public native ArrayList childNodes(); - /** - The first child of this node. If there is no such node, this - returns <code>null</code> . - @short The first child of this node. - */ - public native Node firstChild(); - /** - The last child of this node. If there is no such node, this - returns <code>null</code> . - @short The last child of this node. - */ - public native Node lastChild(); - /** - The node immediately preceding this node. If there is no such - node, this returns <code>null</code> . - @short The node immediately preceding this node. - */ - public native Node previousSibling(); - /** - The node immediately following this node. If there is no such - node, this returns <code>null</code> . - @short The node immediately following this node. - */ - public native Node nextSibling(); - /** - A <code>NamedNodeMap</code> containing the attributes of this - node (if it is an <code>Element</code> ) or <code>null</code> - otherwise. - @short A <code>NamedNodeMap</code> containing the attributes of this node (if it is an <code>Element</code> ) or <code>null</code> otherwise. - */ - public native NamedNodeMap attributes(); - /** - The <code>Document</code> object associated with this node. - This is also the <code>Document</code> object used to create - new nodes. When this node is a <code>Document</code> this is - <code>null</code> . - @short The <code>Document</code> object associated with this node. - */ - public native Document ownerDocument(); - /** - Inserts the node <code>newChild</code> before the existing - child node <code>refChild</code> . If <code>refChild</code> - is <code>null</code> , insert <code>newChild</code> at the - end of the list of children. - If <code>newChild</code> is a <code>DocumentFragment</code> - object, all of its children are inserted, in the same - order, before <code>refChild</code> . If the <code>newChild</code> - is already in the tree, it is first removed. - @param newChild The node to insert. - @param refChild The reference node, i.e., the node before which - the new node must be inserted. - WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was - created from a different document than the one that created - this node. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - NOT_FOUND_ERR: Raised if <code>refChild</code> is not a - child of this node. - @return The node being inserted. - - @short Inserts the node <code>newChild</code> before the existing child node <code>refChild</code> . - */ - public native Node insertBefore(Node newChild, Node refChild); - /** - Replaces the child node <code>oldChild</code> with - <code>newChild</code> in the list of children, and returns the - <code>oldChild</code> node. If the <code>newChild</code> is - already in the tree, it is first removed. - @param newChild The new node to put in the child list. - @param oldChild The node being replaced in the list. - WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was - created from a different document than the one that created - this node. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - NOT_FOUND_ERR: Raised if <code>oldChild</code> is not a - child of this node. - @return The node replaced. - - @short Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node. - */ - public native Node replaceChild(Node newChild, Node oldChild); - /** - Removes the child node indicated by <code>oldChild</code> - from the list of children, and returns it. - @param oldChild The node being removed. - NOT_FOUND_ERR: Raised if <code>oldChild</code> is not a - child of this node. - @return The node removed. - - @short Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it. - */ - public native Node removeChild(Node oldChild); - /** - Adds the node <code>newChild</code> to the end of the list of - children of this node. If the <code>newChild</code> is - already in the tree, it is first removed. - @param newChild The node to add. - If it is a <code>DocumentFragment</code> object, the entire - contents of the document fragment are moved into the child list - of this node - WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was - created from a different document than the one that created - this node. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @return The node added. - - @short Adds the node <code>newChild</code> to the end of the list of children of this node. - */ - public native Node appendChild(Node newChild); - /** - This is a convenience method to allow easy determination of - whether a node has any children. - @return <code>true</code> if the node has any children, - <code>false</code> if the node has no children. - - @short This is a convenience method to allow easy determination of whether a node has any children. - */ - public native boolean hasChildNodes(); - /** - Returns a duplicate of this node, i.e., serves as a generic - copy constructor for nodes. The duplicate node has no parent ( - <code>parentNode</code> returns <code>null</code> .). - Cloning an <code>Element</code> copies all attributes and - their values, including those generated by the XML processor to - represent defaulted attributes, but this method does not copy - any text it contains unless it is a deep clone, since the text - is contained in a child <code>Text</code> node. Cloning any - other type of node simply returns a copy of this node. - @param deep If <code>true</code> , recursively clone the - subtree under the specified node; if <code>false</code> , - clone only the node itself (and its attributes, if it is an - <code>Element</code> ). - @return The duplicate node. - - @short Returns a duplicate of this node, i. - */ - public native Node cloneNode(boolean deep); - /** - Modified in DOM Level 2 - Puts all Text nodes in the full depth of the sub-tree underneath this - Node, including attribute nodes, into a "normal" form where only - structure (e.g., elements, comments, processing instructions, CDATA - sections, and entity references) separates Text nodes, i.e., there are - neither adjacent Text nodes nor empty Text nodes. This can be used to - ensure that the DOM view of a document is the same as if it were saved - and re-loaded, and is useful when operations (such as XPointer - [XPointer] lookups) that depend on a particular document tree structure - are to be used. - Note: In cases where the document contains CDATASections, the normalize - operation alone may not be sufficient, since XPointers do not - differentiate between Text nodes and CDATASection nodes. - @short Modified in DOM Level 2 - */ - public native void normalize(); - /** - Introduced in DOM Level 2 - Tests whether the DOM implementation implements a specific feature and - that feature is supported by this node. - @param feature The name of the feature to test. This is the same name - which can be passed to the method hasFeature on DOMImplementation. - @param version This is the version number of the feature to test. In - Level 2, version 1, this is the string "2.0". If the version is not - specified, supporting any version of the feature will cause the method - to return true. - @return Returns true if the specified feature is supported on this node, - false otherwise. - - @short Introduced in DOM Level 2 - */ - public native boolean isSupported(String feature, String version); - /** - Introduced in DOM Level 2 - The namespace URI of this node, or null if it is unspecified. - This is not a computed value that is the result of a namespace lookup - based on an examination of the namespace declarations in scope. It is - merely the namespace URI given at creation time. For nodes of any type - other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with a DOM - Level 1 method, such as createElement from the Document interface, this - is always null. - Note: Per the Namespaces in XML Specification [Namespaces] an attribute - does not inherit its namespace from the element it is attached to. If an - attribute is not explicitly given a namespace, it simply has no - namespace. - @short Introduced in DOM Level 2 - */ - public native String namespaceURI(); - /** - Introduced in DOM Level 2 - The namespace prefix of this node, or null if it is unspecified. - Note that setting this attribute, when permitted, changes the nodeName - attribute, which holds the qualified name, as well as the tagName and - name attributes of the Element and Attr interfaces, when applicable. - Note also that changing the prefix of an attribute that is known to have - a default value, does not make a new attribute with the default value - and the original prefix appear, since the namespaceURI and localName do - not change. - For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and - nodes created with a DOM Level 1 method, such as createElement from the - Document interface, this is always null. - @short Introduced in DOM Level 2 - */ - public native String prefix(); - /** - see prefix - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - NAMESPACE_ERR: Raised if the specified prefix is malformed, if the - namespaceURI of this node is null, if the specified prefix is "xml" and - the namespaceURI of this node is different from - "http://www.w3.org/XML/1998/namespace", if this node is an attribute and - the specified prefix is "xmlns" and the namespaceURI of this node is - different from "http://www.w3.org/2000/xmlns/", or if this node is an - attribute and the qualifiedName of this node is "xmlns" [Namespaces]. - @short see prefix - */ - public native void setPrefix(String prefix); - /** - Introduced in DOM Level 2 - Returns the local part of the qualified name of this node. - For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and - nodes created with a DOM Level 1 method, such as createElement from the - Document interface, this is always null. - @short Introduced in DOM Level 2 - */ - public native String localName(); - /** - Returns whether this node (if it is an element) has any attributes. - @return a boolean. True if this node has any attributes, false otherwise. - Introduced in DOM Level 2 - - @short Returns whether this node (if it is an element) has any attributes. - */ - public native boolean hasAttributes(); - /** - Introduced in DOM Level 2 - This method is from the EventTarget interface - This method allows the registration of event listeners on the event - target. If an EventListener is added to an EventTarget while it is - processing an event, it will not be triggered by the current actions but - may be triggered during a later stage of event flow, such as the - bubbling phase. - If multiple identical EventListeners are registered on the same - EventTarget with the same parameters the duplicate instances are - discarded. They do not cause the EventListener to be called twice and - since they are discarded they do not need to be removed with the - removeEventListener method. Parameters - @param type The event type for which the user is registering - @param listener The listener parameter takes an interface implemented by - the user which contains the methods to be called when the event occurs. - @param useCapture If true, useCapture indicates that the user wishes to - initiate capture. After initiating capture, all events of the specified - type will be dispatched to the registered EventListener before being - dispatched to any EventTargets beneath them in the tree. Events which - are bubbling upward through the tree will not trigger an EventListener - designated to use capture. - @short Introduced in DOM Level 2 This method is from the EventTarget interface - */ - public native void addEventListener(String type, EventListener listener, boolean useCapture); - /** - Introduced in DOM Level 2 - This method is from the EventTarget interface - This method allows the removal of event listeners from the event target. - If an EventListener is removed from an EventTarget while it is - processing an event, it will not be triggered by the current actions. - EventListeners can never be invoked after being removed. - Calling removeEventListener with arguments which do not identify any - currently registered EventListener on the EventTarget has no effect. - @param type Specifies the event type of the EventListener being removed. - @param listener The EventListener parameter indicates the EventListener - to be removed. - @param useCapture Specifies whether the EventListener being removed was - registered as a capturing listener or not. If a listener was registered - twice, one with capture and one without, each must be removed - separately. Removal of a capturing listener does not affect a - non-capturing version of the same listener, and vice versa. - @short Introduced in DOM Level 2 This method is from the EventTarget interface - */ - public native void removeEventListener(String type, EventListener listener, boolean useCapture); - /** - Introduced in DOM Level 2 - This method is from the EventTarget interface - This method allows the dispatch of events into the implementations event - model. Events dispatched in this manner will have the same capturing and - bubbling behavior as events dispatched directly by the implementation. - The target of the event is the EventTarget on which dispatchEvent is - called. - @param evt Specifies the event type, behavior, and contextual - information to be used in processing the event. - @return The return value of dispatchEvent indicates whether any of the - listeners which handled the event called preventDefault. If - preventDefault was called the value is false, else the value is true. - - @short Introduced in DOM Level 2 This method is from the EventTarget interface - */ - public native boolean dispatchEvent(Event evt); - /** - not part of the DOM. - @return the element id, in case this is an element, 0 otherwise - - @short - */ - public native int elementId(); - /** - tests if this Node is 0. Useful especially, if casting to a derived - class: - <pre> - Node n = .....; - // try to convert into an Element: - Element e = n; - if( e.isNull() ) - kdDebug(300) << "node isn't an element node" << endl; - </pre> - @short tests if this Node is 0. - */ - public native boolean isNull(); - /** - @short - */ - // DOM::NodeImpl* handle(); >>>> NOT CONVERTED - /** - @short - */ - public native long index(); - public native void applyChanges(); - /** - not part of the DOM. - @return the exact coordinates and size of this element. - - @short not part of the DOM. - */ - public native TQRect getRect(); -} diff --git a/kdejava/koala/org/kde/koala/NodeFilter.java b/kdejava/koala/org/kde/koala/NodeFilter.java deleted file mode 100644 index f642020b..00000000 --- a/kdejava/koala/org/kde/koala/NodeFilter.java +++ /dev/null @@ -1,67 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Filters are objects that know how to "filter out" nodes. If an - Iterator or <code>TreeWalker</code> is given a filter, before it - returns the next node, it applies the filter. If the filter says to - accept the node, the Iterator returns it; otherwise, the Iterator - looks for the next node and pretends that the node that was - rejected was not there. - The DOM does not provide any filters. Filter is just an interface - that users can implement to provide their own filters. - Filters do not need to know how to iterate, nor do they need to - know anything about the data structure that is being iterated. This - makes it very easy to write filters, since the only thing they have - to know how to do is evaluate a single node. One filter may be used - with a number of different kinds of Iterators, encouraging code - reuse. - To create your own custom NodeFilter, define a subclass of - CustomNodeFilter which overrides the acceptNode() method and assign - an instance of it to the NodeFilter. For more details see the - CustomNodeFilter class - @short Filters are objects that know how to "filter out" nodes. - -*/ -public class NodeFilter implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected NodeFilter(Class dummy){} - - public NodeFilter() { - newNodeFilter(); - } - private native void newNodeFilter(); - public NodeFilter(NodeFilter other) { - newNodeFilter(other); - } - private native void newNodeFilter(NodeFilter other); - // DOM::NodeFilter* NodeFilter(DOM::NodeFilterImpl* arg1); >>>> NOT CONVERTED - /** - Test whether a specified node is visible in the logical view of - a TreeWalker or NodeIterator. This function will be called by - the implementation of TreeWalker and NodeIterator; it is not - intended to be called directly from user code. - @param n The node to check to see if it passes the filter or - not. - @return a constant to determine whether the node is accepted, - rejected, or skipped, as defined <a - href="#Traversal-NodeFilter-acceptNode-constants"> above </a> . - - @short Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator. - */ - public native short acceptNode(Node n); - /** - not part of the DOM - @short - */ - // DOM::NodeFilterImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - public native void setCustomNodeFilter(CustomNodeFilter custom); - public native CustomNodeFilter customNodeFilter(); - public static native NodeFilter createCustom(CustomNodeFilter custom); -} diff --git a/kdejava/koala/org/kde/koala/NodeIterator.java b/kdejava/koala/org/kde/koala/NodeIterator.java deleted file mode 100644 index 481428d3..00000000 --- a/kdejava/koala/org/kde/koala/NodeIterator.java +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - NodeIterators are used to step through a set of nodes, e.g. the set - of nodes in an ArrayList, the document subtree governed by a - particular node, the results of a query, or any other set of nodes. - The set of nodes to be iterated is determined by the implementation - of the NodeIterator. DOM Level 2 specifies a single NodeIterator - implementation for document-order traversal of a document subtree. - Instances of these iterators are created by calling - DocumentTraversal.createNodeIterator(). - Any Iterator that returns nodes may implement the - <code>NodeIterator</code> interface. Users and vendor libraries may also - choose to create Iterators that implement the <code>NodeIterator</code> - interface. - @short NodeIterators are used to step through a set of nodes, e. - -*/ -public class NodeIterator implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected NodeIterator(Class dummy){} - - public NodeIterator() { - newNodeIterator(); - } - private native void newNodeIterator(); - public NodeIterator(NodeIterator other) { - newNodeIterator(other); - } - private native void newNodeIterator(NodeIterator other); - /** - The root node of the NodeIterator, as specified when it was created. - @short The root node of the NodeIterator, as specified when it was created. - */ - public native Node root(); - /** - This attribute determines which node types are presented via the - iterator. The available set of constants is defined in the NodeFilter - interface. Nodes not accepted by whatToShow will be skipped, but their - children may still be considered. Note that this skip takes precedence - over the filter, if any. - @short This attribute determines which node types are presented via the iterator. - */ - public native long whatToShow(); - /** - The NodeFilter used to screen nodes. - @short The NodeFilter used to screen nodes. - */ - public native NodeFilter filter(); - /** - The value of this flag determines whether the children of entity - reference nodes are visible to the iterator. If false, they and - their descendents will be rejected. Note that this rejection takes - precedence over whatToShow and the filter. Also note that this is - currently the only situation where NodeIterators may reject a complete - subtree rather than skipping individual nodes. - To produce a view of the document that has entity references expanded - and does not expose the entity reference node itself, use the whatToShow - flags to hide the entity reference node and set expandEntityReferences to - true when creating the iterator. To produce a view of the document that - has entity reference nodes but no entity expansion, use the whatToShow - flags to show the entity reference node and set expandEntityReferences to - false. - @short The value of this flag determines whether the children of entity reference nodes are visible to the iterator. - */ - public native boolean expandEntityReferences(); - /** - Returns the next node in the set and advances the position of - the Iterator in the set. After a NodeIterator is created, the - first call to nextNode() returns the first node in the set. - @return The next <code>Node</code> in the set being iterated - over, or <code>null</code> if there are no more members in - that set. - - @short Returns the next node in the set and advances the position of the Iterator in the set. - */ - public native Node nextNode(); - /** - Returns the previous node in the set and moves the position of - the Iterator backwards in the set. - @return The previous <code>Node</code> in the set being - iterated over, or <code>null</code> if there are no more - members in that set. - - @short Returns the previous node in the set and moves the position of the Iterator backwards in the set. - */ - public native Node previousNode(); - /** - Detaches the NodeIterator from the set which it iterated over, - releasing any computational resources and placing the iterator in the - INVALID state. After detach has been invoked, calls to nextNode or - previousNode will raise the exception INVALID_STATE_ERR. - @short Detaches the NodeIterator from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state. - */ - public native void detach(); - /** - not part of the DOM - @short - */ - // DOM::NodeIteratorImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::NodeIterator* NodeIterator(DOM::NodeIteratorImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Notation.java b/kdejava/koala/org/kde/koala/Notation.java deleted file mode 100644 index 919edf7e..00000000 --- a/kdejava/koala/org/kde/koala/Notation.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This interface represents a notation declared in the DTD. A - notation either declares, by name, the format of an unparsed entity - (see section 4.7 of the XML 1.0 specification), or is used for - formal declaration of Processing Instruction targets (see section - 2.6 of the XML 1.0 specification). The <code>nodeName</code> - attribute inherited from <code>Node</code> is set to the declared - name of the notation. - The DOM Level 1 does not support editing <code>Notation</code> - nodes; they are therefore readonly. - A <code>Notation</code> node does not have any parent. - @short This interface represents a notation declared in the DTD. - -*/ -public class Notation extends Node { - protected Notation(Class dummy){super((Class) null);} - public Notation() { - super((Class) null); - newNotation(); - } - private native void newNotation(); - public Notation(Notation other) { - super((Class) null); - newNotation(other); - } - private native void newNotation(Notation other); - public Notation(Node other) { - super((Class) null); - newNotation(other); - } - private native void newNotation(Node other); - /** - The public identifier of this notation. If the public - identifier was not specified, this is <code>null</code> . - @short The public identifier of this notation. - */ - public native String publicId(); - /** - The system identifier of this notation. If the system - identifier was not specified, this is <code>null</code> . - @short The system identifier of this notation. - */ - public native String systemId(); - // DOM::Notation* Notation(DOM::NotationImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Observer.java b/kdejava/koala/org/kde/koala/Observer.java deleted file mode 100644 index 3d14e798..00000000 --- a/kdejava/koala/org/kde/koala/Observer.java +++ /dev/null @@ -1,365 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - Observer for TDEIO.Job progress information. - This class, of which there is always only one instance, - "observes" what jobs do and forwards this information - to the progress-info server. - It is a DCOP object so that the UI server can call the - kill method when the user presses Cancel. - Usually jobs are automatically registered by the - TDEIO.Scheduler, so you do not have to care about that. - @author David Faure <faure@kde.org> - - @short Observer for TDEIO.Job progress information. - -*/ -public class Observer extends TQObject implements DCOPObjectInterface { - protected Observer(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Called by the job constructor, to signal its presence to the - UI Server. - @param job the new job - @param showProgress true to show progress, false otherwise - @return the progress ID assigned by the UI Server to the Job. - - @short Called by the job constructor, to signal its presence to the UI Server. - */ - public native int newJob(Job job, boolean showProgress); - /** - Called by the job destructor, to tell the UI Server that - the job ended. - @param progressId the progress ID of the job, as returned by newJob() - @short Called by the job destructor, to tell the UI Server that the job ended. - */ - public native void jobFinished(int progressId); - /** - Opens a password dialog. - @param info the authentication information - @return true if successful ("ok" clicked), false otherwise - - @short Opens a password dialog. - */ - public native boolean openPassDlg(AuthInfo info); - /** - See renamedlg.h - @short - */ - public native int open_RenameDlg(Job job, String caption, String src, String dest, int mode, StringBuffer newDest, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest); - public native int open_RenameDlg(Job job, String caption, String src, String dest, int mode, StringBuffer newDest, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc); - public native int open_RenameDlg(Job job, String caption, String src, String dest, int mode, StringBuffer newDest, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest); - public native int open_RenameDlg(Job job, String caption, String src, String dest, int mode, StringBuffer newDest, long sizeSrc, long sizeDest, int ctimeSrc); - public native int open_RenameDlg(Job job, String caption, String src, String dest, int mode, StringBuffer newDest, long sizeSrc, long sizeDest); - public native int open_RenameDlg(Job job, String caption, String src, String dest, int mode, StringBuffer newDest, long sizeSrc); - public native int open_RenameDlg(Job job, String caption, String src, String dest, int mode, StringBuffer newDest); - /** - See skipdlg.h - @short - */ - public native int open_SkipDlg(Job job, boolean multi, String error_text); - public native void stating(Job arg1, KURL url); - public native void mounting(Job arg1, String dev, String point); - public native void unmounting(Job arg1, String point); - public native void slotTotalSize(Job arg1, long size); - public native void slotTotalFiles(Job arg1, long files); - public native void slotTotalDirs(Job arg1, long dirs); - public native void slotProcessedSize(Job arg1, long size); - public native void slotProcessedFiles(Job arg1, long files); - public native void slotProcessedDirs(Job arg1, long dirs); - public native void slotSpeed(Job arg1, long speed); - public native void slotPercent(Job arg1, long percent); - public native void slotInfoMessage(Job arg1, String msg); - public native void slotCopying(Job arg1, KURL from, KURL to); - public native void slotMoving(Job arg1, KURL from, KURL to); - public native void slotDeleting(Job arg1, KURL url); - public native void slotTransferring(Job arg1, KURL url); - public native void slotCreatingDir(Job arg1, KURL dir); - public native void slotCanResume(Job arg1, long offset); - /** - Called by the UI Server (using DCOP) if the user presses cancel. - @param progressId the progress ID of the job, as returned by newJob() - @short Called by the UI Server (using DCOP) if the user presses cancel. - */ - // void killJob(int arg1); >>>> NOT CONVERTED - /** - Called by the UI Server (using DCOP) to get all the metadata of the job - @param progressId the progress IDof the job, as returned by newJob() - @short Called by the UI Server (using DCOP) to get all the metadata of the job - */ - // TDEIO::MetaData metadata(int arg1); >>>> NOT CONVERTED - /** - Returns the unique observer object. - @return the observer object - - @short Returns the unique observer object. - */ - public static native Observer self(); - /** - Popup a message box. See TDEIO.SlaveBase. - This doesn't use DCOP anymore, it shows the dialog in the application's process. - Otherwise, other apps would block when trying to communicate with UIServer. - @param progressId the progress ID of the job, as returned by newJob() - @param type the type of the message box - @param text the text to show - @param caption the window caption - @param buttonYes the text of the "Yes" button - @param buttonNo the text of the "No button - @short Popup a message box. - */ - public static native int messageBox(int progressId, int type, String text, String caption, String buttonYes, String buttonNo); - /** - Popup a message box. See TDEIO.SlaveBase. - This doesn't use DCOP anymore, it shows the dialog in the application's process. - Otherwise, other apps would block when trying to communicate with UIServer. - @param progressId the progress ID of the job, as returned by newJob() - @param type the type of the message box - @param text the text to show - @param caption the window caption - @param buttonYes the text of the "Yes" button - @param buttonNo the text of the "No button - @param dontAskAgainName A checkbox is added with which further confirmation can be turned off. - The string is used to lookup and store the setting in tdeioslaverc. - @short Popup a message box. - */ - public static native int messageBox(int progressId, int type, String text, String caption, String buttonYes, String buttonNo, String dontAskAgainName); - public Observer() { - super((Class) null); - newObserver(); - } - private native void newObserver(); - /** - Returns the object id of the DCOPObject. - @return the object's id - - @short Returns the object id of the DCOPObject. - */ - public native String objId(); - /** - Renames a dcop object, if no other with the same name exists - Use with care, all dcop signals are disconnected - @param objId the new object id - @short Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disconnected - */ - public native boolean setObjId(String objId); - /** - Dispatches a message. - Usually you want to use an IDL - compiler to automatically generate an implementation for - this function. - If this function returns false, then processDynamic() - is called. - Note to implementators: remember to call the baseclasses - implementation. It handles the functions "functions()" and - "interfaces()" which return the lists of supported functions - and interfaces, respectively. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns false for all <code>fun</code> except "functions()" and - "interfaces()". - - @short Dispatches a message. - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for process() but - you still want to dispatch some functions dynamically. - Dynamically means that methods may appear and vanish - during runtime. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short This function is of interest when you used an IDL compiler to generate the implementation for process() but you still want to dispatch some functions dynamically. - @see #process - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for functions() but - you still want to list some functions dynamically. - Dynamically means that the methods may appear and vanish - during runtime. - @return A list of the additional functions, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for functions() but you still want to list some functions dynamically. - @see #functions - */ - public native ArrayList functionsDynamic(); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for interfaces() but - you still want to list some interfaces dynamically. - Dynamically means that they may appear and vanish - during runtime. - @return A list of the additional interfaces, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for interfaces() but you still want to list some interfaces dynamically. - @see #interfaces - */ - public native ArrayList interfacesDynamic(); - /** - Returns the names of the interfaces, specific ones last. The - functions gets reimplemented by the IDL compiler. If you don't - use the IDL compiler, consider implementing this function - manually if you want your object to be easily explorable. - @return a list of interfaces - - @short Returns the names of the interfaces, specific ones last. - @see #functions - */ - public native ArrayList interfaces(); - /** - Returns the list of functions understood by the object. It gets - reimplemented by the IDL compiler. If you don't use the IDL - compiler, consider implementing this function manually if you - want your object to be easily scriptable. - Rationale: functions() allows an interpreter to do client-side - type-casting properly. - Note to implementators: remember to call the baseclasses - implementation. - @return a list of functions - - @short Returns the list of functions understood by the object. - @see #interfaces - @see #process - @see #processDynamic - @see DCOPClient#normalizeFunctionSignature - */ - public native ArrayList functions(); - /** - Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as - arguments - @param signal the signal to emit - @param data the data to send - @short Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as arguments - */ - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> - must be registered when the connection is made. - If false, the connection will be reestablished when <code>sender</code> reregisters. - In this case the connection can be made even if <code>sender</code> is not registered - at that time. - - <li> - <code>Volatile</code> is true and <code>sender</code> does not exist. - </li> - - <li> - <code>signal</code> and <code>slot</code> do not have matching arguments. - - </li> @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both <code>sender</code> & <code>signal</code> are empty. In this - case all connections related to this object in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - /** - Returns the DCOPClient responsible for making the call. - Only call this function while you are handling a DCOP call. - @return the DCOPClient responsible for making the call. - This information is only guaranteed to be correct when - entering your DCOP function. - - @short Returns the DCOPClient responsible for making the call. - */ - public native DCOPClient callingDcopClient(); - /** - @short - */ - public native void setCallingDcopClient(DCOPClient arg1); - /** - Checks whether an object with the given id is known in this process. - DCOPObjectProxy - @return true if an object with the questionable <code>objId</code> is - known in this process. This query does not ask proxies. - - @short Checks whether an object with the given id is known in this process. - */ - public static native boolean hasObject(String objId); - /** - Try to find a dcop object with the given id. - This function does not query the DCOPObjectProxy. - @param objId the object id to search - @return the DCOPObject for the id <code>objId.</code> - - @short Try to find a dcop object with the given id. - */ - public static native DCOPObjectInterface find(String objId); - /** - Tries to find an object using a partial object id. - This function is used for multicasting a DCOP message to - several objects inside a single process. - @param partialId the partial object id to search for - @return a list of DCOPObjects beginning with the string - contained in <code>partialId.</code> - - @short Tries to find an object using a partial object id. - */ - // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED - /** - Creates an object id for the TQObject <code>obj.</code> This is done - using the TQObject.name() function. - @param obj the object whose name will be used - @return the created object id - - @short Creates an object id for the TQObject <code>obj.</code> - */ - public static native String objectName(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/OpenURLEvent.java b/kdejava/koala/org/kde/koala/OpenURLEvent.java deleted file mode 100644 index 51b9236a..00000000 --- a/kdejava/koala/org/kde/koala/OpenURLEvent.java +++ /dev/null @@ -1,33 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQEvent; - -/** - - The KParts.OpenURLEvent event informs that a given part has opened a given URL. - Applications can use this event to send this information to interested plugins. - The event should be sent before opening the URL in the part, so that the plugins - can use part().url() to get the old URL. - @short The KParts.OpenURLEvent event informs that a given part has opened a given URL. - -*/ -public class OpenURLEvent extends Event { - protected OpenURLEvent(Class dummy){super((Class) null);} - public OpenURLEvent(ReadOnlyPart part, KURL url, URLArgs args) { - super((Class) null); - newOpenURLEvent(part,url,args); - } - private native void newOpenURLEvent(ReadOnlyPart part, KURL url, URLArgs args); - public OpenURLEvent(ReadOnlyPart part, KURL url) { - super((Class) null); - newOpenURLEvent(part,url); - } - private native void newOpenURLEvent(ReadOnlyPart part, KURL url); - public native ReadOnlyPart part(); - public native KURL url(); - public native URLArgs args(); - public static native boolean test(TQEvent event); -} diff --git a/kdejava/koala/org/kde/koala/Part.java b/kdejava/koala/org/kde/koala/Part.java deleted file mode 100644 index 179e67b7..00000000 --- a/kdejava/koala/org/kde/koala/Part.java +++ /dev/null @@ -1,202 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import org.kde.qt.TQCustomEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - Base class for parts. - A "part" is a GUI component, featuring: - - <li> - A widget embeddedable in any application. - </li> - - <li> - GUI elements that will be merged in the "host" user interface - (menubars, toolbars... ). - </li> - <li><b>About the widget:</b></li> - Note that KParts.Part does not inherit TQWidget. - This is due to the fact that the "visual representation" - will probably not be a mere TQWidget, but an elaborate one. - That's why when implementing your KParts.Part (or derived) - you should call KParts.Part.setWidget() in your constructor. - <li><b>About the GUI elements:</b></li> - Those elements trigger actions, defined by the part (action()). - The layout of the actions in the GUI is defined by an XML file (setXMLFile()). - See also ReadOnlyPart and ReadWritePart, which define the - framework for a "viewer" part and for an "editor"-like part. - Use Part directly only if your part doesn't fit into those. - See {@link PartSignals} for signals emitted by Part - @short Base class for parts. - -*/ -public class Part extends TQObject implements PartBaseInterface { - protected Part(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @param parent Parent object of the part. - @param name QT-internal name of the part. - @short Constructor. - */ - public Part(TQObject parent, String name) { - super((Class) null); - newPart(parent,name); - } - private native void newPart(TQObject parent, String name); - public Part(TQObject parent) { - super((Class) null); - newPart(parent); - } - private native void newPart(TQObject parent); - public Part() { - super((Class) null); - newPart(); - } - private native void newPart(); - /** - Embed this part into a host widget. - You don't need to do this if you created the widget with the - correct parent widget - this is just a TQWidget.reparent(). - Note that the Part is still the holder - of the TQWidget, meaning that if you delete the Part, - then the widget gets destroyed as well, and vice-versa. - This method is not recommended since creating the widget with the correct - parent is simpler anyway. - @short Embed this part into a host widget. - */ - public native void embed(TQWidget parentWidget); - /** - @return The widget defined by this part, set by setWidget(). - - @short - */ - public native TQWidget widget(); - /** - Used by the part manager. - @short - */ - public native void setManager(PartManager manager); - /** - Returns the part manager handling this part, if any (null otherwise). - @short Returns the part manager handling this part, if any (0L otherwise). - */ - public native PartManager manager(); - /** - Returns the part (this, or a child part) at the given global position. - This is called by the part manager to ask whether a part should be activated - when clicking somewhere. In most cases the default implementation is enough. - Reimplement this if your part has child parts in some areas (like in tdehtml or koffice) - @param widget the part widget being clicked - usually the same as widget(), except in koffice. - @param globalPos the mouse coordinates in global coordinates - @short Returns the part (this, or a child part) at the given global position. - */ - public native Part hitTest(TQWidget widget, TQPoint globalPos); - /** - @param selectable Indicates whether the part is selectable or not. - @short - */ - public native void setSelectable(boolean selectable); - /** - Returns whether the part is selectable or not. - @short Returns whether the part is selectable or not. - */ - public native boolean isSelectable(); - /** - Set the main widget. - Call this in the Part-inherited class constructor. - @short Set the main widget. - */ - protected native void setWidget(TQWidget widget); - /** - @short - */ - protected native void customEvent(TQCustomEvent event); - /** - Convenience method which is called when the Part received a PartActivateEvent . - Reimplement this if you don't want to reimplement event and test for the event yourself - or even install an event filter. - @short Convenience method which is called when the Part received a PartActivateEvent . - */ - protected native void partActivateEvent(PartActivateEvent event); - /** - Convenience method which is called when the Part received a - PartSelectEvent . - Reimplement this if you don't want to reimplement event and - test for the event yourself or even install an event filter. - @short Convenience method which is called when the Part received a PartSelectEvent . - */ - protected native void partSelectEvent(PartSelectEvent event); - /** - Convenience method which is called when the Part received a - GUIActivateEvent . - Reimplement this if you don't want to reimplement event and - test for the event yourself or even install an event filter. - @short Convenience method which is called when the Part received a GUIActivateEvent . - */ - protected native void guiActivateEvent(GUIActivateEvent event); - /** - Convenience method for KXMLGUIFactory.container. - @return a container widget owned by the Part's GUI. - - @short Convenience method for KXMLGUIFactory.container. - */ - protected native TQWidget hostContainer(String containerName); - /** - Internal method. Called by KParts.Part to specify the parent object for plugin objects. - @short Internal method. - */ - public native void setPartObject(TQObject object); - public native TQObject partObject(); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance, boolean loadPlugins); - /** - Load the Plugins honoring the PluginLoadingMode. - If you call this method in an already constructed GUI (like when the user - has changed which plugins are enabled) you need to add the new plugins to - the KXMLGUIFactory: - <pre> - if( factory() ) - { - TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - TQPtrListIterator<KParts.Plugin> it( plugins ); - KParts.Plugin plugin; - while( ( plugin = it.current() ) != 0 ) - { - ++it; - factory().addClient( plugin ); - } - } - </pre> - @short Load the Plugins honoring the PluginLoadingMode. - */ - protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance); - /** - For a KParts.Part: call this before setInstance(). - For a KParts.MainWindow: call this before createGUI(). - @short For a KParts.Part: call this before setInstance(). - */ - // void setPluginLoadingMode(KParts::PartBase::PluginLoadingMode arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/PartActivateEvent.java b/kdejava/koala/org/kde/koala/PartActivateEvent.java deleted file mode 100644 index d58aa7c4..00000000 --- a/kdejava/koala/org/kde/koala/PartActivateEvent.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - - This event is sent by the part manager when the active part changes. - Each time the active part changes, it will send first a PartActivateEvent - with activated=false, part=oldActivePart, widget=oldActiveWidget - and then another PartActivateEvent - with activated=true, part=newPart, widget=newWidget. - @short This event is sent by the part manager when the active part changes. - @see Part#partActivateEvent - -*/ -public class PartActivateEvent extends Event { - protected PartActivateEvent(Class dummy){super((Class) null);} - public PartActivateEvent(boolean activated, Part part, TQWidget widget) { - super((Class) null); - newPartActivateEvent(activated,part,widget); - } - private native void newPartActivateEvent(boolean activated, Part part, TQWidget widget); - public native boolean activated(); - public native Part part(); - public native TQWidget widget(); - public static native boolean test(TQEvent event); -} diff --git a/kdejava/koala/org/kde/koala/PartBase.java b/kdejava/koala/org/kde/koala/PartBase.java deleted file mode 100644 index d71bf129..00000000 --- a/kdejava/koala/org/kde/koala/PartBase.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - Base class for all parts. - @short Base class for all parts. - -*/ -public class PartBase extends KXMLGUIClient { - protected PartBase(Class dummy){super((Class) null);} - /** - Constructor. - @short Constructor. - */ - public PartBase() { - super((Class) null); - newPartBase(); - } - private native void newPartBase(); - /** - Internal method. Called by KParts.Part to specify the parent object for plugin objects. - @short Internal method. - */ - public native void setPartObject(TQObject object); - public native TQObject partObject(); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance, boolean loadPlugins); - /** - Load the Plugins honoring the PluginLoadingMode. - If you call this method in an already constructed GUI (like when the user - has changed which plugins are enabled) you need to add the new plugins to - the KXMLGUIFactory: - <pre> - if( factory() ) - { - TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - TQPtrListIterator<KParts.Plugin> it( plugins ); - KParts.Plugin plugin; - while( ( plugin = it.current() ) != 0 ) - { - ++it; - factory().addClient( plugin ); - } - } - </pre> - @short Load the Plugins honoring the PluginLoadingMode. - */ - protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance); - /** - For a KParts.Part: call this before setInstance(). - For a KParts.MainWindow: call this before createGUI(). - @short For a KParts.Part: call this before setInstance(). - */ - // void setPluginLoadingMode(KParts::PartBase::PluginLoadingMode arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/PartBaseInterface.java b/kdejava/koala/org/kde/koala/PartBaseInterface.java deleted file mode 100644 index f78e59bf..00000000 --- a/kdejava/koala/org/kde/koala/PartBaseInterface.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface PartBaseInterface { - void setPartObject(TQObject object); - TQObject partObject(); -} diff --git a/kdejava/koala/org/kde/koala/PartManager.java b/kdejava/koala/org/kde/koala/PartManager.java deleted file mode 100644 index e1ba3ad9..00000000 --- a/kdejava/koala/org/kde/koala/PartManager.java +++ /dev/null @@ -1,232 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - The part manager is an object which knows about a collection of parts - (even nested ones) and handles activation/deactivation. - Applications that want to embed parts without merging GUIs - only use a KParts.PartManager. Those who want to merge GUIs use a - KParts.MainWindow for example, in addition to a part manager. - Parts know about the part manager to add nested parts to it. - See also KParts.Part.manager() and KParts.Part.setManager(). - See {@link PartManagerSignals} for signals emitted by PartManager - @short The part manager is an object which knows about a collection of parts (even nested ones) and handles activation/deactivation. - -*/ -public class PartManager extends TQObject { - protected PartManager(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a part manager. - @param parent The toplevel widget (window / dialog) the - partmanager should monitor for activation/selection - events - @param name The object's name, if any. - @short Constructs a part manager. - */ - public PartManager(TQWidget parent, String name) { - super((Class) null); - newPartManager(parent,name); - } - private native void newPartManager(TQWidget parent, String name); - public PartManager(TQWidget parent) { - super((Class) null); - newPartManager(parent); - } - private native void newPartManager(TQWidget parent); - /** - Constructs a part manager. - @param topLevel The toplevel widget (window / dialog ) the - partmanager should monitor for activation/selection - events - @param parent The parent TQObject. - @param name The object's name, if any. - @short Constructs a part manager. - */ - public PartManager(TQWidget topLevel, TQObject parent, String name) { - super((Class) null); - newPartManager(topLevel,parent,name); - } - private native void newPartManager(TQWidget topLevel, TQObject parent, String name); - public PartManager(TQWidget topLevel, TQObject parent) { - super((Class) null); - newPartManager(topLevel,parent); - } - private native void newPartManager(TQWidget topLevel, TQObject parent); - /** - Sets the selection policy of the partmanager. - @short Sets the selection policy of the partmanager. - */ - // void setSelectionPolicy(KParts::PartManager::SelectionPolicy arg1); >>>> NOT CONVERTED - /** - Returns the current selection policy. - @short Returns the current selection policy. - */ - // KParts::PartManager::SelectionPolicy selectionPolicy(); >>>> NOT CONVERTED - /** - Specifies whether the partmanager should handle/allow nested parts - or not. - This is a property the shell has to set/specify. Per - default we assume that the shell cannot handle nested - parts. However in case of a KOffice shell for example we allow - nested parts. A Part is nested (a child part) if its parent - object inherits KParts.Part. If a child part is activated and - nested parts are not allowed/handled, then the top parent part in - the tree is activated. - @short Specifies whether the partmanager should handle/allow nested parts or not. - */ - public native void setAllowNestedParts(boolean allow); - /** - @short - @see #setAllowNestedParts - */ - public native boolean allowNestedParts(); - /** - Specifies whether the partmanager should ignore mouse click events for - scrollbars or not. If the partmanager ignores them, then clicking on the - scrollbars of a non-active/non-selected part will not change the selection - or activation state. - The default value is false (read: scrollbars are NOT ignored). - @short Specifies whether the partmanager should ignore mouse click events for scrollbars or not. - */ - public native void setIgnoreScrollBars(boolean ignore); - /** - @short - @see #setIgnoreScrollBars - */ - public native boolean ignoreScrollBars(); - /** - Specifies which mouse buttons the partmanager should react upon. - By default it reacts on all mouse buttons (LMB/MMB/RMB). - @param buttonMask a combination of Qt.ButtonState values e.g. Qt.LeftButton | Qt.MidButton - @short Specifies which mouse buttons the partmanager should react upon. - */ - public native void setActivationButtonMask(short buttonMask); - /** - @short - @see #setActivationButtonMask - */ - public native short activationButtonMask(); - /** - @short - */ - public native boolean eventFilter(TQObject arg1, TQEvent ev); - /** - Adds a part to the manager. - Sets it to the active part automatically if <code>setActive</code> is true (default ). - Behavior fix in KDE3.4: the part's widget is shown only if <code>setActive</code> is true, - it used to be shown in all cases before. - @short Adds a part to the manager. - */ - public native void addPart(Part part, boolean setActive); - public native void addPart(Part part); - /** - Removes a part from the manager (this does not delete the object) . - Sets the active part to 0 if <code>part</code> is the activePart() . - @short Removes a part from the manager (this does not delete the object) . - */ - public native void removePart(Part part); - /** - Replaces <code>oldPart</code> with <code>newPart</code>, and sets <code>newPart</code> as active if - <code>setActive</code> is true. - This is an optimised version of removePart + addPart - @short Replaces <code>oldPart</code> with <code>newPart</code>, and sets <code>newPart</code> as active if <code>setActive</code> is true. - */ - public native void replacePart(Part oldPart, Part newPart, boolean setActive); - public native void replacePart(Part oldPart, Part newPart); - /** - Sets the active part. - The active part receives activation events. - <code>widget</code> can be used to specify which widget was responsible for the activation. - This is important if you have multiple views for a document/part, like in KOffice. - @short Sets the active part. - */ - public native void setActivePart(Part part, TQWidget widget); - public native void setActivePart(Part part); - /** - Returns the active part. - @short Returns the active part. - */ - public native Part activePart(); - /** - Returns the active widget of the current active part (see activePart()). - @short Returns the active widget of the current active part (see activePart()). - */ - public native TQWidget activeWidget(); - /** - Sets the selected part. - The selected part receives selection events. - <code>widget</code> can be used to specify which widget was responsible for the selection. - This is important if you have multiple views for a document/part, like in KOffice. - @short Sets the selected part. - */ - public native void setSelectedPart(Part part, TQWidget widget); - public native void setSelectedPart(Part part); - /** - Returns the current selected part. - @short Returns the current selected part. - */ - public native Part selectedPart(); - /** - Returns the selected widget of the current selected part (see selectedPart()). - @short Returns the selected widget of the current selected part (see selectedPart()). - */ - public native TQWidget selectedWidget(); - /** - Returns the list of parts being managed by the partmanager. - @short Returns the list of parts being managed by the partmanager. - */ - // const TQPtrList<KParts::Part>* parts(); >>>> NOT CONVERTED - /** - Adds the <code>topLevel</code> widget to the list of managed toplevel widgets. - Usually a PartManager only listens for events (for activation/selection) - for one toplevel widget (and its children), the one specified in the - constructor. Sometimes however (like for example when using the KDE dockwidget - library), it is necessary to extend this. - @short Adds the <code>topLevel</code> widget to the list of managed toplevel widgets. - */ - public native void addManagedTopLevelWidget(TQWidget topLevel); - /** - Removes the <code>topLevel</code> widget from the list of managed toplevel widgets. - @short Removes the <code>topLevel</code> widget from the list of managed toplevel widgets. - @see #addManagedTopLevelWidget - */ - public native void removeManagedTopLevelWidget(TQWidget topLevel); - /** - @return the reason for the last activePartChanged signal emitted. - - @short - @see Reason - */ - public native int reason(); - /** - Changes the active instance when the active part changes. - The active instance is used by KBugReport and TDEAboutDialog. - Override if you really need to - usually you don't need to. - @short Changes the active instance when the active part changes. - */ - protected native void setActiveInstance(TDEInstanceInterface instance); - /** - Removes a part when it is destroyed. - @short Removes a part when it is destroyed. - */ - protected native void slotObjectDestroyed(); - /** - @short - */ - protected native void slotWidgetDestroyed(); - /** - @short - */ - protected native void slotManagedTopLevelWidgetDestroyed(); -} diff --git a/kdejava/koala/org/kde/koala/PartManagerSignals.java b/kdejava/koala/org/kde/koala/PartManagerSignals.java deleted file mode 100644 index 91eebe7f..00000000 --- a/kdejava/koala/org/kde/koala/PartManagerSignals.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface PartManagerSignals { - /** - Emitted when a new part has been added. - @short Emitted when a new part has been added. - @see #addPart - */ - void partAdded(Part part); - /** - Emitted when a part has been removed. - @short Emitted when a part has been removed. - @see #removePart - */ - void partRemoved(Part part); - /** - Emitted when the active part has changed. - @short Emitted when the active part has changed. - @see #setActivePart - */ - void activePartChanged(Part newPart); -} diff --git a/kdejava/koala/org/kde/koala/PartSelectEvent.java b/kdejava/koala/org/kde/koala/PartSelectEvent.java deleted file mode 100644 index d990e3e3..00000000 --- a/kdejava/koala/org/kde/koala/PartSelectEvent.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - - This event is sent when a part is selected or deselected. - @short This event is sent when a part is selected or deselected. - @see PartManager#setSelectionPolicy - -*/ -public class PartSelectEvent extends Event { - protected PartSelectEvent(Class dummy){super((Class) null);} - public PartSelectEvent(boolean selected, Part part, TQWidget widget) { - super((Class) null); - newPartSelectEvent(selected,part,widget); - } - private native void newPartSelectEvent(boolean selected, Part part, TQWidget widget); - public native boolean selected(); - public native Part part(); - public native TQWidget widget(); - public static native boolean test(TQEvent event); -} diff --git a/kdejava/koala/org/kde/koala/PartSignals.java b/kdejava/koala/org/kde/koala/PartSignals.java deleted file mode 100644 index 727042cb..00000000 --- a/kdejava/koala/org/kde/koala/PartSignals.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import org.kde.qt.TQCustomEvent; -import org.kde.qt.TQWidget; - -public interface PartSignals { - /** - Emitted by the part, to set the caption of the window(s) - hosting this part - @short Emitted by the part, to set the caption of the window(s) hosting this part - */ - void setWindowCaption(String caption); - /** - Emited by the part, to set a text in the statusbar of the window(s) - hosting this part - @short Emited by the part, to set a text in the statusbar of the window(s) hosting this part - */ - void setStatusBarText(String text); -} diff --git a/kdejava/koala/org/kde/koala/PasswordDialog.java b/kdejava/koala/org/kde/koala/PasswordDialog.java deleted file mode 100644 index ae954e89..00000000 --- a/kdejava/koala/org/kde/koala/PasswordDialog.java +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - A dialog for requesting a login and a password from the end user. - TDEIO-Slave authors are encouraged to use SlaveBase.openPassDlg - instead of directly instantiating this dialog. - @short dialog for requesting login and password from the end user. - -*/ -public class PasswordDialog extends KDialogBase { - protected PasswordDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a password dialog. - @param prompt instructional text to be shown. - @param user username, if known initially. - @param enableKeep if true, shows checkbox that makes password persistent until KDE is shutdown. - @param modal if true, the dialog will be modal (default:true). - @param parent the parent widget (default:NULL). - @param name the dialog name (default:NULL). - @short Create a password dialog. - */ - public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent, String name) { - super((Class) null); - newPasswordDialog(prompt,user,enableKeep,modal,parent,name); - } - private native void newPasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent, String name); - public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent) { - super((Class) null); - newPasswordDialog(prompt,user,enableKeep,modal,parent); - } - private native void newPasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent); - public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal) { - super((Class) null); - newPasswordDialog(prompt,user,enableKeep,modal); - } - private native void newPasswordDialog(String prompt, String user, boolean enableKeep, boolean modal); - public PasswordDialog(String prompt, String user, boolean enableKeep) { - super((Class) null); - newPasswordDialog(prompt,user,enableKeep); - } - private native void newPasswordDialog(String prompt, String user, boolean enableKeep); - public PasswordDialog(String prompt, String user) { - super((Class) null); - newPasswordDialog(prompt,user); - } - private native void newPasswordDialog(String prompt, String user); - /** - Sets the prompt to show to the user. - @param prompt instructional text to be shown. - @short Sets the prompt to show to the user. - */ - public native void setPrompt(String prompt); - /** - Adds a comment line to the dialog. - This function allows you to add one additional comment - line to this widget. Calling this function after a - comment has already been added will not have any effect. - @param label label for comment (ex:"Command:") - @param comment the actual comment text. - @short Adds a comment line to the dialog. - */ - public native void addCommentLine(String label, String comment); - /** - Returns the password entered by the user. - @return the password - - @short Returns the password entered by the user. - */ - public native String password(); - /** - Returns the username entered by the user. - @return the user name - - @short Returns the username entered by the user. - */ - public native String username(); - /** - Determines whether supplied authorization should - persist even after the application has been closed. - @return true to keep the password - - @short Determines whether supplied authorization should persist even after the application has been closed. - */ - public native boolean keepPassword(); - /** - Check or uncheck the "keep password" checkbox. - This can be used to check it before showing the dialog, to tell - the user that the password is stored already (e.g. in the wallet). - enableKeep must have been set to true in the constructor. - @short Check or uncheck the "keep password" checkbox. - */ - public native void setKeepPassword(boolean b); - /** - Sets the username field read-only and sets the - focus to the password field. - @param readOnly true to set the user field to read-only - @short Sets the username field read-only and sets the focus to the password field. - */ - public native void setUserReadOnly(boolean readOnly); - /** - Presets the password. - @param password the password to set - @short Presets the password. - */ - public native void setPassword(String password); - /** - Presets a number of login+password pairs that the user can choose from. - The passwords can be empty if you simply want to offer usernames to choose from. - This is incompatible with setUserReadOnly(true). - @param knownLogins map of known logins: the keys are usernames, the values are passwords. - @short Presets a number of login+password pairs that the user can choose from. - */ - // void setKnownLogins(const TQMap<TQString, TQString>& arg1); >>>> NOT CONVERTED - /** - A convienence static method for obtaining authorization - information from the end user. - @param user username - @param pass password - @param keep pointer to flag that indicates whether to keep password (can be null) - @param prompt text to display to user. - @param readOnly make the username field read-only. - @param caption set the title bar to given text. - @param comment extra comment to display to user. - @param label optinal label for extra comment. - @return Accepted/Rejected based on the user choice. - - @short A convienence static method for obtaining authorization information from the end user. - */ - public static native int getNameAndPassword(StringBuffer user, StringBuffer pass, boolean[] keep, String prompt, boolean readOnly, String caption, String comment, String label); - public static native int getNameAndPassword(StringBuffer user, StringBuffer pass, boolean[] keep, String prompt, boolean readOnly, String caption, String comment); - public static native int getNameAndPassword(StringBuffer user, StringBuffer pass, boolean[] keep, String prompt, boolean readOnly, String caption); - public static native int getNameAndPassword(StringBuffer user, StringBuffer pass, boolean[] keep, String prompt, boolean readOnly); - public static native int getNameAndPassword(StringBuffer user, StringBuffer pass, boolean[] keep, String prompt); - public static native int getNameAndPassword(StringBuffer user, StringBuffer pass, boolean[] keep); -} diff --git a/kdejava/koala/org/kde/koala/Plugin.java b/kdejava/koala/org/kde/koala/Plugin.java deleted file mode 100644 index af4fb0af..00000000 --- a/kdejava/koala/org/kde/koala/Plugin.java +++ /dev/null @@ -1,355 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQObject; - -/** - - A plugin is the way to add actions to an existing KParts application, - or to a Part. - The XML of those plugins looks exactly like of the shell or parts, - with one small difference: The document tag should have an additional - attribute, named "library", and contain the name of the library implementing - the plugin. - If you want this plugin to be used by a part, you need to - install the rc file under the directory - "data" (TDEDIR/share/apps usually)+"/instancename/kpartplugins/" - where instancename is the name of the part's instance. - You should also install a "plugin info" .desktop file with the same name. - \see PluginInfo - @short A plugin is the way to add actions to an existing KParts application, or to a Part. - -*/ -public class Plugin extends TQObject implements KXMLGUIClientInterface { - protected Plugin(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a new KParts plugin. - @short Construct a new KParts plugin. - */ - public Plugin(TQObject parent, String name) { - super((Class) null); - newPlugin(parent,name); - } - private native void newPlugin(TQObject parent, String name); - public Plugin(TQObject parent) { - super((Class) null); - newPlugin(parent); - } - private native void newPlugin(TQObject parent); - public Plugin() { - super((Class) null); - newPlugin(); - } - private native void newPlugin(); - /** - Reimplemented for internal reasons - @short Reimplemented for internal reasons - */ - public native String xmlFile(); - /** - Reimplemented for internal reasons - @short Reimplemented for internal reasons - */ - public native String localXMLFile(); - /** - Load the plugin libraries from the directories appropriate - to <code>instance</code> and make the Plugin objects children of <code>parent.</code> - It is recommended to use the last loadPlugins method instead, - to support enabling and disabling of plugins. - @short Load the plugin libraries from the directories appropriate to <code>instance</code> and make the Plugin objects children of <code>parent.</code> - */ - public static native void loadPlugins(TQObject parent, TDEInstanceInterface instance); - /** - Load the plugin libraries specified by the list <code>docs</code> and make the - Plugin objects children of <code>parent</code> . - It is recommended to use the last loadPlugins method instead, - to support enabling and disabling of plugins. - @short Load the plugin libraries specified by the list <code>docs</code> and make the Plugin objects children of <code>parent</code> . - */ - // void loadPlugins(TQObject* arg1,const TQValueList<KParts::Plugin::PluginInfo>& arg2); >>>> NOT CONVERTED - /** - Load the plugin libraries specified by the list <code>pluginInfos</code>, make the - Plugin objects children of <code>parent</code>, and use the given <code>instance.</code> - It is recommended to use the last loadPlugins method instead, - to support enabling and disabling of plugins. - @short Load the plugin libraries specified by the list <code>pluginInfos</code>, make the Plugin objects children of <code>parent</code>, and use the given <code>instance.</code> - */ - // void loadPlugins(TQObject* arg1,const TQValueList<KParts::Plugin::PluginInfo>& arg2,const TDEInstance* arg3); >>>> NOT CONVERTED - /** - Load the plugin libraries for the given <code>instance</code>, make the - Plugin objects children of <code>parent</code>, and insert the plugin as a child GUI client - of <code>parentGUIClient.</code> - This method uses the TDEConfig object of the given instance, to find out which - plugins are enabled and which are disabled. What happens by default (i.e. - for new plugins that are not in that config file) is controlled by - <code>enableNewPluginsByDefault.</code> It can be overridden by the plugin if it - sets the X-TDE-PluginInfo-EnabledByDefault key in the .desktop file - (with the same name as the .rc file) - If a disabled plugin is already loaded it will be removed from the GUI - factory and deleted. - This method is automatically called by KParts.Plugin and by KParts.MainWindow. - If you call this method in an already constructed GUI (like when the user - has changed which plugins are enabled) you need to add the new plugins to - the KXMLGUIFactory: - <pre> - if( factory() ) - { - TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - TQPtrListIterator<KParts.Plugin> it( plugins ); - KParts.Plugin plugin; - while( ( plugin = it.current() ) != 0 ) - { - ++it; - factory().addClient( plugin ); - } - } - </pre> - @short Load the plugin libraries for the given <code>instance</code>, make the Plugin objects children of <code>parent</code>, and insert the plugin as a child GUI client of <code>parentGUIClient.</code> - */ - public static native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance, boolean enableNewPluginsByDefault); - public static native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance); - /** - Returns a list of plugin objects loaded for <code>parent.</code> This - functions basically calls the queryList method of - TQObject to retrieve the list of child objects inheriting - KParts.Plugin . - @short Returns a list of plugin objects loaded for <code>parent.</code> - */ - // TQPtrList<KParts::Plugin> pluginObjects(TQObject* arg1); >>>> NOT CONVERTED - protected native void setInstance(TDEInstanceInterface instance); - /** - Look for plugins in the <code>instance</code>'s "data" directory (+"/kpartplugins") - @return A list of TQDomDocument s, containing the parsed xml documents returned by plugins. - - @short Look for plugins in the <code>instance</code>'s "data" directory (+"/kpartplugins") - */ - // TQValueList<KParts::Plugin::PluginInfo> pluginInfos(const TDEInstance* arg1); >>>> NOT CONVERTED - /** - @return The plugin created from the library <code>libname</code> - - @short - */ - protected static native Plugin loadPlugin(TQObject parent, String libname); - /** - Retrieves an action of the client by name. If not found, it looks in its child clients. - This method is provided for convenience, as it uses actionCollection() - to get the action object. - @short Retrieves an action of the client by name. - */ - public native TDEAction action(String name); - /** - Retrieves an action for a given TQDomElement. The default - implementation uses the "name" attribute to query the action - object via the other action() method. - @short Retrieves an action for a given TQDomElement. - */ - public native TDEAction action(TQDomElement element); - /** - Retrieves the entire action collection for the GUI client. If - you subclass KXMLGUIClient you should call - TDEActionCollection.setWidget( TQWidget ) with this object, or - you will encounter subtle bugs with TDEAction keyboard shortcuts. - This is not necessary if your KXMLGUIClient is a TDEMainWindow. - @short Retrieves the entire action collection for the GUI client. - @see TDEActionCollection#setWidget( - @see #org#kde#qt#TQWidget* - */ - public native TDEActionCollection actionCollection(); - /** - @return The instance ( TDEInstance ) for this GUI client. - - @short - */ - public native TDEInstanceInterface instance(); - /** - @return The parsed XML in a TQDomDocument, set by - setXMLFile() or setXML(). - This document describes the layout of the GUI. - - @short - */ - public native TQDomDocument domDocument(); - /** - @short - */ - public native void setXMLGUIBuildDocument(TQDomDocument doc); - /** - @short - */ - public native TQDomDocument xmlguiBuildDocument(); - /** - This method is called by the KXMLGUIFactory as soon as the client - is added to the KXMLGUIFactory's GUI. - @short This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. - */ - public native void setFactory(KXMLGUIFactory factory); - /** - Retrieves a pointer to the KXMLGUIFactory this client is - associated with (will return null if the client's GUI has not been built - by a KXMLGUIFactory. - @short Retrieves a pointer to the KXMLGUIFactory this client is associated with (will return 0L if the client's GUI has not been built by a KXMLGUIFactory. - */ - public native KXMLGUIFactory factory(); - /** - KXMLGUIClients can form a simple child/parent object tree. This - method returns a pointer to the parent client or null if it has no - parent client assigned. - @short KXMLGUIClients can form a simple child/parent object tree. - */ - public native KXMLGUIClientInterface parentClient(); - /** - Use this method to make a client a child client of another client. - Usually you don't need to call this method, as it is called - automatically when using the second constructor, which takes a - parent argument. - @short Use this method to make a client a child client of another client. - */ - public native void insertChildClient(KXMLGUIClientInterface child); - /** - Removes the given <code>child</code> from the client's children list. - @short Removes the given <code>child</code> from the client's children list. - */ - public native void removeChildClient(KXMLGUIClientInterface child); - /** - Retrieves a list of all child clients. - @short Retrieves a list of all child clients. - */ - // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED - /** - A client can have an own KXMLGUIBuilder. - Use this method to assign your builder instance to the client (so that the - KXMLGUIFactory can use it when building the client's GUI) - Client specific guibuilders are useful if you want to create - custom container widgets for your GUI. - @short A client can have an own KXMLGUIBuilder. - */ - public native void setClientBuilder(KXMLGUIBuilderInterface builder); - /** - Retrieves the client's GUI builder or null if no client specific - builder has been assigned via setClientBuilder() - @short Retrieves the client's GUI builder or 0L if no client specific builder has been assigned via setClientBuilder() - */ - public native KXMLGUIBuilderInterface clientBuilder(); - /** - Forces this client to re-read its XML resource file. This is - intended to be used when you know that the resource file has - changed and you will soon be rebuilding the GUI. It has no - useful effect with non-KParts GUIs, so don't bother using it - unless your app is component based. - @short Forces this client to re-read its XML resource file. - */ - public native void reloadXML(); - /** - ActionLists are a way for XMLGUI to support dynamic lists of - actions. E.g. if you are writing a file manager, and there is a - menu file whose contents depend on the mimetype of the file that - is selected, then you can achieve this using ActionLists. It - works as follows: - In your xxxui.rc file ( the one that you set in setXMLFile() - ), you put an <p>\<ActionList name="xxx"\></p> tag. E.g. - <pre> - <kpartgui name="xxx_part" version="1"> - <MenuBar> - <Menu name="file"> - ... <!-- some useful actions-. - <ActionList name="xxx_file_actionlist" /> - ... <!-- even more useful actions-. - </Menu> - ... - </MenuBar> - </kpartgui> - </pre> - This tag will get expanded to a list of actions. In the example - above ( a file manager with a dynamic file menu ), you would call - <pre> - TQPtrList<TDEAction> file_actions; - for( ... ) - if( ... ) - file_actions.append( cool_action ); - unplugActionList( "xxx_file_actionlist" ); - plugActionList( "xxx_file_actionlist", file_actions ); - </pre> - every time a file is selected, unselected or ... - <b>Note:<> You should not call createGUI() after calling this - function. In fact, that would remove the newly added - actionlists again... - <b>Note:<> Forgetting to call unplugActionList() before - plugActionList() would leave the previous actions in the - menu too.. - @short ActionLists are a way for XMLGUI to support dynamic lists of actions. - */ - // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED - /** - The complement of plugActionList() ... - @short The complement of plugActionList() . - */ - public native void unplugActionList(String name); - public native void addStateActionEnabled(String state, String action); - public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(TQWidget arg1); - public native void endXMLPlug(); - public native void prepareXMLUnplug(TQWidget arg1); - public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); - /** - Sets the name of the rc file containing the XML for the part. - Call this in the Part-inherited class constructor. - @param file Either an absolute path for the file, or simply the - filename, which will then be assumed to be installed - in the "data" resource, under a directory named like - the instance. - @param merge Whether to merge with the global document. - @param setXMLDoc Specify whether to call setXML. Default is true. - and the DOM document at once. - @short Sets the name of the rc file containing the XML for the part. - */ - protected native void setXMLFile(String file, boolean merge, boolean setXMLDoc); - protected native void setXMLFile(String file, boolean merge); - protected native void setXMLFile(String file); - protected native void setLocalXMLFile(String file); - /** - Sets the XML for the part. - Call this in the Part-inherited class constructor if you - don't call setXMLFile(). - @short Sets the XML for the part. - */ - protected native void setXML(String document, boolean merge); - protected native void setXML(String document); - /** - Sets the Document for the part, describing the layout of the GUI. - Call this in the Part-inherited class constructor if you don't call - setXMLFile or setXML . - @short Sets the Document for the part, describing the layout of the GUI. - */ - protected native void setDOMDocument(TQDomDocument document, boolean merge); - protected native void setDOMDocument(TQDomDocument document); - /** - This function will attempt to give up some memory after the GUI - is built. It should never be used in apps where the GUI may be - rebuilt at some later time (components, for instance). - @short This function will attempt to give up some memory after the GUI is built. - */ - protected native void conserveMemory(); - /** - Actions can collectively be assigned a "State". To accomplish this - the respective actions are tagged as \<enable\> or \<disable\> in - a \<State\> \</State\> group of the XMLfile. During program execution the - programmer can call stateChanged() to set actions to a defined state. - @param newstate Name of a State in the XMLfile. - @param reverse If the flag reverse is set to StateReverse, the State is reversed. - (actions to be enabled will be disabled and action to be disabled will be enabled) - Default is reverse=false. - @short Actions can collectively be assigned a "State". - */ - protected native void stateChanged(String newstate, int reverse); - protected native void stateChanged(String newstate); -} diff --git a/kdejava/koala/org/kde/koala/PreviewJob.java b/kdejava/koala/org/kde/koala/PreviewJob.java deleted file mode 100644 index c3e00fea..00000000 --- a/kdejava/koala/org/kde/koala/PreviewJob.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; - -/** - See {@link PreviewJobSignals} for signals emitted by PreviewJob - -*/ -public class PreviewJob extends Job { - protected PreviewJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new PreviewJob. - @param items a list of files to create previews for - @param width the desired width - @param height the desired height, 0 to use the <code>width</code> - @param iconSize the size of the mimetype icon to overlay over the - preview or zero to not overlay an icon. This has no effect if the - preview plugin that will be used doesn't use icon overlays. - @param iconAlpha transparency to use for the icon overlay - @param scale if the image is to be scaled to the requested size or - returned in its original size - @param save if the image should be cached for later use - @param enabledPlugins if non-zero, this points to a list containing - the names of the plugins that may be used. - @param deleteItems true to delete the items when done - @short Creates a new PreviewJob. - */ - public PreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins, boolean deleteItems) { - super((Class) null); - newPreviewJob(items,width,height,iconSize,iconAlpha,scale,save,enabledPlugins,deleteItems); - } - private native void newPreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins, boolean deleteItems); - public PreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins) { - super((Class) null); - newPreviewJob(items,width,height,iconSize,iconAlpha,scale,save,enabledPlugins); - } - private native void newPreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins); - /** - Removes an item from preview processing. Use this if you passed - an item to filePreview and want to delete it now. - @param item the item that should be removed from the preview queue - @short Removes an item from preview processing. - */ - public native void removeItem(KFileItem item); - /** - If <code>ignoreSize</code> is true, then the preview is always - generated regardless of the settings - @short If <code>ignoreSize</code> is true, then the preview is always generated regardless of the settings - */ - public native void setIgnoreMaximumSize(boolean ignoreSize); - public native void setIgnoreMaximumSize(); - /** - Returns a list of all available preview plugins. The list - contains the basenames of the plugins' .desktop files (no path, - no .desktop). - @return the list of plugins - - @short Returns a list of all available preview plugins. - */ - public static native ArrayList availablePlugins(); - /** - Returns a list of all supported MIME types. The list can - contain entries like text/ (without the space). - @return the list of mime types - - @short Returns a list of all supported MIME types. - */ - public static native ArrayList supportedMimeTypes(); - protected native void getOrCreateThumbnail(); - protected native boolean statResultThumbnail(); - protected native void createThumbnail(String arg1); - protected native void slotResult(Job job); -} diff --git a/kdejava/koala/org/kde/koala/PreviewJobSignals.java b/kdejava/koala/org/kde/koala/PreviewJobSignals.java deleted file mode 100644 index baba041a..00000000 --- a/kdejava/koala/org/kde/koala/PreviewJobSignals.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; - -public interface PreviewJobSignals { - /** - Emitted when a thumbnail picture for <code>item</code> has been successfully - retrieved. - @param item the file of the preview - @param preview the preview image - @short Emitted when a thumbnail picture for <code>item</code> has been successfully retrieved. - */ - void gotPreview(KFileItem item, TQPixmap preview); - /** - Emitted when a thumbnail for <code>item</code> could not be created, - either because a ThumbCreator for its MIME type does not - exist, or because something went wrong. - @param item the file that failed - @short Emitted when a thumbnail for <code>item</code> could not be created, either because a ThumbCreator for its MIME type does not exist, or because something went wrong. - */ - void failed(KFileItem item); -} diff --git a/kdejava/koala/org/kde/koala/ProcessingInstruction.java b/kdejava/koala/org/kde/koala/ProcessingInstruction.java deleted file mode 100644 index fa374ddb..00000000 --- a/kdejava/koala/org/kde/koala/ProcessingInstruction.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>ProcessingInstruction</code> interface represents a - "processing instruction", used in XML as a way to keep - processor-specific information in the text of the document. - @short The <code>ProcessingInstruction</code> interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document. - -*/ -public class ProcessingInstruction extends Node { - protected ProcessingInstruction(Class dummy){super((Class) null);} - public ProcessingInstruction() { - super((Class) null); - newProcessingInstruction(); - } - private native void newProcessingInstruction(); - public ProcessingInstruction(ProcessingInstruction other) { - super((Class) null); - newProcessingInstruction(other); - } - private native void newProcessingInstruction(ProcessingInstruction other); - public ProcessingInstruction(Node other) { - super((Class) null); - newProcessingInstruction(other); - } - private native void newProcessingInstruction(Node other); - /** - The target of this processing instruction. XML defines this as - being the first token following the markup that begins the - processing instruction. - @short The target of this processing instruction. - */ - public native String target(); - /** - The content of this processing instruction. This is from the - first non white space character after the target to the - character immediately preceding the <code>?></code> . - @short The content of this processing instruction. - */ - public native String data(); - /** - see data - @short see data - */ - public native void setData(String arg1); - /** - Introduced in DOM Level 2 - This method is from the LinkStyle interface - The style sheet. - @short Introduced in DOM Level 2 This method is from the LinkStyle interface - */ - public native StyleSheet sheet(); - // DOM::ProcessingInstruction* ProcessingInstruction(DOM::ProcessingInstructionImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/ProgressBase.java b/kdejava/koala/org/kde/koala/ProgressBase.java deleted file mode 100644 index c661280c..00000000 --- a/kdejava/koala/org/kde/koala/ProgressBase.java +++ /dev/null @@ -1,206 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This class does all initialization stuff for progress, - like connecting signals to slots. - All slots are implemented as pure methods. - All custom IO progress dialog should inherit this class. - Add your GUI code to the constructor and implemement those virtual - methods which you need in order to display progress. - E.g. StatusbarProgress only implements slotTotalSize(), - slotPercent() and slotSpeed(). - Custom progress dialog will be used like this : - <pre> - // create job - CopyJob job = TDEIO.copy(...); - // create a dialog - MyCustomProgress customProgress; - customProgress = new MyCustomProgress(); - // connect progress with job - customProgress.setJob( job ); - ... - </pre> - There is a special method setStopOnClose() that controls the behavior of - the dialog. - See {@link ProgressBaseSignals} for signals emitted by ProgressBase - @author Matej Koss <koss@miesto.sk> - - @short Base class for IO progress dialogs. - -*/ -public class ProgressBase extends TQWidget { - protected ProgressBase(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new progress dialog. - @param parent the parent of this dialog window, or 0 - @short Creates a new progress dialog. - */ - public ProgressBase(TQWidget parent) { - super((Class) null); - newProgressBase(parent); - } - private native void newProgressBase(TQWidget parent); - /** - Assign a TDEIO.Job to this progress dialog. - @param job the job to assign - @short Assign a TDEIO.Job to this progress dialog. - */ - public native void setJob(Job job); - /** - Assign a TDEIO.Job to this progress dialog. - @param job the job to assign - @short Assign a TDEIO.Job to this progress dialog. - */ - public native void setJob(CopyJob job); - /** - Assign a TDEIO.Job to this progress dialog. - @param job the job to assign - @short Assign a TDEIO.Job to this progress dialog. - */ - public native void setJob(DeleteJob job); - public native void setStopOnClose(boolean stopOnClose); - public native boolean stopOnClose(); - /** - This controls whether the dialog should be deleted or only cleaned when - the TDEIO.Job is finished (or canceled). - If your dialog is an embedded widget and not a separate window, you should - setOnlyClean(true) in the constructor of your custom dialog. - @param onlyClean If true the dialog will only call method slotClean. - If false the dialog will be deleted. - @short This controls whether the dialog should be deleted or only cleaned when the TDEIO.Job is finished (or canceled). - @see #onlyClean - */ - public native void setOnlyClean(boolean onlyClean); - /** - Checks whether the dialog should be deleted or cleaned. - @return true if the dialog only calls slotClean, false if it will be - deleted - - @short Checks whether the dialog should be deleted or cleaned. - @see #setOnlyClean - */ - public native boolean onlyClean(); - /** - Call when the operation finished. - @short Call when the operation finished. - */ - public native void finished(); - /** - This method should be called for correct cancellation of IO operation - Connect this to the progress widgets buttons etc. - @short This method should be called for correct cancellation of IO operation Connect this to the progress widgets buttons etc. - */ - public native void slotStop(); - /** - This method is called when the widget should be cleaned (after job is finished). - redefine this for custom behavior. - @short This method is called when the widget should be cleaned (after job is finished). - */ - public native void slotClean(); - /** - Called to set the total size. - @param job the TDEIO.Job - @param size the total size in bytes - @short Called to set the total size. - */ - public native void slotTotalSize(Job job, long size); - /** - Called to set the total number of files. - @param job the TDEIO.Job - @param files the number of files - @short Called to set the total number of files. - */ - public native void slotTotalFiles(Job job, long files); - /** - Called to set the total number of directories. - @param job the TDEIO.Job - @param dirs the number of directories - @short Called to set the total number of directories. - */ - public native void slotTotalDirs(Job job, long dirs); - /** - Called to set the processed size. - @param job the TDEIO.Job - @param bytes the processed size in bytes - @short Called to set the processed size. - */ - public native void slotProcessedSize(Job job, long bytes); - /** - Called to set the number of processed files. - @param job the TDEIO.Job - @param files the number of files - @short Called to set the number of processed files. - */ - public native void slotProcessedFiles(Job job, long files); - /** - Called to set the number of processed directories. - @param job the TDEIO.Job - @param dirs the number of directories - @short Called to set the number of processed directories. - */ - public native void slotProcessedDirs(Job job, long dirs); - /** - Called to set the speed. - @param job the TDEIO.Job - @param speed the speed in bytes/second - @short Called to set the speed. - */ - public native void slotSpeed(Job job, long speed); - /** - Called to set the percentage. - @param job the TDEIO.Job - @param percent the percentage - @short Called to set the percentage. - */ - public native void slotPercent(Job job, long percent); - /** - Called when the job is copying. - @param job the TDEIO.Job - @param src the source of the operation - @param dest the destination of the operation - @short Called when the job is copying. - */ - public native void slotCopying(Job job, KURL src, KURL dest); - /** - Called when the job is moving. - @param job the TDEIO.Job - @param src the source of the operation - @param dest the destination of the operation - @short Called when the job is moving. - */ - public native void slotMoving(Job job, KURL src, KURL dest); - /** - Called when the job is deleting. - @param job the TDEIO.Job - @param url the URL to delete - @short Called when the job is deleting. - */ - public native void slotDeleting(Job job, KURL url); - /** - Called when the job is creating a directory. - @param job the TDEIO.Job - @param dir the URL of the directory to create - @short Called when the job is creating a directory. - */ - public native void slotCreatingDir(Job job, KURL dir); - /** - Called when the job is resuming.. - @param job the TDEIO.Job - @param from the position to resume from in bytes - @short Called when the job is resuming. - */ - public native void slotCanResume(Job job, long from); - protected native void closeEvent(TQCloseEvent arg1); - protected native void slotFinished(Job arg1); -} diff --git a/kdejava/koala/org/kde/koala/ProgressBaseSignals.java b/kdejava/koala/org/kde/koala/ProgressBaseSignals.java deleted file mode 100644 index 19c5278e..00000000 --- a/kdejava/koala/org/kde/koala/ProgressBaseSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQWidget; - -public interface ProgressBaseSignals { - /** - Called when the operation stopped. - @short Called when the operation stopped. - */ - void stopped(); -} diff --git a/kdejava/koala/org/kde/koala/RGBColor.java b/kdejava/koala/org/kde/koala/RGBColor.java deleted file mode 100644 index bfcdd732..00000000 --- a/kdejava/koala/org/kde/koala/RGBColor.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>RGBColor</code> interface is used to represent any <a - href="http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-color"> - RGB color </a> value. This interface reflects the values in the - underlying style property. Hence, modifications made through this - interface modify the style property. - @short The <code>RGBColor</code> interface is used to represent any <a href="http://www. - -*/ -public class RGBColor implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected RGBColor(Class dummy){} - - public RGBColor() { - newRGBColor(); - } - private native void newRGBColor(); - public RGBColor(int color) { - newRGBColor(color); - } - private native void newRGBColor(int color); - public RGBColor(RGBColor other) { - newRGBColor(other); - } - private native void newRGBColor(RGBColor other); - /** - This attribute is used for the red value of the RGB color. - @short This attribute is used for the red value of the RGB color. - */ - public native CSSPrimitiveValue red(); - /** - This attribute is used for the green value of the RGB color. - @short This attribute is used for the green value of the RGB color. - */ - public native CSSPrimitiveValue green(); - /** - This attribute is used for the blue value of the RGB color. - @short This attribute is used for the blue value of the RGB color. - */ - public native CSSPrimitiveValue blue(); - /** - @short - */ - public native int color(); -} diff --git a/kdejava/koala/org/kde/koala/Range.java b/kdejava/koala/org/kde/koala/Range.java deleted file mode 100644 index f9add647..00000000 --- a/kdejava/koala/org/kde/koala/Range.java +++ /dev/null @@ -1,248 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - -*/ -public class Range implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected Range(Class dummy){} - - public Range() { - newRange(); - } - private native void newRange(); - public Range(Document rootContainer) { - newRange(rootContainer); - } - private native void newRange(Document rootContainer); - public Range(Range other) { - newRange(other); - } - private native void newRange(Range other); - public Range(Node startContainer, long startOffset, Node endContainer, long endOffset) { - newRange(startContainer,startOffset,endContainer,endOffset); - } - private native void newRange(Node startContainer, long startOffset, Node endContainer, long endOffset); - /** - Node within which the range begins - @short Node within which the range begins - */ - public native Node startContainer(); - /** - Offset within the starting node of the range. - @short Offset within the starting node of the range. - */ - public native long startOffset(); - /** - Node within which the range ends - @short Node within which the range ends - */ - public native Node endContainer(); - /** - Offset within the ending node of the range. - @short Offset within the ending node of the range. - */ - public native long endOffset(); - /** - true if the range is collapsed - @short true if the range is collapsed - */ - public native boolean collapsed(); - /** - Gets the common ancestor container of the range's two end-points. - Also sets it. - @short Gets the common ancestor container of the range's two end-points. - */ - public native Node commonAncestorContainer(); - /** - Sets the attributes describing the start of the range. - @param refNode The <code>refNode</code> value. This parameter - must be different from <code>null</code> . - @param offset The <code>startOffset</code> value. - INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an - ancestor of <code>refNode</code> is an Attr, Entity, - Notation, or DocumentType node. - If an offset is out-of-bounds, should it just be fixed up or - should an exception be raised. - @short Sets the attributes describing the start of the range. - */ - public native void setStart(Node refNode, long offset); - /** - Sets the attributes describing the end of a range. - @param refNode The <code>refNode</code> value. This parameter - must be different from <code>null</code> . - @param offset The <code>endOffset</code> value. - INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an - ancestor of <code>refNode</code> is an Attr, Entity, - Notation, or DocumentType node. - @short Sets the attributes describing the end of a range. - */ - public native void setEnd(Node refNode, long offset); - /** - Sets the start position to be before a node - @param refNode Range starts before <code>refNode</code> - @short Sets the start position to be before a node - */ - public native void setStartBefore(Node refNode); - /** - Sets the start position to be after a node - @param refNode Range starts after <code>refNode</code> - @short Sets the start position to be after a node - */ - public native void setStartAfter(Node refNode); - /** - Sets the end position to be before a node. - @param refNode Range ends before <code>refNode</code> - @short Sets the end position to be before a node. - */ - public native void setEndBefore(Node refNode); - /** - Sets the end of a range to be after a node - @param refNode Range ends after <code>refNode</code> . - @short Sets the end of a range to be after a node - */ - public native void setEndAfter(Node refNode); - /** - Collapse a range onto one of its end-points - @param toStart If true, collapses the Range onto its start; if - false, collapses it onto its end. - @short Collapse a range onto one of its end-points - */ - public native void collapse(boolean toStart); - /** - Select a node and its contents - @param refNode The node to select. - @short Select a node and its contents - */ - public native void selectNode(Node refNode); - /** - Select the contents within a node - @param refNode Node to select from - @short Select the contents within a node - */ - public native void selectNodeContents(Node refNode); - /** - Compare the end-points of two ranges in a document. - @return -1, 0 or 1 depending on whether the corresponding - end-point of the Range is before, equal to, or after the - corresponding end-point of <code>sourceRange</code> . - - @short Compare the end-points of two ranges in a document. - */ - // short compareBoundaryPoints(DOM::Range::CompareHow arg1,const DOM::Range& arg2); >>>> NOT CONVERTED - /** - not part of the DOM - Compare the boundary-points of a range. - Return true if the startContainer is before the endContainer, - or if they are equal. - Return false if the startContainer is after the endContainer. - @short - */ - public native boolean boundaryPointsValid(); - /** - Removes the contents of a range from the containing document or - document fragment without returning a reference to the removed - content. - @short Removes the contents of a range from the containing document or document fragment without returning a reference to the removed content. - */ - public native void deleteContents(); - /** - Moves the contents of a range from the containing document or - document fragment to a new DocumentFragment. - HIERARCHY_REQUEST_ERR: Raised if a DocumentType node would be - extracted into the new DocumentFragment. - @return A DocumentFragment containing the extracted contents. - - @short Moves the contents of a range from the containing document or document fragment to a new DocumentFragment. - */ - public native DocumentFragment extractContents(); - /** - Duplicates the contents of a range - @return A DocumentFragment containing contents equivalent to - those of this range. - - @short Duplicates the contents of a range - */ - public native DocumentFragment cloneContents(); - /** - Inserts a node into the document or document fragment at the - start of the range. - @param newNode The node to insert at the start of the range - WRONG_DOCUMENT_ERR: Raised if <code>newNode</code> and the - container of the start of the Range were not created from the - same document. - HIERARCHY_REQUEST_ERR: Raised if the container of the start of - the Range is of a type that does not allow children of the type - of <code>newNode</code> or if <code>newNode</code> is an - ancestor of the container . - @short Inserts a node into the document or document fragment at the start of the range. - */ - public native void insertNode(Node newNode); - /** - Reparents the contents of the range to the given node and - inserts the node at the position of the start of the range. - @param newParent The node to surround the contents with. - WRONG_DOCUMENT_ERR: Raised if <code>newParent</code> and the - container of the start of the Range were not created from the - same document. - HIERARCHY_REQUEST_ERR: Raised if the container of the start of - the Range is of a type that does not allow children of the type - of <code>newParent</code> or if <code>newParent</code> is - an ancestor of the container or if <code>node</code> would - end up with a child node of a type not allowed by the type of - <code>node</code> . - INVALID_NODE_TYPE_ERR: Raised if <code>node</code> is an - Attr, Entity, DocumentType, Notation, Document, or - DocumentFragment node. - @short Reparents the contents of the range to the given node and inserts the node at the position of the start of the range. - */ - public native void surroundContents(Node newParent); - /** - Produces a new range whose end-points are equal to the - end-points of the range. - @return The duplicated range. - - @short Produces a new range whose end-points are equal to the end-points of the range. - */ - public native Range cloneRange(); - /** - Returns the contents of a range as a string. - @return The contents of the range. - - @short Returns the contents of a range as a string. - */ - public native String toString(); - /** - @short - */ - public native String toHTML(); - public native DocumentFragment createContextualFragment(String html); - /** - Called to indicate that the range is no longer in use and that - the implementation may relinquish any resources associated with - this range. Subsequent calls to any methods or attribute getters - on this range will result in a DOMException being thrown with an - error code of INVALID_STATE_ERR. - @short Called to indicate that the range is no longer in use and that the implementation may relinquish any resources associated with this range. - */ - public native void detach(); - /** - not part of the DOM - true if the range is detached - @short not part of the DOM true if the range is detached - */ - public native boolean isDetached(); - /** - not part of the DOM - @short - */ - // DOM::RangeImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::Range* Range(DOM::RangeImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/RangeException.java b/kdejava/koala/org/kde/koala/RangeException.java deleted file mode 100644 index 57eb5fce..00000000 --- a/kdejava/koala/org/kde/koala/RangeException.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - -*/ -public class RangeException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected RangeException(Class dummy){} - - public RangeException(short _code) { - newRangeException(_code); - } - private native void newRangeException(short _code); - public RangeException(RangeException other) { - newRangeException(other); - } - private native void newRangeException(RangeException other); -} diff --git a/kdejava/koala/org/kde/koala/ReadOnlyPart.java b/kdejava/koala/org/kde/koala/ReadOnlyPart.java deleted file mode 100644 index c94665c6..00000000 --- a/kdejava/koala/org/kde/koala/ReadOnlyPart.java +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - Base class for any "viewer" part. - This class takes care of network transparency for you, - in the simplest way (synchronously). - To use the built-in network transparency, you only need to implement - openFile(), not openURL(). - To prevent network transparency, or to implement it another way - (e.g. asynchronously), override openURL(). - KParts Application can use the signals to show feedback while the URL is being loaded. - ReadOnlyPart handles the window caption by setting it to the current URL - (set in openURL(), and each time the part is activated). - If you want another caption, set it in openFile() and - (if the part might ever be used with a part manager) in guiActivateEvent() - See {@link ReadOnlyPartSignals} for signals emitted by ReadOnlyPart - @short Base class for any "viewer" part. - -*/ -public class ReadOnlyPart extends Part { - protected ReadOnlyPart(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - See also Part for the setXXX methods to call. - @short Constructor See also Part for the setXXX methods to call. - */ - /** - Call this to turn off the progress info dialog used by - the internal TDEIO job. Use this if you provide another way - of displaying progress info (e.g. a statusbar), using the - signals emitted by this class, and/or those emitted by - the Job given by started. - @short Call this to turn off the progress info dialog used by the internal TDEIO job. - */ - public native void setProgressInfoEnabled(boolean show); - /** - Returns whether the part shows the progress info dialog used by internal - TDEIO job. - @short Returns whether the part shows the progress info dialog used by internal TDEIO job. - */ - public native boolean isProgressInfoEnabled(); - public native void showProgressInfo(boolean show); - /** - Returns the currently in part used URL. - @return The current used URL. - - @short Returns the currently in part used URL. - */ - public native KURL url(); - /** - Called when closing the current url (e.g. document), for instance - when switching to another url (note that openURL() calls it - automatically in this case). - If the current URL is not fully loaded yet, aborts loading. - Deletes the temporary file used when the url is remote. - @return always true, but the return value exists for reimplementations - - @short Called when closing the current url (e. - */ - public native boolean closeURL(); - /** - Initiate sending data to this part. - This is an alternative to openURL, which allows the user of the part - to load the data itself, and send it progressively to the part. - @param mimeType the type of data that is going to be sent to this part. - @param url the URL representing this data. Although not directly used, - every ReadOnlyPart has a URL (see url()), so this simply sets it. - @return true if the part supports progressive loading and accepts data, false otherwise. - - @short Initiate sending data to this part. - */ - public native boolean openStream(String mimeType, KURL url); - /** - Send some data to the part. openStream must have been called previously, - and must have returned true. - @return true if the data was accepted by the part. If false is returned, - the application should stop sending data, and doesn't have to call closeStream. - - @short Send some data to the part. - */ - public native boolean writeStream(byte[] data); - /** - Terminate the sending of data to the part. - With some data types (text, html...) closeStream might never actually be called, - in the case of continuous streams, for instance plain text or HTML data. - @short Terminate the sending of data to the part. - */ - public native boolean closeStream(); - /** - Only reimplement openURL if you don't want synchronous network transparency - Otherwise, reimplement openFile() only . - If you reimplement it, don't forget to set the caption, usually with - emit setWindowCaption( url.prettyURL() ); - @short Only reimplement openURL if you don't want synchronous network transparency Otherwise, reimplement openFile() only . - */ - public native boolean openURL(KURL url); -} diff --git a/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java b/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java deleted file mode 100644 index 81276254..00000000 --- a/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface ReadOnlyPartSignals { - /** - The part emits this when starting data. - If using a TDEIO.Job, it sets the job in the signal, so that - progress information can be shown. Otherwise, job is 0. - @short The part emits this when starting data. - */ - void started(Job arg1); - /** - Emit this when you have completed loading data. - Hosting apps will want to know when the process of loading the data - is finished, so that they can access the data when everything is loaded. - @short Emit this when you have completed loading data. - */ - void completed(); - /** - Same as the above signal except it indicates whether there is - a pending action to be executed on a delay timer. An example of - this is the meta-refresh tags on web pages used to reload/redirect - after a certain period of time. This signal is useful if you want - to give the user the ability to cancel such pending actions. - @param pendingAction true if a pending action exists, false otherwise. - @short Same as the above signal except it indicates whether there is a pending action to be executed on a delay timer. - */ - void completed(boolean pendingAction); - /** - Emit this if loading is canceled by the user or by an error. - @param errMsg the error message, empty if the user canceled the loading voluntarily. - @short Emit this if loading is canceled by the user or by an error. - */ - void canceled(String errMsg); -} diff --git a/kdejava/koala/org/kde/koala/ReadWritePart.java b/kdejava/koala/org/kde/koala/ReadWritePart.java deleted file mode 100644 index 652e58aa..00000000 --- a/kdejava/koala/org/kde/koala/ReadWritePart.java +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - Base class for an "editor" part. - This class handles network transparency for you. - Anything that can open a URL, allow modifications, and save - (to the same URL or a different one). - A read-write part can be set to read-only mode, using setReadWrite(). - Part writers : - Any part inheriting ReadWritePart should check isReadWrite() - before allowing any action that modifies the part. - The part probably wants to reimplement setReadWrite, disable those - actions. Don't forget to call the parent setReadWrite(). - See {@link ReadWritePartSignals} for signals emitted by ReadWritePart - @short Base class for an "editor" part. - -*/ -public class ReadWritePart extends ReadOnlyPart { - protected ReadWritePart(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - See parent constructor for instructions. - @short Constructor. - */ - /** - @return true if the part is in read-write mode - - @short - */ - public native boolean isReadWrite(); - /** - Changes the behavior of this part to readonly or readwrite. - @param readwrite set to true to enable readwrite mode - @short Changes the behavior of this part to readonly or readwrite. - */ - public native void setReadWrite(boolean readwrite); - public native void setReadWrite(); - /** - @return true if the document has been modified. - - @short - */ - public native boolean isModified(); - /** - If the document has been modified, ask the user to save changes. - This method is meant to be called from TDEMainWindow.queryClose(). - It will also be called from closeURL(). - @return true if closeURL() can be called without the user losing - important data, false if the user chooses to cancel. - - @short If the document has been modified, ask the user to save changes. - */ - public native boolean queryClose(); - /** - Called when closing the current url (e.g. document), for instance - when switching to another url (note that openURL() calls it - automatically in this case). - If the current URL is not fully loaded yet, aborts loading. - If isModified(), queryClose() will be called. - @return false on cancel - - @short Called when closing the current url (e. - */ - public native boolean closeURL(); - /** - Call this method instead of the above if you need control if - the save prompt is shown. For example, if you call queryClose() - from TDEMainWindow.queryClose(), you would not want to prompt - again when closing the url. - Equivalent to promptToSave ? closeURL() : ReadOnlyPart.closeURL() - @short Call this method instead of the above if you need control if the save prompt is shown. - */ - public native boolean closeURL(boolean promptToSave); - /** - Save the file to a new location. - Calls save(), no need to reimplement - @short Save the file to a new location. - */ - public native boolean saveAs(KURL url); - /** - Sets the modified flag of the part. - @short Sets the modified flag of the part. - */ - public native void setModified(boolean modified); - /** - Call setModified() whenever the contents get modified. - This is a slot for convenience, so that you can connect it - to a signal, like textChanged(). - @short Call setModified() whenever the contents get modified. - */ - public native void setModified(); - /** - Save the file in the location from which it was opened. - You can connect this to the "save" action. - Calls saveFile() and saveToURL(), no need to reimplement. - @short Save the file in the location from which it was opened. - */ - public native boolean save(); - /** - Waits for any pending upload job to finish and returns whether the - last save() action was successful. - @short Waits for any pending upload job to finish and returns whether the last save() action was successful. - */ - public native boolean waitSaveComplete(); -} diff --git a/kdejava/koala/org/kde/koala/ReadWritePartSignals.java b/kdejava/koala/org/kde/koala/ReadWritePartSignals.java deleted file mode 100644 index 62136816..00000000 --- a/kdejava/koala/org/kde/koala/ReadWritePartSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface ReadWritePartSignals { - /** - set handled to true, if you don't want the default handling - set abortClosing to true, if you handled the request, - but for any reason don't want to allow closing the document - @short - */ - void sigQueryClose(boolean[] handled, boolean[] abortClosing); -} diff --git a/kdejava/koala/org/kde/koala/Rect.java b/kdejava/koala/org/kde/koala/Rect.java deleted file mode 100644 index b44c0361..00000000 --- a/kdejava/koala/org/kde/koala/Rect.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>Rect</code> interface is used to represent any <a - href="http://www.w3.org/TR/REC-CSS2/visufx.html#value-def-shape"> - rect </a> value. This interface reflects the values in the - underlying style property. Hence, modifications made through this - interface modify the style property. - @short The <code>Rect</code> interface is used to represent any <a href="http://www. - -*/ -public class Rect implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected Rect(Class dummy){} - - public Rect() { - newRect(); - } - private native void newRect(); - public Rect(Rect other) { - newRect(other); - } - private native void newRect(Rect other); - /** - This attribute is used for the top of the rect. - @short This attribute is used for the top of the rect. - */ - public native CSSPrimitiveValue top(); - /** - This attribute is used for the right of the rect. - @short This attribute is used for the right of the rect. - */ - public native CSSPrimitiveValue right(); - /** - This attribute is used for the bottom of the rect. - @short This attribute is used for the bottom of the rect. - */ - public native CSSPrimitiveValue bottom(); - /** - This attribute is used for the left of the rect. - @short This attribute is used for the left of the rect. - */ - public native CSSPrimitiveValue left(); - /** - not part of the DOM - @short - */ - // DOM::RectImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::Rect* Rect(DOM::RectImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/RenameDlg.java b/kdejava/koala/org/kde/koala/RenameDlg.java deleted file mode 100644 index a6893e46..00000000 --- a/kdejava/koala/org/kde/koala/RenameDlg.java +++ /dev/null @@ -1,102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDialog; - -/** - - A dialog for the options to rename two files. - @short A dialog for renaming files. - -*/ -public class RenameDlg extends TQDialog { - protected RenameDlg(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a "rename" dialog. - @param parent parent widget (often 0) - @param caption the caption for the dialog box - @param src the url to the file/dir we're trying to copy, as it's part of the text message - @param dest the path to destination file/dir, i.e. the one that already exists - @param mode parameters for the dialog (which buttons to show...), - @param sizeSrc size of source file - @param sizeDest size of destination file - @param ctimeSrc creation time of source file - @param ctimeDest creation time of destination file - @param mtimeSrc modification time of source file - @param mtimeDest modification time of destination file - @param modal set to true for a modal dialog - @short Construct a "rename" dialog. - @see RenameDlg_Mode - */ - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest, boolean modal) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest,mtimeSrc,mtimeDest,modal); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest, boolean modal); - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest,mtimeSrc,mtimeDest); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest); - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest,mtimeSrc); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc); - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest); - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc); - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest); - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode,sizeSrc); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc); - public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode) { - super((Class) null); - newRenameDlg(parent,caption,src,dest,mode); - } - private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode); - /** - @return the new destination - valid only if RENAME was chosen - - @short - */ - public native KURL newDestURL(); - public native void b0Pressed(); - public native void b1Pressed(); - public native void b2Pressed(); - public native void b3Pressed(); - public native void b4Pressed(); - public native void b5Pressed(); - public native void b6Pressed(); - public native void b7Pressed(); - public native void b8Pressed(); - /** - Given a directory path and a filename (which usually exists already), - this function returns a suggested name for a file that doesn't exist - in that directory. The existence is only checked for local urls though. - The suggested file name is of the form foo_1 foo_2 etc. - @short Given a directory path and a filename (which usually exists already), this function returns a suggested name for a file that doesn't exist in that directory. - */ - public static native String suggestName(KURL baseURL, String oldName); - protected native void enableRenameButton(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/Scheduler.java b/kdejava/koala/org/kde/koala/Scheduler.java deleted file mode 100644 index e9e49448..00000000 --- a/kdejava/koala/org/kde/koala/Scheduler.java +++ /dev/null @@ -1,376 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - The TDEIO.Scheduler manages io-slaves for the application. - It also queues jobs and assigns the job to a slave when one - becomes available. - There are 3 possible ways for a job to get a slave: - <h3>1. Direct</h3> - This is the default. When you create a job the - TDEIO.Scheduler will be notified and will find either an existing - slave that is idle or it will create a new slave for the job. - Example: - <pre> - TransferJob job = TDEIO.get(KURL("http://www.kde.org")); - </pre> - <h3>2. Scheduled</h3> - If you create a lot of jobs, you might want not want to have a - slave for each job. If you schedule a job, a maximum number - of slaves will be created. When more jobs arrive, they will be - queued. When a slave is finished with a job, it will be assigned - a job from the queue. - Example: - <pre> - TransferJob job = TDEIO.get(KURL("http://www.kde.org")); - TDEIO.Scheduler.scheduleJob(job); - </pre> - <h3>3. Connection Oriented</h3> - For some operations it is important that multiple jobs use - the same connection. This can only be ensured if all these jobs - use the same slave. - You can ask the scheduler to open a slave for connection oriented - operations. You can then use the scheduler to assign jobs to this - slave. The jobs will be queued and the slave will handle these jobs - one after the other. - Example: - <pre> - Slave slave = TDEIO.Scheduler.getConnectedSlave( - KURL("pop3://bastian:password@mail.kde.org")); - TransferJob job1 = TDEIO.get( - KURL("pop3://bastian:password@mail.kde.org/msg1")); - TDEIO.Scheduler.assignJobToSlave(slave, job1); - TransferJob job2 = TDEIO.get( - KURL("pop3://bastian:password@mail.kde.org/msg2")); - TDEIO.Scheduler.assignJobToSlave(slave, job2); - TransferJob job3 = TDEIO.get( - KURL("pop3://bastian:password@mail.kde.org/msg3")); - TDEIO.Scheduler.assignJobToSlave(slave, job3); - // ... Wait for jobs to finish... - TDEIO.Scheduler.disconnectSlave(slave); - </pre> - Note that you need to explicitly disconnect the slave when the - connection goes down, so your error handler should contain: - <pre> - if (error == TDEIO.ERR_CONNECTION_BROKEN) - TDEIO.Scheduler.disconnectSlave(slave); - </pre> - See {@link SchedulerSignals} for signals emitted by Scheduler - @short The TDEIO.Scheduler manages io-slaves for the application. - @see Slave - @see Job - -*/ -public class Scheduler extends TQObject implements DCOPObjectInterface { - protected Scheduler(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native boolean connect(TQObject sender, String signal, String member); - public native void debug_info(); - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - public native ArrayList functions(); - public native void slotSlaveDied(Slave slave); - public native void slotSlaveStatus(int pid, String protocol, String host, boolean connected); - /** - Register <code>job</code> with the scheduler. - The default is to create a new slave for the job if no slave - is available. This can be changed by calling scheduleJob. - @param job the job to register - @short Register <code>job</code> with the scheduler. - */ - public static native void doJob(SimpleJob job); - /** - Calling ths function makes that <code>job</code> gets scheduled for later - execution, if multiple jobs are registered it might wait for - other jobs to finish. - @param job the job to schedule - @short Calling ths function makes that <code>job</code> gets scheduled for later execution, if multiple jobs are registered it might wait for other jobs to finish. - */ - public static native void scheduleJob(SimpleJob job); - /** - Stop the execution of a job. - @param job the job to cancel - @short Stop the execution of a job. - */ - public static native void cancelJob(SimpleJob job); - /** - Called when a job is done. - @param job the finished job - @param slave the slave that executed the <code>job</code> - @short Called when a job is done. - */ - public static native void jobFinished(SimpleJob job, Slave slave); - /** - Puts a slave on notice. A next job may reuse this slave if it - requests the same URL. - A job can be put on hold after it has emit'ed its mimetype. - Based on the mimetype, the program can give control to another - component in the same process which can then resume the job - by simply asking for the same URL again. - @param job the job that should be stopped - @param url the URL that is handled by the <code>url</code> - @short Puts a slave on notice. - */ - public static native void putSlaveOnHold(SimpleJob job, KURL url); - /** - Removes any slave that might have been put on hold. If a slave - was put on hold it will be killed. - @short Removes any slave that might have been put on hold. - */ - public static native void removeSlaveOnHold(); - /** - Send the slave that was put on hold back to TDELauncher. This - allows another process to take over the slave and resume the job - that was started. - @short Send the slave that was put on hold back to TDELauncher. - */ - public static native void publishSlaveOnHold(); - /** - Requests a slave for use in connection-oriented mode. - @param url This defines the username,password,host & port to - connect with. - @param config Configuration data for the slave. - @return A pointer to a connected slave or 0 if an error occurred. - - @short Requests a slave for use in connection-oriented mode. - @see #assignJobToSlave - @see #disconnectSlave - */ - // TDEIO::Slave* getConnectedSlave(const KURL& arg1,const TDEIO::MetaData& arg2); >>>> NOT CONVERTED - public static native Slave getConnectedSlave(KURL url); - public static native boolean assignJobToSlave(Slave slave, SimpleJob job); - public static native boolean disconnectSlave(Slave slave); - /** - Send the slave that was put on hold back to TDELauncher. This - allows another process to take over the slave and resume the job - the that was started. - Register the mainwindow <code>wid</code> with the TDEIO subsystem - Do not call this, it is called automatically from - void TDEIO.Job.setWindow(TQWidget). - @param wid the window to register - @short Send the slave that was put on hold back to TDELauncher. - */ - public static native void registerWindow(TQWidget wid); - /** - Unregisters the window registered by registerWindow(). - @short - */ - public static native void unregisterWindow(TQObject wid); - /** - Function to connect signals emitted by the scheduler. - @short Function to connect signals emitted by the scheduler. - @see #slaveConnected - @see #slaveError - */ - public static native boolean connect(String signal, TQObject receiver, String member); - public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member); - public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member); - /** - When true, the next job will check whether TDELauncher has a slave - on hold that is suitable for the job. - @param b true when TDELauncher has a job on hold - @short When true, the next job will check whether TDELauncher has a slave on hold that is suitable for the job. - */ - public static native void checkSlaveOnHold(boolean b); - // void setupSlave(TDEIO::Slave* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,bool arg5,const TDEIO::MetaData* arg6); >>>> NOT CONVERTED - protected native void setupSlave(Slave slave, KURL url, String protocol, String proxy, boolean newSlave); - // bool startJobScheduled(TDEIO::Scheduler::ProtocolInfo* arg1); >>>> NOT CONVERTED - protected native boolean startJobDirect(); - public Scheduler() { - super((Class) null); - newScheduler(); - } - private native void newScheduler(); - protected native void startStep(); - protected native void slotCleanIdleSlaves(); - protected native void slotSlaveConnected(); - protected native void slotSlaveError(int error, String errorMsg); - protected native void slotScheduleCoSlave(); - protected native void slotUnregisterWindow(TQObject arg1); - /** - Returns the object id of the DCOPObject. - @return the object's id - - @short Returns the object id of the DCOPObject. - */ - public native String objId(); - /** - Renames a dcop object, if no other with the same name exists - Use with care, all dcop signals are disconnected - @param objId the new object id - @short Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disconnected - */ - public native boolean setObjId(String objId); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for process() but - you still want to dispatch some functions dynamically. - Dynamically means that methods may appear and vanish - during runtime. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short This function is of interest when you used an IDL compiler to generate the implementation for process() but you still want to dispatch some functions dynamically. - @see #process - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for functions() but - you still want to list some functions dynamically. - Dynamically means that the methods may appear and vanish - during runtime. - @return A list of the additional functions, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for functions() but you still want to list some functions dynamically. - @see #functions - */ - public native ArrayList functionsDynamic(); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for interfaces() but - you still want to list some interfaces dynamically. - Dynamically means that they may appear and vanish - during runtime. - @return A list of the additional interfaces, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for interfaces() but you still want to list some interfaces dynamically. - @see #interfaces - */ - public native ArrayList interfacesDynamic(); - /** - Returns the names of the interfaces, specific ones last. The - functions gets reimplemented by the IDL compiler. If you don't - use the IDL compiler, consider implementing this function - manually if you want your object to be easily explorable. - @return a list of interfaces - - @short Returns the names of the interfaces, specific ones last. - @see #functions - */ - public native ArrayList interfaces(); - /** - Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as - arguments - @param signal the signal to emit - @param data the data to send - @short Emit <code>signal</code> as DCOP signal from this object with <code>data</code> as arguments - */ - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> - must be registered when the connection is made. - If false, the connection will be reestablished when <code>sender</code> reregisters. - In this case the connection can be made even if <code>sender</code> is not registered - at that time. - - <li> - <code>Volatile</code> is true and <code>sender</code> does not exist. - </li> - - <li> - <code>signal</code> and <code>slot</code> do not have matching arguments. - - </li> @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both <code>sender</code> & <code>signal</code> are empty. In this - case all connections related to this object in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - /** - Returns the DCOPClient responsible for making the call. - Only call this function while you are handling a DCOP call. - @return the DCOPClient responsible for making the call. - This information is only guaranteed to be correct when - entering your DCOP function. - - @short Returns the DCOPClient responsible for making the call. - */ - public native DCOPClient callingDcopClient(); - /** - @short - */ - public native void setCallingDcopClient(DCOPClient arg1); - /** - Checks whether an object with the given id is known in this process. - DCOPObjectProxy - @return true if an object with the questionable <code>objId</code> is - known in this process. This query does not ask proxies. - - @short Checks whether an object with the given id is known in this process. - */ - public static native boolean hasObject(String objId); - /** - Try to find a dcop object with the given id. - This function does not query the DCOPObjectProxy. - @param objId the object id to search - @return the DCOPObject for the id <code>objId.</code> - - @short Try to find a dcop object with the given id. - */ - public static native DCOPObjectInterface find(String objId); - /** - Tries to find an object using a partial object id. - This function is used for multicasting a DCOP message to - several objects inside a single process. - @param partialId the partial object id to search for - @return a list of DCOPObjects beginning with the string - contained in <code>partialId.</code> - - @short Tries to find an object using a partial object id. - */ - // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED - /** - Creates an object id for the TQObject <code>obj.</code> This is done - using the TQObject.name() function. - @param obj the object whose name will be used - @return the created object id - - @short Creates an object id for the TQObject <code>obj.</code> - */ - public static native String objectName(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/SchedulerSignals.java b/kdejava/koala/org/kde/koala/SchedulerSignals.java deleted file mode 100644 index 26bfb029..00000000 --- a/kdejava/koala/org/kde/koala/SchedulerSignals.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface SchedulerSignals { - void slaveConnected(Slave slave); - void slaveError(Slave slave, int error, String errorMsg); -} diff --git a/kdejava/koala/org/kde/koala/SessionData.java b/kdejava/koala/org/kde/koala/SessionData.java deleted file mode 100644 index f00ec1cb..00000000 --- a/kdejava/koala/org/kde/koala/SessionData.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - @short - -*/ -public class SessionData extends TQObject { - protected SessionData(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public SessionData() { - super((Class) null); - newSessionData(); - } - private native void newSessionData(); - // void configDataFor(TDEIO::MetaData& arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED - public native void reset(); - public native void slotAuthData(String arg1, String arg2, boolean arg3); - public native void slotDelAuthData(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/SimpleJob.java b/kdejava/koala/org/kde/koala/SimpleJob.java deleted file mode 100644 index fb98b9ee..00000000 --- a/kdejava/koala/org/kde/koala/SimpleJob.java +++ /dev/null @@ -1,146 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - A simple job (one url and one command). - This is the base class for all jobs that are scheduled. - Other jobs are high-level jobs (CopyJob, DeleteJob, FileCopyJob...) - that manage subjobs but aren't scheduled directly. - @short A simple job (one url and one command). - -*/ -public class SimpleJob extends Job { - protected SimpleJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new simple job. You don't need to use this constructor, - unless you create a new job that inherits from SimpleJob. - @param url the url of the job - @param command the command of the job - @param packedArgs the arguments - @param showProgressInfo true to show progress information to the user - @short Creates a new simple job. - */ - public SimpleJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo) { - super((Class) null); - newSimpleJob(url,command,packedArgs,showProgressInfo); - } - private native void newSimpleJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo); - /** - Returns the SimpleJob's URL - @return the url - - @short Returns the SimpleJob's URL - */ - public native KURL url(); - /** - Abort job. - This kills all subjobs and deletes the job. - @param quietly if true, Job will emit signal result - Should only be set to false when the user kills the job - (from tdeio_uiserver), not when you want to abort a job. - @short Abort job. - */ - public native void kill(boolean quietly); - public native void kill(); - /** - Abort job. - Suspends slave to be reused by another job for the same request. - @short Abort job. - */ - public native void putOnHold(); - /** - Called by the scheduler when a slave gets to - work on this job. - @short - */ - public native void start(Slave slave); - /** - Called to detach a slave from a job. - @short - */ - public native void slaveDone(); - /** - Slave in use by this job. - @short - */ - public native Slave slave(); - /** - @short - */ - public native int command(); - /** - Forward signal from the slave - Can also be called by the parent job, when it knows the size. - @param data_size the total size - @short Forward signal from the slave Can also be called by the parent job, when it knows the size. - */ - public native void slotTotalSize(long data_size); - /** - Called on a slave's error. - Made public for the scheduler. - @short - */ - public native void slotError(int arg1, String arg2); - /** - Discard suspended slave. - @short Discard suspended slave. - */ - public static native void removeOnHold(); - protected native void storeSSLSessionFromJob(KURL m_redirectionURL); - /** - Called when the slave marks the job - as finished. - @short Called when the slave marks the job as finished. - */ - protected native void slotFinished(); - /** - Called on a slave's warning. - @short - */ - protected native void slotWarning(String arg1); - /** - Called on a slave's info message. - @param s the info message - @short Called on a slave's info message. - @see #infoMessage - */ - protected native void slotInfoMessage(String s); - /** - Called on a slave's connected signal. - @short Called on a slave's connected signal. - @see #connected - */ - protected native void slotConnected(); - /** - Forward signal from the slave. - @param data_size the processed size in bytes - @short Forward signal from the slave. - @see #processedSize - */ - protected native void slotProcessedSize(long data_size); - /** - Forward signal from the slave. - @param speed the speed in bytes/s - @short Forward signal from the slave. - @see #speed - */ - protected native void slotSpeed(long speed); - /** - MetaData from the slave is received. - @param _metaData the meta data - @short MetaData from the slave is received. - @see #metaData - */ - // void slotMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED - /** - @short - */ - protected native void slotNeedProgressId(); -} diff --git a/kdejava/koala/org/kde/koala/SkipDlg.java b/kdejava/koala/org/kde/koala/SkipDlg.java deleted file mode 100644 index 16d3a5eb..00000000 --- a/kdejava/koala/org/kde/koala/SkipDlg.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - See {@link SkipDlgSignals} for signals emitted by SkipDlg - @short - -*/ -public class SkipDlg extends KDialog { - protected SkipDlg(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public SkipDlg(TQWidget parent, boolean _multi, String _error_text, boolean _modal) { - super((Class) null); - newSkipDlg(parent,_multi,_error_text,_modal); - } - private native void newSkipDlg(TQWidget parent, boolean _multi, String _error_text, boolean _modal); - public SkipDlg(TQWidget parent, boolean _multi, String _error_text) { - super((Class) null); - newSkipDlg(parent,_multi,_error_text); - } - private native void newSkipDlg(TQWidget parent, boolean _multi, String _error_text); - public native void b0Pressed(); - public native void b1Pressed(); - public native void b2Pressed(); -} diff --git a/kdejava/koala/org/kde/koala/SkipDlgSignals.java b/kdejava/koala/org/kde/koala/SkipDlgSignals.java deleted file mode 100644 index c89f42b7..00000000 --- a/kdejava/koala/org/kde/koala/SkipDlgSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface SkipDlgSignals { - void result(SkipDlg _this, int _button); -} diff --git a/kdejava/koala/org/kde/koala/Slave.java b/kdejava/koala/org/kde/koala/Slave.java deleted file mode 100644 index 5d57bcab..00000000 --- a/kdejava/koala/org/kde/koala/Slave.java +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - Attention developers: If you change the implementation of TDEIO.Slave, - do not use connection() or slaveconn but the respective TDEIO.Slave - accessor methods. Otherwise classes derived from Slave might break. (LS) - See {@link SlaveSignals} for signals emitted by Slave - @short Attention developers: If you change the implementation of TDEIO.Slave, do not use connection() or slaveconn but the respective TDEIO.Slave accessor methods. - -*/ -public class Slave extends SlaveInterface { - protected Slave(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - // TDEIO::Slave* Slave(TDEServerSocket* arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED - public native void setPID(int arg1); - public native int slave_pid(); - /** - Force termination - @short Force termination - */ - public native void kill(); - /** - @return true if the slave survived the last mission. - - @short - */ - public native boolean isAlive(); - /** - Set host for url - @param host to connect to. - @param port to connect to. - @param user to login as - @param passwd to login with - @short Set host for url - */ - public native void setHost(String host, int port, String user, String passwd); - /** - Clear host info. - @short Clear host info. - */ - public native void resetHost(); - /** - Configure slave - @short Configure slave - */ - // void setConfig(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED - /** - The protocol this slave handles. - @return name of protocol handled by this slave, as seen by the user - - @short The protocol this slave handles. - */ - public native String protocol(); - public native void setProtocol(String protocol); - /** - The actual protocol used to handle the request. - This method will return a different protocol than - the one obtained by using protocol() if a - proxy-server is used for the given protocol. This - usually means that this method will return "http" - when the actuall request was to retrieve a resource - from an "ftp" server by going through a proxy server. - @return the actual protocol (io-slave) that handled the request - - @short The actual protocol used to handle the request. - */ - public native String slaveProtocol(); - /** - @return Host this slave is (was?) connected to - - @short - */ - public native String host(); - /** - @return port this slave is (was?) connected to - - @short - */ - public native int port(); - /** - @return User this slave is (was?) logged in as - - @short - */ - public native String user(); - /** - @return Passwd used to log in - - @short - */ - public native String passwd(); - /** - Suspends the operation of the attached tdeioslave. - @short Suspends the operation of the attached tdeioslave. - */ - public native void suspend(); - /** - Resumes the operation of the attached tdeioslave. - @short Resumes the operation of the attached tdeioslave. - */ - public native void resume(); - /** - Tells wether the tdeioslave is suspended. - @return true if the tdeioslave is suspended. - - @short Tells wether the tdeioslave is suspended. - */ - public native boolean suspended(); - /** - Sends the given command to the tdeioslave. - @param cmd command id - @param data byte array containing data - @short Sends the given command to the tdeioslave. - */ - public native void send(int cmd, byte[] data); - public native void send(int cmd); - /** - Puts the tdeioslave associated with <code>url</code> at halt. - @short Puts the tdeioslave associated with <code>url</code> at halt. - */ - public native void hold(KURL url); - /** - @return The time this slave has been idle. - - @short - */ - public native int idleTime(); - /** - Marks this slave as idle. - @short Marks this slave as idle. - */ - public native void setIdle(); - public native boolean isConnected(); - public native void setConnected(boolean c); - public native void ref(); - public native void deref(); - // void accept(TDESocket* arg1); >>>> NOT CONVERTED - public native void gotInput(); - public native void timeout(); - /** - Creates a new slave. - @param protocol protocol the slave is for. - @param url URL the slave should operate on. - @param error is the error code on failure and undefined else. - @param error_text is the error text on failure and undefined else. - @return 0 on failure, or a pointer to a slave otherwise. - @todo What are legal <code>protocol</code> values? - - @short Creates a new slave. - */ - public static native Slave createSlave(String protocol, KURL url, int[] error, StringBuffer error_text); - public static native Slave holdSlave(String protocol, KURL url); -} diff --git a/kdejava/koala/org/kde/koala/SlaveBase.java b/kdejava/koala/org/kde/koala/SlaveBase.java deleted file mode 100644 index 1aa6c8cb..00000000 --- a/kdejava/koala/org/kde/koala/SlaveBase.java +++ /dev/null @@ -1,610 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - There are two classes that specifies the protocol between application (job) - and tdeioslave. SlaveInterface is the class to use on the application end, - SlaveBase is the one to use on the slave end. - Slave implementations should simply inherit SlaveBase - A call to foo() results in a call to slotFoo() on the other end. - @short There are two classes that specifies the protocol between application (job) and tdeioslave. - -*/ -public class SlaveBase implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected SlaveBase(Class dummy){} - - /** - Terminate the slave by calling the destructor and then .exit() - @short - */ - public native void exit(); - /** - @short - */ - public native void dispatchLoop(); - /** - @short - */ - public native void setConnection(Connection connection); - /** - @short - */ - public native Connection connection(); - /** - Sends data in the slave to the job (i.e. in get). - To signal end of data, simply send an empty - byte[](). - @param data the data read by the slave - @short Sends data in the slave to the job (i. - */ - public native void data(byte[] data); - /** - Asks for data from the job. - @short Asks for data from the job. - @see #readData - */ - public native void dataReq(); - /** - Call to signal an error. - This also finishes the job, no need to call finished. - If the Error code is TDEIO.ERR_SLAVE_DEFINED then the - _text should contain the complete translated text of - of the error message. This message will be displayed - in an KTextBrowser which allows rich text complete - with hyper links. Email links will call the default - mailer, "exec:/command arg1 arg2" will be forked and - all other links will call the default browser. - @param _errid the error code from TDEIO.Error - @param _text the rich text error message - @short Call to signal an error. - @see Error - @see KTextBrowser - */ - public native void error(int _errid, String _text); - /** - Call in openConnection, if you reimplement it, when you're done. - @short Call in openConnection, if you reimplement it, when you're done. - */ - public native void connected(); - /** - Call to signal successful completion of any command - (besides openConnection and closeConnection) - @short Call to signal successful completion of any command (besides openConnection and closeConnection) - */ - public native void finished(); - /** - Call to signal that data from the sub-URL is needed - @short Call to signal that data from the sub-URL is needed - */ - public native void needSubURLData(); - /** - Used to report the status of the slave. - @param host the slave is currently connected to. (Should be - empty if not connected) - @param connected Whether an actual network connection exists. - @short Used to report the status of the slave. - */ - public native void slaveStatus(String host, boolean connected); - /** - Call this from stat() to express details about an object, the - UDSEntry customarily contains the atoms describing file name, size, - mimetype, etc. - @param _entry The UDSEntry containing all of the object attributes. - @short Call this from stat() to express details about an object, the UDSEntry customarily contains the atoms describing file name, size, mimetype, etc. - */ - // void statEntry(const TDEIO::UDSEntry& arg1); >>>> NOT CONVERTED - /** - Call this in listDir, each time you have a bunch of entries - to report. - @param _entry The UDSEntry containing all of the object attributes. - @short Call this in listDir, each time you have a bunch of entries to report. - */ - // void listEntries(const TDEIO::UDSEntryList& arg1); >>>> NOT CONVERTED - /** - Call this at the beginning of put(), to give the size of the existing - partial file, if there is one. The <code>offset</code> argument notifies the - other job (the one that gets the data) about the offset to use. - In this case, the booleanean returns whether we can indeed resume or not - (we can't if the protocol doing the get() doesn't support setting an offset) - @short Call this at the beginning of put(), to give the size of the existing partial file, if there is one. - */ - public native boolean canResume(long offset); - public native void canResume(); - /** - Call this in get and copy, to give the total size - of the file - Call in listDir too, when you know the total number of items. - @short Call this in get and copy, to give the total size of the file Call in listDir too, when you know the total number of items. - */ - public native void totalSize(long _bytes); - /** - Call this during get and copy, once in a while, - to give some info about the current state. - Don't emit it in listDir, listEntries speaks for itself. - @short Call this during get and copy, once in a while, to give some info about the current state. - */ - public native void processedSize(long _bytes); - /** - Only use this if you can't know in advance the size of the - copied data. For example, if you're doing variable bitrate - compression of the source. - STUB ! Currently unimplemented. Here now for binary compatibility. - Call this during get and copy, once in a while, - to give some info about the current state. - Don't emit it in listDir, listEntries speaks for itself. - @short Only use this if you can't know in advance the size of the copied data. - */ - public native void processedPercent(float percent); - /** - Call this in get and copy, to give the current transfer - speed, but only if it can't be calculated out of the size you - passed to processedSize (in most cases you don't want to call it) - @short Call this in get and copy, to give the current transfer speed, but only if it can't be calculated out of the size you passed to processedSize (in most cases you don't want to call it) - */ - public native void speed(long _bytes_per_second); - /** - Call this to signal a redirection - The job will take care of going to that url. - @short Call this to signal a redirection The job will take care of going to that url. - */ - public native void redirection(KURL _url); - /** - Tell that we will only get an error page here. - This means: the data you'll get isn't the data you requested, - but an error page (usually HTML) that describes an error. - @short Tell that we will only get an error page here. - */ - public native void errorPage(); - /** - Call this in mimetype() and in get(), when you know the mimetype. - See mimetype about other ways to implement it. - @short Call this in mimetype() and in get(), when you know the mimetype. - */ - public native void mimeType(String _type); - /** - Call to signal a warning, to be displayed in a dialog box. - @short Call to signal a warning, to be displayed in a dialog box. - */ - public native void warning(String msg); - /** - Call to signal a message, to be displayed if the application wants to, - for instance in a status bar. Usual examples are "connecting to host xyz", etc. - @short Call to signal a message, to be displayed if the application wants to, for instance in a status bar. - */ - public native void infoMessage(String msg); - /** - Call this to show a message box from the slave - @param type type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... - @param text Message string. May contain newlines. - @param caption Message box title. - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. - and for Information, none is used. - @return a button code, as defined in KMessageBox, or 0 on communication error. - - @short Call this to show a message box from the slave - */ - // int messageBox(TDEIO::SlaveBase::MessageBoxType arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5); >>>> NOT CONVERTED - // int messageBox(TDEIO::SlaveBase::MessageBoxType arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED - // int messageBox(TDEIO::SlaveBase::MessageBoxType arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED - // int messageBox(TDEIO::SlaveBase::MessageBoxType arg1,const TQString& arg2); >>>> NOT CONVERTED - /** - Call this to show a message box from the slave - @param text Message string. May contain newlines. - @param type type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... - @param caption Message box title. - @param buttonYes The text for the first button. - The default is i18n("&Yes"). - @param buttonNo The text for the second button. - The default is i18n("&No"). - Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. - and for Information, none is used. - @param dontAskAgainName A checkbox is added with which further confirmation can be turned off. - The string is used to lookup and store the setting in tdeioslaverc. - @return a button code, as defined in KMessageBox, or 0 on communication error. - - @short Call this to show a message box from the slave - */ - // int messageBox(const TQString& arg1,TDEIO::SlaveBase::MessageBoxType arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6); >>>> NOT CONVERTED - // int messageBox(const TQString& arg1,TDEIO::SlaveBase::MessageBoxType arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5); >>>> NOT CONVERTED - // int messageBox(const TQString& arg1,TDEIO::SlaveBase::MessageBoxType arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED - // int messageBox(const TQString& arg1,TDEIO::SlaveBase::MessageBoxType arg2,const TQString& arg3); >>>> NOT CONVERTED - // int messageBox(const TQString& arg1,TDEIO::SlaveBase::MessageBoxType arg2); >>>> NOT CONVERTED - /** - Sets meta-data to be send to the application before the first - data() or finished() signal. - @short Sets meta-data to be send to the application before the first data() or finished() signal. - */ - public native void setMetaData(String key, String value); - /** - Queries for the existence of a certain config/meta-data entry - send by the application to the slave. - @short Queries for the existence of a certain config/meta-data entry send by the application to the slave. - */ - public native boolean hasMetaData(String key); - /** - Queries for config/meta-data send by the application to the slave. - @short Queries for config/meta-data send by the application to the slave. - */ - public native String metaData(String key); - /** - Returns a configuration object to query config/meta-data information - from. - The application provides the slave with all configuration information - relevant for the current protocol and host. - @short Returns a configuration object to query config/meta-data information from. - */ - public native TDEConfigBase config(); - /** - Returns an object that can translate remote filenames into proper - Unicode forms. This encoding can be set by the user. - @short Returns an object that can translate remote filenames into proper Unicode forms. - */ - // KRemoteEncoding* remoteEncoding(); >>>> NOT CONVERTED - /** - Set the host - @param pass Called directly by createSlave, this is why there is no equivalent in - SlaveInterface, unlike the other methods. - This method is called whenever a change in host, port or user occurs. - @short Set the host - */ - public native void setHost(String host, int port, String user, String pass); - /** - Prepare slave for streaming operation - @short Prepare slave for streaming operation - */ - public native void setSubURL(KURL url); - /** - Opens the connection (forced) - When this function gets called the slave is operating in - connection-oriented mode. - When a connection gets lost while the slave operates in - connection oriented mode, the slave should report - ERR_CONNECTION_BROKEN instead of reconnecting. The user is - expected to disconnect the slave in the error handler. - @short Opens the connection (forced) When this function gets called the slave is operating in connection-oriented mode. - */ - public native void openConnection(); - /** - Closes the connection (forced) - Called when the application disconnects the slave to close - any open network connections. - When the slave was operating in connection-oriented mode, - it should reset itself to connectionless (default) mode. - @short Closes the connection (forced) Called when the application disconnects the slave to close any open network connections. - */ - public native void closeConnection(); - /** - get, aka read. - @param url the full url for this request. Host, port and user of the URL - can be assumed to be the same as in the last setHost() call. - The slave emits the data through data - @short get, aka read. - */ - public native void get(KURL url); - /** - put, aka write. - @param url where to write the file (decoded) - @param permissions may be -1. In this case no special permission mode is set. - @param overwrite if true, any existing file will be overwritten. - If the file indeed already exists, the slave should NOT apply the - permissions change to it. - @param resume @short put, aka write. - */ - public native void put(KURL url, int permissions, boolean overwrite, boolean resume); - /** - Finds all details for one file or directory. - The information returned is the same as what listDir returns, - but only for one file or directory. - @short Finds all details for one file or directory. - */ - public native void stat(KURL url); - /** - Finds mimetype for one file or directory. - This method should either emit 'mimeType' or it - should send a block of data big enough to be able - to determine the mimetype. - If the slave doesn't reimplement it, a get will - be issued, i.e. the whole file will be downloaded before - determining the mimetype on it - this is obviously not a - good thing in most cases. - @short Finds mimetype for one file or directory. - */ - public native void mimetype(KURL url); - /** - Lists the contents of <code>url.</code> - The slave should emit ERR_CANNOT_ENTER_DIRECTORY if it doesn't exist, - if we don't have enough permissions, or if it is a file - It should also emit totalFiles as soon as it knows how many - files it will list. - @short Lists the contents of <code>url.</code> - */ - public native void listDir(KURL url); - /** - Create a directory - @param url path to the directory to create - @param permissions the permissions to set after creating the directory - (-1 if no permissions to be set) - The slave emits ERR_COULD_NOT_MKDIR if failure. - @short Create a directory - */ - public native void mkdir(KURL url, int permissions); - /** - Rename <code>oldname</code> into <code>newname.</code> - If the slave returns an error ERR_UNSUPPORTED_ACTION, the job will - ask for copy + del instead. - @param src where to move the file from - @param dest where to move the file to - @param overwrite if true, any existing file will be overwritten - @short Rename <code>oldname</code> into <code>newname.</code> - */ - public native void rename(KURL src, KURL dest, boolean overwrite); - /** - Creates a symbolic link named <code>dest</code>, pointing to <code>target</code>, which - may be a relative or an absolute path. - @param target The string that will become the "target" of the link (can be relative) - @param dest The symlink to create. - @param overwrite whether to automatically overwrite if the dest exists - @short Creates a symbolic link named <code>dest</code>, pointing to <code>target</code>, which may be a relative or an absolute path. - */ - public native void symlink(String target, KURL dest, boolean overwrite); - /** - Change permissions on <code>path</code> - The slave emits ERR_DOES_NOT_EXIST or ERR_CANNOT_CHMOD - @short Change permissions on <code>path</code> The slave emits ERR_DOES_NOT_EXIST or ERR_CANNOT_CHMOD - */ - public native void chmod(KURL url, int permissions); - /** - Copy <code>src</code> into <code>dest.</code> - If the slave returns an error ERR_UNSUPPORTED_ACTION, the job will - ask for get + put instead. - @param src where to copy the file from (decoded) - @param dest where to copy the file to (decoded) - @param permissions may be -1. In this case no special permission mode is set. - @param overwrite if true, any existing file will be overwritten - @short Copy <code>src</code> into <code>dest.</code> - */ - public native void copy(KURL src, KURL dest, int permissions, boolean overwrite); - /** - Delete a file or directory. - @param url file/directory to delete - @param isfile if true, a file should be deleted. - if false, a directory should be deleted. - @short Delete a file or directory. - */ - public native void del(KURL url, boolean isfile); - /** - Used for any command that is specific to this slave (protocol) - Examples are : HTTP POST, mount and unmount (tdeio_file) - @param data packed data; the meaning is completely dependent on the - slave, but usually starts with an int for the command number. - Document your slave's commands, at least in its header file. - @short Used for any command that is specific to this slave (protocol) Examples are : HTTP POST, mount and unmount (tdeio_file) - */ - public native void special(byte[] data); - /** - Used for multiple get. Currently only used foir HTTP pielining - support. - @param data packed data; Contains number of URLs to fetch, and for - each URL the URL itself and its associated MetaData. - @short Used for multiple get. - */ - public native void multiGet(byte[] data); - /** - Called to get the status of the slave. Slave should respond - by calling slaveStatus(...) - @short Called to get the status of the slave. - */ - public native void slave_status(); - /** - Called by the scheduler to tell the slave that the configuration - changed (i.e. proxy settings) . - @short Called by the scheduler to tell the slave that the configuration changed (i. - */ - public native void reparseConfiguration(); - /** - @return timeout value for connecting to remote host. - - @short - */ - public native int connectTimeout(); - /** - @return timeout value for connecting to proxy in secs. - - @short - */ - public native int proxyConnectTimeout(); - /** - @return timeout value for read from first data from - remote host in seconds. - - @short - */ - public native int responseTimeout(); - /** - @return timeout value for read from subsequent data from - remote host in secs. - - @short - */ - public native int readTimeout(); - /** - This function sets a timeout of <code>timeout</code> seconds and calls - special(data) when the timeout occurs as if it was called by the - application. - A timeout can only occur when the slave is waiting for a command - from the application. - Specifying a negative timeout cancels a pending timeout. - Only one timeout at a time is supported, setting a timeout - cancels any pending timeout. - @short This function sets a timeout of <code>timeout</code> seconds and calls special(data) when the timeout occurs as if it was called by the application. - */ - public native void setTimeoutSpecialCommand(int timeout, byte[] data); - public native void setTimeoutSpecialCommand(int timeout); - /** - @short - */ - public native boolean dispatch(); - /** - @short - */ - public native void dispatch(int command, byte[] data); - /** - Read data send by the job, after a dataReq - @param buffer buffer where data is stored - @return 0 on end of data, - > 0 bytes read - < 0 error - - @short Read data send by the job, after a dataReq - */ - public native int readData(byte[] buffer); - /** - internal function to be called by the slave. - It collects entries and emits them via listEntries - when enough of them are there or a certain time - frame exceeded (to make sure the app gets some - items in time but not too many items one by one - as this will cause a drastic performance penalty) - @param _entry The UDSEntry containing all of the object attributes. - @param ready set to true after emitting all items. <code>_entry</code> is not - used in this case - @short internal function to be called by the slave. - */ - // void listEntry(const TDEIO::UDSEntry& arg1,bool arg2); >>>> NOT CONVERTED - /** - internal function to connect a slave to/ disconnect from - either the slave pool or the application - @short internal function to connect a slave to/ disconnect from either the slave pool or the application - */ - public native void connectSlave(String path); - public native void disconnectSlave(); - /** - Prompt the user for Authorization info (login & password). - Use this function to request authorization information from - the end user. You can also pass an error message which explains - why a previous authorization attempt failed. Here is a very - simple example: - <pre> - TDEIO.AuthInfo authInfo; - if ( openPassDlg( authInfo ) ) - { - kdDebug() << String.fromLatin1("User: ") - << authInfo.username << endl; - kdDebug() << String.fromLatin1("Password: ") - << String.fromLatin1("Not displayed here!") << endl; - } - </pre> - You can also preset some values like the username, caption or - comment as follows: - <pre> - TDEIO.AuthInfo authInfo; - authInfo.caption= "Acme Password Dialog"; - authInfo.username= "Wile E. Coyote"; - String errorMsg = "You entered an incorrect password."; - if ( openPassDlg( authInfo, errorMsg ) ) - { - kdDebug() << String.fromLatin1("User: ") - << authInfo.username << endl; - kdDebug() << String.fromLatin1("Password: ") - << String.fromLatin1("Not displayed here!") << endl; - } - </pre> - <b>Note:<> You should consider using checkCachedAuthentication() to - see if the password is available in kpasswdserver before calling - this function. - <b>Note:<> A call to this function can fail and return <code>false</code>, - if the UIServer could not be started for whatever reason. - @param info See AuthInfo. - @param errorMsg Error message to show - @return <code>true</code> if user clicks on "OK", <code>false</code> otherwsie. - - @short Prompt the user for Authorization info (login & password). - @see #checkCachedAuthentication - */ - public native boolean openPassDlg(AuthInfo info, String errorMsg); - /** - Same as above function except it does not need error message. - BIC: Combine this function with the above for KDE4. - @short Same as above function except it does not need error message. - */ - public native boolean openPassDlg(AuthInfo info); - /** - Used by the slave to check if it can connect - to a given host. This should be called where the slave is ready - to do a .connect() on a socket. For each call to - requestNetwork must exist a matching call to - dropNetwork, or the system will stay online until - KNetMgr gets closed (or the SlaveBase gets destructed)! - If KNetMgr is not running, then this is a no-op and returns true - @param host tells the netmgr the host the slave wants to connect - to. As this could also be a proxy, we can't just take - the host currenctly connected to (but that's the default - value) - @return true in theorie, the host is reachable - false the system is offline and the host is in a remote network. - - @short Used by the slave to check if it can connect to a given host. - */ - public native boolean requestNetwork(String host); - public native boolean requestNetwork(); - /** - Used by the slave to withdraw a connection requested by - requestNetwork. This function cancels the last call to - requestNetwork. If a client uses more than one internet - connection, it must use dropNetwork(host) to - stop each request. - If KNetMgr is not running, then this is a no-op. - @param host the host passed to requestNetwork - A slave should call this function every time it disconnect from a host. - @short Used by the slave to withdraw a connection requested by requestNetwork. - */ - public native void dropNetwork(String host); - public native void dropNetwork(); - /** - Return the dcop client used by this slave. - @short Return the dcop client used by this slave. - */ - public native DCOPClient dcopClient(); - /** - Wait for an answer to our request, until we get <code>expected1</code> or <code>expected2</code> - @return the result from readData, as well as the cmd in *pCmd if set, and the data in <code>data</code> - - @short Wait for an answer to our request, until we get <code>expected1</code> or <code>expected2</code> - */ - public native int waitForAnswer(int expected1, int expected2, byte[] data, int[] pCmd); - public native int waitForAnswer(int expected1, int expected2, byte[] data); - /** - Internal function to transmit meta data to the application. - @short Internal function to transmit meta data to the application. - */ - public native void sendMetaData(); - /** If your ioslave was killed by a signal, wasKilled() returns true. - Check it regularly in lengthy functions (e.g. in get();) and return - as fast as possible from this function if wasKilled() returns true. - This will ensure that your slave destructor will be called correctly. - @short If your ioslave was killed by a signal, wasKilled() returns true. - */ - public native boolean wasKilled(); - /** Internally used. - @short Internally used. - */ - public native void setKillFlag(); - /** - @short - */ - public static native void sigsegv_handler(int arg1); - /** - @short - */ - public static native void sigpipe_handler(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/SlaveConfigSignals.java b/kdejava/koala/org/kde/koala/SlaveConfigSignals.java deleted file mode 100644 index 6fbf8214..00000000 --- a/kdejava/koala/org/kde/koala/SlaveConfigSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface SlaveConfigSignals { - /** - This signal is raised when a slave of type <code>protocol</code> deals - with <code>host</code> for the first time. - Your application can use this signal to make some last minute - configuration changes with setConfigData based on the - host. - @short This signal is raised when a slave of type <code>protocol</code> deals with <code>host</code> for the first time. - */ - void configNeeded(String protocol, String host); -} diff --git a/kdejava/koala/org/kde/koala/SlaveInterface.java b/kdejava/koala/org/kde/koala/SlaveInterface.java deleted file mode 100644 index fe639fba..00000000 --- a/kdejava/koala/org/kde/koala/SlaveInterface.java +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - There are two classes that specifies the protocol between application - (TDEIO.Job) and tdeioslave. SlaveInterface is the class to use on the application - end, SlaveBase is the one to use on the slave end. - A call to foo() results in a call to slotFoo() on the other end. - See {@link SlaveInterfaceSignals} for signals emitted by SlaveInterface - @short There are two classes that specifies the protocol between application (TDEIO.Job) and tdeioslave. - -*/ -public class SlaveInterface extends TQObject { - protected SlaveInterface(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native void setConnection(Connection connection); - public native Connection connection(); - public native void setProgressId(int id); - public native int progressId(); - /** Send our answer to the MSG_RESUME (canResume) request - (to tell the "put" job whether to resume or not) - @short Send our answer to the MSG_RESUME (canResume) request (to tell the "put" job whether to resume or not) - */ - public native void sendResumeAnswer(boolean resume); - public native void setOffset(long offset); - public native long offset(); -} diff --git a/kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java b/kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java deleted file mode 100644 index a914537f..00000000 --- a/kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface SlaveInterfaceSignals { - void data(byte[] arg1); - void dataReq(); - void error(int arg1, String arg2); - void connected(); - void finished(); - void slaveStatus(int arg1, String arg2, String arg3, boolean arg4); - // void listEntries(const TDEIO::UDSEntryList& arg1); >>>> NOT CONVERTED - // void statEntry(const TDEIO::UDSEntry& arg1); >>>> NOT CONVERTED - void needSubURLData(); - void needProgressId(); - void canResume(long arg1); - // void metaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED - void totalSize(long arg1); - void processedSize(long arg1); - void redirection(KURL arg1); - void speed(long arg1); - void errorPage(); - void mimeType(String arg1); - void warning(String arg1); - void infoMessage(String arg1); - void connectFinished(); -} diff --git a/kdejava/koala/org/kde/koala/SlaveSignals.java b/kdejava/koala/org/kde/koala/SlaveSignals.java deleted file mode 100644 index 998261a5..00000000 --- a/kdejava/koala/org/kde/koala/SlaveSignals.java +++ /dev/null @@ -1,9 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface SlaveSignals { - void slaveDied(Slave slave); -} diff --git a/kdejava/koala/org/kde/koala/StatJob.java b/kdejava/koala/org/kde/koala/StatJob.java deleted file mode 100644 index 73a7b62f..00000000 --- a/kdejava/koala/org/kde/koala/StatJob.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - A TDEIO job that retrieves information about a file or directory. - See {@link StatJobSignals} for signals emitted by StatJob - @short A TDEIO job that retrieves information about a file or directory. - @see #stat - -*/ -public class StatJob extends SimpleJob { - protected StatJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not use this constructor to create a StatJob, use TDEIO.stat() instead. - @param url the url of the file or directory to check - @param command the command to issue - @param packedArgs the arguments - @param showProgressInfo true to show progress information to the user - @short Do not use this constructor to create a StatJob, use TDEIO.stat() instead. - */ - public StatJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo) { - super((Class) null); - newStatJob(url,command,packedArgs,showProgressInfo); - } - private native void newStatJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo); - /** - A stat() can have two meanings. Either we want to read from this URL, - or to check if we can write to it. First case is "source", second is "dest". - It is necessary to know what the StatJob is for, to tune the tdeioslave's behavior - (e.g. with FTP). - @param source true for "source" mode, false for "dest" mode - @short A stat() can have two meanings. - */ - public native void setSide(boolean source); - /** - Selects the level of <code>details</code> we want. - By default this is 2 (all details wanted, including modification time, size, etc.), - setDetails(1) is used when deleting: we don't need all the information if it takes - too much time, no need to follow symlinks etc. - setDetails(0) is used for very simple probing: we'll only get the answer - "it's a file or a directory, or it doesn't exist". This is used by KRun. - @param details 2 for all details, 1 for simple, 0 for very simple - @short Selects the level of <code>details</code> we want. - */ - public native void setDetails(short details); - /** - Call this in the slot connected to result, - and only after making sure no error happened. - @return the result of the stat - - @short Call this in the slot connected to result, and only after making sure no error happened. - */ - // const TDEIO::UDSEntry& statResult(); >>>> NOT CONVERTED - /** - Called by the scheduler when a <code>slave</code> gets to - work on this job. - @param slave the slave that starts working on this job - @short - */ - public native void start(Slave slave); - // void slotStatEntry(const TDEIO::UDSEntry& arg1); >>>> NOT CONVERTED - protected native void slotRedirection(KURL url); - protected native void slotFinished(); - // void slotMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/StatJobSignals.java b/kdejava/koala/org/kde/koala/StatJobSignals.java deleted file mode 100644 index 46539cea..00000000 --- a/kdejava/koala/org/kde/koala/StatJobSignals.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface StatJobSignals { - /** - Signals a redirection. - Use to update the URL shown to the user. - The redirection itself is handled internally. - @param job the job that is redirected - @param url the new url - @short Signals a redirection. - */ - void redirection(Job job, KURL url); - /** - Signals a permanent redirection. - The redirection itself is handled internally. - @param job the job that is redirected - @param fromUrl the original URL - @param toUrl the new URL - @short Signals a permanent redirection. - */ - void permanentRedirection(Job job, KURL fromUrl, KURL toUrl); -} diff --git a/kdejava/koala/org/kde/koala/StatusBarExtension.java b/kdejava/koala/org/kde/koala/StatusBarExtension.java deleted file mode 100644 index 720b1f16..00000000 --- a/kdejava/koala/org/kde/koala/StatusBarExtension.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - Every part can use this class to customize the statusbar as long as it is active. - Add items via addStatusBarItem() and remove an item with removeStatusBarItem(). - IMPORTANT: do NOT add any items immediately after constructing the extension. - Give the application time to set the statusbar in the extension if necessary. - @short An extension for KParts that allows more sophisticated statusbar handling. - -*/ -public class StatusBarExtension extends TQObject { - protected StatusBarExtension(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public StatusBarExtension(ReadOnlyPart parent, String name) { - super((Class) null); - newStatusBarExtension(parent,name); - } - private native void newStatusBarExtension(ReadOnlyPart parent, String name); - public StatusBarExtension(ReadOnlyPart parent) { - super((Class) null); - newStatusBarExtension(parent); - } - private native void newStatusBarExtension(ReadOnlyPart parent); - /** - This adds a widget to the statusbar for this part. - If you use this method instead of using statusBar() directly, - this extension will take care of removing the items when the parts GUI - is deactivated and will re-add them when it is reactivated. - The parameters are the same as TQStatusBar.addWidget(). - Note that you can't use KStatusBar methods (inserting text items by id) - but you can create a KStatusBarLabel with a dummy id instead, and use - it directly in order to get the same look and feel. - @param widget the widget to add - @param stretch the stretch factor. 0 for a minimum size. - @param permanent passed to TQStatusBar.addWidget as the "permanent" boolean. - Note that the item isn't really permanent though, it goes away when - the part is unactivated. This simply controls where temporary messages - hide the <code>widget</code>, and whether it's added to the left or to the right side. - IMPORTANT: do NOT add any items immediately after constructing the extension. - Give the application time to set the statusbar in the extension if necessary. - @short This adds a widget to the statusbar for this part. - */ - public native void addStatusBarItem(TQWidget widget, int stretch, boolean permanent); - /** - Remove a <code>widget</code> from the statusbar for this part. - @short Remove a <code>widget</code> from the statusbar for this part. - */ - public native void removeStatusBarItem(TQWidget widget); - /** - @return the statusbar of the TDEMainWindow in which this part is currently embedded. - WARNING: this could return 0L - - @short - */ - public native KStatusBar statusBar(); - /** - This allows the hosting application to set a particular KStatusBar - for this part. If it doesn't do this, the statusbar used will be - the one of the TDEMainWindow in which the part is embedded. - Konqueror uses this to assign a view-statusbar to the part. - The part should never call this method! - @short This allows the hosting application to set a particular KStatusBar for this part. - */ - public native void setStatusBar(KStatusBar status); - /** @internal @short @internal - */ - public native boolean eventFilter(TQObject watched, TQEvent ev); - /** - Queries <code>obj</code> for a child object which inherits from this - BrowserExtension class. Convenience method. - @short Queries <code>obj</code> for a child object which inherits from this BrowserExtension class. - */ - public static native StatusBarExtension childObject(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/StatusbarProgress.java b/kdejava/koala/org/kde/koala/StatusbarProgress.java deleted file mode 100644 index 68076170..00000000 --- a/kdejava/koala/org/kde/koala/StatusbarProgress.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - - This is a special IO progress widget. - Similarly to DefaultProgress, - it's purpose is to show a progress of the IO operation. - Instead of creating a separate window, this is only a widget that can be - easily embedded in a statusbar. - Usage of StatusbarProgress is little different. - This dialog will be a part of some application. - <pre> - // create a dialog - StatusbarProgress statusProgress; - statusProgress = new StatusbarProgress( statusBar() ); - statusBar().insertWidget( statusProgress, statusProgress.width() , 0 ); - ... - // create job and connect it to the progress - CopyJob job = TDEIO.copy(...); - statusProgress.setJob( job ); - ... - </pre> - @author Matej Koss <koss@miesto.sk> - - @short IO progress widget for embedding in a statusbar. - -*/ -public class StatusbarProgress extends ProgressBase { - protected StatusbarProgress(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new StatusbarProgress. - @param parent the parent of this widget - @param button true to add an abort button. The button will be - connected to ProgressBase.slotStop() - @short Creates a new StatusbarProgress. - */ - public StatusbarProgress(TQWidget parent, boolean button) { - super((Class) null); - newStatusbarProgress(parent,button); - } - private native void newStatusbarProgress(TQWidget parent, boolean button); - public StatusbarProgress(TQWidget parent) { - super((Class) null); - newStatusbarProgress(parent); - } - private native void newStatusbarProgress(TQWidget parent); - /** - Sets the job to monitor. - @param job the job to monitor - @short Sets the job to monitor. - */ - public native void setJob(Job job); - public native void slotClean(); - public native void slotTotalSize(Job job, long size); - public native void slotPercent(Job job, long percent); - public native void slotSpeed(Job job, long speed); - protected native void setMode(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); -} diff --git a/kdejava/koala/org/kde/koala/StoredTransferJob.java b/kdejava/koala/org/kde/koala/StoredTransferJob.java deleted file mode 100644 index c62500cf..00000000 --- a/kdejava/koala/org/kde/koala/StoredTransferJob.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - StoredTransferJob is a TransferJob (for downloading or uploading data) that - also stores a byte[] with the data, making it simpler to use than the - standard TransferJob. - For TDEIO.storedGet it puts the data into the member byte[], so the user - of this class can get hold of the whole data at once by calling data() - when the result signal is emitted. - You should only use StoredTransferJob to download data if you cannot - process the data by chunks while it's being downloaded, since storing - everything in a byte[] can potentially require a lot of memory. - For TDEIO.storedPut the user of this class simply provides the bytearray from - the start, and the job takes care of uploading it. - You should only use StoredTransferJob to upload data if you cannot - provide the in chunks while it's being uploaded, since storing - everything in a byte[] can potentially require a lot of memory. - @short StoredTransferJob is a TransferJob (for downloading or uploading data) that also stores a TQByteArray with the data, making it simpler to use than the standard TransferJob. - -*/ -public class StoredTransferJob extends TransferJob { - protected StoredTransferJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a StoredTransferJob. Use storedGet() or storedPut() - instead. - @param url the url to get or put - @param command the command to issue - @param packedArgs the arguments - @param _staticData additional data to transmit (e.g. in a HTTP Post) - @param showProgressInfo true to show progress information to the user - @short Do not create a StoredTransferJob. - */ - public StoredTransferJob(KURL url, int command, byte[] packedArgs, byte[] _staticData, boolean showProgressInfo) { - super((Class) null); - newStoredTransferJob(url,command,packedArgs,_staticData,showProgressInfo); - } - private native void newStoredTransferJob(KURL url, int command, byte[] packedArgs, byte[] _staticData, boolean showProgressInfo); - /** - Set data to be uploaded. This is for put jobs. - Automatically called by TDEIO.storedPut(const byte[] &, ...), - do not call this yourself. - @short Set data to be uploaded. - */ - public native void setData(byte[] arr); - /** - Get hold of the downloaded data. This is for get jobs. - You're supposed to call this only from the slot connected to the result() signal. - @short Get hold of the downloaded data. - */ - public native byte[] data(); -} diff --git a/kdejava/koala/org/kde/koala/StyleSheet.java b/kdejava/koala/org/kde/koala/StyleSheet.java deleted file mode 100644 index e83a5b0c..00000000 --- a/kdejava/koala/org/kde/koala/StyleSheet.java +++ /dev/null @@ -1,126 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - The <code>StyleSheet</code> interface is the abstract base - interface for any type of style sheet. It represents a single style - sheet associated with a structured document. In HTML, the - StyleSheet interface represents either an external style sheet, - included via the HTML <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#h-12.3"> - LINK </a> element, or an inline <a - href="http://www.w3.org/TR/REC-html40/present/styles.html#h-14.2.3"> - STYLE </a> element. In XML, this interface represents an external - style sheet, included via a <a - href="http://www.w3.org/TR/xml-stylesheet"> style sheet processing - instruction </a> . - @short The <code>StyleSheet</code> interface is the abstract base interface for any type of style sheet. - -*/ -public class StyleSheet implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected StyleSheet(Class dummy){} - - public StyleSheet() { - newStyleSheet(); - } - private native void newStyleSheet(); - public StyleSheet(StyleSheet other) { - newStyleSheet(other); - } - private native void newStyleSheet(StyleSheet other); - // DOM::StyleSheet* StyleSheet(DOM::StyleSheetImpl* arg1); >>>> NOT CONVERTED - /** - This specifies the style sheet language for this style sheet. - The style sheet language is specified as a content type (e.g. - "text/css"). The content type is often specified in the - <code>ownerNode</code> . A list of registered content types can be - found at <a - href="ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/"> - ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/ </a> . - Also see the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-type-A"> - type attribute definition </a> for the <code>LINK</code> - element in HTML 4.0, and the type pseudo-attribute for the XML - <a href="http://www.w3.org/TR/xml-stylesheet"> style sheet - processing instruction </a> . - @short This specifies the style sheet language for this style sheet. - */ - public native String type(); - /** - <code>false</code> if the style sheet is applied to the - document. <code>true</code> if it is not. Modifying this - attribute may cause a reresolution of style for the document. - @short <code>false</code> if the style sheet is applied to the document. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - The node that associates this style sheet with the document. - For HTML, this may be the corresponding <code>LINK</code> or - <code>STYLE</code> element. For XML, it may be the linking - processing instruction. For style sheets that are included by - other style sheets, this attribute has a value of null. - @short The node that associates this style sheet with the document. - */ - public native Node ownerNode(); - /** - For style sheet languages that support the concept of style - sheet inclusion, this attribute represents the including style - sheet, if one exists. If the style sheet is a top-level style - sheet, or the style sheet language does not support inclusion, - the value of the attribute is null. - @short For style sheet languages that support the concept of style sheet inclusion, this attribute represents the including style sheet, if one exists. - */ - public native StyleSheet parentStyleSheet(); - /** - If the style sheet is a linked style sheet, the value of its - attribute is its location. For inline style sheets, the value - of this attribute is null. See the <a - href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href"> - href attribute definition </a> for the <code>LINK</code> - element in HTML 4.0, and the href pseudo-attribute for the XML - <a href="http://www.w3.org/TR/xml-stylesheet"> style sheet - processing instruction </a> . - @short If the style sheet is a linked style sheet, the value of its attribute is its location. - */ - public native String href(); - /** - The advisory title. The title is often specified in the - <code>ownerNode</code> . See the <a - href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-title"> - title attribute definition </a> for the <code>LINK</code> - element in HTML 4.0, and the title pseudo-attribute for the XML - <a href="http://www.w3.org/TR/xml-stylesheet"> style sheet - processing instruction </a> . - @short The advisory title. - */ - public native String title(); - /** - The intended destination media for style information. The media - is often specified in the <code>ownerNode</code> . See the <a - href="http://www.w3.org/TR/REC-html40/present/styles.html#adef-media"> - media attribute definition </a> for the <code>LINK</code> - element in HTML 4.0, and the media pseudo-attribute for the XML - <a href="http://www.w3.org/TR/WD-xml-stylesheet"> style sheet - processing instruction </a> . - @short The intended destination media for style information. - */ - public native ArrayList media(); - /** - @short - */ - public native boolean isCSSStyleSheet(); - // DOM::StyleSheetImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutApplication.java b/kdejava/koala/org/kde/koala/TDEAboutApplication.java deleted file mode 100644 index 63292360..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutApplication.java +++ /dev/null @@ -1,102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This class provides the standard "About Application" dialog box - that is used by KHelpMenu. It uses the information of the global - TDEAboutData that is specified at the start of your program in - main(). Normally you should not use this class directly but rather - the KHelpMenu class or even better just subclass your toplevel - window from TDEMainWindow. If you do the latter, the help menu and - thereby this dialog box is available through the - TDEMainWindow.helpMenu() function. - @author Waldo Bastian (bastian@kde.org) and Espen Sand (espen@kde.org) - - @short Standard "About Application" dialog box. - -*/ -public class TDEAboutApplication extends TDEAboutDialog { - protected TDEAboutApplication(Class dummy){super((Class) null);} - /** - Constructor. Creates a fully featured "About Application" dialog box. - Note that this dialog is made modeless in the KHelpMenu class so - the users may expect a modeless dialog. - @param parent The parent of the dialog box. You should use the - toplevel window so that the dialog becomes centered. - @param name Internal name of the widget. This name is not used in the - caption. - @param modal If false, this widget will be modeless and must be - made visible using TQWidget.show(). Otherwise it will be - modal and must be made visible using TQWidget.exec(). - @short Constructor. - */ - public TDEAboutApplication(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTDEAboutApplication(parent,name,modal); - } - private native void newTDEAboutApplication(TQWidget parent, String name, boolean modal); - public TDEAboutApplication(TQWidget parent, String name) { - super((Class) null); - newTDEAboutApplication(parent,name); - } - private native void newTDEAboutApplication(TQWidget parent, String name); - public TDEAboutApplication(TQWidget parent) { - super((Class) null); - newTDEAboutApplication(parent); - } - private native void newTDEAboutApplication(TQWidget parent); - public TDEAboutApplication() { - super((Class) null); - newTDEAboutApplication(); - } - private native void newTDEAboutApplication(); - /** - Constructor. Mostly does the same stuff as the previous constructor, except - that it can take a custom TDEAboutData object instead of the one specified - in your main() function. This is especially useful for applications - which are implemented as (dynamically loaded) libraries, e.g. panel - applets. - @param aboutData A pointer to a TDEAboutData object which data - will be used for filling the dialog. - @param parent The parent of the dialog box. You should use the - toplevel window so that the dialog becomes centered. - @param name Internal name of the widget. This name is not used in the - caption. - @param modal If false, this widget will be modeless and must be - made visible using TQWidget.show(). Otherwise it will be - modal and must be made visible using TQWidget.exec(). - @short Constructor. - */ - public TDEAboutApplication(TDEAboutData aboutData, TQWidget parent, String name, boolean modal) { - super((Class) null); - newTDEAboutApplication(aboutData,parent,name,modal); - } - private native void newTDEAboutApplication(TDEAboutData aboutData, TQWidget parent, String name, boolean modal); - public TDEAboutApplication(TDEAboutData aboutData, TQWidget parent, String name) { - super((Class) null); - newTDEAboutApplication(aboutData,parent,name); - } - private native void newTDEAboutApplication(TDEAboutData aboutData, TQWidget parent, String name); - public TDEAboutApplication(TDEAboutData aboutData, TQWidget parent) { - super((Class) null); - newTDEAboutApplication(aboutData,parent); - } - private native void newTDEAboutApplication(TDEAboutData aboutData, TQWidget parent); - public TDEAboutApplication(TDEAboutData aboutData) { - super((Class) null); - newTDEAboutApplication(aboutData); - } - private native void newTDEAboutApplication(TDEAboutData aboutData); - protected native void buildDialog(TDEAboutData aboutData); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutContainer.java b/kdejava/koala/org/kde/koala/TDEAboutContainer.java deleted file mode 100644 index 0ebfddc9..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutContainer.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQChildEvent; -import org.kde.qt.TQFrame; - -/** - - TDEAboutContainer can be used to make a application specific AboutDialog. - See {@link TDEAboutContainerSignals} for signals emitted by TDEAboutContainer - @short TDEAboutContainer can be used to make a application specific AboutDialog. - -*/ -public class TDEAboutContainer extends TQFrame { - protected TDEAboutContainer(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment) { - super((Class) null); - newTDEAboutContainer(parent,name,margin,spacing,childAlignment,innerAlignment); - } - private native void newTDEAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment); - public TDEAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment) { - super((Class) null); - newTDEAboutContainer(parent,name,margin,spacing,childAlignment); - } - private native void newTDEAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment); - public TDEAboutContainer(TQWidget parent, String name, int margin, int spacing) { - super((Class) null); - newTDEAboutContainer(parent,name,margin,spacing); - } - private native void newTDEAboutContainer(TQWidget parent, String name, int margin, int spacing); - public TDEAboutContainer(TQWidget parent, String name, int margin) { - super((Class) null); - newTDEAboutContainer(parent,name,margin); - } - private native void newTDEAboutContainer(TQWidget parent, String name, int margin); - public TDEAboutContainer(TQWidget parent, String name) { - super((Class) null); - newTDEAboutContainer(parent,name); - } - private native void newTDEAboutContainer(TQWidget parent, String name); - public TDEAboutContainer(TQWidget parent) { - super((Class) null); - newTDEAboutContainer(parent); - } - private native void newTDEAboutContainer(TQWidget parent); - public TDEAboutContainer() { - super((Class) null); - newTDEAboutContainer(); - } - private native void newTDEAboutContainer(); - public native void addWidget(TQWidget widget); - public native void addPerson(String name, String email, String url, String task, boolean showHeader, boolean showframe, boolean showBold); - public native void addPerson(String name, String email, String url, String task, boolean showHeader, boolean showframe); - public native void addPerson(String name, String email, String url, String task, boolean showHeader); - public native void addPerson(String name, String email, String url, String task); - public native void addTitle(String title, int alignment, boolean showframe, boolean showBold); - public native void addTitle(String title, int alignment, boolean showframe); - public native void addTitle(String title, int alignment); - public native void addTitle(String title); - public native void addImage(String fileName, int alignment); - public native void addImage(String fileName); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - protected native void childEvent(TQChildEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutContainerSignals.java b/kdejava/koala/org/kde/koala/TDEAboutContainerSignals.java deleted file mode 100644 index 3e6350f4..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutContainerSignals.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQChildEvent; - -public interface TDEAboutContainerSignals { - void urlClick(String url); - void mailClick(String name, String address); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutContributor.java b/kdejava/koala/org/kde/koala/TDEAboutContributor.java deleted file mode 100644 index 376647e0..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutContributor.java +++ /dev/null @@ -1,99 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - Used internally by TDEAboutWidget - See {@link TDEAboutContributorSignals} for signals emitted by TDEAboutContributor - @short Used internally by TDEAboutWidget - -*/ -public class TDEAboutContributor extends TQFrame { - protected TDEAboutContributor(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame, boolean showBold) { - super((Class) null); - newTDEAboutContributor(parent,name,username,email,url,work,showHeader,showFrame,showBold); - } - private native void newTDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame, boolean showBold); - public TDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame) { - super((Class) null); - newTDEAboutContributor(parent,name,username,email,url,work,showHeader,showFrame); - } - private native void newTDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame); - public TDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader) { - super((Class) null); - newTDEAboutContributor(parent,name,username,email,url,work,showHeader); - } - private native void newTDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader); - public TDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work) { - super((Class) null); - newTDEAboutContributor(parent,name,username,email,url,work); - } - private native void newTDEAboutContributor(TQWidget parent, String name, String username, String email, String url, String work); - public TDEAboutContributor(TQWidget parent, String name, String username, String email, String url) { - super((Class) null); - newTDEAboutContributor(parent,name,username,email,url); - } - private native void newTDEAboutContributor(TQWidget parent, String name, String username, String email, String url); - public TDEAboutContributor(TQWidget parent, String name, String username, String email) { - super((Class) null); - newTDEAboutContributor(parent,name,username,email); - } - private native void newTDEAboutContributor(TQWidget parent, String name, String username, String email); - public TDEAboutContributor(TQWidget parent, String name, String username) { - super((Class) null); - newTDEAboutContributor(parent,name,username); - } - private native void newTDEAboutContributor(TQWidget parent, String name, String username); - public TDEAboutContributor(TQWidget parent, String name) { - super((Class) null); - newTDEAboutContributor(parent,name); - } - private native void newTDEAboutContributor(TQWidget parent, String name); - public TDEAboutContributor(TQWidget parent) { - super((Class) null); - newTDEAboutContributor(parent); - } - private native void newTDEAboutContributor(TQWidget parent); - public TDEAboutContributor() { - super((Class) null); - newTDEAboutContributor(); - } - private native void newTDEAboutContributor(); - public native void setName(String text, String header, boolean update); - public native void setName(String text, String header); - public native void setName(String text); - public native void setEmail(String text, String header, boolean update); - public native void setEmail(String text, String header); - public native void setEmail(String text); - public native void setURL(String text, String header, boolean update); - public native void setURL(String text, String header); - public native void setURL(String text); - public native void setWork(String text, String header, boolean update); - public native void setWork(String text, String header); - public native void setWork(String text); - public native String getName(); - public native String getEmail(); - public native String getURL(); - public native String getWork(); - public native TQSize sizeHint(); - protected native void fontChange(TQFont oldFont); - protected native void urlClickedSlot(String arg1); - protected native void emailClickedSlot(String emailaddress); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutContributorSignals.java b/kdejava/koala/org/kde/koala/TDEAboutContributorSignals.java deleted file mode 100644 index 574e2a06..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutContributorSignals.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; - -public interface TDEAboutContributorSignals { - void sendEmail(String name, String email); - void openURL(String url); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutData.java b/kdejava/koala/org/kde/koala/TDEAboutData.java deleted file mode 100644 index 3d0cbaf6..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutData.java +++ /dev/null @@ -1,421 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQImage; - -/** - - This class is used to store information about a program. It can store - such values as version number, program name, home page, email address - for bug reporting, multiple authors and contributors - (using TDEAboutPerson), license and copyright information. - Currently, the values set here are shown by the "About" box - (see TDEAboutDialog), used by the bug report dialog (see KBugReport), - and by the help shown on command line (see TDECmdLineArgs). - @author Espen Sand (espen@kde.org), David Faure (faure@kde.org) - - @short Holds information needed by the "About" box and other classes. - -*/ -public class TDEAboutData implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEAboutData(Class dummy){} - - /** - Descibes the license of the software. - @short Descibes the license of the software. - */ - public static final int License_Custom = -2; - public static final int License_File = -1; - public static final int License_Unknown = 0; - public static final int License_GPL = 1; - public static final int License_GPL_V2 = 1; - public static final int License_LGPL = 2; - public static final int License_LGPL_V2 = 2; - public static final int License_BSD = 3; - public static final int License_Artistic = 4; - public static final int License_QPL = 5; - public static final int License_QPL_V1_0 = 5; - - /** - Constructor. - @param appName The program name used internally. Example: "kedit" - @param programName A displayable program name string. This string - should be marked for translation. Example: I18N_NOOP("KEdit") - @param version The program version string. - @param shortDescription A short description of what the program does. - This string should be marked for translation. - Example: I18N_NOOP("A simple text editor.") - @param licenseType The license identifier. Use setLicenseText if - you use a license not predefined here. - @param copyrightStatement A copyright statement, that can look like this: - "(c) 1999-2000, Name". The string specified here is not modified - in any manner. The author information from addAuthor is not - used. - @param text Some free form text, that can contain any kind of - information. The text can contain newlines. This string - should be marked for translation. - @param homePageAddress The program homepage string. - Start the address with "http://". "http://some.domain" is - is correct, "some.domain" is not. - @param bugsEmailAddress The bug report email address string. - This defaults to the kde.org bug system. - @short Constructor. - */ - public TDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement, String text, String homePageAddress, String bugsEmailAddress) { - newTDEAboutData(appName,programName,version,shortDescription,licenseType,copyrightStatement,text,homePageAddress,bugsEmailAddress); - } - private native void newTDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement, String text, String homePageAddress, String bugsEmailAddress); - public TDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement, String text, String homePageAddress) { - newTDEAboutData(appName,programName,version,shortDescription,licenseType,copyrightStatement,text,homePageAddress); - } - private native void newTDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement, String text, String homePageAddress); - public TDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement, String text) { - newTDEAboutData(appName,programName,version,shortDescription,licenseType,copyrightStatement,text); - } - private native void newTDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement, String text); - public TDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement) { - newTDEAboutData(appName,programName,version,shortDescription,licenseType,copyrightStatement); - } - private native void newTDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType, String copyrightStatement); - public TDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType) { - newTDEAboutData(appName,programName,version,shortDescription,licenseType); - } - private native void newTDEAboutData(String appName, String programName, String version, String shortDescription, int licenseType); - public TDEAboutData(String appName, String programName, String version, String shortDescription) { - newTDEAboutData(appName,programName,version,shortDescription); - } - private native void newTDEAboutData(String appName, String programName, String version, String shortDescription); - public TDEAboutData(String appName, String programName, String version) { - newTDEAboutData(appName,programName,version); - } - private native void newTDEAboutData(String appName, String programName, String version); - /** - Defines an author. You can call this function as many times you - need. Each entry is appended to a list. The person in the first entry - is assumed to be the leader of the project. - @param name The developer's name in UTF-8 encoding. - @param task What the person is responsible for. This text can contain - newlines. It should be marked for translation like this: - I18N_NOOP("Task description..."). Can be 0. - @param emailAddress An Email address where the person can be reached. - Can be 0. - @param webAddress The person's homepage or a relevant link. - Start the address with "http://". "http://some.domain" is - correct, "some.domain" is not. Can be 0. - @short Defines an author. - */ - public native void addAuthor(String name, String task, String emailAddress, String webAddress); - public native void addAuthor(String name, String task, String emailAddress); - public native void addAuthor(String name, String task); - public native void addAuthor(String name); - /** - Defines a person that deserves credit. You can call this function - as many times you need. Each entry is appended to a list. - @param name The person's name in UTF-8 encoding. - @param task What the person has done to deserve the honor. The - text can contain newlines. It should be marked for - translation like this: I18N_NOOP("Task description...") - Can be 0. - @param emailAddress An Email address when the person can be reached. - Can be 0. - @param webAddress The person's homepage or a relevant link. - Start the address with "http://". "http://some.domain" is - is correct, "some.domain" is not. Can be 0. - @short Defines a person that deserves credit. - */ - public native void addCredit(String name, String task, String emailAddress, String webAddress); - public native void addCredit(String name, String task, String emailAddress); - public native void addCredit(String name, String task); - public native void addCredit(String name); - /** - Sets the name of the translator of the gui. Since this depends - on the language, just use a dummy text marked for translation. - For example: - <pre> - setTranslator(I18N_NOOP("_: NAME OF TRANSLATORS\\nYour names") - ,I18N_NOOP("_: EMAIL OF TRANSLATORS\\nYour emails")); - </pre> - The translator can then translate this dummy text with his name - or with a list of names separated with ",". - If there is no translation or the application is used with the - default language, this function call is ignored. - Note: If you are using the default KDE automake environment, - there is no need to use this function, because the two - default strings above are added to the applications po file - automatically. - @param name the name of the translator - @param emailAddress the email address of the translator - @short Sets the name of the translator of the gui. - @see TDEAboutTranslator - */ - public native void setTranslator(String name, String emailAddress); - /** - Defines a license text. - The text will be translated if it got marked for - translations with the I18N_NOOP() macro. - Example: - <pre> - setLicenseText( I18N_NOOP("This is my license")); - </pre> - NOTE: No copy of the text is made. - @param license The license text in utf8 encoding. - @short Defines a license text. - */ - public native void setLicenseText(String license); - /** - Defines a license text. - @param file File containing the license text. - @short Defines a license text. - */ - public native void setLicenseTextFile(String file); - /** - Defines the program name used internally. - @param appName The application name. Example: "kate". - @short Defines the program name used internally. - */ - public native void setAppName(String appName); - /** - Defines the displayable program name string. - @param programName The program name. This string should be - marked for translation. - Example: I18N_NOOP("Advanced Text Editor"). - @short Defines the displayable program name string. - */ - public native void setProgramName(String programName); - /** - Defines the program logo. - Use this if you need to have application logo - in AboutData other than application icon. - @param image logo image. - @short Defines the program logo. - @see #programLogo - */ - public native void setProgramLogo(TQImage image); - /** - Defines the program version string. - @param version The program version. - @short Defines the program version string. - */ - public native void setVersion(String version); - /** - Defines a short description of what the program does. - @param shortDescription The program description This string should be marked - for translation. Example: I18N_NOOP("An advanced text editor - with syntax highlithing support."). - @short Defines a short description of what the program does. - */ - public native void setShortDescription(String shortDescription); - /** - Defines the license identifier. - @param licenseKey The license identifier. - @short Defines the license identifier. - */ - public native void setLicense(int licenseKey); - /** - Defines the copyright statement to show when displaying the license. - @param copyrightStatement A copyright statement, that can look like - this: "(c) 1999-2000, Name". The string specified here is not - modified in any manner. The author information from addAuthor - is not used. - @short Defines the copyright statement to show when displaying the license. - */ - public native void setCopyrightStatement(String copyrightStatement); - /** - Defines the additional text to show in the about dialog. - @param otherText Some free form text, that can contain any kind of - information. The text can contain newlines. This string - should be marked for translation. - @short Defines the additional text to show in the about dialog. - */ - public native void setOtherText(String otherText); - /** - Defines the program homepage. - @param homepage The program homepage string. - Start the address with "http://". "http://kate.kde.org" is - is correct, "kde.kde.org" is not. - @short Defines the program homepage. - */ - public native void setHomepage(String homepage); - /** - Defines the address where bug reports should be sent. - @param bugAddress The bug report email address string. - This defaults to the kde.org bug system. - @short Defines the address where bug reports should be sent. - */ - public native void setBugAddress(String bugAddress); - /** - Defines the product name wich will be used in the KBugReport dialog. - By default it's the appName, but you can overwrite it here to provide - support for special components e.g. 'product/component' like - 'kontact/summary'. - @param name The name of product - @short Defines the product name wich will be used in the KBugReport dialog. - */ - public native void setProductName(String name); - /** - Returns the application's internal name. - @return the internal program name. - - @short Returns the application's internal name. - */ - public native String appName(); - /** - Returns the application's product name, which will be used in KBugReport - dialog. By default it returns appName(), otherwise the one which is set - with setProductName() - @return the product name. - - @short Returns the application's product name, which will be used in KBugReport dialog. - */ - public native String productName(); - /** - Returns the translated program name. - @return the program name (translated). - - @short Returns the translated program name. - */ - public native String programName(); - /** - Returns the program logo image. - @return the program logo data or null image if there is - no custom application logo defined. - - @short Returns the program logo image. - */ - public native TQImage programLogo(); - /** - Returns the program's version. - @return the version string. - - @short Returns the program's version. - */ - public native String version(); - /** - Returns a short, translated description. - @return the short description (translated). Can be - null if not set. - - @short Returns a short, translated description. - */ - public native String shortDescription(); - /** - Returns the application homepage. - @return the application homepage URL. Can be null if - not set. - - @short Returns the application homepage. - */ - public native String homepage(); - /** - Returns the email address for bugs. - @return the email address where to report bugs. - - @short Returns the email address for bugs. - */ - public native String bugAddress(); - /** - Returns a list of authors. - @return author information (list of persons). - - @short Returns a list of authors. - */ - // const TQValueList<TDEAboutPerson> authors(); >>>> NOT CONVERTED - /** - Returns a list of persons who contributed. - @return credit information (list of persons). - - @short Returns a list of persons who contributed. - */ - // const TQValueList<TDEAboutPerson> credits(); >>>> NOT CONVERTED - /** - Returns a list of translators. - @return translators information (list of persons) - - @short Returns a list of translators. - */ - // const TQValueList<TDEAboutTranslator> translators(); >>>> NOT CONVERTED - /** - Returns a translated, free form text. - @return the free form text (translated). Can be null if not set. - - @short Returns a translated, free form text. - */ - public native String otherText(); - /** - Returns the license. If the licenseType argument of the constructor has been - used, any text defined by setLicenseText is ignored, - and the standard text for the chosen license will be returned. - @return The license text. - - @short Returns the license. - */ - public native String license(); - /** - Returns the copyright statement. - @return the copyright statement. Can be null if not set. - - @short Returns the copyright statement. - */ - public native String copyrightStatement(); - /** - Returns the plain text displayed around the list of authors instead - of the default message telling users to send bug reports to bugAddress(). - @return the plain text displayed around the list of authors instead - of the default message. Can be null. - - @short Returns the plain text displayed around the list of authors instead of the default message telling users to send bug reports to bugAddress(). - */ - public native String customAuthorPlainText(); - /** - Returns the rich text displayed around the list of authors instead - of the default message telling users to send bug reports to bugAddress(). - @return the rich text displayed around the list of authors instead - of the default message. Can be null. - - @short Returns the rich text displayed around the list of authors instead of the default message telling users to send bug reports to bugAddress(). - */ - public native String customAuthorRichText(); - /** - Returns whether custom text should be displayed around the list of - authors. - @return whether custom text should be displayed around the list of - authors. - - @short Returns whether custom text should be displayed around the list of authors. - */ - public native boolean customAuthorTextEnabled(); - /** - Sets the custom text displayed around the list of authors instead - of the default message telling users to send bug reports to bugAddress(). - @param plainText The plain text. - @param richText The rich text. - Both parameters can be null to not display any message at - all. Call unsetCustomAuthorText() to revert to the default mesage. - @short Sets the custom text displayed around the list of authors instead of the default message telling users to send bug reports to bugAddress(). - */ - public native void setCustomAuthorText(String plainText, String richText); - /** - Clears any custom text displayed around the list of authors and falls - back to the default message telling users to send bug reports to - bugAddress(). - @short Clears any custom text displayed around the list of authors and falls back to the default message telling users to send bug reports to bugAddress(). - */ - public native void unsetCustomAuthorText(); - /** - Returns a message about the translation team. - @return a message about the translation team - - @short Returns a message about the translation team. - */ - public static native String aboutTranslationTeam(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutDialog.java b/kdejava/koala/org/kde/koala/TDEAboutDialog.java deleted file mode 100644 index 97a95d25..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutDialog.java +++ /dev/null @@ -1,379 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - A KDialogBase with predefined main widget. - As a KDialogBase it uses your application wide settings - for KDialogBase - objects (base frame tiles, main frame tiles etc). - To use it, simply create a TDEAboutDialog object, set all (or some) of its - properties and show it. Do not derive it to create your own about dialog - until you need some cool features that are unsupported and you have - contacted me to add them. - The dialog can be created using two different constructors. The - difference between these constructors is the available components that - can be used to build the contents of the dialog. The first (Constructor I) - provides a number of easy to use methods. Basically it allows you - to add the components of choice, and the components are placed in a - predefined layout. You do not have to plan the layout. Everything is - taken care of. - The second constructor (Constructor II) works in quite the same manner - as the first, but you have better control on where the components - are postioned in the layout and you have access to an extended number - of components you can install such as titles, product information, - a tabbed pages (where you can display rich text with url links) and - a person (developer) information field. The "About KDE" dialog box is - created with Constructor II. - For the derived features, see the basic class KDialogBase. - See {@link TDEAboutDialogSignals} for signals emitted by TDEAboutDialog - @author Mirko Boehm (mirko@kde.org) and Espen Sand (espensa@online.no) - - @short A KDialogBase with predefined main widget. - @see KDialogBase - -*/ -public class TDEAboutDialog extends KDialogBase { - protected TDEAboutDialog(Class dummy){super((Class) null);} - /** - Layout formats. - @short Layout formats. - */ - public static final int AbtPlain = 0x0001; - public static final int AbtTabbed = 0x0002; - public static final int AbtTitle = 0x0004; - public static final int AbtImageLeft = 0x0008; - public static final int AbtImageRight = 0x0010; - public static final int AbtImageOnly = 0x0020; - public static final int AbtProduct = 0x0040; - public static final int AbtKDEStandard = AbtTabbed|AbtTitle|AbtImageLeft; - public static final int AbtAppStandard = AbtTabbed|AbtTitle|AbtProduct; - public static final int AbtImageAndTitle = AbtPlain|AbtTitle|AbtImageOnly; - - public native TQMetaObject metaObject(); - public native String className(); - /** - The standard Qt constructor (Constructor I). - Add components with the following methods: - setLogo(), setAuthor(), setMaintainer(), - addContributor(), or setVersion(). - The dialog will be laid out automatically. - @short The standard Qt constructor (Constructor I). - */ - public TDEAboutDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTDEAboutDialog(parent,name,modal); - } - private native void newTDEAboutDialog(TQWidget parent, String name, boolean modal); - public TDEAboutDialog(TQWidget parent, String name) { - super((Class) null); - newTDEAboutDialog(parent,name); - } - private native void newTDEAboutDialog(TQWidget parent, String name); - public TDEAboutDialog(TQWidget parent) { - super((Class) null); - newTDEAboutDialog(parent); - } - private native void newTDEAboutDialog(TQWidget parent); - public TDEAboutDialog() { - super((Class) null); - newTDEAboutDialog(); - } - private native void newTDEAboutDialog(); - /** - The extended constructor. (Constructor II). - Add components with the methods: - setTitle(), setImage(), setImageBackgroundColor(), - setImageFrame(), setProduct(), addTextPage(), - addContainerPage(), addContainer(), or addPage(). - @param dialogLayout Use a mask of LayoutType flags. - @param caption The dialog caption. The text you specify is prepended - by i18n("About"). - @param buttonMask Specifies what buttons will be visible. - @param defaultButton Specifies what button will be marked as the default. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only) - @param modal Sets dialog modality. If false, the rest of the - program interface (other dialogs, for example) is accessible while - the dialog is open. - @param separator If true, a separator line is drawn between the action - buttons an the main widget. - @param user1 User button1 text. - @param user2 User button2 text. - @param user3 User button3 text. - @short The extended constructor. - */ - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2,user3); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3); - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2); - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1); - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator); - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal); - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name); - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent); - public TDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton) { - super((Class) null); - newTDEAboutDialog(dialogLayout,caption,buttonMask,defaultButton); - } - private native void newTDEAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton); - /** - Adjusts the dialog. - You can call this method after you have set up all - the contents but it is not required. It is done automatically when - show() is executed. - @short Adjusts the dialog. - */ - public native void adjust(); - /** - Makes a modeless (modal = false in constructor) dialog visible. - If you reimplement this method make sure you run it - in the new method (e.g., show()). Reimplemented - from KDialogBase. - @short Makes a modeless (modal = false in constructor) dialog visible. - */ - public native void show(); - /** - Makes a modeless (modal = false in constructor) dialog visible. - If you reimplmement this method make sure you run it - in the new method (i.e., show( parent )). - @param centerParent Center the dialog with respect to this widget. - @short Makes a modeless (modal = false in constructor) dialog visible. - */ - public native void show(TQWidget centerParent); - /** - (Constructor II only) - Sets a title (not caption) in the uppermost area of the dialog. - @param title Title string. - @short (Constructor II only) Sets a title (not caption) in the uppermost area of the dialog. - */ - public native void setTitle(String title); - /** - (Constructor II only) - Define an image to be shown in the dialog. The position is dependent - on the <code>dialogLayout</code> in the constructor - @param fileName Path to image file. - @short (Constructor II only) Define an image to be shown in the dialog. - */ - public native void setImage(String fileName); - /** - Overloaded version of setProgramLogo(TQPixmap pixmap). - @short Overloaded version of setProgramLogo(TQPixmap pixmap). - */ - public native void setProgramLogo(String fileName); - /** - (Constructor II only) - Define the program logo to be shown in the dialog. Use this to override the - default program logo. For example, use this function if the - TDEAboutDialog is for a panel applet and you want to override the - appletproxy logo with your own pixmap. - @param pixmap The logo pixmap. - @short (Constructor II only) Define the program logo to be shown in the dialog. - */ - public native void setProgramLogo(TQPixmap pixmap); - /** - (Constructor II only) - The image has a minimum size, but is centered within an area if the - dialog box is enlarged by the user. You set the background color - of the area with this method. - @param color Background color. - @short (Constructor II only) The image has a minimum size, but is centered within an area if the dialog box is enlarged by the user. - */ - public native void setImageBackgroundColor(TQColor color); - /** - (Constructor II only) - Enables or disables a frame around the image. The frame is, by default, - enabled in the constructor - @param state A value of <code>true</code> enables the frame - @short (Constructor II only) Enables or disables a frame around the image. - */ - public native void setImageFrame(boolean state); - /** - (Constructor II only) - Prints the application name, KDE version, author, a copyright sign - and a year string. To the left of the text the standard application - icon is displayed. - @param appName The application name. - @param version Application version. - @param author One or more authors. - @param year A string telling when the application was made. - @short (Constructor II only) Prints the application name, KDE version, author, a copyright sign and a year string. - */ - public native void setProduct(String appName, String version, String author, String year); - /** - (Constructor II only) - Adds a text page to a tab box. The text can be regular text or - rich text. The rich text can contain URLs and mail links. - @param title Tab name. - @param text The text to display. - @param richText Set this to <code>true</code> if 'text' is rich text. - @param numLines The text area height will be adjusted so that this - is the minimum number of lines of text that are visible. - @return The frame that contains the page. - - @short (Constructor II only) Adds a text page to a tab box. - */ - public native TQFrame addTextPage(String title, String text, boolean richText, int numLines); - public native TQFrame addTextPage(String title, String text, boolean richText); - public native TQFrame addTextPage(String title, String text); - /** - (Constructor II only) - Adds a license page to a tab box. - @param title Tab name. - @param text The text to display. - @param numLines The text area height will be adjusted so that this - is the minimum number of lines of text that are visible. - @return The frame that contains the page. - - @short (Constructor II only) Adds a license page to a tab box. - */ - public native TQFrame addLicensePage(String title, String text, int numLines); - public native TQFrame addLicensePage(String title, String text); - /** - (Constructor II only) - Adds a container to a tab box. You can add text and images to a - container. - @param title Tab name. - @param childAlignment Specifies how the children of the container are - aligned with respect to the container. - @param innerAlignment Specifies how the children are aligned with - respect to each other. - @return The new container. - - @short (Constructor II only) Adds a container to a tab box. - */ - public native TDEAboutContainer addContainerPage(String title, int childAlignment, int innerAlignment); - public native TDEAboutContainer addContainerPage(String title, int childAlignment); - public native TDEAboutContainer addContainerPage(String title); - /** - (Constructor II only) - Adds a container inside a TQScrollView to a tab box. You can add text - and images to a container. - @param title Tab name. - @param childAlignment Specifies how the children of the container are - aligned with respect to the container. - @param innerAlignment Specifies how the children are aligned with - respect to each other. - @return The new container. - - @short (Constructor II only) Adds a container inside a TQScrollView to a tab box. - */ - public native TDEAboutContainer addScrolledContainerPage(String title, int childAlignment, int innerAlignment); - public native TDEAboutContainer addScrolledContainerPage(String title, int childAlignment); - public native TDEAboutContainer addScrolledContainerPage(String title); - /** - (Constructor II only) - Adds a container. You can add text and images to a container. - @param childAlignment Specifies how the children of the container are - aligned with respect to the container. - @param innerAlignment Specifies how the children are aligned with - respect to each other. - @return The new container. - - @short (Constructor II only) Adds a container. - */ - public native TDEAboutContainer addContainer(int childAlignment, int innerAlignment); - /** - (Constructor II only) - Adds an empty page to a tab box. - @param title Tab name - @return The new page. - - @short (Constructor II only) Adds an empty page to a tab box. - */ - public native TQFrame addPage(String title); - /** - (Constructor I only) - Sets the image as the application logo. - @short (Constructor I only) Sets the image as the application logo. - */ - public native void setLogo(TQPixmap arg1); - /** - (Constructor I only) - Sets the author's name and email address. - @short (Constructor I only) Sets the author's name and email address. - */ - public native void setAuthor(String name, String email, String url, String work); - /** - (Constructor I only) - Sets the maintainer's name and email address. - @short (Constructor I only) Sets the maintainer's name and email address. - */ - public native void setMaintainer(String name, String email, String url, String work); - /** - (Constructor I only) - Show this person as one of the major contributors. - @short (Constructor I only) Show this person as one of the major contributors. - */ - public native void addContributor(String name, String email, String url, String work); - /** - (Constructor I only) - Sets the text describing the version. - @short (Constructor I only) Sets the text describing the version. - */ - public native void setVersion(String name); - /** - Create a modal dialog with an image in the upper area with a - URL link below. - @short Create a modal dialog with an image in the upper area with a URL link below. - */ - public static native void imageURL(TQWidget parent, String caption, String path, TQColor imageColor, String url); - /** - Connected to widget.sendEmail. - @short Connected to widget.sendEmail. - */ - protected native void sendEmailSlot(String name, String email); - /** - Open this URL. - @short Open this URL. - */ - protected native void openURLSlot(String url); - /** - (Constructor II only) - Tells the position of the mouse cursor when the left mouse button - is pressed above an image - @short (Constructor II only) Tells the position of the mouse cursor when the left mouse button is pressed above an image - */ - protected native void mouseTrackSlot(int mode, TQMouseEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutDialogSignals.java b/kdejava/koala/org/kde/koala/TDEAboutDialogSignals.java deleted file mode 100644 index b5e18c08..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutDialogSignals.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -public interface TDEAboutDialogSignals { - /** - Send an email to this person. - The application must provide the - functionality. - @short Send an email to this person. - */ - void sendEmail(String name, String email); - /** - Open the selected URL. - @short Open the selected URL. - */ - void openURL(String url); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutKDE.java b/kdejava/koala/org/kde/koala/TDEAboutKDE.java deleted file mode 100644 index 913ed244..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutKDE.java +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This class provides the standard "About KDE" dialog box that is used - KHelpMenu Normally you should not use this class directly but - rather the KHelpMenu class or even better just subclass your - toplevel window from TDEMainWindow. If you do the latter, the help - menu and thereby this dialog box is available through the - TDEMainWindow.helpMenu() function. - @author Espen Sand (espen@kde.org) - - @short Standard "About KDE" dialog box,. - -*/ -public class TDEAboutKDE extends TDEAboutDialog { - protected TDEAboutKDE(Class dummy){super((Class) null);} - /** - Constructor. Creates a fully featured "About KDE" dialog box. - Note that this dialog is made modeless in the KHelpMenu class so - the users may expect a modeless dialog. - @param parent The parent of the dialog box. You should use the - toplevel window so that the dialog becomes centered. - @param name Internal name of the widget. This name in not used in the - caption. - @param modal If false, this widget will be modeless and must be - made visible using TQWidget.show(). Otherwise it will be - modal and must be made visible using TQWidget.exec() - @short Constructor. - */ - public TDEAboutKDE(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTDEAboutKDE(parent,name,modal); - } - private native void newTDEAboutKDE(TQWidget parent, String name, boolean modal); - public TDEAboutKDE(TQWidget parent, String name) { - super((Class) null); - newTDEAboutKDE(parent,name); - } - private native void newTDEAboutKDE(TQWidget parent, String name); - public TDEAboutKDE(TQWidget parent) { - super((Class) null); - newTDEAboutKDE(parent); - } - private native void newTDEAboutKDE(TQWidget parent); - public TDEAboutKDE() { - super((Class) null); - newTDEAboutKDE(); - } - private native void newTDEAboutKDE(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutPerson.java b/kdejava/koala/org/kde/koala/TDEAboutPerson.java deleted file mode 100644 index 4312ba22..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutPerson.java +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This structure is used to store information about a person or developer. - It can store the person's name, a task, an email address and a - link to a home page. This class is intended for use in the - TDEAboutData class, but it can be used elsewhere as well. - Normally you should at least define the person's name. - Example Usage within a main(): - <pre> - TDEAboutData about("khello", I18N_NOOP("KHello"), "0.1", - I18N_NOOP("A TDE version of Hello, world!"), - TDEAboutData.License_LGPL, - I18N_NOOP("Copyright (c) 2003 Developer")); - about.addAuthor("Joe Developer", I18N_NOOP("developer"), "joe@host.com", 0); - about.addCredit("Joe User", I18N_NOOP("A lot of bug reports"), - "joe.user@host.org", 0); - TDECmdLineArgs.init(args, &about); - </pre> - @short This structure is used to store information about a person or developer. - -*/ -public class TDEAboutPerson implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEAboutPerson(Class dummy){} - - /** - Convenience constructor - @param name The name of the person. - @param task The task of this person. This string should be - marked for translation, e.g. - I18N_NOOP("Task description....") - @param emailAddress The email address of the person. - @param webAddress Home page of the person. - @short Convenience constructor - */ - public TDEAboutPerson(String name, String task, String emailAddress, String webAddress) { - newTDEAboutPerson(name,task,emailAddress,webAddress); - } - private native void newTDEAboutPerson(String name, String task, String emailAddress, String webAddress); - /** - Don't use. Required by TQValueList - @short - */ - public TDEAboutPerson() { - newTDEAboutPerson(); - } - private native void newTDEAboutPerson(); - /** - The person's name - @return the person's name (can be null, if it has been - constructed with a null name) - - @short The person's name - */ - public native String name(); - /** - The person's task - @return the person's task (can be null, if it has been - constructed with a null task) - - @short The person's task - */ - public native String task(); - /** - The person's email address - @return the person's email address (can be null, if it has been - constructed with a null email) - - @short The person's email address - */ - public native String emailAddress(); - /** - The home page or a relevant link - @return the persons home page (can be null, if it has been - constructed with a null home page) - - @short The home page or a relevant link - */ - public native String webAddress(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutTranslator.java b/kdejava/koala/org/kde/koala/TDEAboutTranslator.java deleted file mode 100644 index c108fc4c..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutTranslator.java +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This structure is used to store information about a translator. - It can store the translator's name and an email address. - This class is intended for use in the TDEAboutData class, - but it can be used elsewhere as well. - Normally you should at least define the translator's name. - It's not possible to use TDEAboutPerson for this, because - TDEAboutPerson stores internally only String pointers, but the - translator information is generated dynamically from the translation - of a dummy string. - @short This structure is used to store information about a translator. - -*/ -public class TDEAboutTranslator implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEAboutTranslator(Class dummy){} - - /** - Convenience constructor - @param name The name of the person. - @param emailAddress The email address of the person. - @short Convenience constructor - */ - public TDEAboutTranslator(String name, String emailAddress) { - newTDEAboutTranslator(name,emailAddress); - } - private native void newTDEAboutTranslator(String name, String emailAddress); - public TDEAboutTranslator(String name) { - newTDEAboutTranslator(name); - } - private native void newTDEAboutTranslator(String name); - public TDEAboutTranslator() { - newTDEAboutTranslator(); - } - private native void newTDEAboutTranslator(); - /** - The translator's name - @return the translators's name (can be null, if it has been - constructed with a null name) - - @short The translator's name - */ - public native String name(); - /** - The translator's email - @return the translator's email address (can be null, if it has been - constructed with a null email) - - @short The translator's email - */ - public native String emailAddress(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutWidget.java b/kdejava/koala/org/kde/koala/TDEAboutWidget.java deleted file mode 100644 index 98e39ca1..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutWidget.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWidget; - -/** - - TDEAboutWidget is the main widget for TDEAboutDialog. - It has a minimum size set. - See {@link TDEAboutWidgetSignals} for signals emitted by TDEAboutWidget - @short TDEAboutWidget is the main widget for TDEAboutDialog. - -*/ -public class TDEAboutWidget extends TQWidget { - protected TDEAboutWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - The Qt constructor. - @short The Qt constructor. - */ - public TDEAboutWidget(TQWidget parent, String name) { - super((Class) null); - newTDEAboutWidget(parent,name); - } - private native void newTDEAboutWidget(TQWidget parent, String name); - public TDEAboutWidget(TQWidget parent) { - super((Class) null); - newTDEAboutWidget(parent); - } - private native void newTDEAboutWidget(TQWidget parent); - public TDEAboutWidget() { - super((Class) null); - newTDEAboutWidget(); - } - private native void newTDEAboutWidget(); - /** - Adjust the minimum size (after setting the properties of the image and - the labels. - @short Adjust the minimum size (after setting the properties of the image and the labels. - */ - public native void adjust(); - /** - Sets the image as the application logo. - @short Sets the image as the application logo. - */ - public native void setLogo(TQPixmap arg1); - /** - Sets the author's name and email address. - @short Sets the author's name and email address. - */ - public native void setAuthor(String name, String email, String url, String work); - /** - Sets the maintainers name and email address. - @short Sets the maintainers name and email address. - */ - public native void setMaintainer(String name, String email, String url, String work); - /** - Shows this person as one of the major contributors. - @short Shows this person as one of the major contributors. - */ - public native void addContributor(String name, String email, String url, String work); - /** - Sets the text describing the version. - @short Sets the text describing the version. - */ - public native void setVersion(String name); - /** - The resize event. - @short The resize event. - */ - protected native void resizeEvent(TQResizeEvent arg1); - /** - Catches the signals from the contributors elements. - @short Catches the signals from the contributors elements. - */ - protected native void sendEmailSlot(String name, String email); - /** - Catches the clicked URLs. - @short Catches the clicked URLs. - */ - protected native void openURLSlot(String url); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAboutWidgetSignals.java b/kdejava/koala/org/kde/koala/TDEAboutWidgetSignals.java deleted file mode 100644 index 7cbf92f3..00000000 --- a/kdejava/koala/org/kde/koala/TDEAboutWidgetSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface TDEAboutWidgetSignals { - /** - An email address has been selected by the user. - @short An email address has been selected by the user. - */ - void sendEmail(String name, String email); - /** - An URL has been clicked. - @short An URL has been clicked. - */ - void openURL(String url); -} diff --git a/kdejava/koala/org/kde/koala/TDEAccel.java b/kdejava/koala/org/kde/koala/TDEAccel.java deleted file mode 100644 index 1c1caef5..00000000 --- a/kdejava/koala/org/kde/koala/TDEAccel.java +++ /dev/null @@ -1,299 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; -import org.kde.qt.TQAccel; - -/** - - Handle shortcuts. - Allow a user to configure shortcuts - through application configuration files or through the - KKeyChooser GUI. - A TDEAccel contains a list of accelerator actions. - For example, CTRL+Key_P could be a shortcut for printing a document. The key - codes are listed in qnamespace.h. "Print" could be the action name for printing. - The action name identifies the shortcut in configuration files and the - KKeyChooser GUI. - A TDEAccel object handles key events sent to its parent widget and to all - children of this parent widget. The most recently created TDEAccel object - has precedence over any TDEAccel objects created before it. - When a shortcut pressed, TDEAccel calls the slot to which it has been - connected. If you want to set global accelerators, independent of the window - which has the focus, use TDEGlobalAccel. - Reconfiguration of a given shortcut can be prevented by specifying - that an accelerator item is not configurable when it is inserted. A special - group of non-configurable key bindings are known as the - standard accelerators. - The standard accelerators appear repeatedly in applications for - standard document actions such as printing and saving. A convenience method is - available to insert and connect these accelerators which are configurable on - a desktop-wide basis. - It is possible for a user to choose to have no key associated with - an action. - The translated first argument for insertItem() is used only - in the configuration dialog. -<pre> - TDEAccel pAccel = new TDEAccel( this ); - // Insert an action "Scroll Up" which is associated with the "Up" key: - pAccel.insert( "Scroll Up", i18n("Scroll up"), - i18n("Scroll up the current document by one line."), - Qt.Key_Up, this, SLOT("slotScrollUp()") ); - // Insert an standard acclerator action. - pAccel.insert( TDEStdAccel.Print, this, SLOT("slotPrint()") ); - // Update the shortcuts by read any user-defined settings from the - // application's config file. - pAccel.readSettings(); - </pre> - See {@link TDEAccelSignals} for signals emitted by TDEAccel - @short Configurable shortcut support for widgets. - @see TDEGlobalAccel - @see TDEAccelShortcutList - @see KKeyChooser - @see KKeyDialog - -*/ -public class TDEAccel extends TQAccel { - protected TDEAccel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new TDEAccel that watches <code>pParent</code>, which is also - the TQObject's parent. - @param pParent the parent and widget to watch for key strokes - @param psName the name of the TQObject - @short Creates a new TDEAccel that watches <code>pParent</code>, which is also the TQObject's parent. - */ - public TDEAccel(TQWidget pParent, String psName) { - super((Class) null); - newTDEAccel(pParent,psName); - } - private native void newTDEAccel(TQWidget pParent, String psName); - public TDEAccel(TQWidget pParent) { - super((Class) null); - newTDEAccel(pParent); - } - private native void newTDEAccel(TQWidget pParent); - /** - Creates a new TDEAccel that watches <code>watch.</code> - @param watch the widget to watch for key strokes - @param parent the parent of the TQObject - @param psName the name of the TQObject - @short Creates a new TDEAccel that watches <code>watch.</code> - */ - public TDEAccel(TQWidget watch, TQObject parent, String psName) { - super((Class) null); - newTDEAccel(watch,parent,psName); - } - private native void newTDEAccel(TQWidget watch, TQObject parent, String psName); - public TDEAccel(TQWidget watch, TQObject parent) { - super((Class) null); - newTDEAccel(watch,parent); - } - private native void newTDEAccel(TQWidget watch, TQObject parent); - /** - Returns the TDEAccel's <code>TDEAccelActions</code>, a list of <code>TDEAccelAction.</code> - @return the TDEAccelActions of the TDEAccel - - @short - */ - public native TDEAccelActions actions(); - /** - Checks whether the TDEAccel is active. - @return true if the TQAccel is enabled - - @short Checks whether the TDEAccel is active. - */ - public native boolean isEnabled(); - /** - Enables or disables the TDEAccel. - @param bEnabled true to enable, false to disable - @short Enables or disables the TDEAccel. - */ - public native void setEnabled(boolean bEnabled); - /** - Enable auto-update of connections. This means that the signals - are automatically disconnected when you disable an action, and - re-enabled when you enable it. By default auto update is turned - on. If you disable auto-update, you need to call - updateConnections() after changing actions. - @param bAuto true to enable, false to disable - @return the value of the flag before this call - - @short Enable auto-update of connections. - */ - public native boolean setAutoUpdate(boolean bAuto); - /** - Create an accelerator action. - Usage: - <pre> - insert( "Do Something", i18n("Do Something"), - i18n("This action allows you to do something really great with this program to " - "the currently open document."), - ALT+Key_D, this, SLOT("slotDoSomething()") ); - </pre> - @param sAction The internal name of the action. - @param sLabel An i18n'ized short description of the action displayed when - using KKeyChooser to reconfigure the shortcuts. - @param sWhatsThis An extended description of the action. - @param cutDef The default shortcut. - @param pObjSlot Pointer to the slot object. - @param psMethodSlot Pointer to the slot method. - @param bConfigurable Allow the user to change this shortcut if set to 'true'. - @param bEnabled The action will be activated by the shortcut if set to 'true'. - @short Create an accelerator action. - */ - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot); - /** - Same as first insert(), but with separate shortcuts defined for - 3- and 4- modifier defaults. - @short Same as first insert(), but with separate shortcuts defined for 3- and 4- modifier defaults. - */ - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); - /** - This is an overloaded function provided for convenience. - The advantage of this is when you want to use the same text for the name - of the action as for the user-visible label. - Usage: - <pre> - insert( i18n("Do Something"), ALT+Key_D, this, SLOT("slotDoSomething()") ); - </pre> - @param psAction The name AND label of the action. - @param cutDef The default shortcut for this action. - @param pObjSlot Pointer to the slot object. - @param psMethodSlot Pointer to the slot method. - @param bConfigurable Allow the user to change this shortcut if set to 'true'. - @param bEnabled The action will be activated by the shortcut if set to 'true'. - @short This is an overloaded function provided for convenience. - */ - public native TDEAccelAction insert(String psAction, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native TDEAccelAction insert(String psAction, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native TDEAccelAction insert(String psAction, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot); - /** - Similar to the first insert() method, but with the action - name, short description, help text, and default shortcuts all - set according to one of the standard accelerators. - @short Similar to the first insert() method, but with the action name, short description, help text, and default shortcuts all set according to one of the standard accelerators. - @see TDEStdAccel# - */ - public native TDEAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native TDEAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native TDEAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot); - /** - Removes the accelerator action identified by the name. - Remember to also call updateConnections(). - @param sAction the name of the action to remove - @return true if successful, false otherwise - - @short Removes the accelerator action identified by the name. - */ - public native boolean remove(String sAction); - /** - Updates the connections of the accelerations after changing them. - This is only necessary if you have disabled auto updates which are - on by default. - @return true if successful, false otherwise - - @short Updates the connections of the accelerations after changing them. - @see #setAutoUpdate - @see #getAutoUpdate - */ - public native boolean updateConnections(); - /** - Return the shortcut associated with the action named by <code>sAction.</code> - @param sAction the name of the action - @return the action's shortcut, or a null shortcut if not found - - @short Return the shortcut associated with the action named by <code>sAction.</code> - */ - public native TDEShortcut shortcut(String sAction); - /** - Set the shortcut to be associated with the action named by <code>sAction.</code> - @param sAction the name of the action - @param shortcut the shortcut to set - @return true if successful, false otherwise - - @short Set the shortcut to be associated with the action named by <code>sAction.</code> - */ - public native boolean setShortcut(String sAction, TDEShortcut shortcut); - /** - Set the slot to be called when the shortcut of the action named - by <code>sAction</code> is pressed. - @param sAction the name of the action - @param pObjSlot the owner of the slot - @param psMethodSlot the name of the slot - @return true if successful, false otherwise - - @short Set the slot to be called when the shortcut of the action named by <code>sAction</code> is pressed. - */ - public native boolean setSlot(String sAction, TQObject pObjSlot, String psMethodSlot); - /** - Enable or disable the action named by <code>sAction.</code> - @param sAction the action to en-/disable - @param bEnabled true to enable, false to disable - @return true if successful, false otherwise - - @short Enable or disable the action named by <code>sAction.</code> - */ - public native boolean setEnabled(String sAction, boolean bEnabled); - /** - Returns the configuration group of the settings. - @return the configuration group - - @short Returns the configuration group of the settings. - @see TDEConfig - */ - public native String configGroup(); - /** - Returns the configuration group of the settings. - @param name the new configuration group - @short Returns the configuration group of the settings. - @see TDEConfig - */ - public native void setConfigGroup(String name); - /** - Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> - is zero) from the application's configuration file - TDEGlobal.config(). - The group in which the configuration is stored can be - set with setConfigGroup(). - @param pConfig the configuration file, or 0 for the application - configuration file - @return true if successful, false otherwise - - @short Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> is zero) from the application's configuration file TDEGlobal.config(). - */ - public native boolean readSettings(TDEConfigBase pConfig); - public native boolean readSettings(); - /** - Write the current shortcuts to <code>pConfig</code>, - or (if <code>pConfig</code> is zero) to the application's - configuration file. - @param pConfig the configuration file, or 0 for the application - configuration file - @return true if successful, false otherwise - - @short Write the current shortcuts to <code>pConfig</code>, or (if <code>pConfig</code> is zero) to the application's configuration file. - */ - public native boolean writeSettings(TDEConfigBase pConfig); - public native boolean writeSettings(); - /** - Emits the keycodeChanged() signal. - @short Emits the keycodeChanged() signal. - */ - public native void emitKeycodeChanged(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAccelAction.java b/kdejava/koala/org/kde/koala/TDEAccelAction.java deleted file mode 100644 index 067ea7c0..00000000 --- a/kdejava/koala/org/kde/koala/TDEAccelAction.java +++ /dev/null @@ -1,30 +0,0 @@ -/*************************************************************************** - TDEAccelAction.java - description - ------------------- - begin : Wed Jan 30 16:02:13 2002 - copyright : (C) 2000-2001 Lost Highway Ltd. - email : Richard_Dale@tipitina.demon.co.uk - generated by : duke@tipitina on Wed Jan 30 16:02:13 2002, using kalyptus 0.9. - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * -***************************************************************************/ - -package org.kde.koala; - -import org.kde.qt.*; -import java.util.*; -import java.lang.Error; - -public class TDEAccelAction implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - - protected TDEAccelAction(Class dummy){} -} diff --git a/kdejava/koala/org/kde/koala/TDEAccelActions.java b/kdejava/koala/org/kde/koala/TDEAccelActions.java deleted file mode 100644 index da53ea78..00000000 --- a/kdejava/koala/org/kde/koala/TDEAccelActions.java +++ /dev/null @@ -1,30 +0,0 @@ -/*************************************************************************** - TDEAccelActions.java - description - ------------------- - begin : Wed Jan 30 16:02:13 2002 - copyright : (C) 2000-2001 Lost Highway Ltd. - email : Richard_Dale@tipitina.demon.co.uk - generated by : duke@tipitina on Wed Jan 30 16:02:13 2002, using kalyptus 0.9. - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * -***************************************************************************/ - -package org.kde.koala; - -import org.kde.qt.*; -import java.util.*; -import java.lang.Error; - -public class TDEAccelActions implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - - protected TDEAccelActions(Class dummy){} -} diff --git a/kdejava/koala/org/kde/koala/TDEAccelShortcutList.java b/kdejava/koala/org/kde/koala/TDEAccelShortcutList.java deleted file mode 100644 index 71db9b9c..00000000 --- a/kdejava/koala/org/kde/koala/TDEAccelShortcutList.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQVariant; - -/** - - TDEShortcutList implementation to access TDEAccel and - TDEGlobalAccel lists. - @short TDEShortcutList implementation to access TDEAccel and TDEGlobalAccel lists. - -*/ -public class TDEAccelShortcutList extends TDEShortcutList { - protected TDEAccelShortcutList(Class dummy){super((Class) null);} - /** - Creates a new TDEShortcutList that accesses the given TDEAccel. - @param accel the accelerators to access - @short Creates a new TDEShortcutList that accesses the given TDEAccel. - */ - public TDEAccelShortcutList(TDEAccel accel) { - super((Class) null); - newTDEAccelShortcutList(accel); - } - private native void newTDEAccelShortcutList(TDEAccel accel); - /** - Creates a new TDEShortcutList that accesses the given - TDEGlobalAccel. - @param accel the accelerators to access - @short Creates a new TDEShortcutList that accesses the given TDEGlobalAccel. - */ - public TDEAccelShortcutList(TDEGlobalAccel accel) { - super((Class) null); - newTDEAccelShortcutList(accel); - } - private native void newTDEAccelShortcutList(TDEGlobalAccel accel); - /** - Creates a new TDEShortcutList that accesses the given - TDEAccelActions collection. - @param actions the actions to access - @param bGlobal true to save the actions in the global - configuration file - @short - */ - public TDEAccelShortcutList(TDEAccelActions actions, boolean bGlobal) { - super((Class) null); - newTDEAccelShortcutList(actions,bGlobal); - } - private native void newTDEAccelShortcutList(TDEAccelActions actions, boolean bGlobal); - public native int count(); - public native String name(int index); - public native String label(int index); - public native String whatsThis(int index); - public native TDEShortcut shortcut(int index); - public native TDEShortcut shortcutDefault(int index); - public native boolean isConfigurable(int index); - public native boolean setShortcut(int index, TDEShortcut shortcut); - public native boolean isGlobal(int index); - /** \internal @short \internal - */ - public native TQVariant getOther(int arg1, int index); - /** \internal @short \internal - */ - public native boolean setOther(int arg1, int index, TQVariant arg3); - public native boolean save(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAccelSignals.java b/kdejava/koala/org/kde/koala/TDEAccelSignals.java deleted file mode 100644 index ae541f31..00000000 --- a/kdejava/koala/org/kde/koala/TDEAccelSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -public interface TDEAccelSignals { - /** - Emitted when one of the key codes has changed. - @short Emitted when one of the key codes has changed. - */ - void keycodeChanged(); -} diff --git a/kdejava/koala/org/kde/koala/TDEAction.java b/kdejava/koala/org/kde/koala/TDEAction.java deleted file mode 100644 index b65f4395..00000000 --- a/kdejava/koala/org/kde/koala/TDEAction.java +++ /dev/null @@ -1,455 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - The TDEAction class (and derived and super classes) provides a way to - easily encapsulate a "real" user-selected action or event in your - program. - For instance, a user may want to <code>paste</code> the contents of - the clipboard or <code>scroll</code> <code>down</code> a document or <code>quit</code> the - application. These are all <code>actions</code> -- events that the - user causes to happen. The TDEAction class allows the developer to - deal with these actions in an easy and intuitive manner. - Specifically, the TDEAction class encapsulated the various attributes - to an event/action. For instance, an action might have an icon - that goes along with it (a clipboard for a "paste" action or - scissors for a "cut" action). The action might have some text to - describe the action. It will certainly have a method or function - that actually <code>executes</code> the action! All these attributes - are contained within the TDEAction object. - The advantage of dealing with Actions is that you can manipulate - the Action without regard to the GUI representation of it. For - instance, in the "normal" way of dealing with actions like "cut", - you would manually insert a item for Cut into a menu and a button - into a toolbar. If you want to disable the cut action for a moment - (maybe nothing is selected), you would have to hunt down the pointer - to the menu item and the toolbar button and disable both - individually. Setting the menu item and toolbar item up uses very - similar code - but has to be done twice! - With the Action concept, you simply "plug" the Action into whatever - GUI element you want. The TDEAction class will then take care of - correctly defining the menu item (with icons, accelerators, text, - etc) or toolbar button.. or whatever. From then on, if you - manipulate the Action at all, the effect will propogate through all - GUI representations of it. Back to the "cut" example: if you want - to disable the Cut Action, you would simply do - 'cutAction.setEnabled(false)' and the menuitem and button would - instantly be disabled! - This is the biggest advantage to the Action concept -- there is a - one-to-one relationship between the "real" action and <code>all</code> - GUI representations of it. - TDEAction emits the activated() signal if the user activated the - corresponding GUI element ( menu item, toolbar button, etc. ) - If you are in the situation of wanting to map the activated() - signal of multiple action objects to one slot, with a special - argument bound to each action, then you might consider using - TQSignalMapper . A tiny example: - <pre> - TQSignalMapper desktopNumberMapper = new TQSignalMapper( this ); - connect( desktopNumberMapper, SIGNAL("mapped( int )"), - this, SLOT("moveWindowToDesktop( int )") ); - for ( uint i = 0; i < numberOfDesktops; ++i ) { - TDEAction desktopAction = new TDEAction( i18n( "Move Window to Desktop %i" ).arg( i ), ... ); - connect( desktopAction, SIGNAL("activated()"), desktopNumberMapper, SLOT("map()") ); - desktopNumberMapper.setMapping( desktopAction, i ); - } - </pre> - <li><b>General Usage:</b></li> - The steps to using actions are roughly as follows - - <li> - Decide which attributes you want to associate with a given - action (icons, text, keyboard shortcut, etc) - </li> - - <li> - Create the action using TDEAction (or derived or super class). - </li> - - <li> - "Plug" the Action into whatever GUI element you want. Typically, - this will be a menu or toolbar. - </li> - <li><b>Detailed Example:</b></li> - Here is an example of enabling a "New [document]" action - <pre> - TDEAction newAct = new TDEAction(i18n("&New"), "filenew", - TDEStdAccel.shortcut(TDEStdAccel.New), - this, SLOT("fileNew()"), - actionCollection(), "new"); - </pre> - This line creates our action. It says that wherever this action is - displayed, it will use "&New" as the text, the standard icon, and - the standard shortcut. It further says that whenever this action - is invoked, it will use the fileNew() slot to execute it. - <pre> - TQPopupMenu file = new TQPopupMenu; - newAct.plug(file); - </pre> - That just inserted the action into the File menu. The point is, it's not - important in which menu it is: all manipulation of the item is - done through the newAct object. - <pre> - newAct.plug(toolBar()); - </pre> - And this inserted the Action into the main toolbar as a button. - That's it! - If you want to disable that action sometime later, you can do so - with - <pre> - newAct.setEnabled(false) - </pre> - and both the menuitem in File and the toolbar button will instantly - be disabled. - Do not delete a TDEAction object without unplugging it from all its - containers. The simplest way to do that is to use the unplugAll() - as in the following example: - <pre> - newAct.unplugAll(); - delete newAct; - </pre> - Normally you will not need to do this as TDEActionCollection manages - everything for you. - Note: if you are using a "standard" action like "new", "paste", - "quit", or any other action described in the KDE UI Standards, - please use the methods in the KStdAction class rather than - defining your own. - <li><b>Usage Within the XML Framework:</b></li> - If you are using TDEAction within the context of the XML menu and - toolbar building framework, then there are a few tiny changes. The - first is that you must insert your new action into an action - collection. The action collection (a TDEActionCollection) is, - logically enough, a central collection of all of the actions - defined in your application. The XML UI framework code in KXMLGUI - classes needs access to this collection in order to build up the - GUI (it's how the builder code knows which actions are valid and - which aren't). - Also, if you use the XML builder framework, then you do not ever - have to plug your actions into containers manually. The framework - does that for you. - See {@link TDEActionSignals} for signals emitted by TDEAction - @short Class to encapsulate user-driven action or event. - @see KStdAction - -*/ -public class TDEAction extends TQObject { - protected TDEAction(Class dummy){super((Class) null);} - /** - @short - */ - public static final int UnknownActivation = 0; - public static final int EmulatedActivation = 1; - public static final int AccelActivation = 2; - public static final int PopupMenuActivation = 3; - public static final int ToolBarActivation = 4; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an action with text, potential keyboard - shortcut, and a SLOT to call when this action is invoked by - the user. - If you do not want or have a keyboard shortcut, - set the <code>cut</code> param to 0. - This is the most common TDEAction used when you do not have a - corresponding icon (note that it won't appear in the current version - of the "Edit ToolBar" dialog, because an action needs an icon to be - plugged in a toolbar...). - @param text The text that will be displayed. - @param cut The corresponding keyboard shortcut. - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs an action with text, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. - */ - public TDEAction(String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { - super((Class) null); - newTDEAction(text,cut,receiver,slot,parent,name); - } - private native void newTDEAction(String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); - /** - Constructs an action with text, icon, potential keyboard - shortcut, and a SLOT to call when this action is invoked by - the user. - If you do not want or have a keyboard shortcut, set the - <code>cut</code> param to 0. - This is the other common TDEAction used. Use it when you - <code>do</code> have a corresponding icon. - @param text The text that will be displayed. - @param pix The icon to display. - @param cut The corresponding keyboard shortcut. - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. - */ - public TDEAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { - super((Class) null); - newTDEAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); - /** - Constructs an action with text, icon, potential keyboard - shortcut, and a SLOT to call when this action is invoked by - the user. The icon is loaded on demand later based on where it - is plugged in. - If you do not want or have a keyboard shortcut, set the - <code>cut</code> param to 0. - This is the other common TDEAction used. Use it when you - <code>do</code> have a corresponding icon. - @param text The text that will be displayed. - @param pix The icon to display. - @param cut The corresponding keyboard shortcut (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. - */ - public TDEAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { - super((Class) null); - newTDEAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); - /** - The same as the above constructor, but with a KGuiItem providing - the text and icon. - @param item The KGuiItem with the label and (optional) icon. - @param cut The corresponding keyboard shortcut (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short The same as the above constructor, but with a KGuiItem providing the text and icon. - */ - public TDEAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { - super((Class) null); - newTDEAction(item,cut,receiver,slot,parent,name); - } - private native void newTDEAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); - /** - "Plug" or insert this action into a given widget. - This will - typically be a menu or a toolbar. From this point on, you will - never need to directly manipulate the item in the menu or - toolbar. You do all enabling/disabling/manipulation directly - with your TDEAction object. - @param widget The GUI element to display this action - @param index The position into which the action is plugged. If - this is negative, the action is inserted at the end. - @short "Plug" or insert this action into a given widget. - */ - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** - "Unplug" or remove this action from a given widget. - This will typically be a menu or a toolbar. This is rarely - used in "normal" application. Typically, it would be used if - your application has several views or modes, each with a - completely different menu structure. If you simply want to - disable an action for a given period, use setEnabled() - instead. - @param w Remove the action from this GUI element. - @short "Unplug" or remove this action from a given widget. - */ - public native void unplug(TQWidget w); - /** - returns whether the action is plugged into any container widget or not. - @short returns whether the action is plugged into any container widget or not. - */ - public native boolean isPlugged(); - /** - returns whether the action is plugged into the given container - @short returns whether the action is plugged into the given container - */ - public native boolean isPlugged(TQWidget container); - /** - returns whether the action is plugged into the given container with the given, container specific, id (often - menu or toolbar id ) . - @short returns whether the action is plugged into the given container with the given, container specific, id (often menu or toolbar id ) . - */ - public native boolean isPlugged(TQWidget container, int id); - /** - returns whether the action is plugged into the given container with the given, container specific, representative - container widget item. - @short returns whether the action is plugged into the given container with the given, container specific, representative container widget item. - */ - public native boolean isPlugged(TQWidget container, TQWidget _representative); - public native TQWidget container(int index); - public native int itemId(int index); - public native TQWidget representative(int index); - public native int containerCount(); - public native int tdeaccelCount(); - public native boolean hasIcon(); - public native boolean hasIconSet(); - public native String plainText(); - /** - Get the text associated with this action. - @short Get the text associated with this action. - */ - public native String text(); - /** - Get the keyboard shortcut associated with this action. - @short Get the keyboard shortcut associated with this action. - */ - public native TDEShortcut shortcut(); - /** - Get the default shortcut for this action. - @short Get the default shortcut for this action. - */ - public native TDEShortcut shortcutDefault(); - public native String shortcutText(); - public native void setShortcutText(String arg1); - /** - Returns true if this action is enabled. - @short Returns true if this action is enabled. - */ - public native boolean isEnabled(); - /** - Returns true if this action's shortcut is configurable. - @short Returns true if this action's shortcut is configurable. - */ - public native boolean isShortcutConfigurable(); - public native String group(); - /** - Get the What's this text for the action. - @short Get the What's this text for the action. - */ - public native String whatsThis(); - /** - Get the tooltip text for the action. - @short Get the tooltip text for the action. - */ - public native String toolTip(); - /** - Get the TQIconSet from which the icons used to display this action will - be chosen. - In KDE4 set group default to TDEIcon.Small while removing the other - iconSet() function. - @short Get the TQIconSet from which the icons used to display this action will be chosen. - */ - public native TQIconSet iconSet(int group, int size); - public native TQIconSet iconSet(int group); - /** - Remove in KDE4 - @short Remove in KDE4 - */ - public native TQIconSet iconSet(); - public native String icon(); - public native TDEActionCollection parentCollection(); - public native void unplugAll(); - public native String statusText(); - /** - Sets the text associated with this action. The text is used for menu - and toolbar labels etc. - @short Sets the text associated with this action. - */ - public native void setText(String text); - /** - Sets the keyboard shortcut associated with this action. - @short Sets the keyboard shortcut associated with this action. - */ - public native boolean setShortcut(TDEShortcut arg1); - public native void setGroup(String arg1); - /** - Sets the What's this text for the action. This text will be displayed when - a widget that has been created by plugging this action into a container - is clicked on in What's this mode. - The What's this text can include TQML markup as well as raw text. - @short Sets the What's this text for the action. - */ - public native void setWhatsThis(String text); - /** - Sets the tooltip text for the action. - This will be used as a tooltip for a toolbar button, as a - statusbar help-text for a menu item, and it also appears - in the toolbar editor, to describe the action. - For the tooltip to show up on the statusbar you will need to connect - a couple of the actionclass signals to the toolbar. - The easiest way of doing this is in your main window class, when you create - a statusbar. See the TDEActionCollection class for more details. - @short Sets the tooltip text for the action. - @see TDEActionCollection - */ - public native void setToolTip(String arg1); - /** - Sets the TQIconSet from which the icons used to display this action will - be chosen. - @short Sets the TQIconSet from which the icons used to display this action will be chosen. - */ - public native void setIconSet(TQIconSet iconSet); - public native void setIcon(String icon); - /** - Enables or disables this action. All uses of this action (eg. in menus - or toolbars) will be updated to reflect the state of the action. - @short Enables or disables this action. - */ - public native void setEnabled(boolean enable); - /** - Calls setEnabled( !disable ). - @short Calls setEnabled( !disable ). - */ - public native void setDisabled(boolean disable); - /** - Indicate whether the user may configure the action's shortcut. - @short Indicate whether the user may configure the action's shortcut. - */ - public native void setShortcutConfigurable(boolean arg1); - /** - Emulate user's interaction programmatically, by activating the action. - The implementation simply emits activated(). - @short Emulate user's interaction programmatically, by activating the action. - */ - public native void activate(); - /** - Generate a toolbar button id. Made public for reimplementations. - @short - */ - public static native int getToolButtonID(); - protected native TDEToolBar toolBar(int index); - protected native TQPopupMenu popupMenu(int index); - protected native void removeContainer(int index); - protected native int findContainer(TQWidget widget); - protected native int findContainer(int id); - protected native void plugMainWindowAccel(TQWidget w); - protected native void addContainer(TQWidget parent, int id); - protected native void addContainer(TQWidget parent, TQWidget representative); - protected native void updateShortcut(int i); - protected native void updateShortcut(TQPopupMenu menu, int id); - protected native void updateGroup(int id); - protected native void updateText(int i); - protected native void updateEnabled(int i); - protected native void updateIconSet(int i); - protected native void updateIcon(int i); - protected native void updateToolTip(int id); - protected native void updateWhatsThis(int i); - protected native String whatsThisWithIcon(); - /** - Return the underlying KGuiItem - @short Return the underlying KGuiItem - */ - protected native KGuiItem guiItem(); - protected native void slotDestroyed(); - protected native void slotKeycodeChanged(); - protected native void slotActivated(); - protected native void slotPopupActivated(); - protected native void slotButtonClicked(int arg1, int state); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEActionCollection.java b/kdejava/koala/org/kde/koala/TDEActionCollection.java deleted file mode 100644 index 245790c7..00000000 --- a/kdejava/koala/org/kde/koala/TDEActionCollection.java +++ /dev/null @@ -1,279 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - A managed set of TDEAction objects. - If you set the tooltips on TDEActions and want the tooltip to show in statusbar - (recommended) then you will need to connect a couple of the actionclass signals - to the toolbar. - The easiest way of doing this is in your TDEMainWindow subclass, where you create - a statusbar, do: - <pre> - actionCollection().setHighlightingEnabled(true); - connect(actionCollection(), SIGNAL("actionStatusText( String )"), - statusBar(), SLOT("message( String )") ); - connect(actionCollection(), SIGNAL("clearStatusText()"), - statusBar(), SLOT("clear()") ); - </pre> - See {@link TDEActionCollectionSignals} for signals emitted by TDEActionCollection - @short A managed set of TDEAction objects. - -*/ -public class TDEActionCollection extends TQObject { - protected TDEActionCollection(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEActionCollection(TQWidget parent, String name, TDEInstanceInterface instance) { - super((Class) null); - newTDEActionCollection(parent,name,instance); - } - private native void newTDEActionCollection(TQWidget parent, String name, TDEInstanceInterface instance); - public TDEActionCollection(TQWidget parent, String name) { - super((Class) null); - newTDEActionCollection(parent,name); - } - private native void newTDEActionCollection(TQWidget parent, String name); - public TDEActionCollection(TQWidget parent) { - super((Class) null); - newTDEActionCollection(parent); - } - private native void newTDEActionCollection(TQWidget parent); - /** - Use this constructor if you want the collection's actions to restrict - their accelerator keys to <code>watch</code> rather than the <code>parent.</code> If - you don't require shortcuts, you can pass a null to the <code>watch</code> parameter. - @short Use this constructor if you want the collection's actions to restrict their accelerator keys to <code>watch</code> rather than the <code>parent.</code> - */ - public TDEActionCollection(TQWidget watch, TQObject parent, String name, TDEInstanceInterface instance) { - super((Class) null); - newTDEActionCollection(watch,parent,name,instance); - } - private native void newTDEActionCollection(TQWidget watch, TQObject parent, String name, TDEInstanceInterface instance); - public TDEActionCollection(TQWidget watch, TQObject parent, String name) { - super((Class) null); - newTDEActionCollection(watch,parent,name); - } - private native void newTDEActionCollection(TQWidget watch, TQObject parent, String name); - public TDEActionCollection(TQWidget watch, TQObject parent) { - super((Class) null); - newTDEActionCollection(watch,parent); - } - private native void newTDEActionCollection(TQWidget watch, TQObject parent); - public TDEActionCollection(TDEActionCollection copy) { - super((Class) null); - newTDEActionCollection(copy); - } - private native void newTDEActionCollection(TDEActionCollection copy); - /** - This sets the widget to which the keyboard shortcuts should be attached. - You only need to call this if a null pointer was passed in the constructor. - @short This sets the widget to which the keyboard shortcuts should be attached. - */ - public native void setWidget(TQWidget widget); - /** - This indicates whether new actions which are created in this collection - should have their keyboard shortcuts automatically connected on - construction. Set to 'false' if you will be loading XML-based settings. - This is automatically done by KParts. The default is 'true'. - @short This indicates whether new actions which are created in this collection should have their keyboard shortcuts automatically connected on construction. - @see #isAutoConnectShortcuts - */ - public native void setAutoConnectShortcuts(boolean arg1); - /** - This indicates whether new actions which are created in this collection - have their keyboard shortcuts automatically connected on - construction. - @short This indicates whether new actions which are created in this collection have their keyboard shortcuts automatically connected on construction. - @see #setAutoConnectShortcuts - */ - public native boolean isAutoConnectShortcuts(); - /** - Doc/View model. This lets you add the action collection of a document - to a view's action collection. - @short Doc/View model. - */ - public native boolean addDocCollection(TDEActionCollection pDoc); - /** Returns the TDEAccel object of the most recently set widget. @short Returns the TDEAccel object of the most recently set widget. - */ - public native TDEAccel tdeaccel(); - /** @internal, for TDEAction.tdeaccelCurrent() @short @internal, for TDEAction.tdeaccelCurrent() - */ - public native TDEAccel builderTDEAccel(); - /** Returns the number of actions in the collection @short Returns the number of actions in the collection - */ - public native int count(); - public native boolean isEmpty(); - /** - Return the TDEAction at position "index" in the action collection. - @short Return the TDEAction at position "index" in the action collection. - @see #count - */ - public native TDEAction action(int index); - /** - Find an action (optionally, of a given subclass of TDEAction) in the action collection. - @param name Name of the TDEAction. - @param classname Name of the TDEAction subclass. - @return A pointer to the first TDEAction in the collection which matches the parameters or - null if nothing matches. - - @short Find an action (optionally, of a given subclass of TDEAction) in the action collection. - */ - public native TDEAction action(String name, String classname); - public native TDEAction action(String name); - /** Returns a list of all the groups of all the TDEActions in this action collection. - @short Returns a list of all the groups of all the TDEActions in this action collection. - @see TDEAction#group - @see TDEAction#setGroup - */ - public native ArrayList groups(); - /** - Returns the list of actions in a particular group managed by this action collection. - @param group The name of the group. - @short Returns the list of actions in a particular group managed by this action collection. - */ - // TDEActionPtrList actions(const TQString& arg1); >>>> NOT CONVERTED - /** Returns the list of actions managed by this action collection. @short Returns the list of actions managed by this action collection. - */ - // TDEActionPtrList actions(); >>>> NOT CONVERTED - /** - Used for reading shortcut configuration from a non-XML rc file. - @short Used for reading shortcut configuration from a non-XML rc file. - */ - public native boolean readShortcutSettings(String sConfigGroup, TDEConfigBase pConfig); - public native boolean readShortcutSettings(String sConfigGroup); - public native boolean readShortcutSettings(); - /** - Used for writing shortcut configuration to a non-XML rc file. - @short Used for writing shortcut configuration to a non-XML rc file. - */ - public native boolean writeShortcutSettings(String sConfigGroup, TDEConfigBase pConfig); - public native boolean writeShortcutSettings(String sConfigGroup); - public native boolean writeShortcutSettings(); - public native void setInstance(TDEInstanceInterface instance); - /** The instance with which this class is associated. @short The instance with which this class is associated. - */ - public native TDEInstanceInterface instance(); - /** - Enable highlighting notification for specific TDEActions. - This is false by default, so, by default, the highlighting - signals will not be emitted. - @short Enable highlighting notification for specific TDEActions. - @see #connectHighlight - @see #disconnectHighlight - @see #actionHighlighted - @see #actionHighlighted - @see #highlightingEnabled - */ - public native void setHighlightingEnabled(boolean enable); - /** - Return whether highlighting notifications are enabled. - @short Return whether highlighting notifications are enabled. - @see #connectHighlight - @see #disconnectHighlight - @see #actionHighlighted - @see #setHighlightingEnabled - @see #actionHighlighted - */ - public native boolean highlightingEnabled(); - /** - Call this function if you want to receive a signal whenever a TDEAction is highlighted in a menu or a toolbar. - This is only needed if you do not add this action to this container. - You will generally not need to call this function. - @param container A container in which the TDEAction is plugged (must inherit TQPopupMenu or TDEToolBar) - @param action The action you are interested in - @short Call this function if you want to receive a signal whenever a TDEAction is highlighted in a menu or a toolbar. - @see #disconnectHighlight - @see #actionHighlighted - @see #setHighlightingEnabled - @see #highlightingEnabled - @see #actionHighlighted - */ - public native void connectHighlight(TQWidget container, TDEAction action); - /** - Disconnect highlight notifications for a particular pair of contianer and action. - This is only needed if you do not add this action to this container. - You will generally not need to call this function. - @param container A container in which the TDEAction is plugged (must inherit TQPopupMenu or TDEToolBar) - @param action The action you are interested in - @short Disconnect highlight notifications for a particular pair of contianer and action. - @see #connectHighlight - @see #actionHighlighted - @see #setHighlightingEnabled - @see #highlightingEnabled - @see #actionHighlighted - */ - public native void disconnectHighlight(TQWidget container, TDEAction action); - /** - The parent KXMLGUIClient, return null if not available. - @short The parent KXMLGUIClient, return 0L if not available. - */ - public native KXMLGUIClientInterface parentGUIClient(); - public TDEActionCollection(TQObject parent, String name, TDEInstanceInterface instance) { - super((Class) null); - newTDEActionCollection(parent,name,instance); - } - private native void newTDEActionCollection(TQObject parent, String name, TDEInstanceInterface instance); - public TDEActionCollection(TQObject parent, String name) { - super((Class) null); - newTDEActionCollection(parent,name); - } - private native void newTDEActionCollection(TQObject parent, String name); - public TDEActionCollection(TQObject parent) { - super((Class) null); - newTDEActionCollection(parent); - } - private native void newTDEActionCollection(TQObject parent); - /** - Add an action to the collection. - Generally you don't have to call this. The action inserts itself automatically - into its parent collection. This can be useful however for a short-lived - collection (e.g. for a popupmenu, where the signals from the collection are needed too). - (don't forget that in the simple case, a list of actions should be a simple TDEActionPtrList). - If you manually insert actions into a 2nd collection, don't forget to take them out - again before destroying the collection. - @param action The TDEAction to add. - @short Add an action to the collection. - */ - public native void insert(TDEAction action); - /** - Removes an action from the collection and deletes it. - Since the TDEAction destructor removes the action from the collection, you generally - don't have to call this. - @param action The TDEAction to remove. - @short Removes an action from the collection and deletes it. - */ - public native void remove(TDEAction action); - /** - Removes an action from the collection. - Since the TDEAction destructor removes the action from the collection, you generally - don't have to call this. - @param action the TDEAction to remove. - @return NULL if not found else returns action. - - @short Removes an action from the collection. - */ - public native TDEAction take(TDEAction action); - public native TDEActionCollection op_plus(TDEActionCollection arg1); - public native TDEActionCollection op_plus_assign(TDEActionCollection arg1); - /** - Clears the entire actionCollection, deleting all actions. - @short Clears the entire actionCollection, deleting all actions. - @see #remove - */ - public native void clear(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEActionCollectionSignals.java b/kdejava/koala/org/kde/koala/TDEActionCollectionSignals.java deleted file mode 100644 index d2ce96ed..00000000 --- a/kdejava/koala/org/kde/koala/TDEActionCollectionSignals.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface TDEActionCollectionSignals { - void inserted(TDEAction arg1); - void removed(TDEAction arg1); - /** Emitted when <code>action</code> is highlighted. - This is only emitted if you have setHighlightingEnabled() - @short Emitted when <code>action</code> is highlighted. - @see #connectHighlight - @see #disconnectHighlight - @see #actionHighlighted - @see #setHighlightingEnabled - @see #highlightingEnabled - */ - void actionHighlighted(TDEAction action); - /** Emitted when <code>action</code> is highlighed or loses highlighting. - This is only emitted if you have setHighlightingEnabled() - @short Emitted when <code>action</code> is highlighed or loses highlighting. - @see #connectHighlight - @see #disconnectHighlight - @see #actionHighlighted - @see #setHighlightingEnabled - @see #highlightingEnabled - */ - void actionHighlighted(TDEAction action, boolean highlight); - /** Emitted when an action is highlighted, with text - being the tooltip for the action. - This is only emitted if you have setHighlightingEnabled() - This is useful to connect to KStatusBar.message(). See - this class overview for more information. - @short Emitted when an action is highlighted, with text being the tooltip for the action. - @see #setHighlightingEnabled - */ - void actionStatusText(String text); - /** Emitted when an action loses highlighting. - This is only emitted if you have setHighlightingEnabled() - @short Emitted when an action loses highlighting. - @see #setHighlightingEnabled - */ - void clearStatusText(); -} diff --git a/kdejava/koala/org/kde/koala/TDEActionMenu.java b/kdejava/koala/org/kde/koala/TDEActionMenu.java deleted file mode 100644 index f455cd9a..00000000 --- a/kdejava/koala/org/kde/koala/TDEActionMenu.java +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -/** - - A TDEActionMenu is an action that holds a sub-menu of other actions. - insert() and remove() allow to insert and remove actions into this action-menu. - Plugged in a popupmenu, it will create a submenu. - Plugged in a toolbar, it will create a button with a popup menu. - This is the action used by the XMLGUI since it holds other actions. - If you want a submenu for selecting one tool among many (without icons), see TDESelectAction. - See also setDelayed about the main action. - @short A TDEActionMenu is an action that holds a sub-menu of other actions. - -*/ -public class TDEActionMenu extends TDEAction { - protected TDEActionMenu(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEActionMenu(String text, TQObject parent, String name) { - super((Class) null); - newTDEActionMenu(text,parent,name); - } - private native void newTDEActionMenu(String text, TQObject parent, String name); - public TDEActionMenu(String text, TQObject parent) { - super((Class) null); - newTDEActionMenu(text,parent); - } - private native void newTDEActionMenu(String text, TQObject parent); - public TDEActionMenu(String text) { - super((Class) null); - newTDEActionMenu(text); - } - private native void newTDEActionMenu(String text); - public TDEActionMenu(String text, TQIconSet icon, TQObject parent, String name) { - super((Class) null); - newTDEActionMenu(text,icon,parent,name); - } - private native void newTDEActionMenu(String text, TQIconSet icon, TQObject parent, String name); - public TDEActionMenu(String text, TQIconSet icon, TQObject parent) { - super((Class) null); - newTDEActionMenu(text,icon,parent); - } - private native void newTDEActionMenu(String text, TQIconSet icon, TQObject parent); - public TDEActionMenu(String text, TQIconSet icon) { - super((Class) null); - newTDEActionMenu(text,icon); - } - private native void newTDEActionMenu(String text, TQIconSet icon); - public TDEActionMenu(String text, String icon, TQObject parent, String name) { - super((Class) null); - newTDEActionMenu(text,icon,parent,name); - } - private native void newTDEActionMenu(String text, String icon, TQObject parent, String name); - public TDEActionMenu(String text, String icon, TQObject parent) { - super((Class) null); - newTDEActionMenu(text,icon,parent); - } - private native void newTDEActionMenu(String text, String icon, TQObject parent); - public TDEActionMenu(String text, String icon) { - super((Class) null); - newTDEActionMenu(text,icon); - } - private native void newTDEActionMenu(String text, String icon); - public TDEActionMenu(TQObject parent, String name) { - super((Class) null); - newTDEActionMenu(parent,name); - } - private native void newTDEActionMenu(TQObject parent, String name); - public TDEActionMenu(TQObject parent) { - super((Class) null); - newTDEActionMenu(parent); - } - private native void newTDEActionMenu(TQObject parent); - public TDEActionMenu() { - super((Class) null); - newTDEActionMenu(); - } - private native void newTDEActionMenu(); - public native void insert(TDEAction arg1, int index); - public native void insert(TDEAction arg1); - public native void remove(TDEAction arg1); - public native TDEPopupMenu popupMenu(); - public native void popup(TQPoint global); - /** - Returns true if this action creates a delayed popup menu - when plugged in a TDEToolbar. - @short Returns true if this action creates a delayed popup menu when plugged in a TDEToolbar. - */ - public native boolean delayed(); - /** - If set to true, this action will create a delayed popup menu - when plugged in a TDEToolbar. Otherwise it creates a normal popup. - Default: delayed - Remember that if the "main" action (the toolbar button itself) - cannot be clicked, then you should call setDelayed(false). - On the opposite, if the main action can be clicked, it can only happen - in a toolbar: in a menu, the parent of a submenu can't be activated. - To get a "normal" menu item when plugged a menu (and no submenu) - use TDEToolBarPopupAction. - @short If set to true, this action will create a delayed popup menu when plugged in a TDEToolbar. - */ - public native void setDelayed(boolean _delayed); - /** - Returns true if this action creates a sticky popup menu. - See setStickyMenu(). - @short Returns true if this action creates a sticky popup menu. - */ - public native boolean stickyMenu(); - /** - If set to true, this action will create a sticky popup menu - when plugged in a TDEToolbar. - "Sticky", means it's visible until a selection is made or the mouse is - clicked elsewhere. This feature allows you to make a selection without - having to press and hold down the mouse while making a selection. - Default: sticky. - @short If set to true, this action will create a sticky popup menu when plugged in a TDEToolbar. - */ - public native void setStickyMenu(boolean sticky); - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEActionSeparator.java b/kdejava/koala/org/kde/koala/TDEActionSeparator.java deleted file mode 100644 index d19d7d86..00000000 --- a/kdejava/koala/org/kde/koala/TDEActionSeparator.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** -*/ -public class TDEActionSeparator extends TDEAction { - protected TDEActionSeparator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEActionSeparator(TQObject parent, String name) { - super((Class) null); - newTDEActionSeparator(parent,name); - } - private native void newTDEActionSeparator(TQObject parent, String name); - public TDEActionSeparator(TQObject parent) { - super((Class) null); - newTDEActionSeparator(parent); - } - private native void newTDEActionSeparator(TQObject parent); - public TDEActionSeparator() { - super((Class) null); - newTDEActionSeparator(); - } - private native void newTDEActionSeparator(); - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEActionShortcutList.java b/kdejava/koala/org/kde/koala/TDEActionShortcutList.java deleted file mode 100644 index 09945088..00000000 --- a/kdejava/koala/org/kde/koala/TDEActionShortcutList.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQVariant; - -/** -*/ -public class TDEActionShortcutList extends TDEShortcutList { - protected TDEActionShortcutList(Class dummy){super((Class) null);} - public TDEActionShortcutList(TDEActionCollection arg1) { - super((Class) null); - newTDEActionShortcutList(arg1); - } - private native void newTDEActionShortcutList(TDEActionCollection arg1); - public native int count(); - public native String name(int i); - public native String label(int arg1); - public native String whatsThis(int arg1); - public native TDEShortcut shortcut(int arg1); - public native TDEShortcut shortcutDefault(int arg1); - public native boolean isConfigurable(int arg1); - public native boolean setShortcut(int arg1, TDEShortcut arg2); - public native TDEInstanceInterface instance(); - public native TQVariant getOther(int arg1, int index); - public native boolean setOther(int arg1, int index, TQVariant arg3); - public native boolean save(); - public native TDEAction action(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEActionSignals.java b/kdejava/koala/org/kde/koala/TDEActionSignals.java deleted file mode 100644 index 0602f5f8..00000000 --- a/kdejava/koala/org/kde/koala/TDEActionSignals.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -public interface TDEActionSignals { - /** - Emitted when this action is activated - @short Emitted when this action is activated - */ - void activated(); - /** - This signal allows to know the reason why an action was activated: - whether it was due to a toolbar button, popupmenu, keyboard accel, or programmatically. - In the first two cases, it also allows to know which mouse button was - used (Left or Middle), and whether keyboard modifiers were pressed (e.g. CTRL). - Note that this signal is emitted before the normal activated() signal. - Yes, BOTH signals are always emitted, so that connecting to activated() still works. - Applications which care about reason and state can either ignore the activated() - signal for a given action and react to this one instead, or store the - reason and state until the activated() signal is emitted. - @short This signal allows to know the reason why an action was activated: whether it was due to a toolbar button, popupmenu, keyboard accel, or programmatically. - */ - void activated(int reason, int state); - void enabled(boolean arg1); -} diff --git a/kdejava/koala/org/kde/koala/TDEApplication.java b/kdejava/koala/org/kde/koala/TDEApplication.java deleted file mode 100644 index 872651f3..00000000 --- a/kdejava/koala/org/kde/koala/TDEApplication.java +++ /dev/null @@ -1,1088 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSessionManager; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPalette; -import org.kde.qt.TQApplication; - -/** - - Controls and provides information to all KDE applications. - Only one object of this class can be instantiated in a single app. - This instance is always accessible via the 'kapp' global variable. - See cut() for an example. - This class provides the following services to all KDE applications. - - <li> - It controls the event queue (see TQApplication ). - </li> - - <li> - It provides the application with KDE resources such as - accelerators, common menu entries, a TDEConfig object. session - management events, help invocation etc. - </li> - - <li> - Installs a signal handler for the SIGCHLD signal in order to - avoid zombie children. If you want to catch this signal yourself or - don't want it to be caught at all, you have set a new signal handler - (or SIG_IGN) after TDEApplication's constructor has run. - </li> - - <li> - Installs an empty signal handler for the SIGPIPE signal using - installSigpipeHandler(). If you want to catch this signal - yourself, you have set a new signal handler after TDEApplication's - constructor has run. - </li> - - <li> - It can start new services - </li> - The way a service gets started depends on the 'X-DCOP-ServiceType' - entry in the desktop file of the service: - There are three possibilities: - - <li> - X-DCOP-ServiceType=None (default) - Always start a new service, - don't wait till the service registers with dcop. - </li> - - <li> - X-DCOP-ServiceType=Multi - Always start a new service, - wait until the service has registered with dcop. - </li> - - <li> - X-DCOP-ServiceType=Unique - Only start the service if it isn't already running, - wait until the service has registered with dcop. - </li> - See {@link TDEApplicationSignals} for signals emitted by TDEApplication - @author Matthias Kalle Dalheimer <kalle@kde.org> - - @short Controls and provides information to all KDE applications. - -*/ -public class TDEApplication extends TQApplication implements TDEInstanceInterface { - protected TDEApplication(Class dummy){super((Class) null);} - public static final int ShiftModifier = 1<<0; - public static final int LockModifier = 1<<1; - public static final int ControlModifier = 1<<2; - public static final int Modifier1 = 1<<3; - public static final int Modifier2 = 1<<4; - public static final int Modifier3 = 1<<5; - public static final int Modifier4 = 1<<6; - public static final int Modifier5 = 1<<7; - - /** @deprecated Same values as Button1Mask etc. in X.h @short @deprecated Same values as Button1Mask etc. - */ - public static final int Button1Pressed = 1<<8; - public static final int Button2Pressed = 1<<9; - public static final int Button3Pressed = 1<<10; - public static final int Button4Pressed = 1<<11; - public static final int Button5Pressed = 1<<12; - - /** Position of the caption (presumably in the application window's - title bar). This enum appears to be unused. - @todo Find out if this is used anywhere. - @short Position of the caption (presumably in the application window's title bar). - */ - public static final int CaptionAppLast = 1; - public static final int CaptionAppFirst = 2; - public static final int CaptionNoApp = 3; - - /** - The possible values for the <code>confirm</code> parameter of requestShutDown(). - @short The possible values for the <code>confirm</code> parameter of requestShutDown(). - */ - public static final int ShutdownConfirmDefault = -1; - public static final int ShutdownConfirmNo = 0; - public static final int ShutdownConfirmYes = 1; - - /** - The possible values for the <code>sdtype</code> parameter of requestShutDown(). - @short The possible values for the <code>sdtype</code> parameter of requestShutDown(). - */ - public static final int ShutdownTypeDefault = -1; - public static final int ShutdownTypeNone = 0; - public static final int ShutdownTypeReboot = 1; - public static final int ShutdownTypeHalt = 2; - - /** - The possible values for the <code>sdmode</code> parameter of requestShutDown(). - @short The possible values for the <code>sdmode</code> parameter of requestShutDown(). - */ - public static final int ShutdownModeDefault = -1; - public static final int ShutdownModeSchedule = 0; - public static final int ShutdownModeTryNow = 1; - public static final int ShutdownModeForceNow = 2; - public static final int ShutdownModeInteractive = 3; - - /** - Valid values for the settingsChanged signal - @short Valid values for the settingsChanged signal - */ - public static final int SETTINGS_MOUSE = 0; - public static final int SETTINGS_COMPLETION = 1; - public static final int SETTINGS_PATHS = 2; - public static final int SETTINGS_POPUPMENU = 3; - public static final int SETTINGS_QT = 4; - public static final int SETTINGS_SHORTCUTS = 5; - - public native TQMetaObject metaObject(); - public native String className(); - /** - This constructor takes aboutData and command line - arguments from TDECmdLineArgs. - @param allowStyles Set to false to disable the loading on plugin based - styles. This is only useful to applications that do not display a GUI - normally. If you do create an application with <code>allowStyles</code> set to false - it normally runs in the background but under special circumstances - displays widgets. Call enableStyles() before displaying any widgets. - @param GUIenabled Set to false to disable all GUI stuff. This implies - no styles either. - @short This constructor takes aboutData and command line arguments from TDECmdLineArgs. - */ - public TDEApplication(boolean allowStyles, boolean GUIenabled) { - super((Class) null); - newTDEApplication(allowStyles,GUIenabled); - } - private native void newTDEApplication(boolean allowStyles, boolean GUIenabled); - public TDEApplication(boolean allowStyles) { - super((Class) null); - newTDEApplication(allowStyles); - } - private native void newTDEApplication(boolean allowStyles); - public TDEApplication() { - super((Class) null); - newTDEApplication(); - } - private native void newTDEApplication(); - /** - Returns the application session config object. - @return A pointer to the application's instance specific - TDEConfig object. - - @short Returns the application session config object. - @see TDEConfig - */ - public native TDEConfig sessionConfig(); - /** - Is the application restored from the session manager? - @return If true, this application was restored by the session manager. - Note that this may mean the config object returned by - sessionConfig() contains data saved by a session closedown. - - @short Is the application restored from the session manager? - @see #sessionConfig - */ - public native boolean isRestored(); - /** - Disables session management for this application. - Useful in case your application is started by the - initial "starttde" script. - @short Disables session management for this application. - */ - public native void disableSessionManagement(); - /** - Enables again session management for this application, formerly - disabled by calling disableSessionManagement(). You usually - shouldn't call this function, as the session management is enabled - by default. - @short Enables again session management for this application, formerly disabled by calling disableSessionManagement(). - */ - public native void enableSessionManagement(); - /** - Asks the session manager to shut the session down. - Using <code>confirm</code> == ShutdownConfirmYes or <code>sdtype</code> != ShutdownTypeDefault or - <code>sdmode</code> != ShutdownModeDefault causes the use of ksmserver's DCOP - interface. The remaining two combinations use the standard XSMP and - will work with any session manager compliant with it. - @param confirm Whether to ask the user if he really wants to log out. - ShutdownConfirm - @param sdtype The action to take after logging out. ShutdownType - @param sdmode If/When the action should be taken. ShutdownMode - @return true on success, false if the session manager could not be - contacted. - - @short Asks the session manager to shut the session down. - */ - public native boolean requestShutDown(int confirm, int sdtype, int sdmode); - public native boolean requestShutDown(int confirm, int sdtype); - public native boolean requestShutDown(int confirm); - public native boolean requestShutDown(); - /** - Propagates the network address of the session manager in the - SESSION_MANAGER environment variable so that child processes can - pick it up. - If SESSION_MANAGER isn't defined yet, the address is searched in - $HOME/.KSMserver. - This function is called by clients that are started outside the - session ( i.e. before ksmserver is started), but want to launch - other processes that should participate in the session. Examples - are kdesktop or kicker. - @short Propagates the network address of the session manager in the SESSION_MANAGER environment variable so that child processes can pick it up. - */ - public native void propagateSessionManager(); - /** - Reimplemented for internal purposes, mainly the highlevel - handling of session management with KSessionManaged. - @short Reimplemented for internal purposes, mainly the highlevel handling of session management with KSessionManaged. - */ - public native void commitData(TQSessionManager sm); - /** - Reimplemented for internal purposes, mainly the highlevel - handling of session management with KSessionManaged. - @short Reimplemented for internal purposes, mainly the highlevel handling of session management with KSessionManaged. - */ - public native void saveState(TQSessionManager sm); - /** - Returns true if the application is currently saving its session - data (most probably before KDE logout). This is intended for use - mainly in TDEMainWindow.queryClose() and TDEMainWindow.queryExit(). - @short Returns true if the application is currently saving its session data (most probably before KDE logout). - @see TDEMainWindow#queryClose - @see TDEMainWindow#queryExit - */ - public native boolean sessionSaving(); - /** - Returns a TQPixmap with the application icon. - @return the application icon - - @short Returns a TQPixmap with the application icon. - */ - public native TQPixmap icon(); - /** - Returns the name of the application icon. - @return the icon's name - - @short Returns the name of the application icon. - */ - public native String iconName(); - /** - Returns the mini-icon for the application as a TQPixmap. - @return the application's mini icon - - @short Returns the mini-icon for the application as a TQPixmap. - */ - public native TQPixmap miniIcon(); - /** - Returns the name of the mini-icon for the application. - @return the mini icon's name - - @short Returns the name of the mini-icon for the application. - */ - public native String miniIconName(); - /** - Sets the top widget of the application. - This means basically applying the right window caption and - icon. An application may have several top widgets. You don't - need to call this function manually when using TDEMainWindow. - @param topWidget A top widget of the application. - @short Sets the top widget of the application. - @see #icon - @see #caption - */ - public native void setTopWidget(TQWidget topWidget); - /** - Invokes the KHelpCenter HTML help viewer from docbook sources. - @param anchor This has to be a defined anchor in your - docbook sources. If empty the main index - is loaded - @param appname This allows you to show the help of another - application. If empty the current name() is - used - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @short Invokes the KHelpCenter HTML help viewer from docbook sources. - */ - public native void invokeHelp(String anchor, String appname, String startup_id); - public native void invokeHelp(String anchor, String appname); - public native void invokeHelp(String anchor); - public native void invokeHelp(); - /** - Convenience method; invokes the standard email application. - @param address The destination address - @param subject Subject string. Can be null. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @short Convenience method; invokes the standard email application. - */ - public native void invokeMailer(String address, String subject, String startup_id); - public native void invokeMailer(String address, String subject); - /** - Invokes the standard email application. - @param mailtoURL A mailto URL. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @param allowAttachments whether attachments specified in mailtoURL should be honoured. - The default is false; do not honour requests for attachments. - @short Invokes the standard email application. - */ - public native void invokeMailer(KURL mailtoURL, String startup_id, boolean allowAttachments); - public native void invokeMailer(KURL mailtoURL, String startup_id); - public native void invokeMailer(KURL mailtoURL); - /** - Convenience method; invokes the standard email application. - All parameters are optional. - @param to The destination address. - @param cc The Cc field - @param bcc The Bcc field - @param subject Subject string - @param body A string containing the body of the mail (exclusive with messageFile) - @param messageFile A file (URL) containing the body of the mail (exclusive with body) - currently unsupported - @param attachURLs List of URLs to be attached to the mail. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @short Convenience method; invokes the standard email application. - */ - public native void invokeMailer(String to, String cc, String bcc, String subject, String body, String messageFile, String[] attachURLs, String startup_id); - public native void invokeMailer(String to, String cc, String bcc, String subject, String body, String messageFile, String[] attachURLs); - public native void invokeMailer(String to, String cc, String bcc, String subject, String body, String messageFile); - public native void invokeMailer(String to, String cc, String bcc, String subject, String body); - /** - Returns a text for the window caption. - This may be set by - "-caption", otherwise it will be equivalent to the name of the - executable. - @return the text for the window caption - - @short Returns a text for the window caption. - */ - public native String caption(); - /** - Builds a caption that contains the application name along with the - userCaption using a standard layout. - To make a compliant caption - for your window, simply do: <code>setCaption</code>(kapp.makeStdCaption(yourCaption)); - @param userCaption The caption string you want to display in the - window caption area. Do not include the application name! - @param withAppName Indicates that the method shall include or ignore - the application name when making the caption string. You are not - compliant if you set this to <code>false.</code> - @param modified If true, a 'modified' sign will be included in the - returned string. This is useful when indicating that a file is - modified, i.e., it contains data that has not been saved. - @return the created caption - - @short Builds a caption that contains the application name along with the userCaption using a standard layout. - */ - public native String makeStdCaption(String userCaption, boolean withAppName, boolean modified); - public native String makeStdCaption(String userCaption, boolean withAppName); - public native String makeStdCaption(String userCaption); - /** - Get a file name in order to make a temporary copy of your document. - @param pFilename The full path to the current file of your - document. - @return A new filename for auto-saving. - - @short Get a file name in order to make a temporary copy of your document. - */ - public native String tempSaveName(String pFilename); - /** - Check whether an auto-save file exists for the document you want to - open. - @param pFilename The full path to the document you want to open. - @param bRecover This gets set to true if there was a recover - file. - @return The full path of the file to open. - - @short Check whether an auto-save file exists for the document you want to open. - */ - public native String checkRecoverFile(String pFilename, boolean bRecover); - /** - Enables style plugins. - This is useful only to applications that normally - do not display a GUI and create the TDEApplication with - allowStyles set to false. - @short Enables style plugins. - */ - public native void enableStyles(); - /** - Disables style plugins. - Current style plugins do not get unloaded. - This is only useful when used in combination with enableStyles(). - @short Disables style plugins. - */ - public native void disableStyles(); - /** - Installs widget filter as global X11 event filter. - The widget - filter receives XEvents in its standard TQWidget.x11Event() function. - Warning: Only do this when absolutely necessary. An installed X11 filter - can slow things down. - @short Installs widget filter as global X11 event filter. - */ - public native void installX11EventFilter(TQWidget filter); - /** - Removes global X11 event filter previously installed by - installX11EventFilter(). - @short Removes global X11 event filter previously installed by installX11EventFilter(). - */ - public native void removeX11EventFilter(TQWidget filter); - /** - Adds a message type to the KIPC event mask. You can only add "system - messages" to the event mask. These are the messages with id < 32. - Messages with id >= 32 are user messages. - @param id The message id. See KIPC.Message. - @short Adds a message type to the KIPC event mask. - @see KIPC - @see #removeKipcEventMask - @see #kipcMessage - */ - public native void addKipcEventMask(int id); - /** - Removes a message type from the KIPC event mask. This message will - not be handled anymore. - @param id The message id. - @short Removes a message type from the KIPC event mask. - @see KIPC - @see #addKipcEventMask - @see #kipcMessage - */ - public native void removeKipcEventMask(int id); - /** - Returns the app startup notification identifier for this running - application. - @return the startup notification identifier - - @short Returns the app startup notification identifier for this running application. - */ - public native String startupId(); - /** - Sets a new value for the application startup notification window property for newly - created toplevel windows. - @param startup_id the startup notification identifier - @short - @see TDEStartupInfo#setNewStartupId - */ - public native void setStartupId(String startup_id); - /** - Updates the last user action timestamp to the given time, or to the current time, - if 0 is given. Do not use unless you're really sure what you're doing. - Consult focus stealing prevention section in tdebase/twin/README. - @short Updates the last user action timestamp to the given time, or to the current time, if 0 is given. - */ - public native void updateUserTimestamp(long time); - public native void updateUserTimestamp(); - /** - Returns the last user action timestamp or 0 if no user activity has taken place yet. - @short Returns the last user action timestamp or 0 if no user activity has taken place yet. - @see #updateuserTimestamp - */ - public native long userTimestamp(); - /** - Updates the last user action timestamp in the application registered to DCOP with dcopId - to the given time, or to this application's user time, if 0 is given. - Use before causing user interaction in the remote application, e.g. invoking a dialog - in the application using a DCOP call. - Consult focus stealing prevention section in tdebase/twin/README. - @short Updates the last user action timestamp in the application registered to DCOP with dcopId to the given time, or to this application's user time, if 0 is given. - */ - public native void updateRemoteUserTimestamp(String dcopId, long time); - public native void updateRemoteUserTimestamp(String dcopId); - /** - Returns the argument to --geometry if any, so the geometry can be set - wherever necessary - @return the geometry argument, or null if there is none - - @short Returns the argument to --geometry if any, so the geometry can be set wherever necessary - */ - public native String geometryArgument(); - /** - Install a Qt SQL property map with entries for all KDE widgets - Call this in any application using KDE widgets in TQSqlForm or TQDataView. - @short Install a Qt SQL property map with entries for all KDE widgets Call this in any application using KDE widgets in TQSqlForm or TQDataView. - */ - public native void installKDEPropertyMap(); - /** - Returns whether a certain action is authorized - @param genericAction The name of a generic action - @return true if the action is authorized - - @short Returns whether a certain action is authorized - */ - public native boolean authorize(String genericAction); - /** - Returns whether a certain TDEAction is authorized. - @param action The name of a TDEAction action. The name is prepended - with "action/" before being passed to authorize() - @return true if the TDEAction is authorized - - @short Returns whether a certain TDEAction is authorized. - */ - public native boolean authorizeTDEAction(String action); - /** - Returns whether a certain URL related action is authorized. - @param action The name of the action. Known actions are - list (may be listed (e.g. in file selection dialog)), - link (may be linked to), - open (may open) and - redirect (may be redirected to) - @param baseURL The url where the action originates from - @param destURL The object of the action - @return true when the action is authorized, false otherwise. - - @short Returns whether a certain URL related action is authorized. - */ - public native boolean authorizeURLAction(String action, KURL baseURL, KURL destURL); - /** - Allow a certain URL action. This can be useful if your application - needs to ensure access to an application specific directory that may - otherwise be subject to KIOSK restrictions. - @param action The name of the action. - @param _baseURL The url where the action originates from - @param _destURL The object of the action - @short Allow a certain URL action. - */ - public native void allowURLAction(String action, KURL _baseURL, KURL _destURL); - /** - Returns whether access to a certain control module is authorized. - @param menuId identifying the control module, e.g. tde-mouse.desktop - @return true if access to the module is authorized, false otherwise. - - @short Returns whether access to a certain control module is authorized. - */ - public native boolean authorizeControlModule(String menuId); - /** - Returns whether access to a certain control modules is authorized. - @param menuIds list of menu-ids of control module, - an example of a menu-id is tde-mouse.desktop. - @return Those control modules for which access has been authorized. - - @short Returns whether access to a certain control modules is authorized. - */ - public native ArrayList authorizeControlModules(String[] menuIds); - /** - @short - */ - public native boolean notify(TQObject receiver, TQEvent event); - /** - @short - */ - // int xErrhandler(Display* arg1,void* arg2); >>>> NOT CONVERTED - /** - @short - */ - // int xioErrhandler(Display* arg1); >>>> NOT CONVERTED - /** - @short - */ - // void iceIOErrorHandler(_IceConn* arg1); >>>> NOT CONVERTED - /** - Invokes the standard browser. - Note that you should only do this when you know for sure that the browser can - handle the URL (i.e. its mimetype). In doubt, if the URL can point to an image - or anything else than directory or HTML, prefer to use new KRun( url ). - @param url The destination address - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @short Invokes the standard browser. - */ - public native void invokeBrowser(String url, String startup_id); - /** - Invoke the standard browser. Uses a <code>startup_id</code> of "" (empty) - and is otherwise the same as the above function. - @short Invoke the standard browser. - */ - public native void invokeBrowser(String url); - /** - If the widget with focus provides a cut() slot, call that slot. Thus for a - simple application cut can be implemented as: - <pre> - KStdAction.cut( kapp, SLOT("cut()"), actionCollection() ); - </pre> - @short If the widget with focus provides a cut() slot, call that slot. - */ - public native void cut(); - /** - If the widget with focus provides a copy() slot, call that slot. Thus for a - simple application copy can be implemented as: - <pre> - KStdAction.copy( kapp, SLOT("copy()"), actionCollection() ); - </pre> - @short If the widget with focus provides a copy() slot, call that slot. - */ - public native void copy(); - /** - If the widget with focus provides a paste() slot, call that slot. Thus for a - simple application copy can be implemented as: - <pre> - KStdAction.paste( kapp, SLOT("paste()"), actionCollection() ); - </pre> - @short If the widget with focus provides a paste() slot, call that slot. - */ - public native void paste(); - /** - If the widget with focus provides a clear() slot, call that slot. Thus for a - simple application clear() can be implemented as: - <pre> - new TDEAction( i18n( "Clear" ), "editclear", 0, kapp, SLOT("clear()"), actionCollection(), "clear" ); - </pre> - Note that for some widgets, this may not provide the intended bahavior. For - example if you make use of the code above and a TDEListView has the focus, clear() - will clear all of the items in the list. If this is not the intened behavior - and you want to make use of this slot, you can subclass TDEListView and reimplement - this slot. For example the following code would implement a TDEListView without this - behavior: - <pre> - public class MyListView implements TDEListView { - public MyListView( TQWidget parent = 0, String name = 0, WFlags f = 0 ) {} - - public void clear() {} - } - </pre> - @short If the widget with focus provides a clear() slot, call that slot. - */ - public native void clear(); - /** - If the widget with focus provides a selectAll() slot, call that slot. Thus for a - simple application select all can be implemented as: - <pre> - KStdAction.selectAll( kapp, SLOT("selectAll()"), actionCollection() ); - </pre> - @short If the widget with focus provides a selectAll() slot, call that slot. - */ - public native void selectAll(); - /** - Tells TDEApplication about one more operation that should be finished - before the application exits. The standard behavior is to exit on the - "last window closed" event, but some events should outlive the last window closed - (e.g. a file copy for a file manager, or 'compacting folders on exit' for a mail client). - @short Tells TDEApplication about one more operation that should be finished before the application exits. - */ - public native void ref(); - /** - Tells TDEApplication that one operation such as those described in ref() just finished. - The application exits if the counter is back to 0. - @short Tells TDEApplication that one operation such as those described in ref() just finished. - */ - public native void deref(); - /** - Add Qt and KDE command line options to TDECmdLineArgs. - @short Add Qt and KDE command line options to TDECmdLineArgs. - */ - public static native void addCmdLineOptions(); - /** - Returns the current application object. - This is similar to the global TQApplication pointer tqApp. It - allows access to the single global TDEApplication object, since - more than one cannot be created in the same application. It - saves you the trouble of having to pass the pointer explicitly - to every function that may require it. - @return the current application object - - @short Returns the current application object. - */ - public static native TDEApplication kApplication(); - /** - Returns a pointer to a DCOPClient for the application. - If a client does not exist yet, it is created when this - function is called. - @return the DCOPClient for the application - - @short Returns a pointer to a DCOPClient for the application. - */ - public static native DCOPClient dcopClient(); - /** - Disable automatic dcop registration - Must be called before creating a TDEApplication instance to have an effect. - @short Disable automatic dcop registration Must be called before creating a TDEApplication instance to have an effect. - */ - public static native void disableAutoDcopRegistration(); - /** - Returns the DCOP name of the service launcher. This will be something like - klaucher_$host_$uid. - @return the name of the service launcher - - @short Returns the DCOP name of the service launcher. - */ - public static native String launcher(); - /** - Starts a service based on the (translated) name of the service. - E.g. "Web Browser" - @param _name the name of the service - @param URL if not empty this URL is passed to the service - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If empty, the service does - not provide DCOP services. If the pointer is 0 the argument - will be ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @param noWait if set, the function does not wait till the service is running. - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a service based on the (translated) name of the service. - */ - public static native int startServiceByName(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id, boolean noWait); - public static native int startServiceByName(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id); - public static native int startServiceByName(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid); - public static native int startServiceByName(String _name, String URL, StringBuffer error, StringBuffer dcopService); - public static native int startServiceByName(String _name, String URL, StringBuffer error); - public static native int startServiceByName(String _name, String URL); - /** - Starts a service based on the (translated) name of the service. - E.g. "Web Browser" - @param _name the name of the service - @param URLs if not empty these URLs will be passed to the service - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If empty, the service does - not provide DCOP services. If the pointer is 0 the argument - will be ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @param noWait if set, the function does not wait till the service is running. - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a service based on the (translated) name of the service. - */ - public static native int startServiceByName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id, boolean noWait); - public static native int startServiceByName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id); - public static native int startServiceByName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid); - public static native int startServiceByName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService); - public static native int startServiceByName(String _name, String[] URLs, StringBuffer error); - public static native int startServiceByName(String _name, String[] URLs); - public static native int startServiceByName(String _name); - /** - Starts a service based on the desktop path of the service. - E.g. "Applications/konqueror.desktop" or "/home/user/bla/myfile.desktop" - @param _name the path of the desktop file - @param URL if not empty this URL is passed to the service - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If empty, the service does - not provide DCOP services. If the pointer is 0 the argument - will be ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @param noWait if set, the function does not wait till the service is running. - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a service based on the desktop path of the service. - */ - public static native int startServiceByDesktopPath(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id, boolean noWait); - public static native int startServiceByDesktopPath(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id); - public static native int startServiceByDesktopPath(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid); - public static native int startServiceByDesktopPath(String _name, String URL, StringBuffer error, StringBuffer dcopService); - public static native int startServiceByDesktopPath(String _name, String URL, StringBuffer error); - public static native int startServiceByDesktopPath(String _name, String URL); - /** - Starts a service based on the desktop path of the service. - E.g. "Applications/konqueror.desktop" or "/home/user/bla/myfile.desktop" - @param _name the path of the desktop file - @param URLs if not empty these URLs will be passed to the service - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If empty, the service does - not provide DCOP services. If the pointer is 0 the argument - will be ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @param noWait if set, the function does not wait till the service is running. - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a service based on the desktop path of the service. - */ - public static native int startServiceByDesktopPath(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id, boolean noWait); - public static native int startServiceByDesktopPath(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id); - public static native int startServiceByDesktopPath(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid); - public static native int startServiceByDesktopPath(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService); - public static native int startServiceByDesktopPath(String _name, String[] URLs, StringBuffer error); - public static native int startServiceByDesktopPath(String _name, String[] URLs); - public static native int startServiceByDesktopPath(String _name); - /** - Starts a service based on the desktop name of the service. - E.g. "konqueror" - @param _name the desktop name of the service - @param URL if not empty this URL is passed to the service - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If empty, the service does - not provide DCOP services. If the pointer is 0 the argument - will be ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @param noWait if set, the function does not wait till the service is running. - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a service based on the desktop name of the service. - */ - public static native int startServiceByDesktopName(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id, boolean noWait); - public static native int startServiceByDesktopName(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id); - public static native int startServiceByDesktopName(String _name, String URL, StringBuffer error, StringBuffer dcopService, int[] pid); - public static native int startServiceByDesktopName(String _name, String URL, StringBuffer error, StringBuffer dcopService); - public static native int startServiceByDesktopName(String _name, String URL, StringBuffer error); - public static native int startServiceByDesktopName(String _name, String URL); - /** - Starts a service based on the desktop name of the service. - E.g. "konqueror" - @param _name the desktop name of the service - @param URLs if not empty these URLs will be passed to the service - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, <code>dcopService</code> contains the DCOP name - under which this service is available. If empty, the service does - not provide DCOP services. If the pointer is 0 the argument - will be ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @param noWait if set, the function does not wait till the service is running. - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a service based on the desktop name of the service. - */ - public static native int startServiceByDesktopName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id, boolean noWait); - public static native int startServiceByDesktopName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid, String startup_id); - public static native int startServiceByDesktopName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService, int[] pid); - public static native int startServiceByDesktopName(String _name, String[] URLs, StringBuffer error, StringBuffer dcopService); - public static native int startServiceByDesktopName(String _name, String[] URLs, StringBuffer error); - public static native int startServiceByDesktopName(String _name, String[] URLs); - public static native int startServiceByDesktopName(String _name); - /** - Starts a program via tdeinit. - program name and arguments are converted to according to the - local encoding and passed as is to tdeinit. - @param name Name of the program to start - @param args Arguments to pass to the program - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a program via tdeinit. - */ - public static native int tdeinitExec(String name, String[] args, StringBuffer error, int[] pid, String startup_id); - public static native int tdeinitExec(String name, String[] args, StringBuffer error, int[] pid); - public static native int tdeinitExec(String name, String[] args, StringBuffer error); - public static native int tdeinitExec(String name, String[] args); - public static native int tdeinitExec(String name); - /** - Starts a program via tdeinit and wait for it to finish. - Like tdeinitExec(), but it waits till the program is finished. - As such it behaves similar to the system(...) function. - @param name Name of the program to start - @param args Arguments to pass to the program - @param error On failure, <code>error</code> contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param pid On success, the process id of the new service will be written - here. If the pointer is 0, the argument will be ignored. - @param startup_id for app startup notification, "0" for none, - "" ( empty string ) is the default - @return an error code indicating success (== 0) or failure (> 0). - - @short Starts a program via tdeinit and wait for it to finish. - */ - public static native int tdeinitExecWait(String name, String[] args, StringBuffer error, int[] pid, String startup_id); - public static native int tdeinitExecWait(String name, String[] args, StringBuffer error, int[] pid); - public static native int tdeinitExecWait(String name, String[] args, StringBuffer error); - public static native int tdeinitExecWait(String name, String[] args); - public static native int tdeinitExecWait(String name); - /** - Generates a uniform random number. - @return A truly unpredictable number in the range [0, RAND_MAX) - - @short Generates a uniform random number. - */ - public static native int random(); - /** - Generates a random string. It operates in the range [A-Za-z0-9] - @param length Generate a string of this length. - @return the random string - - @short Generates a random string. - */ - public static native String randomString(int length); - /** - Returns the state of the currently pressed keyboard modifiers (e.g. shift, control, etc.) - and mouse buttons, similarly to TQKeyEvent.state() and TQMouseEvent.state(). - You usually should simply use the information provided by TQKeyEvent and TQMouseEvent, - but it can be useful to query for the status of the modifiers at another moment - (e.g. some KDE apps do that upon a drop event). - @return the keyboard modifiers and mouse buttons state - - @short Returns the state of the currently pressed keyboard modifiers (e. - */ - public static native int keyboardMouseState(); - /** - @short - */ - public static native void startKdeinit(); - /** - Used to obtain the TQPalette that will be used to set the application palette. - This is only useful for configuration modules such as krdb and should not be - used in normal circumstances. - @return the TQPalette - - @short Used to obtain the TQPalette that will be used to set the application palette. - */ - public static native TQPalette createApplicationPalette(); - /** - Raw access for use by TDM. - @short - */ - public static native TQPalette createApplicationPalette(TDEConfig config, int contrast); - /** - Installs a handler for the SIGPIPE signal. It is thrown when you write to - a pipe or socket that has been closed. - The handler is installed automatically in the constructor, but you may - need it if your application or component does not have a TDEApplication - instance. - @short Installs a handler for the SIGPIPE signal. - */ - public static native void installSigpipeHandler(); - /** - Whether widgets can be used. - @short - */ - public static native boolean guiEnabled(); - /** - @short - */ - public TDEApplication(boolean allowStyles, boolean GUIenabled, TDEInstanceInterface _instance) { - super((Class) null); - newTDEApplication(allowStyles,GUIenabled,_instance); - } - private native void newTDEApplication(boolean allowStyles, boolean GUIenabled, TDEInstanceInterface _instance); - /** - This method is used internally to determine which edit slots are implemented - by the widget that has the focus, and to invoke those slots if available. - @param slot is the slot as returned using the SLOT() macro, for example SLOT("cut()") - This method can be used in TDEApplication subclasses to implement application wide - edit actions not supported by the TDEApplication class. For example (in your subclass): - <pre> - void MyApplication.deselect() - { - invokeEditSlot( SLOT("deselect()") ); - } - </pre> - Now in your application calls to MyApplication.deselect() will call this slot on the - focused widget if it provides this slot. You can combine this with TDEAction with: - <pre> - KStdAction.deselect( (MyApplication)( kapp ), SLOT("cut()"), actionCollection() ); - </pre> - @short This method is used internally to determine which edit slots are implemented by the widget that has the focus, and to invoke those slots if available. - @see #cut - @see #copy - @see #paste - @see #clear - @see #selectAll - */ - protected native void invokeEditSlot(String slot); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Returns the application standard dirs object. - @return The TDEStandardDirs of the application. - - @short Returns the application standard dirs object. - */ - public native TDEStandardDirs dirs(); - /** - Returns the general config object ("appnamerc"). - @return the TDEConfig object for the instance. - - @short Returns the general config object ("appnamerc"). - */ - public native TDEConfig config(); - /** - Returns the general config object ("appnamerc"). - @return the TDEConfig object for the instance. - - @short Returns the general config object ("appnamerc"). - */ - public native TDESharedConfig sharedConfig(); - /** - Returns an iconloader object. - @return the iconloader object. - - @short Returns an iconloader object. - */ - public native TDEIconLoader iconLoader(); - /** - Re-allocate the global iconloader. - @short Re-allocate the global iconloader. - */ - public native void newIconLoader(); - /** - Returns the about data of this instance - Warning, can be null - @return the about data of the instance, or 0 if it has - not been set yet - - @short Returns the about data of this instance Warning, can be 0L - */ - public native TDEAboutData aboutData(); - /** - Returns the name of the instance - @return the instance name, can be null if the TDEInstance has been - created with a null name - - @short Returns the name of the instance - */ - public native String instanceName(); - /** - Returns the KMimeSourceFactory of the instance. - Mainly added for API completeness and future extensibility. - @return the KMimeSourceFactory set as default for this application. - - @short Returns the KMimeSourceFactory of the instance. - */ - public native KMimeSourceFactory mimeSourceFactory(); - /** - Set name of default config file. - @param name the name of the default config file - @short Set name of default config file. - */ - protected native void setConfigName(String name); - /** - Used internally by the KDE Koala Java bindings runtime - */ - public static native void setJavaSlotFactory(); - -} diff --git a/kdejava/koala/org/kde/koala/TDEApplicationSignals.java b/kdejava/koala/org/kde/koala/TDEApplicationSignals.java deleted file mode 100644 index d85fc48a..00000000 --- a/kdejava/koala/org/kde/koala/TDEApplicationSignals.java +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSessionManager; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPalette; - -public interface TDEApplicationSignals { - /** - Emitted when TDEApplication has changed its palette due to a KControl request. - Normally, widgets will update their palette automatically, but you - should connect to this to program special behavior. - @short Emitted when TDEApplication has changed its palette due to a KControl request. - */ - void tdedisplayPaletteChanged(); - /** - Emitted when TDEApplication has changed its GUI style in response to a KControl request. - Normally, widgets will update their styles automatically (as they would - respond to an explicit setGUIStyle() call), but you should connect to - this to program special behavior. - @short Emitted when TDEApplication has changed its GUI style in response to a KControl request. - */ - void tdedisplayStyleChanged(); - /** - Emitted when TDEApplication has changed its font in response to a KControl request. - Normally widgets will update their fonts automatically, but you should - connect to this to monitor global font changes, especially if you are - using explicit fonts. - Note: If you derive from a TQWidget-based class, a faster method is to - reimplement TQWidget.fontChange(). This is the preferred way - to get informed about font updates. - @short Emitted when TDEApplication has changed its font in response to a KControl request. - */ - void tdedisplayFontChanged(); - /** - Emitted when TDEApplication has changed either its GUI style, its font or its palette - in response to a tdedisplay request. Normally, widgets will update their styles - automatically, but you should connect to this to program special - behavior. @short Emitted when TDEApplication has changed either its GUI style, its font or its palette in response to a tdedisplay request. - */ - void appearanceChanged(); - /** - Emitted when the settings for toolbars have been changed. TDEToolBar will know what to do. - @short Emitted when the settings for toolbars have been changed. - */ - void toolbarAppearanceChanged(int arg1); - /** - Emitted when the desktop background has been changed by <code>kcmdisplay.</code> - @param desk The desktop whose background has changed. - @short Emitted when the desktop background has been changed by <code>kcmdisplay.</code> - */ - void backgroundChanged(int desk); - /** - Emitted when the global settings have been changed - see TDEGlobalSettings - TDEApplication takes care of calling reparseConfiguration on TDEGlobal.config() - so that applications/classes using this only have to re-read the configuration - @param category the category among the enum above - @short Emitted when the global settings have been changed - see TDEGlobalSettings TDEApplication takes care of calling reparseConfiguration on TDEGlobal.config() so that applications/classes using this only have to re-read the configuration - */ - void settingsChanged(int category); - /** - Emitted when the global icon settings have been changed. - @param group the new group - @short Emitted when the global icon settings have been changed. - */ - void iconChanged(int group); - /** - Emitted when a KIPC user message has been received. - @param id the message id - @param data the data - @short Emitted when a KIPC user message has been received. - @see KIPC - @see KIPC#Message - @see #addKipcEventMask - @see #removeKipcEventMask - */ - void kipcMessage(int id, int data); - /** - Session management asks you to save the state of your application. - This signal is provided for compatibility only. For new - applications, simply use TDEMainWindow. By reimplementing - TDEMainWindow.queryClose(), TDEMainWindow.saveProperties() and - TDEMainWindow.readProperties() you can simply handle session - management for applications with multiple toplevel windows. - For purposes without TDEMainWindow, create an instance of - KSessionManaged and reimplement the functions - KSessionManaged.commitData() and/or - KSessionManaged.saveState() - If you still want to use this signal, here is what you should do: - Connect to this signal in order to save your data. Do NOT - manipulate the UI in that slot, it is blocked by the session - manager. - Use the sessionConfig() TDEConfig object to store all your - instance specific data. - Do not do any closing at this point! The user may still select - Cancel wanting to continue working with your - application. Cleanups could be done after shutDown() (see - the following). - @short Session management asks you to save the state of your application. - */ - void saveYourself(); - /** Your application is killed. Either by your program itself, - <code>xkill</code> or (the usual case) by KDE's logout. - The signal is particularly useful if your application has to do some - last-second cleanups. Note that no user interaction is possible at - this state. - @short Your application is killed. - */ - void shutDown(); -} diff --git a/kdejava/koala/org/kde/koala/TDEBufferedIO.java b/kdejava/koala/org/kde/koala/TDEBufferedIO.java deleted file mode 100644 index 0af84786..00000000 --- a/kdejava/koala/org/kde/koala/TDEBufferedIO.java +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - This abstract class implements basic functionality for buffered - input/output. - Through the available methods, you can find out how many bytes are - available for reading, how many are still unsent and you can peek at - the buffered data. - This class was intentionally written to resemble TQSocket, because - KExtendedSocket is a subclass of this one. This is so that applications - written using TQSocket's buffering characteristics will be more easily - ported to the more powerful KExtendedSocket class. - TDEBufferedIO already provides a powerful internal buffering algorithm. However, - this does not include the I/O itself, which must be implemented in - derived classes. Thus, to implement a class that does some I/O, you must - override, in addition to the pure TQIODevice methods, these two: - - <li> - closeNow() - </li> - - <li> - waitForMore() - </li> - If your derived class reimplements the buffering algorithm, you must then - decide which buffering functions to override. For instance, you may want to - change the protected functions like feedReadBuffer() and consumeReadBuffer(). - See {@link TDEBufferedIOSignals} for signals emitted by TDEBufferedIO - @author Thiago Macieira <thiagom@mail.com> - - @short Buffered I/O. - -*/ -public class TDEBufferedIO extends KAsyncIO { - protected TDEBufferedIO(Class dummy){super((Class) null);} - /** - The modes for closed() signal - @short The modes for closed() signal - */ - public static final int availRead = 0x01; - public static final int dirtyWrite = 0x02; - public static final int involuntary = 0x10; - public static final int delayed = 0x20; - public static final int closedNow = 0x40; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Closes the stream now, discarding the contents of the - write buffer. That is, we won't try to flush that - buffer before closing. If you want that buffer to be - flushed, you can call TQIODevice.flush(), which is blocking, and - then closeNow, or you can call TQIODevice.close() for a delayed - close. - @short Closes the stream now, discarding the contents of the write buffer. - */ - public native void closeNow(); - /** - Sets the internal buffer size to value. - Not all implementations support this. - The parameters may be 0 to make the class unbuffered or -1 - to let the class choose the size (which may be unlimited) or - -2 to leave the buffer size untouched. - Note that setting the write buffer size to any value smaller than - the current size of the buffer will force it to flush first, - which can make this call blocking. - The default implementation does not support setting the buffer - sizes. You can only call this function with values -1 for "don't care" - or -2 for "unchanged" - @param rsize the size of the read buffer - @param wsize the size of the write buffer - @return true if setting both was ok. If false is returned, the - buffers were left unchanged. - - @short Sets the internal buffer size to value. - */ - public native boolean setBufferSize(int rsize, int wsize); - public native boolean setBufferSize(int rsize); - /** - Returns the number of bytes available for reading in the read buffer - @return the number of bytes available for reading - - @short Returns the number of bytes available for reading in the read buffer - */ - public native int bytesAvailable(); - /** - Waits for more data to be available and returns the amount of available data then. - @param msec number of milliseconds to wait, -1 to wait forever - @return -1 if we cannot wait (e.g., that doesn't make sense in this stream) - - @short Waits for more data to be available and returns the amount of available data then. - */ - public native int waitForMore(int msec); - /** - Returns the number of bytes yet to write, still in the write buffer - @return the number of unwritten bytes in the write buffer - - @short Returns the number of bytes yet to write, still in the write buffer - */ - public native int bytesToWrite(); - /** - Checks whether there is enough data in the buffer to read a line - The default implementation reads directly from inBuf, so if your - implementation changes the meaning of that member, then you must override - this function. - @return true when there is enough data in the buffer to read a line - - @short Checks whether there is enough data in the buffer to read a line - */ - public native boolean canReadLine(); - /** - Reads into the user buffer at most maxlen bytes, but does not - consume that data from the read buffer. This is useful to check - whether we already have the needed data to process something. - This function may want to try and read more data from the system - provided it won't block. - @param data the user buffer pointer, at least maxlen bytes long - @param maxlen the maximum length to be peeked - @return the number of bytes actually copied. - - @short Reads into the user buffer at most maxlen bytes, but does not consume that data from the read buffer. - */ - public native int peekBlock(String data, int maxlen); - /** - Unreads some data. That is, write the data to the beginning of the - read buffer, so that next calls to readBlock or peekBlock will see - this data instead. - Note not all devices implement this since this could mean a semantic - problem. For instance, sockets are sequential devices, so they won't - accept unreading. - @param data the data to be unread - @param len the size of the data - @return the number of bytes actually unread - - @short Unreads some data. - */ - public native int unreadBlock(String data, int len); -} diff --git a/kdejava/koala/org/kde/koala/TDEBufferedIOSignals.java b/kdejava/koala/org/kde/koala/TDEBufferedIOSignals.java deleted file mode 100644 index 1b81b725..00000000 --- a/kdejava/koala/org/kde/koala/TDEBufferedIOSignals.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface TDEBufferedIOSignals { - /** - This signal gets sent whenever bytes are written from the buffer. - @param nbytes the number of bytes sent. - @short This signal gets sent whenever bytes are written from the buffer. - */ - void bytesWritten(int nbytes); - /** - This signal gets sent when the stream is closed. The <code>state</code> parameter - will give the current state, in OR-ed bits: - - <li> - availRead: read buffer contains data to be read - </li> - - <li> - dirtyWrite: write buffer wasn't empty when the stream closed - </li> - - <li> - involuntary: the stream wasn't closed due to user request - (i.e., call to close). Probably remote end closed it - </li> - - <li> - delayed: the stream was closed voluntarily by the user, but it - happened only after the write buffer was emptied - </li> - - <li> - closedNow: the stream was closed voluntarily by the user, by - explicitly calling closeNow, which means the - write buffer's contents may have been discarded - </li> - @param state the state (see function description) - @short This signal gets sent when the stream is closed. - */ - void closed(int state); -} diff --git a/kdejava/koala/org/kde/koala/TDECModule.java b/kdejava/koala/org/kde/koala/TDECModule.java deleted file mode 100644 index ac6f57dc..00000000 --- a/kdejava/koala/org/kde/koala/TDECModule.java +++ /dev/null @@ -1,275 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - The base class for control center modules. - Starting from KDE 2.0, control center modules are realized as shared - libraries that are loaded into the control center at runtime. - The module in principle is a simple widget displaying the - item to be changed. The module has a very small interface. - All the necessary glue logic and the GUI bells and whistles - are provided by the control center and must not concern - the module author. - To write a config module, you have to create a library - that contains at one factory function like this: - <pre> - #include <kgenericfactory.h> - typedef KGenericFactory<YourTDECModule, TQWidget> YourTDECModuleFactory; - K_EXPORT_COMPONENT_FACTORY( yourLibName, YourTDECModuleFactory("name_of_the_po_file") ); - </pre> - The parameter "name_of_the_po_file" has to correspond with the messages target - that you created in your Makefile.am. - See http://developer.kde.org/documentation/other/kcm_howto.html - for more detailed documentation. - See {@link TDECModuleSignals} for signals emitted by TDECModule - @author Matthias Hoelzer-Kluepfel <hoelzer@kde.org> - - @short The base class for control center modules. - -*/ -public class TDECModule extends TQWidget { - protected TDECModule(Class dummy){super((Class) null);} - /** - An enumeration type for the buttons used by this module. - You should only use Help, Default and Apply. The rest is obsolete. - @short An enumeration type for the buttons used by this module. - @see TDECModule#buttons - @see @see - @see TDECModule#setButtons - */ - public static final int Help = 1; - public static final int Default = 2; - public static final int Apply = 16; - public static final int Reset = 4; - public static final int Cancel = 8; - public static final int Ok = 32; - public static final int SysDefault = 64; - - public native TQMetaObject metaObject(); - public native String className(); - public TDECModule(TQWidget parent, String name, String[] args) { - super((Class) null); - newTDECModule(parent,name,args); - } - private native void newTDECModule(TQWidget parent, String name, String[] args); - public TDECModule(TQWidget parent, String name) { - super((Class) null); - newTDECModule(parent,name); - } - private native void newTDECModule(TQWidget parent, String name); - public TDECModule(TQWidget parent) { - super((Class) null); - newTDECModule(parent); - } - private native void newTDECModule(TQWidget parent); - public TDECModule() { - super((Class) null); - newTDECModule(); - } - private native void newTDECModule(); - public TDECModule(TDEInstanceInterface instance, TQWidget parent, String[] args) { - super((Class) null); - newTDECModule(instance,parent,args); - } - private native void newTDECModule(TDEInstanceInterface instance, TQWidget parent, String[] args); - public TDECModule(TDEInstanceInterface instance, TQWidget parent) { - super((Class) null); - newTDECModule(instance,parent); - } - private native void newTDECModule(TDEInstanceInterface instance, TQWidget parent); - public TDECModule(TDEInstanceInterface instance) { - super((Class) null); - newTDECModule(instance); - } - private native void newTDECModule(TDEInstanceInterface instance); - /** - Load the configuration data into the module. - The load method sets the user interface elements of the - module to reflect the current settings stored in the - configuration files. - This method is invoked whenever the module should read its configuration - (most of the times from a config file) and update the user interface. - This happens when the user clicks the "Reset" button in the control - center, to undo all of his changes and restore the currently valid - settings. - If you use TDEConfigXT, loading is taken care of automatically and - you do not need to do it manually. However, if you for some reason reimplement it and - also are using TDEConfigXT, you must call this function otherwise the loading of TDEConfigXT - options will not work. - @short Load the configuration data into the module. - */ - public native void load(); - /** - Save the configuration data. - The save method stores the config information as shown - in the user interface in the config files. - If necessary, this method also updates the running system, - e.g. by restarting applications. This normally does not apply for - KSettings.Dialog modules where the updating is taken care of by - KSettings.Dispatcher. - save is called when the user clicks "Apply" or "Ok". - If you use TDEConfigXT, saving is taken care off automatically and - you do not need to load manually. However, if you for some reason reimplement it and - also are using TDEConfigXT, you must call this function, otherwise the saving of TDEConfigXT - options will not work. Call it at the very end of your reimplementation, to avoid - changed() signals getting emitted when you modify widgets. - @short Save the configuration data. - */ - public native void save(); - /** - Sets the configuration to sensible default values. - This method is called when the user clicks the "Default" - button. It should set the display to useful values. - If you use TDEConfigXT, you do not have to reimplement this function since - the fetching and settings of default values is done automatically. However, if you - reimplement and also are using TDEConfigXT, remember to call the base function at the - very end of your reimplementation. - @short Sets the configuration to sensible default values. - */ - public native void defaults(); - /** - Set the configuration to system default values. - This method is called when the user clicks the "System-Default" - button. It should set the display to the system default values. - @note The default behavior is to call defaults(). - @short Set the configuration to system default values. - */ - public native void sysdefaults(); - /** - Return a quick-help text. - This method is called when the module is docked. - The quick-help text should contain a short description of the module and - links to the module's help files. You can use TQML formatting tags in the text. - @note make sure the quick help text gets translated (use i18n()). - @short Return a quick-help text. - */ - public native String quickHelp(); - /** - This is generally only called for the KBugReport. - If you override you should have it return a pointer to a constant. - @return the TDEAboutData for this module - - @short This is generally only called for the KBugReport. - */ - public native TDEAboutData aboutData(); - /** - This sets the TDEAboutData returned by aboutData() - @short This sets the TDEAboutData returned by aboutData() - */ - public native void setAboutData(TDEAboutData about); - /** - Indicate which buttons will be used. - The return value is a value or'ed together from - the Button enumeration type. - @short Indicate which buttons will be used. - @see TDECModule#setButtons - */ - public native int buttons(); - /** - Get the RootOnly message for this module. - When the module must be run as root, or acts differently - for root and a normal user, it is sometimes useful to - customize the message that appears at the top of the module - when used as a normal user. This function returns this - customized message. If none has been set, a default message - will be used. - @short Get the RootOnly message for this module. - @see TDECModule#setRootOnlyMsg - */ - public native String rootOnlyMsg(); - /** - Tell if KControl should show a RootOnly message when run as - a normal user. - In some cases, the module don't want a RootOnly message to - appear (for example if it has already one). This function - tells KControl if a RootOnly message should be shown - @short Tell if KControl should show a RootOnly message when run as a normal user. - @see TDECModule#setUseRootOnlyMsg - */ - public native boolean useRootOnlyMsg(); - public native TDEInstanceInterface instance(); - /** - @return a list of @ref TDEConfigDialogManager's in use, if any. - - @short - */ - // const TQPtrList<TDEConfigDialogManager>& configs(); >>>> NOT CONVERTED - /** - Adds a TDEConfigskeleton <code>config</code> to watch the widget <code>widget</code> - This function is useful if you need to handle multiple configuration files. - @param config the TDEConfigSkeleton to use - @param widget the widget to watch - @return a pointer to the TDEConfigDialogManager in use - - @short Adds a TDEConfigskeleton <code>config</code> to watch the widget <code>widget</code> - */ - // TDEConfigDialogManager* addConfig(TDEConfigSkeleton* arg1,TQWidget* arg2); >>>> NOT CONVERTED - /** - Sets the quick help. - @short Sets the quick help. - */ - protected native void setQuickHelp(String help); - /** - Sets the buttons to display. - Help: shows a "Help" button. - Default: shows a "Use Defaults" button - Apply: in kcontrol this will show an "Apply" and "Reset" button - in tdecmshell this will show an "Ok", "Apply" and "Cancel" button - If Apply is not specified, tdecmshell will show a "Close" button. - @short Sets the buttons to display. - @see TDECModule#buttons - */ - protected native void setButtons(int btn); - /** - Sets the RootOnly message. - This message will be shown at the top of the module of the - corresponding desktop file contains the line X-TDE-RootOnly=true. - If no message is set, a default one will be used. - @short Sets the RootOnly message. - @see TDECModule#rootOnlyMsg - */ - protected native void setRootOnlyMsg(String msg); - /** - Change whether or not the RootOnly message should be shown. - Following the value of <code>on</code>, the RootOnly message will be - shown or not. - @short Change whether or not the RootOnly message should be shown. - @see TDECModule#useRootOnlyMsg - */ - protected native void setUseRootOnlyMsg(boolean on); - /** - Returns the changed state of automatically managed widgets in this dialog - @short Returns the changed state of automatically managed widgets in this dialog - */ - protected native boolean managedWidgetChangeState(); - /** - Call this method when your manually managed widgets change state between - changed and not changed - @short Call this method when your manually managed widgets change state between changed and not changed - */ - protected native void unmanagedWidgetChangeState(boolean arg1); - /** - Calling this slot is equivalent to emitting changed(true). - @short Calling this slot is equivalent to emitting changed(true). - */ - protected native void changed(); - /** - A managed widget was changed, the widget settings and the current - settings are compared and a corresponding changed() signal is emitted - @short A managed widget was changed, the widget settings and the current settings are compared and a corresponding changed() signal is emitted - */ - protected native void widgetChanged(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDECModuleInfo.java b/kdejava/koala/org/kde/koala/TDECModuleInfo.java deleted file mode 100644 index 044cc56d..00000000 --- a/kdejava/koala/org/kde/koala/TDECModuleInfo.java +++ /dev/null @@ -1,231 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - A class that provides information about a TDECModule - TDECModuleInfo provides various technical information, such as icon, library - etc. about a TDECModule.n - @note Any values set with the set functions is not - written back with TDECModuleInfo it only reads value from the desktop file. - @author Daniel Molkentin <molkentin@kde.org> - - @short A class that provides information about a TDECModule - -*/ -public class TDECModuleInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDECModuleInfo(Class dummy){} - - /** - Constructs a TDECModuleInfo. - @note a TDECModuleInfo object will have to be manually deleted, it is not - done automatically for you. - @param desktopFile the desktop file representing the module, or - the name of the module. - @short Constructs a TDECModuleInfo. - */ - public TDECModuleInfo(String desktopFile) { - newTDECModuleInfo(desktopFile); - } - private native void newTDECModuleInfo(String desktopFile); - /** - Same as above but takes a KService.Ptr as argument. - @note <code>moduleInfo</code> must be a valid pointer. - @param moduleInfo specifies the module - @short Same as above but takes a KService.Ptr as argument. - */ - // TDECModuleInfo* TDECModuleInfo(KService::Ptr arg1); >>>> NOT CONVERTED - /** - Same as above but takes a TDECModuleInfo as argument. - @param rhs specifies the module - @short Same as above but takes a TDECModuleInfo as argument. - */ - public TDECModuleInfo(TDECModuleInfo rhs) { - newTDECModuleInfo(rhs); - } - private native void newTDECModuleInfo(TDECModuleInfo rhs); - /** - Same as above but creates an empty TDECModuleInfo. - You should not normally call this. - @short Same as above but creates an empty TDECModuleInfo. - */ - public TDECModuleInfo() { - newTDECModuleInfo(); - } - private native void newTDECModuleInfo(); - /** - Equal operator - @return true if <code>rhs</code> equals itself - - @short Equal operator - */ - public native boolean op_equals(TDECModuleInfo rhs); - /** - @return true if <code>rhs</code> is not equal itself - - @short - */ - public native boolean op_not_equals(TDECModuleInfo rhs); - /** - @return the filename of the .desktop file that describes the KCM - - @short - */ - public native String fileName(); - /** - @return the keywords associated with this KCM. - - @short - */ - public native ArrayList keywords(); - /** - Returns the module's factory name, if it's set. If not, the library - name is returned. - @return the module's factory name - - @short Returns the module's factory name, if it's set. - */ - public native String factoryName(); - /** - @return the module\'s (translated) name - - @short - */ - public native String moduleName(); - /** - @return a TDESharedPtr to KService created from the modules .desktop file - - @short - */ - // KService::Ptr service(); >>>> NOT CONVERTED - /** - @return the module's (translated) comment field - - @short - */ - public native String comment(); - /** - @return the module's icon name - - @short - */ - public native String icon(); - /** - @return the path of the module's documentation - - @short - */ - public native String docPath(); - /** - @return the library name - - @short - */ - public native String library(); - /** - @return a handle (usually the contents of the FactoryName field) - - @short - */ - public native String handle(); - /** - @return the weight of the module which determines the order of the pages in - the KCMultiDialog. It's set by the X-TDE-Weight field. - - @short - */ - public native int weight(); - /** - @return whether the module might require root permissions - - @short - */ - public native boolean needsRootPrivileges(); - /** - @return true if the module should be conditionally - loaded. - - @short - */ - public native boolean needsTest(); - /** - Sets the object's keywords. - @param keyword the new keywords - @short Sets the object's keywords. - */ - protected native void setKeywords(String[] keyword); - /** - Sets the object's name. - @param name the new name - @short Sets the object's name. - */ - protected native void setName(String name); - /** - Sets the object's name. - @param comment the new comment - @short Sets the object's name. - */ - protected native void setComment(String comment); - /** - Sets the object's icon. - @param icon the name of the new icon - @short Sets the object's icon. - */ - protected native void setIcon(String icon); - /** - Set the object's library - @param lib the name of the new library without any extensions or prefixs. - @short Set the object's library - */ - protected native void setLibrary(String lib); - /** - Sets the factory name - @param handle The new factory name - @short Sets the factory name - */ - protected native void setHandle(String handle); - /** - Sets the object's weight property which determines in what - order modules will be displayed. Default is 100. - @param weight the new weight - @short Sets the object's weight property which determines in what order modules will be displayed. - */ - protected native void setWeight(int weight); - /** - Sets if the module should be tested for loading. - @param val the value to set - @short Sets if the module should be tested for loading. - */ - protected native void setNeedsTest(boolean val); - /** - Toggles whether the represented module needs root privileges. - Use with caution. - @param needsRootPrivileges if module needs root privilges - @short Toggles whether the represented module needs root privileges. - */ - protected native void setNeedsRootPrivileges(boolean needsRootPrivileges); - /** - Sets the object's documentation path - @param p the new documentation path - @short Sets the object's documentation path - */ - protected native void setDocPath(String p); - /** - Reads the service entries specific for TDECModule from the desktop file. - The usual desktop entries are read in init. - @short Reads the service entries specific for TDECModule from the desktop file. - */ - protected native void loadAll(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDECModuleLoader.java b/kdejava/koala/org/kde/koala/TDECModuleLoader.java deleted file mode 100644 index 926a5088..00000000 --- a/kdejava/koala/org/kde/koala/TDECModuleLoader.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - @class Loads a KControl Module. - TDECModuleLoader tries in several ways - to locate and load a TDECModule. If loading fails a - zero pointer is returned. \n - It is very unlikely TDECModuleLoader is what you want - and {@link TDECModuleProxy} suits your needs. - @author Frans Englich <frans.englich@telia.com> - - @short @class Loads a KControl Module. - -*/ -public class TDECModuleLoader implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDECModuleLoader(Class dummy){} - - /** - Determines the way errors are reported - @short Determines the way errors are reported - */ - public static final int None = 0; - public static final int Inline = 1; - public static final int Dialog = 2; - public static final int Both = 3; - - public TDECModuleLoader() { - newTDECModuleLoader(); - } - private native void newTDECModuleLoader(); - /** - Loads a {@link TDECModule}. If loading fails a zero pointer is returned. - @param module what module to load - @param report see ErrorReporting - @param withFallback if true and loading failed a separate window - with the module may appear and a zero pointer is a returned - @return a pointer to the loaded @ref TDECModule - - @short Loads a @ref TDECModule. - */ - public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback, TQWidget parent, String name, String[] args); - public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback, TQWidget parent, String name); - public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback, TQWidget parent); - public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback); - public static native TDECModule loadModule(TDECModuleInfo module, int report); - /** - Loads a {@link TDECModule}. If loading fails a zero pointer is returned. - @param module what module to load - @param report see ErrorReporting - with the module may appear and a zero pointer is a returned - @return a pointer to the loaded @ref TDECModule - - @short Loads a @ref TDECModule. - */ - public static native TDECModule loadModule(String module, int report, TQWidget parent, String name, String[] args); - public static native TDECModule loadModule(String module, int report, TQWidget parent, String name); - public static native TDECModule loadModule(String module, int report, TQWidget parent); - public static native TDECModule loadModule(String module, int report); - /** - Unloads the module's library - @param mod What module to unload for - @short Unloads the module's library - */ - public static native void unloadModule(TDECModuleInfo mod); - /** - Checks whether an TDECModule should be shown by running its - test function. If it is unsure whether a module should be shown, it should - be made available, leaving the decision to the user. - If false is returned, the module should not be loaded in any interface. - A module declares it needs to be tested by having "X-TDE-Test-Module=true" in - its desktop file. When that line exists, the following code must be available - in the module's library: - <pre> - extern "C" - { - boolean test_moduleName() - { - // Code testing for hardware/software presence. - return true; // and the modue will be loaded. - } - } - </pre> - where moduleName is the library name for the module. - @param module the module to check - @return true if the module should be loaded - - @short Checks whether an TDECModule should be shown by running its test function. - */ - public static native boolean testModule(String module); - /** - Convenience function, essentially the same as above. - @param module the module to check - @return true if the module should be loaded - - @short Convenience function, essentially the same as above. - */ - public static native boolean testModule(TDECModuleInfo module); - /** - Returns a TDECModule containing the messages <code>report</code> and <code>text.</code> - @param report the type of error reporting, see ErrorReporting - @param text the main message - @param details any additional details - @short Returns a TDECModule containing the messages <code>report</code> and <code>text.</code> - */ - public static native TDECModule reportError(int report, String text, String details, TQWidget parent); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDECModuleSignals.java b/kdejava/koala/org/kde/koala/TDECModuleSignals.java deleted file mode 100644 index 65c5bac7..00000000 --- a/kdejava/koala/org/kde/koala/TDECModuleSignals.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDECModuleSignals { - /** - Indicate that the state of the modules contents has changed. - This signal is emitted whenever the state of the configuration - shown in the module changes. It allows the control center to - keep track of unsaved changes. - @short Indicate that the state of the modules contents has changed. - */ - void changed(boolean state); - /** - Indicate that the module's quickhelp has changed. - Emit this signal whenever the module's quickhelp changes. - Modules implemented as tabbed dialogs might want to implement - per-tab quickhelp for example. - @short Indicate that the module's quickhelp has changed. - */ - void quickHelpChanged(); -} diff --git a/kdejava/koala/org/kde/koala/TDECmdLineArgs.java b/kdejava/koala/org/kde/koala/TDECmdLineArgs.java deleted file mode 100644 index ab44dba6..00000000 --- a/kdejava/koala/org/kde/koala/TDECmdLineArgs.java +++ /dev/null @@ -1,478 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import java.util.ArrayList; - -/** - - TDECmdLineArgs provides simple access to the command-line arguments - for an application. It takes into account Qt-specific options, - KDE-specific options and application specific options. - This class is used in %main() via the static method - init(). - A typical %KDE application using %TDECmdLineArgs should look like this: - <pre> - int main(String[] args) - { - // Initialize command line args - TDECmdLineArgs.init(args, appName, programName, description, version); - // Tell which options are supported - TDECmdLineArgs.addCmdLineOptions( options ); - // Add options from other components - KUniqueApplication.addCmdLineOptions(); - .... - // Create application object without passing 'argc' and 'argv' again. - KUniqueApplication app; - .... - // Handle our own options/arguments - // A TDEApplication will usually do this in main but this is not - // necessary. - // A KUniqueApplication might want to handle it in newInstance(). - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - // A binary option (on / off) - if (args.isSet("some-option")) - .... - // An option which takes an additional argument - String anotherOptionArg = args.getOption("another-option"); - // Arguments (e.g. files to open) - for(int i = 0; i < args.count(); i++) // Counting start at 0! - { - // don't forget to convert to Unicode! - openFile( TQFile.decodeName( args.arg(i))); - // Or more convenient: - // openURL( args.url(i)); - } - args.clear(); // Free up some memory. - .... - } - </pre> - The options that an application supports are configured using the - String[][] class. An example is shown below: - <pre> - static String[][] options = - { - { "a", I18N_NOOP("A short binary option"), 0 }, - { "b \<file>", I18N_NOOP("A short option which takes an argument"), 0 }, - { "c \<speed>", I18N_NOOP("As above but with a default value"), "9600" }, - { "option1", I18N_NOOP("A long binary option, off by default"), 0 }, - { "nooption2", I18N_NOOP("A long binary option, on by default"), 0 }, - { ":", I18N_NOOP("Extra options:"), 0 }, - { "option3 \<file>", I18N_NOOP("A long option which takes an argument"), 0 }, - { "option4 \<speed>", I18N_NOOP("A long option which takes an argument, defaulting to 9600"), "9600" }, - { "d", 0, 0 }, - { "option5", I18N_NOOP("A long option which has a short option as alias"), 0 }, - { "e", 0, 0 }, - { "nooption6", I18N_NOOP("Another long option with an alias"), 0 }, - { "f", 0, 0 }, - { "option7 \<speed>", I18N_NOOP("'--option7 speed' is the same as '-f speed'"), 0 }, - { "!option8 \<cmd>", I18N_NOOP("All options following this one will be treated as arguments"), 0 }, - { "+file", I18N_NOOP("A required argument 'file'"), 0 }, - { "+[arg1]", I18N_NOOP("An optional argument 'arg1'"), 0 }, - { "!+command", I18N_NOOP("A required argument 'command', that can contain multiple words, even starting with '-'"), 0 }, - { "", I18N_NOOP("Additional help text not associated with any particular option") 0 }, - // End of options. - } - </pre> - The I18N_NOOP macro is used to indicate that these strings should be - marked for translation. The actual translation is done by TDECmdLineArgs. - You can't use i18n() here because we are setting up a static data - structure and can't do translations at compile time. - Note that a program should define the options before any arguments. - When a long option has a short option as an alias, a program should - only test for the long option. - With the above options a command line could look like: - <pre> - myapp -a -c 4800 --display localhost:0.0 --nooption5 -d /tmp/file - </pre> - Long binary options can be in the form 'option' and 'nooption'. - A command line may contain the same binary option multiple times, - the last option determines the outcome: - <pre> - myapp --nooption4 --option4 --nooption4 - </pre> - is the same as: - <pre> - myapp --nooption4 - </pre> - If an option value is provided multiple times, normally only the last - value is used: - <pre> - myapp -c 1200 -c 2400 -c 4800 - </pre> - is usually the same as: - <pre> - myapp -c 4800 - </pre> - However, an application can choose to use all values specified as well. - As an example of this, consider that you may wish to specify a - number of directories to use: - <pre> - myapp -I /usr/include -I /opt/kde/include -I /usr/X11/include - </pre> - When an application does this it should mention this in the description - of the option. To access these options, use getOptionList() - Tips for end-users: - - <li> - Single char options like "-a -b -c" may be combined into "-abc" - </li> - - <li> - The option "--foo bar" may also be written "--foo=bar" - </li> - - <li> - The option "-P lp1" may also be written "-P=lp1" or "-Plp1" - </li> - - <li> - The option "--foo bar" may also be written "-foo bar" - </li> - @author Waldo Bastian - - @version 0.0.4 - - @short A class for command-line argument handling. - -*/ -public class TDECmdLineArgs implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDECmdLineArgs(Class dummy){} - - /** - Read out a string option. - The option must have a corresponding String[][] entry - of the form: - <pre> - { "option \<argument>", I18N_NOOP("Description"), "default" } - </pre> - You cannot test for the presence of an alias - you must always - test for the full option. - @param option The name of the option without '-'. - @return The value of the option. If the option was not - present on the command line the default is returned. - If the option was present more than the value of the - last occurrence is used. - - @short Read out a string option. - */ - public native String getOption(String option); - /** - Read out all occurrences of a string option. - The option must have a corresponding String[][] entry - of the form: - <pre> - { "option \<argument>", I18N_NOOP("Description"), "default" } - </pre> - You cannot test for the presence of an alias - you must always - test for the full option. - @param option The name of the option, without '-' or '-no'. - @return A list of all option values. If no option was present - on the command line, an empty list is returned. - - @short Read out all occurrences of a string option. - */ - public native ArrayList getOptionList(String option); - /** - Read out a booleanean option or check for the presence of string option. - @param option The name of the option without '-' or '-no'. - @return The value of the option. It will be true if the option - was specifically turned on in the command line, or if the option - is turned on by default (in the String[][] list) and was - not specifically turned off in the command line. Equivalently, - it will be false if the option was specifically turned off in - the command line, or if the option is turned off by default (in - the TDECmdLineOptions list) and was not specifically turned on in - the command line. - - @short Read out a boolean option or check for the presence of string option. - */ - public native boolean isSet(String option); - /** - Read the number of arguments that aren't options (but, - for example, filenames). - @return The number of arguments that aren't options - - @short Read the number of arguments that aren't options (but, for example, filenames). - */ - public native int count(); - /** - Read out an argument. - @param n The argument to read. 0 is the first argument. - count()-1 is the last argument. - @return A <code>const</code> <code>char</code> <code></code>* pointer to the n'th argument. - - @short Read out an argument. - */ - public native String arg(int n); - /** - Read out an argument representing a URL. - The argument can be - - <li> - an absolute filename - </li> - - <li> - a relative filename - </li> - - <li> - a URL - </li> - @param n The argument to read. 0 is the first argument. - count()-1 is the last argument. - @return a URL representing the n'th argument. - - @short Read out an argument representing a URL. - */ - public native KURL url(int n); - /** - Clear all options and arguments. - @short Clear all options and arguments. - */ - public native void clear(); - /** - Initialize class. - This function should be called as the very first thing in - your application. - @param _argv As passed to <code>main</code>(...). - @param _appname The untranslated name of your application. This should - match with <code>argv</code>[0]. - @param programName A program name string to be used for display - purposes. This string should be marked for - translation. Example: I18N_NOOP("KEdit") - @param _description A short description of what your application is about. - @param _version A version. - @param noKApp Set this true to not add commandline options for - TQApplication / TDEApplication - @short Initialize class. - */ - public static native void init(String[] _argv, String _appname, String programName, String _description, String _version, boolean noKApp); - public static native void init(String[] _argv, String _appname, String programName, String _description, String _version); - /** - Initialize class. - This function should be called as the very first thing in - your application. It uses TDEAboutData to replace some of the - arguments that would otherwise be required. - @param _argv As passed to <code>main</code>(...). - @param about A TDEAboutData object describing your program. - @param noKApp Set this true to not add commandline options for - TQApplication / TDEApplication - @short Initialize class. - */ - public static native void init(String[] _argv, TDEAboutData about, boolean noKApp); - public static native void init(String[] _argv, TDEAboutData about); - /** - Initialize Class - This function should be called as the very first thing in your - application. This method will rarely be used, since it doesn't - provide any argument parsing. It does provide access to the - TDEAboutData information. - This method is exactly the same as calling - init(0,0, const TDEAboutData about, true). - @param about the about data. - \see TDEAboutData - @short Initialize Class - */ - public static native void init(TDEAboutData about); - /** - Add options to your application. - You must make sure that all possible options have been added before - any class uses the command line arguments. - The list of options should look like this: - <pre> - static String[][] options = - { - { "option1 \<argument>", I18N_NOOP("Description 1"), "my_extra_arg" }, - { "o", 0, 0 }, - { "option2", I18N_NOOP("Description 2"), 0 }, - { "nooption3", I18N_NOOP("Description 3"), 0 }, - - } - </pre> - - <li> - "option1" is an option that requires an additional argument, - but if one is not provided, it uses "my_extra_arg". - </li> - - <li> - "option2" is an option that can be turned on. The default is off. - </li> - - <li> - "option3" is an option that can be turned off. The default is on. - </li> - - <li> - "o" does not have a description. It is an alias for the option - that follows. In this case "option2". - </li> - - <li> - "+file" specifies an argument. The '+' is removed. If your program - doesn't specify that it can use arguments your program will abort - when an argument is passed to it. Note that the reverse is not - true. If required, you must check yourself the number of arguments - specified by the user: - <pre> - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - if (args.count() == 0) TDECmdLineArgs.usage(i18n("No file specified!")); - </pre> - </li> - In BNF: - <pre> - cmd = myapp [options] file - options = (option) - option = --option1 \<argument> | - (-o | --option2 | --nooption2) | - ( --option3 | --nooption3 ) - </pre> - Instead of "--option3" one may also use "-option3" - Usage examples: - - <li> - "myapp --option1 test" - </li> - - <li> - "myapp" (same as "myapp --option1 my_extra_arg") - </li> - - <li> - "myapp --option2" - </li> - - <li> - "myapp --nooption2" (same as "myapp", since it is off by default) - </li> - - <li> - "myapp -o" (same as "myapp --option2") - </li> - - <li> - "myapp --nooption3" - </li> - - <li> - "myapp --option3 (same as "myapp", since it is on by default) - </li> - - <li> - "myapp --option2 --nooption2" (same as "myapp", because it - option2 is off by default, and the last usage applies) - </li> - - <li> - "myapp /tmp/file" - </li> - @param options A list of options that your code supplies. - @param name the name of the option, can be 0. - @param id A name with which these options can be identified, can be 0. - @param afterId The options are inserted after this set of options, can be 0. - @short Add options to your application. - */ - public static native void addCmdLineOptions(String[][] options, String name, String id, String afterId); - public static native void addCmdLineOptions(String[][] options, String name, String id); - public static native void addCmdLineOptions(String[][] options, String name); - public static native void addCmdLineOptions(String[][] options); - /** - Access parsed arguments. - This function returns all command line arguments that your code - handles. If unknown command-line arguments are encountered the program - is aborted and usage information is shown. - @param id The name of the options you are interested in, can be 0. - @short Access parsed arguments. - */ - public static native TDECmdLineArgs parsedArgs(String id); - public static native TDECmdLineArgs parsedArgs(); - /** - Get the CWD (Current Working Directory) associated with the - current command line arguments. - Typically this is needed in KUniqueApplication.newInstance() - since the CWD of the process may be different from the CWD - where the user started a second instance. - @return the current working directory - - @short Get the CWD (Current Working Directory) associated with the current command line arguments. - */ - public static native String cwd(); - /** - Get the appname according to argv[0]. - @return the name of the application - - @short Get the appname according to argv[0]. - */ - public static native String appName(); - /** - Print the usage help to stdout and exit. - @param id if 0, print all options. If id is set, only print the - option specified by id. The id is the value set by - addCmdLineOptions(). - @short Print the usage help to stdout and exit. - */ - public static native void usage(String id); - public static native void usage(); - /** - Enable i18n to be able to print a translated error message. - N.B.: This function leaks memory, therefore you are expected to exit - afterwards (e.g., by calling usage()). - @short Enable i18n to be able to print a translated error message. - */ - public static native void enable_i18n(); - /** - Used by url(). - Made public for apps that don't use TDECmdLineArgs - @param urlArg the argument - @return the url. - - @short Used by url(). - */ - public static native KURL makeURL(String urlArg); - /** - Made public for apps that don't use TDECmdLineArgs - To be done before makeURL, to set the current working - directory in case makeURL needs it. - @param cwd the new working directory - @short Made public for apps that don't use TDECmdLineArgs To be done before makeURL, to set the current working directory in case makeURL needs it. - */ - public static native void setCwd(String cwd); - /** - Reset all option definitions, i.e. cancel all addCmdLineOptions calls. - Note that TDEApplication's options are removed too, you might want to - call TDEApplication.addCmdLineOptions if you want them back. - You usually don't want to call this method. - @short Reset all option definitions, i. - */ - public static native void reset(); - /** - Load arguments from a stream. - @short Load arguments from a stream. - */ - public static native void loadAppArgs(TQDataStream arg1); - /** - Add standard option --tempfile - @short Add standard option --tempfile - */ - public static native void addTempFileOption(); - /** - @return true if --tempfile was set - - @short - */ - public static native boolean isTempFileSet(); - /** - Constructor. - @short - */ - public TDECmdLineArgs(String[][] _options, String _name, String _id) { - newTDECmdLineArgs(_options,_name,_id); - } - private native void newTDECmdLineArgs(String[][] _options, String _name, String _id); -} diff --git a/kdejava/koala/org/kde/koala/TDECompletion.java b/kdejava/koala/org/kde/koala/TDECompletion.java deleted file mode 100644 index 383189f5..00000000 --- a/kdejava/koala/org/kde/koala/TDECompletion.java +++ /dev/null @@ -1,482 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - This class offers easy use of "auto-completion", "manual-completion" or - "shell completion" on String objects. A common use is completing filenames - or URLs (see KURLCompletion()). - But it is not limited to URL-completion -- everything should be completable! - The user should be able to complete email-addresses, telephone-numbers, - commands, SQL queries, ... - Every time your program knows what the user can type into an edit-field, you - should offer completion. With TDECompletion, this is very easy, and if you are - using a line edit widget ( KLineEdit), it is even more easy. - Basically, you tell a TDECompletion object what strings should be completable - and whenever completion should be invoked, you call makeCompletion(). - KLineEdit and (an editable) KComboBox even do this automatically for you. - TDECompletion offers the completed string via the signal match() and - all matching strings (when the result is ambiguous) via the method - allMatches(). - Notice: auto-completion, shell completion and manual completion work - slightly differently: - - <li> - auto-completion always returns a complete item as match. - When more than one matching items are available, it will deliver just - the first (depending on sorting order) item. Iterating over all matches - is possible via nextMatch() and previousMatch(). - </li> - - <li> - popup-completion works in the same way, the only difference being that - the completed items are not put into the edit-widget, but into a - separate popup-box. - </li> - - <li> - manual completion works the same way as auto-completion, the - subtle difference is, that it isn't invoked automatically while the user - is typing, but only when the user presses a special key. The difference - of manual and auto-completion is therefore only visible in UI classes, - TDECompletion needs to know whether to deliver partial matches - (shell completion) or whole matches (auto/manual completion), therefore - TDEGlobalSettings.CompletionMan and - TDEGlobalSettings.CompletionAuto have the exact same effect in - TDECompletion. - </li> - - <li> - shell completion works like how shells complete filenames: - when multiple matches are available, the longest possible string of all - matches is returned (i.e. only a partial item). - Iterating over all matching items (complete, not partial) is possible - via nextMatch() and previousMatch(). - </li> - You don't have to worry much about that though, TDECompletion handles - that for you, according to the setting setCompletionMode(). - The default setting is globally configured by the user and read - from TDEGlobalSettings.completionMode(). - A short example: - <pre> - TDECompletion completion; - completion.setOrder( TDECompletion.Sorted ); - completion.addItem( "pfeiffer@kde.org" ); - completion.addItem( "coolo@kde.org" ); - completion.addItem( "carpdjih@sp.zrz.tu-berlin.de" ); - completion.addItem( "carp@cs.tu-berlin.de" ); - cout << completion.makeCompletion( "ca" ).latin1() << endl; - </pre> - In shell-completion-mode, this will be "carp"; in auto-completion- - mode it will be "carp\@cs.tu-berlin.de", as that is alphabetically - smaller. - If setOrder was set to Insertion, "carpdjih\@sp.zrz.tu-berlin.de" - would be completed in auto-completion-mode, as that was inserted before - "carp\@cs.tu-berlin.de". - You can dynamically update the completable items by removing and adding them - whenever you want. - For advanced usage, you could even use multiple TDECompletion objects. E.g. - imagine an editor like kwrite with multiple open files. You could store - items of each file in a different TDECompletion object, so that you know (and - tell the user) where a completion comes from. - Note: TDECompletion does not work with strings that contain 0x0 characters - (unicode nul), as this is used internally as a delimiter. - You may inherit from TDECompletion and override makeCompletion() in - special cases (like reading directories/urls and then supplying the - contents to TDECompletion, as KURLCompletion does), but generally, this is - not necessary. - See {@link TDECompletionSignals} for signals emitted by TDECompletion - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A generic class for completing Strings. - -*/ -public class TDECompletion extends TQObject { - protected TDECompletion(Class dummy){super((Class) null);} - /** - Constants that represent the order in which TDECompletion performs - completion-lookups. - @short Constants that represent the order in which TDECompletion performs completion-lookups. - */ - public static final int Sorted = 0; - public static final int Insertion = 1; - public static final int Weighted = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor, nothing special here :) - @short Constructor, nothing special here :) - */ - public TDECompletion() { - super((Class) null); - newTDECompletion(); - } - private native void newTDECompletion(); - /** - Attempts to find an item in the list of available completions, - that begins with <code>string.</code> Will either return the first matching item - (if there is more than one match) or null, if no match was - found. - In the latter case, a sound will be issued, depending on - isSoundsEnabled(). - If a match was found, it will also be emitted via the signal - match(). - If this is called twice or more often with the same string while no - items were added or removed in the meantime, all available completions - will be emitted via the signal #matches(). - This happens only in shell-completion-mode. - @param string the string to complete - @return the matching item, or null if there is no matching - item. - - @short Attempts to find an item in the list of available completions, that begins with <code>string.</code> - @see #slotMakeCompletion - @see #substringCompletion - */ - public native String makeCompletion(String string); - /** - Returns a list of all completion items that contain the given <code>string.</code> - @param string the string to complete - @return a list of items which all contain <code>text</code> as a substring, - i.e. not necessarily at the beginning. - - @short Returns a list of all completion items that contain the given <code>string.</code> - @see #makeCompletion - */ - public native ArrayList substringCompletion(String string); - /** - Returns the next item from the matching-items-list. - When reaching the beginning, the list is rotated so it will return the - last match and a sound is issued (depending on isSoundsEnabled()). - @return the next item from the matching-items-list. - When there is no match, null is returned and - a sound is be issued. - - @short Returns the next item from the matching-items-list. - @see #slotPreviousMatch - */ - public native String previousMatch(); - /** - Returns the next item from the matching-items-list. - When reaching the last item, the list is rotated, so it will return - the first match and a sound is issued (depending on - isSoundsEnabled()). - @return the next item from the matching-items-list. When there is no - match, null is returned and a sound is issued - - @short Returns the next item from the matching-items-list. - @see #slotNextMatch - */ - public native String nextMatch(); - /** - Returns the last match. Might be useful if you need to check whether - a completion is different from the last one. - @return the last match. null is returned when there is no - last match. - - @short Returns the last match. - */ - public native String lastMatch(); - /** - Returns a list of all items inserted into TDECompletion. This is useful - if you need to save the state of a TDECompletion object and restore it - later. - Important note: when order() == Weighted, then every item in the - stringlist has its weight appended, delimited by a colon. E.g. an item - "www.kde.org" might look like "www.kde.org:4", where 4 is the weight. - This is necessary so that you can save the items along with its - weighting on disk and load them back with setItems(), restoring its - weight as well. If you really don't want the appended weightings, call - setOrder( TDECompletion.Insertion ) - before calling items(). - @return a list of all items - - @short Returns a list of all items inserted into TDECompletion. - @see #setItems - */ - public native ArrayList items(); - /** - Returns true when the completion object contains no entries. - @short Returns true when the completion object contains no entries. - */ - public native boolean isEmpty(); - /** - Sets the completion mode to Auto/Manual, Shell or None. - If you don't set the mode explicitly, the global default value - TDEGlobalSettings.completionMode() is used. - TDEGlobalSettings.CompletionNone disables completion. - @param mode the completion mode - @short Sets the completion mode to Auto/Manual, Shell or None. - @see #completionMode - @see TDEGlobalSettings#completionMode - */ - public native void setCompletionMode(int mode); - /** - Return the current completion mode. - May be different from TDEGlobalSettings.completionMode(), if you - explicitly called setCompletionMode(). - @return the current completion mode - - @short Return the current completion mode. - @see #setCompletionMode - */ - public native int completionMode(); - /** - TDECompletion offers three different ways in which it offers its items: - - <li> - in the order of insertion - </li> - - <li> - sorted alphabetically - </li> - - <li> - weighted - </li> - Choosing weighted makes TDECompletion perform an implicit weighting based - on how often an item is inserted. Imagine a web browser with a location - bar, where the user enters URLs. The more often a URL is entered, the - higher priority it gets. - Note: Setting the order to sorted only affects new inserted items, - already existing items will stay in the current order. So you probably - want to call setOrder( Sorted ) before inserting items, when you want - everything sorted. - Default is insertion order. - @param order the new order - @short TDECompletion offers three different ways in which it offers its items: - @see #order - */ - public native void setOrder(int order); - /** - Returns the completion order. - @return the current completion order. - - @short Returns the completion order. - @see #setOrder - */ - public native int order(); - /** - Setting this to true makes TDECompletion behave case insensitively. - E.g. makeCompletion( "CA" ); might return "carp\@cs.tu-berlin.de". - Default is false (case sensitive). - @param ignoreCase true to ignore the case - @short Setting this to true makes TDECompletion behave case insensitively. - @see #ignoreCase - */ - public native void setIgnoreCase(boolean ignoreCase); - /** - Return whether TDECompletion acts case insensitively or not. - Default is false (case sensitive). - @return true if the case will be ignored - - @short Return whether TDECompletion acts case insensitively or not. - @see #setIgnoreCase - */ - public native boolean ignoreCase(); - /** - Returns a list of all items matching the last completed string. - Might take some time, when you have LOTS of items. - @return a list of all matches for the last completed string. - - @short Returns a list of all items matching the last completed string. - @see #substringCompletion - */ - public native ArrayList allMatches(); - /** - Returns a list of all items matching <code>string.</code> - @param string the string to match - @return the list of all matches - - @short Returns a list of all items matching <code>string.</code> - */ - public native ArrayList allMatches(String string); - /** - Returns a list of all items matching the last completed string. - Might take some time, when you have LOTS of items. - The matches are returned as TDECompletionMatches, which also - keeps the weight of the matches, allowing - you to modify some matches or merge them with matches - from another call to allWeightedMatches(), and sort the matches - after that in order to have the matches ordered correctly. - @return a list of all completion matches - - @short Returns a list of all items matching the last completed string. - @see #substringCompletion - */ - // TDECompletionMatches allWeightedMatches(); >>>> NOT CONVERTED - /** - Returns a list of all items matching <code>string.</code> - @param string the string to match - @return a list of all matches - - @short Returns a list of all items matching <code>string.</code> - */ - // TDECompletionMatches allWeightedMatches(const TQString& arg1); >>>> NOT CONVERTED - /** - Enables/disables playing a sound when - - <li> - makeCompletion() can't find a match - </li> - - <li> - there is a partial completion (= multiple matches in - Shell-completion mode) - </li> - - <li> - nextMatch() or previousMatch() hit the last possible - match . rotation - </li> - For playing the sounds, KNotifyClient() is used. - @param enable true to enable sounds - @short Enables/disables playing a sound when - @see #isSoundsEnabled - */ - public native void setEnableSounds(boolean enable); - /** - Tells you whether TDECompletion will play sounds on certain occasions. - Default is enabled. - @return true if sounds are enabled - - @short Tells you whether TDECompletion will play sounds on certain occasions. - @see #enableSounds - @see #disableSounds - */ - public native boolean isSoundsEnabled(); - /** - Returns true when more than one match is found. - @return true if there are more than one match - - @short Returns true when more than one match is found. - @see #multipleMatches - */ - public native boolean hasMultipleMatches(); - /** - Attempts to complete "string" and emits the completion via match(). - Same as makeCompletion() (just as a slot). - @param string the string to complete - @short Attempts to complete "string" and emits the completion via match(). - @see #makeCompletion - */ - public native void slotMakeCompletion(String string); - /** - Searches the previous matching item and emits it via match(). - Same as previousMatch() (just as a slot). - @short Searches the previous matching item and emits it via match(). - @see #previousMatch - */ - public native void slotPreviousMatch(); - /** - Searches the next matching item and emits it via match(). - Same as nextMatch() (just as a slot). - @short Searches the next matching item and emits it via match(). - @see #nextMatch - */ - public native void slotNextMatch(); - /** - Inserts <code>items</code> into the list of possible completions. - Does the same as setItems(), but does not call clear() before. - @param items the items to insert - @short Inserts <code>items</code> into the list of possible completions. - */ - public native void insertItems(String[] items); - /** - Sets the list of items available for completion. Removes all previous - items. - Notice: when order() == Weighted, then the weighting is looked up for - every item in the stringlist. Every item should have ":number" appended, - where number is an unsigned integer, specifying the weighting. - If you don't like this, call - setOrder( TDECompletion.Insertion ) - before calling setItems(). - @param list the list of items that are available for completion - @short Sets the list of items available for completion. - @see #items - */ - public native void setItems(String[] list); - /** - Adds an item to the list of available completions. - Resets the current item-state ( previousMatch() and nextMatch() - won't work anymore). - @param item the item to add - @short Adds an item to the list of available completions. - */ - public native void addItem(String item); - /** - Adds an item to the list of available completions. - Resets the current item-state ( previousMatch() and nextMatch() - won't work anymore). - Sets the weighting of the item to <code>weight</code> or adds it to the current - weighting if the item is already available. The weight has to be greater - than 1 to take effect (default weight is 1). - @param item the item to add - @param weight the weight of the item, default is 1 - @short Adds an item to the list of available completions. - */ - public native void addItem(String item, int weight); - /** - Removes an item from the list of available completions. - Resets the current item-state ( previousMatch() and nextMatch() - won't work anymore). - @param item the item to remove - @short Removes an item from the list of available completions. - */ - public native void removeItem(String item); - /** - Removes all inserted items. - @short Removes all inserted items. - */ - public native void clear(); - /** - This method is called after a completion is found and before the - matching string is emitted. You can override this method to modify the - string that will be emitted. - This is necessary e.g. in KURLCompletion(), where files with spaces - in their names are shown escaped ("filename\ with\ spaces"), but stored - unescaped inside TDECompletion. - Never delete that pointer! - Default implementation does nothing. - @param match the match to process - @short This method is called after a completion is found and before the matching string is emitted. - @see #postProcessMatches - */ - protected native void postProcessMatch(StringBuffer match); - /** - This method is called before a list of all available completions is - emitted via #matches. You can override this method to modify the - found items before match() or #matches are emitted. - Never delete that pointer! - Default implementation does nothing. - @param matches the matches to process - @short This method is called before a list of all available completions is emitted via #matches. - @see #postProcessMatch - */ - protected native void postProcessMatches(String[] matches); - /** - This method is called before a list of all available completions is - emitted via #matches. You can override this method to modify the - found items before #match() or #matches() are emitted. - Never delete that pointer! - Default implementation does nothing. - @param matches the matches to process - @short This method is called before a list of all available completions is emitted via #matches. - @see #postProcessMatch - */ - // void postProcessMatches(TDECompletionMatches* arg1); >>>> NOT CONVERTED - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDECompletionBase.java b/kdejava/koala/org/kde/koala/TDECompletionBase.java deleted file mode 100644 index dfcb6968..00000000 --- a/kdejava/koala/org/kde/koala/TDECompletionBase.java +++ /dev/null @@ -1,281 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - An abstract base class for adding a completion feature - into widgets. - This is a convenience class that provides the basic functions - needed to add text completion support into widgets. All that - is required is an implementation for the pure function - setCompletedText. Refer to KLineEdit or KComboBox - to see how easily such support can be added using this as a base - class. - @author Dawit Alemayehu <adawit@kde.org> - - @short An abstract class for adding text completion support to widgets. - -*/ -public class TDECompletionBase implements QtSupport, TDECompletionBaseInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDECompletionBase(Class dummy){} - - /** - Constants that represent the items whose short-cut - key-binding is programmable. The default key-bindings - for these items are defined in TDEStdAccel. - @short Constants that represent the items whose short-cut key-binding is programmable. - */ - public static final int TextCompletion = 0; - public static final int PrevCompletionMatch = 1; - public static final int NextCompletionMatch = 2; - public static final int SubstringCompletion = 3; - - /** - Default constructor. - @short Default constructor. - */ - /** - Returns a pointer to the current completion object. - If the completion object does not exist, it is automatically created and - by default handles all the completion signals internally unless <code>hsig</code> - is set to false. It is also automatically destroyed when the destructor - is called. You can change this default behavior using the - {@link #setAutoDeleteCompletionObject} and {@link #setHandleSignals} member - functions. - See also {@link #compObj}. - @param hsig if true, handles completion signals internally. - @return a pointer the completion object. - - @short Returns a pointer to the current completion object. - */ - public native TDECompletion completionObject(boolean hsig); - public native TDECompletion completionObject(); - /** - Sets up the completion object to be used. - This method assigns the completion object and sets it up to automatically - handle the completion and rotation signals internally. You should use - this function if you want to share one completion object among your - widgets or need to use a customized completion object. - The object assigned through this method is not deleted when this object's - destructor is invoked unless you explicitly call {@link #setAutoDeleteCompletionObject} - after calling this method. Be sure to set the boolean argument to false, if - you want to handle the completion signals yourself. - @param compObj a TDECompletion() or a derived child object. - @param hsig if true, handles completion signals internally. - @short Sets up the completion object to be used. - */ - public native void setCompletionObject(TDECompletion compObj, boolean hsig); - public native void setCompletionObject(TDECompletion compObj); - /** - Enables this object to handle completion and rotation - events internally. - This function simply assigns a booleanean value that - indicates whether it should handle rotation and - completion events or not. Note that this does not - stop the object from emitting signals when these - events occur. - @param handle if true, handle completion & rotation internally. - @short Enables this object to handle completion and rotation events internally. - */ - public native void setHandleSignals(boolean handle); - /** - Returns true if the completion object is deleted - upon this widget's destruction. - See setCompletionObject() and enableCompletion() - for details. - @return true if the completion object will be deleted - automatically - - @short Returns true if the completion object is deleted upon this widget's destruction. - */ - public native boolean isCompletionObjectAutoDeleted(); - /** - Sets the completion object when this widget's destructor - is called. - If the argument is set to true, the completion object - is deleted when this widget's destructor is called. - @param autoDelete if true, delete completion object on destruction. - @short Sets the completion object when this widget's destructor is called. - */ - public native void setAutoDeleteCompletionObject(boolean autoDelete); - /** - Sets the widget's ability to emit text completion and - rotation signals. - Invoking this function with <code>enable</code> set to <code>false</code> will - cause the completion & rotation signals not to be emitted. - However, unlike setting the completion object to <code>NULL</code> - using setCompletionObject, disabling the emition of - the signals through this method does not affect the current - completion object. - There is no need to invoke this function by default. When a - completion object is created through completionObject or - setCompletionObject, these signals are set to emit - automatically. Also note that disabling this signals will not - necessarily interfere with the objects ability to handle these - events internally. See setHandleSignals. - @param enable if false, disables the emition of completion & rotation signals. - @short Sets the widget's ability to emit text completion and rotation signals. - */ - public native void setEnableSignals(boolean enable); - /** - Returns true if the object handles the signals. - @return true if this signals are handled internally. - - @short Returns true if the object handles the signals. - */ - public native boolean handleSignals(); - /** - Returns true if the object emits the signals. - @return true if signals are emitted - - @short Returns true if the object emits the signals. - */ - public native boolean emitSignals(); - /** - Sets the type of completion to be used. - The completion modes supported are those defined in - TDEGlobalSettings(). See below. - @param mode Completion type: - - <li> - CompletionNone: Disables completion feature. - </li> - - <li> - CompletionAuto: Attempts to find a match & - fills-in the remaining text. - </li> - - <li> - CompletionMan: Acts the same as the above - except the action has to be - manually triggered through - pre-defined completion key. - </li> - - <li> - CompletionShell: Mimics the completion feature - found in typical nix shell - environments. - </li> - - <li> - CompletionPopup: Shows all available completions at once, - in a listbox popping up. - - </li> @short Sets the type of completion to be used. - */ - public native void setCompletionMode(int mode); - /** - Returns the current completion mode. - The return values are of type TDEGlobalSettings.Completion. - See setCompletionMode() for details. - @return the completion mode. - - @short Returns the current completion mode. - */ - public native int completionMode(); - /** - Sets the key-binding to be used for manual text - completion, text rotation in a history list as - well as a completion list. - When the keys set by this function are pressed, a - signal defined by the inheriting widget will be activated. - If the default value or 0 is specified by the second - parameter, then the key-binding as defined in the global - setting should be used. This method returns false value - for <code>key</code> is negative or the supplied key-binding conflicts - with the ones set for one of the other features. - NOTE: To use a modifier key (Shift, Ctrl, Alt) as part of - the key-binding simply simply <code>sum</code> up the values of the - modifier and the actual key. For example, to use CTRL+E as - a key binding for one of the items, you would simply supply - <code></code>"Qt.CtrlButton + Qt.Key_E" as the second argument to this - function. - @param item the feature whose key-binding needs to be set: - - <li> - TextCompletion the manual completion key-binding. - </li> - - <li> - PrevCompletionMatch the previous match key for multiple completion. - </li> - - <li> - NextCompletionMatch the next match key for for multiple completion. - </li> - - <li> - SubstringCompletion the key for substring completion - </li> - @param key key-binding used to rotate down in a list. - @return true if key-binding can successfully be set. - - @short Sets the key-binding to be used for manual text completion, text rotation in a history list as well as a completion list. - @see #getKeyBinding - */ - public native boolean setKeyBinding(int item, TDEShortcut key); - /** - Returns the key-binding used for the specified item. - This methods returns the key-binding used to activate - the feature feature given by <code>item.</code> If the binding - contains modifier key(s), the SUM of the modifier key - and the actual key code are returned. - @param item the item to check - @return the key-binding used for the feature given by <code>item.</code> - - @short Returns the key-binding used for the specified item. - @see #setKeyBinding - */ - public native TDEShortcut getKeyBinding(int item); - /** - Sets this object to use global values for key-bindings. - This method changes the values of the key bindings for - rotation and completion features to the default values - provided in TDEGlobalSettings. - NOTE: By default inheriting widgets should uses the - global key-bindings so that there will be no need to - call this method. - @short Sets this object to use global values for key-bindings. - */ - public native void useGlobalKeyBindings(); - /** - A pure function that must be implemented by - all inheriting classes. - This function is intended to allow external completion - implementations to set completed text appropriately. It - is mostly relevant when the completion mode is set to - CompletionAuto and CompletionManual modes. See - TDECompletionBase.setCompletedText. - Does nothing in CompletionPopup mode, as all available - matches will be shown in the popup. - @param text the completed text to be set in the widget. - @short A pure virtual function that must be implemented by all inheriting classes. - */ - public native void setCompletedText(String text); - /** - A pure function that must be implemented by - all inheriting classes. - @param items the list of completed items - @short A pure virtual function that must be implemented by all inheriting classes. - */ - public native void setCompletedItems(String[] items); - /** - Returns a pointer to the completion object. - This method is only different from completionObject() - in that it does not create a new TDECompletion object even if - the internal pointer is <code>NULL.</code> Use this method to get the - pointer to a completion object when inheriting so that you - won't inadvertently create it!! - @return the completion object or NULL if one does not exist. - - @short Returns a pointer to the completion object. - */ - public native TDECompletion compObj(); -} diff --git a/kdejava/koala/org/kde/koala/TDECompletionBaseInterface.java b/kdejava/koala/org/kde/koala/TDECompletionBaseInterface.java deleted file mode 100644 index 7609c642..00000000 --- a/kdejava/koala/org/kde/koala/TDECompletionBaseInterface.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; - -public interface TDECompletionBaseInterface { - TDECompletion completionObject(boolean hsig); - TDECompletion completionObject(); - void setCompletionObject(TDECompletion compObj, boolean hsig); - void setCompletionObject(TDECompletion compObj); - void setHandleSignals(boolean handle); - boolean isCompletionObjectAutoDeleted(); - void setAutoDeleteCompletionObject(boolean autoDelete); - void setEnableSignals(boolean enable); - boolean handleSignals(); - boolean emitSignals(); - void setCompletionMode(int mode); - int completionMode(); - boolean setKeyBinding(int item, TDEShortcut key); - TDEShortcut getKeyBinding(int item); - void useGlobalKeyBindings(); - void setCompletedText(String text); - void setCompletedItems(String[] items); - TDECompletion compObj(); -} diff --git a/kdejava/koala/org/kde/koala/TDECompletionBox.java b/kdejava/koala/org/kde/koala/TDECompletionBox.java deleted file mode 100644 index e1a5b701..00000000 --- a/kdejava/koala/org/kde/koala/TDECompletionBox.java +++ /dev/null @@ -1,197 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListBoxItem; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - - A little utility class for "completion-widgets", like KLineEdit or - KComboBox. TDECompletionBox is a listbox, displayed as a rectangle without - any window decoration, usually directly under the lineedit or combobox. - It is filled with all possible matches for a completion, so the user - can select the one he wants. - It is used when TDEGlobalSettings.Completion == CompletionPopup or CompletionPopupAuto. - See {@link TDECompletionBoxSignals} for signals emitted by TDECompletionBox - @author Carsten Pfeiffer <pfeiffer@kde.org> - - @short A helper widget for "completion-widgets" (KLineEdit, KComboBox)). - -*/ -public class TDECompletionBox extends TDEListBox { - protected TDECompletionBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a TDECompletionBox. - The parent widget is used to give the focus back when pressing the - up-button on the very first item. - @short Constructs a TDECompletionBox. - */ - public TDECompletionBox(TQWidget parent, String name) { - super((Class) null); - newTDECompletionBox(parent,name); - } - private native void newTDECompletionBox(TQWidget parent, String name); - public TDECompletionBox(TQWidget parent) { - super((Class) null); - newTDECompletionBox(parent); - } - private native void newTDECompletionBox(TQWidget parent); - public native TQSize sizeHint(); - /** - @return true if selecting an item results in the emition of the selected signal. - - @short - */ - public native boolean activateOnSelect(); - /** - Returns a list of all items currently in the box. - @short Returns a list of all items currently in the box. - */ - public native ArrayList items(); - /** - Inserts <code>items</code> into the box. Does not clear the items before. - <code>index</code> determines at which position <code>items</code> will be inserted. - (defaults to appending them at the end) - @short Inserts <code>items</code> into the box. - */ - public native void insertItems(String[] items, int index); - public native void insertItems(String[] items); - /** - Clears the box and inserts <code>items.</code> - @short Clears the box and inserts <code>items.</code> - */ - public native void setItems(String[] items); - /** - Adjusts the size of the box to fit the width of the parent given in the - constructor and pops it up at the most appropriate place, relative to - the parent. - Depending on the screensize and the position of the parent, this may - be a different place, however the default is to pop it up and the - lower left corner of the parent. - Make sure to hide() the box when appropriate. - @short Adjusts the size of the box to fit the width of the parent given in the constructor and pops it up at the most appropriate place, relative to the parent. - */ - public native void popup(); - /** - Makes this widget (when visible) capture Tab-key events to traverse the - items in the dropdown list. - Default off, as it conflicts with the usual behavior of Tab to traverse - widgets. It is useful for cases like Konqueror's Location Bar, though. - @short Makes this widget (when visible) capture Tab-key events to traverse the items in the dropdown list. - @see #isTabHandling - */ - public native void setTabHandling(boolean enable); - /** - Default is false. - @return true if this widget is handling Tab-key events to traverse the - items in the dropdown list, otherwise false. - - @short - @see #setTabHandling - */ - public native boolean isTabHandling(); - /** - Sets the text to be emitted if the user chooses not to - pick from the available matches. - If the canceled text is not set through this function, the - userCancelled signal will not be emitted. - @param txt the text to be emitted if the user cancels this box - @short Sets the text to be emitted if the user chooses not to pick from the available matches. - @see #userCancelled( - @see #const - */ - public native void setCancelledText(String txt); - /** - @return the text set via setCancelledText() or null. - - @short - */ - public native String cancelledText(); - /** - Set whether or not the selected signal should be emitted when an - item is selected. By default the selected signal is emitted. - @param state false if the signal should not be emitted. - @short Set whether or not the selected signal should be emitted when an item is selected. - */ - public native void setActivateOnSelect(boolean state); - /** - Moves the selection one line down or select the first item if nothing is selected yet. - @short Moves the selection one line down or select the first item if nothing is selected yet. - */ - public native void down(); - /** - Moves the selection one line up or select the first item if nothing is selected yet. - @short Moves the selection one line up or select the first item if nothing is selected yet. - */ - public native void up(); - /** - Moves the selection one page down. - @short Moves the selection one page down. - */ - public native void pageDown(); - /** - Moves the selection one page up. - @short Moves the selection one page up. - */ - public native void pageUp(); - /** - Moves the selection up to the first item. - @short Moves the selection up to the first item. - */ - public native void home(); - /** - Moves the selection down to the last item. - @short Moves the selection down to the last item. - */ - public native void end(); - /** - Re-implemented for internal reasons. API is unaffected. - @short Re-implemented for internal reasons. - */ - public native void show(); - /** - Re-implemented for internal reasons. API is unaffected. - @short Re-implemented for internal reasons. - */ - public native void hide(); - /** - This calculates the size of the dropdown and the relative position of the top - left corner with respect to the parent widget. This matches the geometry and position - normally used by K/TQComboBox when used with one. - @short This calculates the size of the dropdown and the relative position of the top left corner with respect to the parent widget. - */ - protected native TQRect calculateGeometry(); - /** - This properly sizes and positions the listbox. - @short This properly sizes and positions the listbox. - */ - protected native void sizeAndPosition(); - /** - Reimplemented from TDEListBox to get events from the viewport (to hide - this widget on mouse-click, Escape-presses, etc. - @short Reimplemented from TDEListBox to get events from the viewport (to hide this widget on mouse-click, Escape-presses, etc. - */ - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** - Called when an item was activated. Emits - activated() with the item. - @short Called when an item was activated. - */ - protected native void slotActivated(TQListBoxItem arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDECompletionBoxSignals.java b/kdejava/koala/org/kde/koala/TDECompletionBoxSignals.java deleted file mode 100644 index d9f97ad6..00000000 --- a/kdejava/koala/org/kde/koala/TDECompletionBoxSignals.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListBoxItem; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface TDECompletionBoxSignals { - /** - Emitted when an item was selected, contains the text of - the selected item. - @short Emitted when an item was selected, contains the text of the selected item. - */ - void activated(String arg1); - /** - Emitted whenever the user chooses to ignore the available - selections and close the this box. - @short Emitted whenever the user chooses to ignore the available selections and close the this box. - */ - void userCancelled(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/TDECompletionSignals.java b/kdejava/koala/org/kde/koala/TDECompletionSignals.java deleted file mode 100644 index 269b8440..00000000 --- a/kdejava/koala/org/kde/koala/TDECompletionSignals.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface TDECompletionSignals { - /** - The matching item. Will be emitted by makeCompletion(), - previousMatch() or nextMatch(). May be null if there - is no matching item. - @param item the match, or null if there is none - @short The matching item. - */ - void match(String item); - /** - All matching items. Will be emitted by makeCompletion() in shell- - completion-mode, when the same string is passed to makeCompletion twice - or more often. - @param matchlist the list of matches - @short All matching items. - */ - void matches(String[] matchlist); - /** - This signal is emitted, when calling makeCompletion() and more than - one matching item is found. - @short This signal is emitted, when calling makeCompletion() and more than one matching item is found. - @see #hasMultipleMatches - */ - void multipleMatches(); -} diff --git a/kdejava/koala/org/kde/koala/TDEConfig.java b/kdejava/koala/org/kde/koala/TDEConfig.java deleted file mode 100644 index 326355fd..00000000 --- a/kdejava/koala/org/kde/koala/TDEConfig.java +++ /dev/null @@ -1,232 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Access KDE Configuration entries. - This class implements KDE's default configuration system. - @author Kalle Dalheimer <kalle@kde.org>, Preston Brown <pbrown@kde.org> - - @short KDE Configuration Management class. - @see TDEGlobal#config - @see TDEConfigBase - @see KSimpleConfig - -*/ -public class TDEConfig extends TDEConfigBase { - protected TDEConfig(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a TDEConfig object. - @param fileName A file to parse in addition to the - system-wide file(s). If it is not provided, only global - KDE configuration data will be read (depending on the value of - <code>bUseKDEGlobals</code>). - @param bReadOnly Set the config object's read-only status. Note that the - object will automatically become read-only if either the user does not have - write permission to <code>fileName</code> or if no file was specified. - @param bUseKDEGlobals Toggle reading the global KDE configuration file. - @param resType the place to look in (config, data, etc) See TDEStandardDirs. - @short Constructs a TDEConfig object. - */ - public TDEConfig(String fileName, boolean bReadOnly, boolean bUseKDEGlobals, String resType) { - super((Class) null); - newTDEConfig(fileName,bReadOnly,bUseKDEGlobals,resType); - } - private native void newTDEConfig(String fileName, boolean bReadOnly, boolean bUseKDEGlobals, String resType); - public TDEConfig(String fileName, boolean bReadOnly, boolean bUseKDEGlobals) { - super((Class) null); - newTDEConfig(fileName,bReadOnly,bUseKDEGlobals); - } - private native void newTDEConfig(String fileName, boolean bReadOnly, boolean bUseKDEGlobals); - public TDEConfig(String fileName, boolean bReadOnly) { - super((Class) null); - newTDEConfig(fileName,bReadOnly); - } - private native void newTDEConfig(String fileName, boolean bReadOnly); - public TDEConfig(String fileName) { - super((Class) null); - newTDEConfig(fileName); - } - private native void newTDEConfig(String fileName); - public TDEConfig() { - super((Class) null); - newTDEConfig(); - } - private native void newTDEConfig(); - public TDEConfig(TDEConfigBackEnd backEnd, boolean bReadOnly) { - super((Class) null); - newTDEConfig(backEnd,bReadOnly); - } - private native void newTDEConfig(TDEConfigBackEnd backEnd, boolean bReadOnly); - public TDEConfig(TDEConfigBackEnd backEnd) { - super((Class) null); - newTDEConfig(backEnd); - } - private native void newTDEConfig(TDEConfigBackEnd backEnd); - /** - Clears all entries out of the <code>dirtyEntryMap</code>, so the - values will not be written to disk on a later call to - sync(). - @param bDeep If true, the dirty map is actually emptied. - otherwise, the config object's global dirty flag is set to - false, but the dirty entries remain in the dirty entry - map. - @short Clears all entries out of the <code>dirtyEntryMap</code>, so the values will not be written to disk on a later call to sync(). - @see TDEConfigBase#rollback - */ - public native void rollback(boolean bDeep); - public native void rollback(); - /** - Returns a list of groups that are known. - @return a list of of groups - - @short Returns a list of groups that are known. - */ - public native ArrayList groupList(); - /** - Returns a map (tree) of entries for all entries in a particular - group. - Only the actual entry string is returned, none of the - other internal data should be included. - @param pGroup A group to get keys from. - @return A map of entries in the group specified, indexed by key. - The returned map may be empty if the group is not found. - - @short Returns a map (tree) of entries for all entries in a particular group. - */ - // TQMap<TQString, TQString> entryMap(const TQString& arg1); >>>> NOT CONVERTED - /** - Clears all internal data structures and then reread - configuration information from disk. - @short Clears all internal data structures and then reread configuration information from disk. - */ - public native void reparseConfiguration(); - /** - Set the file mode for newly created files. - @param mode the mode for new files as described in chmod(2) - @short Set the file mode for newly created files. - @see #man:chmod(2) - @see #for - @see #a - @see #description - @see #of - @see <code></code>@see #mode - */ - public native void setFileWriteMode(int mode); - /** - Forces all following write-operations being performed on kdeglobals, - independent of the bGlobal flag in writeEntry(). - @param force true to force writing in kdeglobals - @short Forces all following write-operations being performed on kdeglobals, independent of the bGlobal flag in writeEntry(). - @see #forceGlobal - */ - public native void setForceGlobal(boolean force); - /** - Returns true if all entries are being written into kdeglobals. - @return true if all entries are being written into kdeglobals - - @short Returns true if all entries are being written into kdeglobals. - @see #setForceGlobal - */ - public native boolean forceGlobal(); - /** - Checks whether the config file contains the update <code>id</code> - as contained in <code>updateFile.</code> If not, it runs tdeconf_update - to update the config file. - If you install config update files with critical fixes - you may wish to use this method to verify that a critical - update has indeed been performed to catch the case where - a user restores an old config file from backup that has - not been updated yet. - @param id the update to check - @param updateFile the file containing the update - @short Checks whether the config file contains the update <code>id</code> as contained in <code>updateFile.</code> - */ - public native void checkUpdate(String id, String updateFile); - /** - Copies all entries from this config object to a new config - object that will save itself to <code>file.</code> - Actual saving to <code>file</code> happens when the returned object is - destructed or when sync() is called upon it. - @param file the new config object will save itself to. - @param config optional config object to reuse - @short Copies all entries from this config object to a new config object that will save itself to <code>file.</code> - */ - public native TDEConfig copyTo(String file, TDEConfig config); - public native TDEConfig copyTo(String file); - /** - Returns a lock file object for the configuration file or 0 if - the backend does not support locking. - @param bGlobal if true, return the lock file for the global config file - NOTE: TDEConfig.sync() requires a lock on both the normal and global - config file. When calling TDEConfig.sync() while having a lock on the - global config file, the normal config file MUST be locked AS WELL and the - normal config file MUST be locked BEFORE the global config file! - Otherwise there is a risk of deadlock. - @short Returns a lock file object for the configuration file or 0 if the backend does not support locking. - */ - // TDELockFile::Ptr lockFile(bool arg1); >>>> NOT CONVERTED - // TDELockFile::Ptr lockFile(); >>>> NOT CONVERTED - /** - Returns true if the specified group is known. - @param group The group to search for. - @return true if the group exists. - - @short Returns true if the specified group is known. - */ - protected native boolean internalHasGroup(String group); - /** - Returns a map (tree) of the entries in the specified group. - Do not use this function, the implementation / return type are - subject to change. - @param pGroup the group to provide a KEntryMap for. - @return The map of the entries in the group. - - @short - */ - // KEntryMap internalEntryMap(const TQString& arg1); >>>> NOT CONVERTED - /** - Returns a copy of the internal map used to hold all entries. - Do not use this function, the implementation / return type are - subject to change. - @return The map of the entries in the group. - - @short - */ - // KEntryMap internalEntryMap(); >>>> NOT CONVERTED - /** - Inserts a (key, value) pair into the internal storage mechanism of - the configuration object. - @param _key The key to insert. It contains information both on - the group of the key and the key itself. If the key already - exists, the old value will be replaced. - @param _data the KEntry that is to be stored. - @param _checkGroup When false, assume that the group already exists. - @short Inserts a (key, value) pair into the internal storage mechanism of the configuration object. - */ - protected native void putData(KEntryKey _key, KEntry _data, boolean _checkGroup); - protected native void putData(KEntryKey _key, KEntry _data); - /** - Looks up an entry in the config object's internal structure. - @param _key The key to look up It contains information both on - the group of the key and the entry's key itself. - @return the KEntry value (data) found for the key. KEntry.aValue - will be the null string if nothing was located. - - @short Looks up an entry in the config object's internal structure. - */ - protected native KEntry lookupData(KEntryKey _key); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEConfigBackEnd.java b/kdejava/koala/org/kde/koala/TDEConfigBackEnd.java deleted file mode 100644 index decdc310..00000000 --- a/kdejava/koala/org/kde/koala/TDEConfigBackEnd.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Abstract base class for KDE configuration file loading/saving. - This class forms the base for all classes that implement some - manner of loading/saving to configuration files. It is an - abstract base class, meaning that you cannot directly instantiate - objects of this class. As of right now, the only back end available - is one to read/write to INI-style files, but in the future, other - formats may be available, such as XML or a database. - @author Preston Brown <pbrown@kde.org>, - Matthias Kalle Dalheimer <kalle@kde.org> - - @short KDE Configuration file loading/saving abstract base class. - -*/ -public class TDEConfigBackEnd implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEConfigBackEnd(Class dummy){} - - /** - Constructs a configuration back end. - @param _config Specifies the configuration object which values - will be passed to as they are read, or from where values - to be written to will be obtained from. - @param _fileName The name of the file in which config - data is stored. All registered configuration directories - will be looked in in order of decreasing relevance. - @param _resType the resource type of the fileName specified, _if_ - it is not an absolute path (otherwise this parameter is ignored). - @param _useKDEGlobals If true, the user's system-wide kdeglobals file - will be imported into the config object. If false, only - the filename specified will be dealt with. - @short Constructs a configuration back end. - */ - /** - Parses all configuration files for a configuration object. This - method must be reimplemented by the derived classes. - @return Whether or not parsing was successful. - - @short Parses all configuration files for a configuration object. - */ - public native boolean parseConfigFiles(); - /** - Writes configuration data to file(s). This method must be - reimplemented by the derived classes. - @param bMerge Specifies whether the old config file already - on disk should be merged in with the data in memory. If true, - data is read off the disk and merged. If false, the on-disk - file is removed and only in-memory data is written out. - @short Writes configuration data to file(s). - */ - public native void sync(boolean bMerge); - public native void sync(); - /** - Changes the filenames associated with this back end. You should - probably reparse your config info after doing this. - @param _fileName the new filename to use - @param _resType the resource type of the fileName specified, _if_ - it is not an absolute path (otherwise this parameter is ignored). - @param _useKDEGlobals specifies whether or not to also parse the - global KDE configuration files. - @short Changes the filenames associated with this back end. - */ - public native void changeFileName(String _fileName, String _resType, boolean _useKDEGlobals); - /** - Returns the state of the app-config object. - @short Returns the state of the app-config object. - @see TDEConfig#getConfigState - */ - public native int getConfigState(); - /** - Returns the filename as passed to the constructor. - @return the filename as passed to the constructor. - - @short Returns the filename as passed to the constructor. - */ - public native String fileName(); - /** - Returns the resource type as passed to the constructor. - @return the resource type as passed to the constructor. - - @short Returns the resource type as passed to the constructor. - */ - public native String resource(); - /** - Set the locale string that defines the current language. - @param _localeString the identifier of the language - @short Set the locale string that defines the current language. - @see TDELocale - */ - public native void setLocaleString(String _localeString); - /** - Set the file mode for newly created files. - @param mode the filemode (as in chmod) - @short Set the file mode for newly created files. - */ - public native void setFileWriteMode(int mode); - /** - Check whether the config files are writable. - @param warnUser Warn the user if the configuration files are not writable. - @return Indicates that all of the configuration files used are writable. - - @short Check whether the config files are writable. - */ - public native boolean checkConfigFilesWritable(boolean warnUser); - /** - Returns a lock file object for the configuration file - @param bGlobal If true, returns a lock file object for kdeglobals - @short Returns a lock file object for the configuration file - */ - // TDELockFile::Ptr lockFile(bool arg1); >>>> NOT CONVERTED - // TDELockFile::Ptr lockFile(); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/TDEConfigBase.java b/kdejava/koala/org/kde/koala/TDEConfigBase.java deleted file mode 100644 index 860edeb5..00000000 --- a/kdejava/koala/org/kde/koala/TDEConfigBase.java +++ /dev/null @@ -1,936 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import java.util.Calendar; -import org.kde.qt.TQSize; -import java.util.ArrayList; -import org.kde.qt.TQVariant; -import org.kde.qt.TQObject; - -/** - - This class forms the base for all %KDE configuration. It is an - abstract base class, meaning that you cannot directly instantiate - objects of this class. Either use TDEConfig (for usual %KDE - configuration) or KSimpleConfig (for special needs as in ksamba), or - even TDESharedConfig (stores values in shared memory). - All configuration entries are key, value pairs. Each entry also - belongs to a specific group of related entries. All configuration - entries that do not explicitly specify which group they are in are - in a special group called the default group. - If there is a $ character in an entry, TDEConfigBase tries to expand - environment variable and uses its value instead of its name. You - can avoid this feature by having two consecutive $ characters in - your config file which get expanded to one. - <b>Note:<> the '=' char is not allowed in keys and the ']' char is not allowed in - a group name. - @author Kalle Dalheimer <kalle@kde.org>, Preston Brown <pbrown@kde.org> - - @short KDE Configuration Management abstract base class. - @see TDEGlobal#config - @see TDEConfig - @see KSimpleConfig - @see TDESharedConfig - -*/ -public class TDEConfigBase extends TQObject { - protected TDEConfigBase(Class dummy){super((Class) null);} - /** - Possible return values for getConfigState(). - @short Possible return values for getConfigState(). - @see #getConfigState - */ - public static final int NoAccess = 0; - public static final int ReadOnly = 1; - public static final int ReadWrite = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a TDEConfigBase object. - @short Construct a TDEConfigBase object. - */ - /** - Specifies the group in which keys will be read and written. - Subsequent - calls to readEntry() and writeEntry() will be applied only in the - activated group. - Switch back to the default group by passing a null string. - @param group The name of the new group. - @short Specifies the group in which keys will be read and written. - */ - public native void setGroup(String group); - /** - Sets the group to the "Desktop Entry" group used for - desktop configuration files for applications, mime types, etc. - @short Sets the group to the "Desktop Entry" group used for desktop configuration files for applications, mime types, etc. - */ - public native void setDesktopGroup(); - /** - Returns the name of the group in which we are - searching for keys and from which we are retrieving entries. - @return The current group. - - @short Returns the name of the group in which we are searching for keys and from which we are retrieving entries. - */ - public native String group(); - /** - Returns true if the specified group is known about. - @param group The group to search for. - @return true if the group exists. - - @short Returns true if the specified group is known about. - */ - public native boolean hasGroup(String group); - /** - Returns a list of groups that are known about. - @return The list of groups. - - @short Returns a list of groups that are known about. - */ - public native ArrayList groupList(); - /** - Returns a the current locale. - @return A string representing the current locale. - - @short Returns a the current locale. - */ - public native String locale(); - /** - Reads the value of an entry specified by <code>pKey</code> in the current group. - If you want to read a path, please use readPathEntry(). - @param pKey The key to search for. - @param aDefault A default value returned if the key was not found. - @return The value for this key. Can be null if aDefault is null. - - @short Reads the value of an entry specified by <code>pKey</code> in the current group. - */ - public native String readEntry(String pKey, String aDefault); - public native String readEntry(String pKey); - /** - Reads the value of an entry specified by <code>pKey</code> in the current group. - The value is treated as if it is of the type of the given default value. - Note that only the following TQVariant types are allowed : String, - StringList, List, Font, Point, Rect, Size, Color, Int, UInt, Bool, - Double, DateTime and Date. - @param pKey The key to search for. - @param aDefault A default value returned if the key was not found or - if the read value cannot be converted to the TQVariant.Type. - @return The value for the key or the default value if the key was not - found. - - @short Reads the value of an entry specified by <code>pKey</code> in the current group. - */ - public native TQVariant readPropertyEntry(String pKey, TQVariant aDefault); - /** - Reads a list of strings. - @param pKey The key to search for. - @param sep The list separator (default is ","). - @return The list. Empty if the entry does not exist. - - @short Reads a list of strings. - */ - public native ArrayList readListEntry(String pKey, char sep); - public native ArrayList readListEntry(String pKey); - /** - Reads a list of strings, but returns a default if the key - did not exist. - @param pKey The key to search for. - @param aDefault The default value to use if the key does not exist. - @param sep The list separator (default is ","). - @return The list. Contains <code>aDefault</code> if the Key does not exist. - - @short Reads a list of strings, but returns a default if the key did not exist. - */ - public native ArrayList readListEntry(String pKey, String[] aDefault, char sep); - public native ArrayList readListEntry(String pKey, String[] aDefault); - /** - Reads a list of Integers. - @param pKey The key to search for. - @return The list. Empty if the entry does not exist. - - @short Reads a list of Integers. - */ - public native int[] readIntListEntry(String pKey); - /** - Reads a path. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a path. This means, dollar expansion is activated - for this value, so that e.g. $HOME gets expanded. - @param pKey The key to search for. - @param aDefault A default value returned if the key was not found. - @return The value for this key. Can be null if aDefault is null. - - @short Reads a path. - */ - public native String readPathEntry(String pKey, String aDefault); - public native String readPathEntry(String pKey); - /** - Reads a list of string paths. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a list of paths. This means, dollar expansion is activated - for this value, so that e.g. $HOME gets expanded. - @param pKey The key to search for. - @param sep The list separator (default is ","). - @return The list. Empty if the entry does not exist. - - @short Reads a list of string paths. - */ - public native ArrayList readPathListEntry(String pKey, char sep); - public native ArrayList readPathListEntry(String pKey); - /** - Reads a numerical value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it numerically. - @param pKey The key to search for. - @param nDefault A default value returned if the key was not found or if - the read value cannot be interpreted. - @return The value for this key. - - @short Reads a numerical value. - */ - public native int readNumEntry(String pKey, int nDefault); - public native int readNumEntry(String pKey); - /** - Reads an unsigned numerical value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it numerically. - @param pKey The key to search for. - @param nDefault A default value returned if the key was not found or if - the read value cannot be interpreted. - @return The value for this key. - - @short Reads an unsigned numerical value. - */ - public native int readUnsignedNumEntry(String pKey, int nDefault); - public native int readUnsignedNumEntry(String pKey); - /** - Reads a numerical value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it numerically. - @param pKey The key to search for. - @param nDefault A default value returned if the key was not found or if - the read value cannot be interpreted. - @return The value for this key. - - @short Reads a numerical value. - */ - public native long readLongNumEntry(String pKey, long nDefault); - public native long readLongNumEntry(String pKey); - /** - Read an unsigned numerical value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it numerically. - @param pKey The key to search for. - @param nDefault A default value returned if the key was not found or if - the read value cannot be interpreted. - @return The value for this key. - - @short Read an unsigned numerical value. - */ - public native long readUnsignedLongNumEntry(String pKey, long nDefault); - public native long readUnsignedLongNumEntry(String pKey); - /** - Reads a 64-bit numerical value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it numerically. - @param pKey The key to search for. - @param nDefault A default value returned if the key was not found or if - the read value cannot be interpreted. - @return The value for this key. - - @short Reads a 64-bit numerical value. - */ - public native long readNum64Entry(String pKey, long nDefault); - public native long readNum64Entry(String pKey); - /** - Read an 64-bit unsigned numerical value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it numerically. - @param pKey The key to search for. - @param nDefault A default value returned if the key was not found or if - the read value cannot be interpreted. - @return The value for this key. - - @short Read an 64-bit unsigned numerical value. - */ - public native long readUnsignedNum64Entry(String pKey, long nDefault); - public native long readUnsignedNum64Entry(String pKey); - /** - Reads a floating point value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it numerically. - @param pKey The key to search for. - @param nDefault A default value returned if the key was not found or if - the read value cannot be interpreted. - @return The value for this key. - - @short Reads a floating point value. - */ - public native double readDoubleNumEntry(String pKey, double nDefault); - public native double readDoubleNumEntry(String pKey); - /** - Reads a TQFont value. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a font object. - @param pKey The key to search for. - @param pDefault A default value (null TQFont by default) returned if the - key was not found or if the read value cannot be interpreted. - @return The value for this key. - - @short Reads a TQFont value. - */ - public native TQFont readFontEntry(String pKey, TQFont pDefault); - public native TQFont readFontEntry(String pKey); - /** - Reads a booleanean entry. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a booleanean value. Currently "on" and "true" are - accepted as true, everything else if false. - @param pKey The key to search for - @param bDefault A default value returned if the key was not found. - @return The value for this key. - - @short Reads a boolean entry. - */ - public native boolean readBoolEntry(String pKey, boolean bDefault); - public native boolean readBoolEntry(String pKey); - /** - Reads a TQRect entry. - Read the value of an entry specified by pKey in the current group - and interpret it as a TQRect object. - @param pKey The key to search for - @param pDefault A default value (null TQRect by default) returned if the - key was not found or if the read value cannot be interpreted. - @return The value for this key. - - @short Reads a TQRect entry. - */ - public native TQRect readRectEntry(String pKey, TQRect pDefault); - public native TQRect readRectEntry(String pKey); - /** - Reads a TQPoint entry. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a TQPoint object. - @param pKey The key to search for - @param pDefault A default value (null TQPoint by default) returned if the - key was not found or if the read value cannot be interpreted. - @return The value for this key. - - @short Reads a TQPoint entry. - */ - public native TQPoint readPointEntry(String pKey, TQPoint pDefault); - public native TQPoint readPointEntry(String pKey); - /** - Reads a TQSize entry. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a TQSize object. - @param pKey The key to search for - @param pDefault A default value (null TQSize by default) returned if the - key was not found or if the read value cannot be interpreted. - @return The value for this key. - - @short Reads a TQSize entry. - */ - public native TQSize readSizeEntry(String pKey, TQSize pDefault); - public native TQSize readSizeEntry(String pKey); - /** - Reads a TQColor entry. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a color. - @param pKey The key to search for. - @param pDefault A default value (null TQColor by default) returned if the - key was not found or if the value cannot be interpreted. - @return The value for this key. - - @short Reads a TQColor entry. - */ - public native TQColor readColorEntry(String pKey, TQColor pDefault); - public native TQColor readColorEntry(String pKey); - /** - Reads a Calendar entry. - Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a date and time. - @param pKey The key to search for. - @param pDefault A default value ( currentDateTime() by default) - returned if the key was not found or if the read value cannot be - interpreted. - @return The value for this key. - - @short Reads a TQDateTime entry. - */ - public native Calendar readDateTimeEntry(String pKey, Calendar pDefault); - public native Calendar readDateTimeEntry(String pKey); - /** - Reads the value of an entry specified by <code>pKey</code> in the current group. - The untranslated entry is returned, you normally do not need this. - @param pKey The key to search for. - @param aDefault A default value returned if the key was not found. - @return The value for this key. - - @short Reads the value of an entry specified by <code>pKey</code> in the current group. - */ - public native String readEntryUntranslated(String pKey, String aDefault); - public native String readEntryUntranslated(String pKey); - /** - Writes a key/value pair. - This is stored in the most specific config file when destroying the - config object or when calling sync(). - If you want to write a path, please use writePathEntry(). - @param pKey The key to write. - @param pValue The value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will - not be written to disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the - global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a key/value pair. - */ - public native void writeEntry(String pKey, String pValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, String pValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, String pValue, boolean bPersistent); - public native void writeEntry(String pKey, String pValue); - /** - writeEntry() Overridden to accept a property. - Note: Unlike the other writeEntry() functions, the old value is - _not_ returned here! - @param pKey The key to write - @param rValue The property to write - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty flag - will not be set and thus the entry will not be - written to disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the - global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short writeEntry() Overridden to accept a property. - @see #writeEntry - */ - public native void writeEntry(String pKey, TQVariant rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, TQVariant rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, TQVariant rValue, boolean bPersistent); - public native void writeEntry(String pKey, TQVariant rValue); - /** - writeEntry() overridden to accept a list of strings. - Note: Unlike the other writeEntry() functions, the old value is - _not_ returned here! - @param pKey The key to write - @param rValue The list to write - @param sep The list separator (default is ","). - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty flag - will not be set and thus the entry will not be - written to disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the - global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short writeEntry() overridden to accept a list of strings. - @see #writeEntry - */ - public native void writeEntry(String pKey, String[] rValue, char sep, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, String[] rValue, char sep, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, String[] rValue, char sep, boolean bPersistent); - public native void writeEntry(String pKey, String[] rValue, char sep); - public native void writeEntry(String pKey, String[] rValue); - /** - writeEntry() overridden to accept a list of Integers. - Note: Unlike the other writeEntry() functions, the old value is - _not_ returned here! - @param pKey The key to write - @param rValue The list to write - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty flag - will not be set and thus the entry will not be - written to disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the - global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short writeEntry() overridden to accept a list of Integers. - @see #writeEntry - */ - public native void writeEntry(String pKey, int[] rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, int[] rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, int[] rValue, boolean bPersistent); - public native void writeEntry(String pKey, int[] rValue); - /** - Write a (key/value) pair. - Same as above, but writes a numerical value. - @param pKey The key to write. - @param nValue The value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the - global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Write a (key/value) pair. - */ - public native void writeEntry(String pKey, int nValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, int nValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, int nValue, boolean bPersistent); - public native void writeEntry(String pKey, int nValue); - /** - Writes a (key/value) pair. - Same as above, but write a long numerical value. - @param pKey The key to write. - @param nValue The value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, long nValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, long nValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, long nValue, boolean bPersistent); - public native void writeEntry(String pKey, long nValue); - /** - Writes a (key/value) pair. - Same as above, but writes a floating-point value. - @param pKey The key to write. - @param nValue The value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param format <code>format</code> determines the format to which the value - is converted. Default is 'g'. - @param precision <code>precision</code> sets the precision with which the - value is converted. Default is 6 as in String. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, double nValue, boolean bPersistent, boolean bGlobal, char format, int precision, boolean bNLS); - public native void writeEntry(String pKey, double nValue, boolean bPersistent, boolean bGlobal, char format, int precision); - public native void writeEntry(String pKey, double nValue, boolean bPersistent, boolean bGlobal, char format); - public native void writeEntry(String pKey, double nValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, double nValue, boolean bPersistent); - public native void writeEntry(String pKey, double nValue); - /** - Writes a (key/value) pair. - Same as above, but writes a booleanean value. - @param pKey The key to write. - @param bValue The value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, boolean bValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, boolean bValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, boolean bValue, boolean bPersistent); - public native void writeEntry(String pKey, boolean bValue); - /** - Writes a (key/value) pair. - Same as above, but writes a font value. - @param pKey The key to write. - @param rFont The font value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, TQFont rFont, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, TQFont rFont, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, TQFont rFont, boolean bPersistent); - public native void writeEntry(String pKey, TQFont rFont); - /** - Writes a (key/value) pair. - Same as above, but write a color entry. - Note: Unlike the other writeEntry() functions, the old value is - _not_ returned here! - @param pKey The key to write. - @param rColor The color value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, TQColor rColor, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, TQColor rColor, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, TQColor rColor, boolean bPersistent); - public native void writeEntry(String pKey, TQColor rColor); - /** - Writes a (key/value) pair. - Same as above, but writes a date and time entry. - Note: Unlike the other writeEntry() functions, the old value is - <b>not</b> returned here! - @param pKey The key to write. - @param rDateTime The date and time value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, Calendar rDateTime, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, Calendar rDateTime, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, Calendar rDateTime, boolean bPersistent); - public native void writeEntry(String pKey, Calendar rDateTime); - /** - Writes a (key/value) pair. - Same as above, but writes a rectangle. - Note: Unlike the other writeEntry() functions, the old value is - _not_ returned here! - @param pKey The key to write. - @param rValue The rectangle value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, TQRect rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, TQRect rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, TQRect rValue, boolean bPersistent); - public native void writeEntry(String pKey, TQRect rValue); - /** - Writes a (key/value) pair. - Same as above, but writes a point. - Note: Unlike the other writeEntry() functions, the old value is - _not_ returned here! - @param pKey The key to write. - @param rValue The point value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, TQPoint rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, TQPoint rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, TQPoint rValue, boolean bPersistent); - public native void writeEntry(String pKey, TQPoint rValue); - /** - Writes a (key/value) pair. - Same as above, but writes a size. - Note: Unlike the other writeEntry() functions, the old value is - _not_ returned here! - @param pKey The key to write. - @param rValue The size value to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a (key/value) pair. - */ - public native void writeEntry(String pKey, TQSize rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, TQSize rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, TQSize rValue, boolean bPersistent); - public native void writeEntry(String pKey, TQSize rValue); - /** - Writes a file path. - It is checked whether the path is located under $HOME. If so the - path is written out with the user's home-directory replaced with - $HOME. The path should be read back with readPathEntry() - @param pKey The key to write. - @param path The path to write. - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty - flag will not be set and thus the entry will not be written to - disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short Writes a file path. - */ - public native void writePathEntry(String pKey, String path, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writePathEntry(String pKey, String path, boolean bPersistent, boolean bGlobal); - public native void writePathEntry(String pKey, String path, boolean bPersistent); - public native void writePathEntry(String pKey, String path); - /** - writePathEntry() overridden to accept a list of paths (strings). - It is checked whether the paths are located under $HOME. If so each of - the paths are written out with the user's home-directory replaced with - $HOME. The paths should be read back with readPathListEntry() - @param pKey The key to write - @param rValue The list to write - @param sep The list separator (default is ","). - @param bPersistent If <code>bPersistent</code> is false, the entry's dirty flag - will not be set and thus the entry will not be - written to disk at deletion time. - @param bGlobal If <code>bGlobal</code> is true, the pair is not saved to the - application specific config file, but to the - global KDE config file. - @param bNLS If <code>bNLS</code> is true, the locale tag is added to the key - when writing it back. - @short writePathEntry() overridden to accept a list of paths (strings). - @see #writePathEntry - @see #readPathListEntry - */ - public native void writePathEntry(String pKey, String[] rValue, char sep, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writePathEntry(String pKey, String[] rValue, char sep, boolean bPersistent, boolean bGlobal); - public native void writePathEntry(String pKey, String[] rValue, char sep, boolean bPersistent); - public native void writePathEntry(String pKey, String[] rValue, char sep); - public native void writePathEntry(String pKey, String[] rValue); - /** - Deletes the entry specified by <code>pKey</code> in the current group. - @param pKey The key to delete. - @param bGlobal If <code>bGlobal</code> is true, the pair is not removed from the - application specific config file, but to the global KDE config file. - @param bNLS If <code>bNLS</code> is true, the key with the locale tag is removed. - @short Deletes the entry specified by <code>pKey</code> in the current group. - */ - public native void deleteEntry(String pKey, boolean bNLS, boolean bGlobal); - public native void deleteEntry(String pKey, boolean bNLS); - public native void deleteEntry(String pKey); - /** - Deletes a configuration entry group - If the group is not empty and bDeep is false, nothing gets - deleted and false is returned. - If this group is the current group and it is deleted, the - current group is undefined and should be set with setGroup() - before the next operation on the configuration object. - @param group The name of the group - @param bDeep Specify whether non-empty groups should be completely - deleted (including their entries). - @param bGlobal If <code>bGlobal</code> is true, the group is not removed from the - application specific config file, but from the global KDE config file. - @return If the group is not empty and bDeep is false, - deleteGroup returns false. - - @short Deletes a configuration entry group - */ - public native boolean deleteGroup(String group, boolean bDeep, boolean bGlobal); - public native boolean deleteGroup(String group, boolean bDeep); - public native boolean deleteGroup(String group); - /** - Turns on or off "dollar expansion" (see TDEConfigBase introduction) - when reading config entries. - Dollar sign expansion is initially OFF. - @param _bExpand Tf true, dollar expansion is turned on. - @short Turns on or off "dollar expansion" (see TDEConfigBase introduction) when reading config entries. - */ - public native void setDollarExpansion(boolean _bExpand); - public native void setDollarExpansion(); - /** - Returns whether dollar expansion is on or off. It is initially OFF. - @return true if dollar expansion is on. - - @short Returns whether dollar expansion is on or off. - */ - public native boolean isDollarExpansion(); - /** - Mark the config object as "clean," i.e. don't write dirty entries - at destruction time. If <code>bDeep</code> is false, only the global dirty - flag of the TDEConfig object gets cleared. If you then call - writeEntry() again, the global dirty flag is set again and all - dirty entries will be written at a subsequent sync() call. - Classes that derive from TDEConfigBase should override this - method and implement storage-specific behavior, as well as - calling the TDEConfigBase.rollback() explicitly in the initializer. - @param bDeep If true, the dirty flags of all entries are cleared, - as well as the global dirty flag. - @short Mark the config object as "clean," i. - */ - public native void rollback(boolean bDeep); - public native void rollback(); - /** - Flushes all changes that currently reside only in memory - back to disk / permanent storage. Dirty configuration entries are - written to the most specific file available. - Asks the back end to flush out all pending writes, and then calls - rollback(). No changes are made if the object has <code>readOnly</code> - status. - You should call this from your destructor in derivative classes. - @short Flushes all changes that currently reside only in memory back to disk / permanent storage. - @see #rollback - @see #isReadOnly - */ - public native void sync(); - /** - Checks whether the config file has any dirty (modified) entries. - @return true if the config file has any dirty (modified) entries. - - @short Checks whether the config file has any dirty (modified) entries. - */ - public native boolean isDirty(); - /** - Sets the config object's read-only status. - @param _ro If true, the config object will not write out any - changes to disk even if it is destroyed or sync() is called. - @short Sets the config object's read-only status. - */ - public native void setReadOnly(boolean _ro); - /** - Returns the read-only status of the config object. - @return The read-only status. - - @short Returns the read-only status of the config object. - */ - public native boolean isReadOnly(); - /** - Checks whether the key has an entry in the currently active group. - Use this to determine whether a key is not specified for the current - group (hasKey() returns false). Keys with null data are considered - nonexistent. - @param key The key to search for. - @return If true, the key is available. - - @short Checks whether the key has an entry in the currently active group. - */ - public native boolean hasKey(String key); - /** - Returns a map (tree) of entries for all entries in a particular - group. Only the actual entry string is returned, none of the - other internal data should be included. - @param group A group to get keys from. - @return A map of entries in the group specified, indexed by key. - The returned map may be empty if the group is not found. - - @short Returns a map (tree) of entries for all entries in a particular group. - @see org.kde.qt.TQMap - */ - // TQMap<TQString, TQString> entryMap(const TQString& arg1); >>>> NOT CONVERTED - /** - Reparses all configuration files. This is useful for programs - that use stand alone graphical configuration tools. The base - method implemented here only clears the group list and then - appends the default group. - Derivative classes should clear any internal data structures and - then simply call parseConfigFiles() when implementing this - method. - @short Reparses all configuration files. - @see #parseConfigFiles - */ - public native void reparseConfiguration(); - /** - Checks whether this configuration file can be modified. - @return whether changes may be made to this configuration file. - - @short Checks whether this configuration file can be modified. - */ - public native boolean isImmutable(); - /** - Checks whether it is possible to change the given group. - @param group the group to check - @return whether changes may be made to <code>group</code> in this configuration - file. - - @short Checks whether it is possible to change the given group. - */ - public native boolean groupIsImmutable(String group); - /** - Checks whether it is possible to change the given entry. - @param key the key to check - @return whether the entry <code>key</code> may be changed in the current group - in this configuration file. - - @short Checks whether it is possible to change the given entry. - */ - public native boolean entryIsImmutable(String key); - /** - Returns the state of the app-config object. - Possible return values - are NoAccess (the application-specific config file could not be - opened neither read-write nor read-only), ReadOnly (the - application-specific config file is opened read-only, but not - read-write) and ReadWrite (the application-specific config - file is opened read-write). - @return the state of the app-config object - - @short Returns the state of the app-config object. - @see ConfigState - */ - public native int getConfigState(); - /** - Check whether the config files are writable. - @param warnUser Warn the user if the configuration files are not writable. - @return Indicates that all of the configuration files used are writable. - - @short Check whether the config files are writable. - */ - public native boolean checkConfigFilesWritable(boolean warnUser); - /** - When set, all readEntry and readXXXEntry calls return the system - wide (default) values instead of the user's preference. - This is off by default. - @short When set, all readEntry and readXXXEntry calls return the system wide (default) values instead of the user's preference. - */ - public native void setReadDefaults(boolean b); - /** - @return true if all readEntry and readXXXEntry calls return the system - wide (default) values instead of the user's preference. - - @short - */ - public native boolean readDefaults(); - /** - Reverts the entry with key <code>key</code> in the current group in the - application specific config file to either the system wide (default) - value or the value specified in the global KDE config file. - To revert entries in the global KDE config file, the global KDE config - file should be opened explicitly in a separate config object. - @param key The key of the entry to revert. - @short Reverts the entry with key <code>key</code> in the current group in the application specific config file to either the system wide (default) value or the value specified in the global KDE config file. - */ - public native void revertToDefault(String key); - /** - Returns whether a default is specified for an entry in either the - system wide configuration file or the global KDE config file. - If an application computes a default value at runtime for - a certain entry, e.g. like: - <pre> - TQColor computedDefault = kapp.palette().color(TQPalette.Active, TQColorGroup.Text) - TQColor color = config.readEntry(key, computedDefault); - \encode - Then it may wish to make the following check before - writing back changes: - <pre> - if ( (value == computedDefault) && !config.hasDefault(key) ) - config.revertToDefault(key) - else - config.writeEntry(key, value) - </pre> - This ensures that as long as the entry is not modified to differ from - the computed default, the application will keep using the computed default - and will follow changes the computed default makes over time. - @param key The key of the entry to check. - @short Returns whether a default is specified for an entry in either the system wide configuration file or the global KDE config file. - */ - public native boolean hasDefault(String key); -} diff --git a/kdejava/koala/org/kde/koala/TDEConfigGroup.java b/kdejava/koala/org/kde/koala/TDEConfigGroup.java deleted file mode 100644 index 344597e8..00000000 --- a/kdejava/koala/org/kde/koala/TDEConfigGroup.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A TDEConfigBase derived class for one specific group in a TDEConfig object. - @short A TDEConfigBase derived class for one specific group in a TDEConfig object. - -*/ -public class TDEConfigGroup extends TDEConfigBase { - protected TDEConfigGroup(Class dummy){super((Class) null);} - /** - Construct a config group corresponding to <code>group</code> in <code>master.</code> - <code>group</code> is the group name encoded in UTF-8. - @short Construct a config group corresponding to <code>group</code> in <code>master.</code> - */ - public TDEConfigGroup(TDEConfigBase master, String group) { - super((Class) null); - newTDEConfigGroup(master,group); - } - private native void newTDEConfigGroup(TDEConfigBase master, String group); - /** - Delete all entries in the entire group - @param bGlobal If <code>bGlobal</code> is true, the entries are not removed - from the application specific config file, but from the global - KDE config file. - @short Delete all entries in the entire group - */ - public native void deleteGroup(boolean bGlobal); - public native void deleteGroup(); - /** - Checks whether it is possible to change this group. - @return whether changes may be made to this group in this configuration - file. - - @short Checks whether it is possible to change this group. - */ - public native boolean groupIsImmutable(); - public native void setDirty(boolean b); - public native void putData(KEntryKey _key, KEntry _data, boolean _checkGroup); - public native void putData(KEntryKey _key, KEntry _data); - public native KEntry lookupData(KEntryKey _key); - public native void sync(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEConfigGroupSaver.java b/kdejava/koala/org/kde/koala/TDEConfigGroupSaver.java deleted file mode 100644 index 6cc7051d..00000000 --- a/kdejava/koala/org/kde/koala/TDEConfigGroupSaver.java +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Helper class to facilitate working with TDEConfig / KSimpleConfig - groups. - Careful programmers always set the group of a - TDEConfig KSimpleConfig object to the group they want to read from - and set it back to the old one of afterwards. This is usually - written as: - <pre> - String oldgroup config.group(); - config.setGroup( "TheGroupThatIWant" ); - ... - config.writeEntry( "Blah", "Blubb" ); - config.setGroup( oldgroup ); - </pre> - In order to facilitate this task, you can use - TDEConfigGroupSaver. Simply construct such an object ON THE STACK - when you want to switch to a new group. Then, when the object goes - out of scope, the group will automatically be restored. If you - want to use several different groups within a function or method, - you can still use TDEConfigGroupSaver: Simply enclose all work with - one group (including the creation of the TDEConfigGroupSaver object) - in one block. - TDEConfigGroup provides similar functionality in a more object oriented - way. - @author Matthias Kalle Dalheimer <kalle@kde.org> - - @short Helper class for easier use of TDEConfig/KSimpleConfig groups. - @see TDEConfigBase - @see TDEConfig - @see KSimpleConfig - @see TDEConfigGroup - -*/ -public class TDEConfigGroupSaver implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEConfigGroupSaver(Class dummy){} - - /** - Constructor. You pass a pointer to the TDEConfigBase-derived - object you want to work with and a string indicating the _new_ - group. - @param config The TDEConfigBase-derived object this - TDEConfigGroupSaver works on. - @param group The new group that the config object should switch to. - @short Constructor. - */ - public TDEConfigGroupSaver(TDEConfigBase config, String group) { - newTDEConfigGroupSaver(config,group); - } - private native void newTDEConfigGroupSaver(TDEConfigBase config, String group); - public native TDEConfigBase config(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEConfigINIBackEnd.java b/kdejava/koala/org/kde/koala/TDEConfigINIBackEnd.java deleted file mode 100644 index fba09220..00000000 --- a/kdejava/koala/org/kde/koala/TDEConfigINIBackEnd.java +++ /dev/null @@ -1,117 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQFile; - -/** - - Class for KDE INI-style configuration file loading/saving. - @author Preston Brown <pbrown@kde.org>, - Matthias Kalle Dalheimer <kalle@kde.org> - - @short Class for KDE INI-style configuration file loading/saving. - -*/ -public class TDEConfigINIBackEnd extends TDEConfigBackEnd { - protected TDEConfigINIBackEnd(Class dummy){super((Class) null);} - /** - Constructs an ini-style configuration back end. - @param _config Specifies the configuration object which values - will be passed to as they are read, or from where values - to be written to will be obtained from. - @param _fileName The name of the file in which config - data is stored. All registered configuration directories - will be looked in in order of decreasing relevance. - @param _resType the resource type of the fileName specified, _if_ - it is not an absolute path (otherwise this parameter is ignored). - @param _useKDEGlobals If true, the user's system-wide kdeglobals file - will be imported into the config object. If false, only - the filename specified will be dealt with. - @short Constructs an ini-style configuration back end. - */ - public TDEConfigINIBackEnd(TDEConfigBase _config, String _fileName, String _resType, boolean _useKDEGlobals) { - super((Class) null); - newTDEConfigINIBackEnd(_config,_fileName,_resType,_useKDEGlobals); - } - private native void newTDEConfigINIBackEnd(TDEConfigBase _config, String _fileName, String _resType, boolean _useKDEGlobals); - public TDEConfigINIBackEnd(TDEConfigBase _config, String _fileName, String _resType) { - super((Class) null); - newTDEConfigINIBackEnd(_config,_fileName,_resType); - } - private native void newTDEConfigINIBackEnd(TDEConfigBase _config, String _fileName, String _resType); - /** - Parses all INI-style configuration files for a config object. - @return Whether or not parsing was successful. - - @short Parses all INI-style configuration files for a config object. - */ - public native boolean parseConfigFiles(); - /** - Writes configuration data to file(s). - @param bMerge Specifies whether the old config file already - on disk should be merged in with the data in memory. If true, - data is read off the disk and merged. If false, the on-disk - file is removed and only in-memory data is written out. - @short Writes configuration data to file(s). - */ - public native void sync(boolean bMerge); - public native void sync(); - /** - Parses one configuration file. - @param rFile The configuration file to parse - @param pWriteBackMap If specified, points to a KEntryMap where - the data read from the file should be stored, instead of - inserting them directly into the configuration object. - Use this area as a "scratchpad" when you need to know what is - on disk but don't want to effect the configuration object. - @param bGlobal Specifies whether entries should be marked as - belonging to the global KDE configuration file rather - than the application-specific KDE configuration file(s). - @param bDefault Specifies whether entries should be marked as - being default values. - @short Parses one configuration file. - */ - // void parseSingleConfigFile(TQFile& arg1,KEntryMap* arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // void parseSingleConfigFile(TQFile& arg1,KEntryMap* arg2,bool arg3); >>>> NOT CONVERTED - // void parseSingleConfigFile(TQFile& arg1,KEntryMap* arg2); >>>> NOT CONVERTED - protected native void parseSingleConfigFile(TQFile rFile); - /** - Writes configuration file back. - @param filename The name of the file to write. - @param bGlobal Specifies whether to write only entries which - are marked as belonging to the global KDE config file. - If this is false, it skips those entries. - @param bMerge Specifies whether the old config file already - on disk should be merged in with the data in memory. If true, - data is read off the disk and merged. If false, the on-disk - file is removed and only in-memory data is written out. - @return Whether some entries are left to be written to other - files. - - @short Writes configuration file back. - */ - protected native boolean writeConfigFile(String filename, boolean bGlobal, boolean bMerge); - protected native boolean writeConfigFile(String filename, boolean bGlobal); - protected native boolean writeConfigFile(String filename); - /** Get the entry map. - @param map the entries will be stored in this object. - @param bGlobal Specifies whether to get only entries which - are marked as belonging to the global KDE config file. - If this is false, it skips those entries. - @param mergeFile if not null, the dirty entries for this file will - be merged. - @return Whether there will be some entries left for writing to other - files. - - @short Get the entry map. - */ - // bool getEntryMap(KEntryMap& arg1,bool arg2,TQFile* arg3); >>>> NOT CONVERTED - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontAction.java b/kdejava/koala/org/kde/koala/TDEFontAction.java deleted file mode 100644 index c0fa4f0a..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontAction.java +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -/** -*/ -public class TDEFontAction extends TDESelectAction { - protected TDEFontAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEFontAction(String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(text,cut,parent,name); - } - private native void newTDEFontAction(String text, TDEShortcut cut, TQObject parent, String name); - public TDEFontAction(String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontAction(text,cut,parent); - } - private native void newTDEFontAction(String text, TDEShortcut cut, TQObject parent); - public TDEFontAction(String text, TDEShortcut cut) { - super((Class) null); - newTDEFontAction(text,cut); - } - private native void newTDEFontAction(String text, TDEShortcut cut); - public TDEFontAction(String text) { - super((Class) null); - newTDEFontAction(text); - } - private native void newTDEFontAction(String text); - public TDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(text,cut,receiver,slot,parent,name); - } - private native void newTDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEFontAction(text,cut,receiver,slot,parent); - } - private native void newTDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(text,pix,cut,parent,name); - } - private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); - public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontAction(text,pix,cut,parent); - } - private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); - public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut) { - super((Class) null); - newTDEFontAction(text,pix,cut); - } - private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut); - public TDEFontAction(String text, TQIconSet pix) { - super((Class) null); - newTDEFontAction(text,pix); - } - private native void newTDEFontAction(String text, TQIconSet pix); - public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(text,pix,cut,parent,name); - } - private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontAction(text,pix,cut,parent); - } - private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent); - public TDEFontAction(String text, String pix, TDEShortcut cut) { - super((Class) null); - newTDEFontAction(text,pix,cut); - } - private native void newTDEFontAction(String text, String pix, TDEShortcut cut); - public TDEFontAction(String text, String pix) { - super((Class) null); - newTDEFontAction(text,pix); - } - private native void newTDEFontAction(String text, String pix); - public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEFontAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEFontAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - public TDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(fontListCriteria,text,cut,parent,name); - } - private native void newTDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent, String name); - public TDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontAction(fontListCriteria,text,cut,parent); - } - private native void newTDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent); - public TDEFontAction(int fontListCriteria, String text, TDEShortcut cut) { - super((Class) null); - newTDEFontAction(fontListCriteria,text,cut); - } - private native void newTDEFontAction(int fontListCriteria, String text, TDEShortcut cut); - public TDEFontAction(int fontListCriteria, String text) { - super((Class) null); - newTDEFontAction(fontListCriteria,text); - } - private native void newTDEFontAction(int fontListCriteria, String text); - public TDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontAction(fontListCriteria,text,pix,cut,parent,name); - } - private native void newTDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontAction(fontListCriteria,text,pix,cut,parent); - } - private native void newTDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent); - public TDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut) { - super((Class) null); - newTDEFontAction(fontListCriteria,text,pix,cut); - } - private native void newTDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut); - public TDEFontAction(int fontListCriteria, String text, String pix) { - super((Class) null); - newTDEFontAction(fontListCriteria,text,pix); - } - private native void newTDEFontAction(int fontListCriteria, String text, String pix); - public TDEFontAction(TQObject parent, String name) { - super((Class) null); - newTDEFontAction(parent,name); - } - private native void newTDEFontAction(TQObject parent, String name); - public TDEFontAction(TQObject parent) { - super((Class) null); - newTDEFontAction(parent); - } - private native void newTDEFontAction(TQObject parent); - public TDEFontAction() { - super((Class) null); - newTDEFontAction(); - } - private native void newTDEFontAction(); - public native String font(); - public native int plug(TQWidget arg1, int index); - public native int plug(TQWidget arg1); - public native void setFont(String family); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontChooser.java b/kdejava/koala/org/kde/koala/TDEFontChooser.java deleted file mode 100644 index cdffaa4f..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontChooser.java +++ /dev/null @@ -1,300 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - While TDEFontChooser as an ordinary widget can be embedded in - custom dialogs and therefore is very flexible, in most cases - it is preferable to use the convenience functions in - TDEFontDialog. - \image html tdefontchooser.png "KDE Font Chooser" - See {@link TDEFontChooserSignals} for signals emitted by TDEFontChooser - @author Preston Brown <pbrown@kde.org>, Bernd Wuebben <wuebben@kde.org> - - @version $Id$ - - @short A font selection widget. - -*/ -public class TDEFontChooser extends TQWidget { - protected TDEFontChooser(Class dummy){super((Class) null);} - /** - - <li> - <code>FamilyList</code> - Identifies the family (leftmost) list. - </li> - - <li> - <code>StyleList</code> - Identifies the style (center) list. - </li> - - <li> - <code>SizeList</code> - Identifies the size (rightmost) list. - - </li> @short - */ - public static final int FamilyList = 0x01; - public static final int StyleList = 0x02; - public static final int SizeList = 0x04; - - /** - - <li> - <code>FontDiffFamily</code> - Identifies a requested change in the font family. - </li> - - <li> - <code>FontDiffStyle</code> - Identifies a requested change in the font style. - </li> - - <li> - <code>FontDiffSize</code> - Identifies a requested change in the font size. - - </li> @short - */ - public static final int FontDiffFamily = 0x01; - public static final int FontDiffStyle = 0x02; - public static final int FontDiffSize = 0x04; - - /** - The selection criteria for the font families shown in the dialog. - - <li> - <code>FixedWidthFont</code> when included only fixed-width fonts are returned. - The fonts where the width of every character is equal. - </li> - - <li> - <code>ScalableFont</code> when included only scalable fonts are returned; - certain configurations allow bitmap fonts to remain unscaled and - thus these fonts have limited number of sizes. - </li> - - <li> - <code>SmoothScalableFont</code> when included only return smooth scalable fonts. - this will return only non-bitmap fonts which are scalable to any size requested. - Setting this option to true will mean the "scalable" flag is irrelavant. - - </li> @short The selection criteria for the font families shown in the dialog. - */ - public static final int FixedWidthFonts = 0x01; - public static final int ScalableFonts = 0x02; - public static final int SmoothScalableFonts = 0x04; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a font picker widget. - It normally comes up with all font families present on the system; the - getFont method below does allow some more fine-tuning of the selection of fonts - that will be displayed in the dialog. - <p>Consider the following code snippet; - <pre> - ArrayList list; - TDEFontChooser.getFontList(list,SmoothScalableFonts); - TDEFontChooser chooseFont = new TDEFontChooser(0, "FontList", false, list); - </pre> - <p> - The above creates a font chooser dialog with only SmoothScaleble fonts. - @param parent The parent widget. - @param name The widget name. - @param onlyFixed Only display fonts which have fixed-width - character sizes. - @param fontList A list of fonts to display, in XLFD format. If - no list is formatted, the internal KDE font list is used. - If that has not been created, X is queried, and all fonts - available on the system are displayed. - @param diff Display the difference version dialog. - See TDEFontDialog.getFontDiff(). - @param makeFrame Draws a frame with titles around the contents. - @param visibleListSize The minimum number of visible entries in the - fontlists. - @param sizeIsRelativeState If not zero the widget will show a - checkbox where the user may choose whether the font size - is to be interpreted as relative size. - Initial state of this checkbox will be set according to - sizeIsRelativeState, user choice may be retrieved by - calling sizeIsRelative(). - @short Constructs a font picker widget. - */ - public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState) { - super((Class) null); - newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff,sizeIsRelativeState); - } - private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState); - public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff) { - super((Class) null); - newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff); - } - private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff); - public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize) { - super((Class) null); - newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize); - } - private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize); - public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame) { - super((Class) null); - newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame); - } - private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame); - public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList) { - super((Class) null); - newTDEFontChooser(parent,name,onlyFixed,fontList); - } - private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList); - public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed) { - super((Class) null); - newTDEFontChooser(parent,name,onlyFixed); - } - private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed); - public TDEFontChooser(TQWidget parent, String name) { - super((Class) null); - newTDEFontChooser(parent,name); - } - private native void newTDEFontChooser(TQWidget parent, String name); - public TDEFontChooser(TQWidget parent) { - super((Class) null); - newTDEFontChooser(parent); - } - private native void newTDEFontChooser(TQWidget parent); - public TDEFontChooser() { - super((Class) null); - newTDEFontChooser(); - } - private native void newTDEFontChooser(); - /** - Enables or disable a font column in the chooser. - Use this - function if your application does not need or supports all font - properties. - @param column Specify the columns. An or'ed combination of - <code>FamilyList</code>, <code>StyleList</code> and <code>SizeList</code> is possible. - @param state If <code>false</code> the columns are disabled. - @short Enables or disable a font column in the chooser. - */ - public native void enableColumn(int column, boolean state); - /** - Sets the currently selected font in the chooser. - @param font The font to select. - @param onlyFixed Readjust the font list to display only fixed - width fonts if <code>true</code>, or vice-versa. - @short Sets the currently selected font in the chooser. - */ - public native void setFont(TQFont font, boolean onlyFixed); - public native void setFont(TQFont font); - /** - @return The bitmask corresponding to the attributes the user - wishes to change. - - @short - */ - public native int fontDiffFlags(); - /** - @return The currently selected font in the chooser. - - @short - */ - public native TQFont font(); - /** - Sets the color to use in the preview. - @short Sets the color to use in the preview. - */ - public native void setColor(TQColor col); - /** - @return The color currently used in the preview (default: the text - color of the active color group) - - @short - */ - public native TQColor color(); - /** - Sets the background color to use in the preview. - @short Sets the background color to use in the preview. - */ - public native void setBackgroundColor(TQColor col); - /** - @return The background color currently used in the preview (default: - the base color of the active colorgroup) - - @short - */ - public native TQColor backgroundColor(); - /** - Sets the state of the checkbox indicating whether the font size - is to be interpreted as relative size. - NOTE: If parameter sizeIsRelative was not set in the constructor - of the widget this setting will be ignored. - @short Sets the state of the checkbox indicating whether the font size is to be interpreted as relative size. - */ - public native void setSizeIsRelative(int relative); - /** - @return Whether the font size is to be interpreted as relative size - (default: TQButton:Off) - - @short - */ - public native int sizeIsRelative(); - /** - @return The current text in the sample text input area. - - @short - */ - public native String sampleText(); - /** - Sets the sample text. - Normally you should not change this - text, but it can be better to do this if the default text is - too large for the edit area when using the default font of your - application. - @param text The new sample text. The current will be removed. - @short Sets the sample text. - */ - public native void setSampleText(String text); - /** - Shows or hides the sample text box. - @param visible Set it to true to show the box, to false to hide it. - @short Shows or hides the sample text box. - */ - public native void setSampleBoxVisible(boolean visible); - /** - Reimplemented for internal reasons. - @short Reimplemented for internal reasons. - */ - public native TQSize sizeHint(); - /** - Converts a TQFont into the corresponding X Logical Font - Description (XLFD). - @param theFont The font to convert. - @return A string representing the given font in XLFD format. - - @short Converts a TQFont into the corresponding X Logical Font Description (XLFD). - */ - public static native String getXLFD(TQFont theFont); - /** - Creates a list of font strings. - @param list The list is returned here. - @param fontListCriteria should contain all the restrictions for font selection as OR-ed values - @short Creates a list of font strings. - @see TDEFontChooser#FontListCriteria - @see #for - @see #the - @see #individual - @see #values - */ - public static native void getFontList(String[] list, int fontListCriteria); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontChooserSignals.java b/kdejava/koala/org/kde/koala/TDEFontChooserSignals.java deleted file mode 100644 index a9cfca66..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontChooserSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; - -public interface TDEFontChooserSignals { - /** - Emitted whenever the selected font changes. - @short Emitted whenever the selected font changes. - */ - void fontSelected(TQFont font); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontCombo.java b/kdejava/koala/org/kde/koala/TDEFontCombo.java deleted file mode 100644 index e00d12ec..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontCombo.java +++ /dev/null @@ -1,165 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - The items are painted using the respective font itself, so the user - can easily choose a font based on its look. This can be turned off - globally if the user wishes so. - @author Malte Starostik <malte@kde.org> - - @short A combobox that lists the available fonts. - -*/ -public class TDEFontCombo extends KComboBox { - protected TDEFontCombo(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @param parent The parent widget - @param name The object name for the widget - @short Constructor - */ - public TDEFontCombo(TQWidget parent, String name) { - super((Class) null); - newTDEFontCombo(parent,name); - } - private native void newTDEFontCombo(TQWidget parent, String name); - public TDEFontCombo(TQWidget parent) { - super((Class) null); - newTDEFontCombo(parent); - } - private native void newTDEFontCombo(TQWidget parent); - /** - Constructor that takes an already initialzed font list - @param fonts A list of fonts to show - @param parent The parent widget - @param name The object name for the widget - @short Constructor that takes an already initialzed font list - */ - public TDEFontCombo(String[] fonts, TQWidget parent, String name) { - super((Class) null); - newTDEFontCombo(fonts,parent,name); - } - private native void newTDEFontCombo(String[] fonts, TQWidget parent, String name); - public TDEFontCombo(String[] fonts, TQWidget parent) { - super((Class) null); - newTDEFontCombo(fonts,parent); - } - private native void newTDEFontCombo(String[] fonts, TQWidget parent); - /** - Sets the font list. - @param fonts Font list to show - @short Sets the font list. - */ - public native void setFonts(String[] fonts); - /** - Sets the currently selected font. - @param family Font to select. - @short Sets the currently selected font. - */ - public native void setCurrentFont(String family); - /** - @return the currently selected font. - - @short - */ - public native String currentFont(); - /** - Sets the listed fonts to bold or normal. - @param bold Set to true to display fonts in bold - @short Sets the listed fonts to bold or normal. - */ - public native void setBold(boolean bold); - /** - Returns the current bold status. - @return true if fonts are bold - - @short Returns the current bold status. - */ - public native boolean bold(); - /** - Sets the listed fonts to italic or regular. - @param italic Set to true to display fonts italic - @short Sets the listed fonts to italic or regular. - */ - public native void setItalic(boolean italic); - /** - Returns the current italic status - @return True if fonts are italic - - @short Returns the current italic status - */ - public native boolean italic(); - /** - Sets the listed fonts to underlined or not underlined - @param underline Set to true to display fonts underlined - @short Sets the listed fonts to underlined or not underlined - */ - public native void setUnderline(boolean underline); - /** - Returns the current underline status - @return True if fonts are underlined - - @short Returns the current underline status - */ - public native boolean underline(); - /** - Sets the listed fonts to striked out or not - @param strikeOut Set to true to display fonts striked out - @short Sets the listed fonts to striked out or not - */ - public native void setStrikeOut(boolean strikeOut); - /** - Returns the current strike out status - @return True if fonts are striked out - - @short Returns the current strike out status - */ - public native boolean strikeOut(); - /** - Sets the listed fonts' size - @param size Set to the point size to display the fonts in - @short Sets the listed fonts' size - */ - public native void setSize(int size); - /** - Returns the current font size - @return The point size of the fonts - - @short Returns the current font size - */ - public native int pointSize(); - public native void setCurrentItem(int i); - /** - Returns the user's setting of whether the items should be painted - in the respective fonts or not - @return True if the respective fonts are used for painting - - @short Returns the user's setting of whether the items should be painted in the respective fonts or not - */ - public static native boolean displayFonts(); - /** - Updated the combo's listBox() to reflect changes made to the - fonts' attributed - @short Updated the combo's listBox() to reflect changes made to the fonts' attributed - */ - protected native void updateFonts(); - /** - Listens to highlighted(int) - @short - */ - protected native void slotModified(int i); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontDialog.java b/kdejava/koala/org/kde/koala/TDEFontDialog.java deleted file mode 100644 index 7d451036..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontDialog.java +++ /dev/null @@ -1,226 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - The TDEFontDialog provides a dialog for interactive font selection. - It is basically a thin wrapper around the TDEFontChooser widget, - which can also be used standalone. In most cases, the simplest - use of this class is the static method TDEFontDialog.getFont(), - which pops up the dialog, allows the user to select a font, and - returns when the dialog is closed. - Example: - <pre> - TQFont myFont; - int result = TDEFontDialog.getFont( myFont ); - if ( result == TDEFontDialog.Accepted ) - ... - </pre> - \image html tdefontdialog.png "KDE Font Dialog" - See {@link TDEFontDialogSignals} for signals emitted by TDEFontDialog - @author Preston Brown <pbrown@kde.org>, Bernd Wuebben <wuebben@kde.org> - - @version $Id$ - - @short A font selection dialog. - -*/ -public class TDEFontDialog extends KDialogBase { - protected TDEFontDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a font selection dialog. - @param parent The parent widget of the dialog, if any. - @param name The name of the dialog. - @param modal Specifies whether the dialog is modal or not. - @param onlyFixed only display fonts which have fixed-width - character sizes. - @param fontlist a list of fonts to display, in XLFD format. If - no list is formatted, the internal KDE font list is used. - If that has not been created, X is queried, and all fonts - available on the system are displayed. - @param makeFrame Draws a frame with titles around the contents. - @param diff Display the difference version dialog. See getFontDiff(). - @param sizeIsRelativeState If not zero the widget will show a - checkbox where the user may choose whether the font size - is to be interpreted as relative size. - Initial state of this checkbox will be set according to - sizeIsRelativeState, user choice may be retrieved by - calling sizeIsRelative(). - @short Constructs a font selection dialog. - */ - public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState) { - super((Class) null); - newTDEFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff,sizeIsRelativeState); - } - private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState); - public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff) { - super((Class) null); - newTDEFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff); - } - private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff); - public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame) { - super((Class) null); - newTDEFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame); - } - private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame); - public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist) { - super((Class) null); - newTDEFontDialog(parent,name,onlyFixed,modal,fontlist); - } - private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist); - public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal) { - super((Class) null); - newTDEFontDialog(parent,name,onlyFixed,modal); - } - private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal); - public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed) { - super((Class) null); - newTDEFontDialog(parent,name,onlyFixed); - } - private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed); - public TDEFontDialog(TQWidget parent, String name) { - super((Class) null); - newTDEFontDialog(parent,name); - } - private native void newTDEFontDialog(TQWidget parent, String name); - public TDEFontDialog(TQWidget parent) { - super((Class) null); - newTDEFontDialog(parent); - } - private native void newTDEFontDialog(TQWidget parent); - public TDEFontDialog() { - super((Class) null); - newTDEFontDialog(); - } - private native void newTDEFontDialog(); - /** - Sets the currently selected font in the dialog. - @param font The font to select. - @param onlyFixed readjust the font list to display only fixed - width fonts if true, or vice-versa - @short Sets the currently selected font in the dialog. - */ - public native void setFont(TQFont font, boolean onlyFixed); - public native void setFont(TQFont font); - /** - @return The currently selected font in the dialog. - - @short - */ - public native TQFont font(); - /** - Sets the state of the checkbox indicating whether the font size - is to be interpreted as relative size. - NOTE: If parameter sizeIsRelative was not set in the constructor - of the dialog this setting will be ignored. - @short Sets the state of the checkbox indicating whether the font size is to be interpreted as relative size. - */ - public native void setSizeIsRelative(int relative); - /** - @return Whether the font size is to be interpreted as relative size - (default: false) - - @short - */ - public native int sizeIsRelative(); - /** - Creates a modal font dialog, lets the user choose a font, - and returns when the dialog is closed. - @param theFont a reference to the font to write the chosen font - into. - @param onlyFixed if true, only select from fixed-width fonts. - @param parent Parent widget of the dialog. Specifying a widget different - from 0 (Null) improves centering (looks better). - @param makeFrame Draws a frame with titles around the contents. - @param sizeIsRelativeState If not zero the widget will show a - checkbox where the user may choose whether the font size - is to be interpreted as relative size. - Initial state of this checkbox will be set according to - sizeIsRelativeState and user choice will be returned - therein. - @return TQDialog.result(). - - @short Creates a modal font dialog, lets the user choose a font, and returns when the dialog is closed. - */ - public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent, boolean makeFrame); - public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent); - public static native int getFont(TQFont theFont, boolean onlyFixed); - public static native int getFont(TQFont theFont); - /** - Creates a modal font difference dialog, lets the user choose a selection - of changes that should be made to a set of fonts, and returns when the - dialog is closed. Useful for choosing slight adjustments to the font set - when the user would otherwise have to manually edit a number of fonts. - @param theFont a reference to the font to write the chosen font - into. - @param diffFlags a reference to the int into which the chosen - difference selection bitmask should be written. - Check the returned bitmask like: - <pre> - if ( diffFlags & TDEFontChooser.FontDiffFamily ) - [...] - if ( diffFlags & TDEFontChooser.FontDiffStyle ) - [...] - if ( diffFlags & TDEFontChooser.FontDiffSize ) - [...] - </pre> - @param onlyFixed if true, only select from fixed-width fonts. - @param parent Parent widget of the dialog. Specifying a widget different - from 0 (Null) improves centering (looks better). - @param makeFrame Draws a frame with titles around the contents. - @param sizeIsRelativeState If not zero the widget will show a - checkbox where the user may choose whether the font size - is to be interpreted as relative size. - Initial state of this checkbox will be set according to - sizeIsRelativeState and user choice will be returned - therein. - @return TQDialog.result(). - - @short Creates a modal font difference dialog, lets the user choose a selection of changes that should be made to a set of fonts, and returns when the dialog is closed. - */ - public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent, boolean makeFrame); - public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent); - public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed); - public static native int getFontDiff(TQFont theFont, int[] diffFlags); - /** - When you are not only interested in the font selected, but also - in the example string typed in, you can call this method. - @param theFont a reference to the font to write the chosen font - into. - @param theString a reference to the example text that was typed. - @param onlyFixed if true, only select from fixed-width fonts. - @param parent Parent widget of the dialog. Specifying a widget different - from 0 (Null) improves centering (looks better). - @param makeFrame Draws a frame with titles around the contents. - @param sizeIsRelativeState If not zero the widget will show a - checkbox where the user may choose whether the font size - is to be interpreted as relative size. - Initial state of this checkbox will be set according to - sizeIsRelativeState and user choice will be returned - therein. - @return The result of the dialog. - - @short When you are not only interested in the font selected, but also in the example string typed in, you can call this method. - */ - public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent, boolean makeFrame); - public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent); - public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed); - public static native int getFontAndText(TQFont theFont, StringBuffer theString); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontDialogSignals.java b/kdejava/koala/org/kde/koala/TDEFontDialogSignals.java deleted file mode 100644 index f3418777..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontDialogSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDEFontDialogSignals { - /** - Emitted whenever the currently selected font changes. - Connect to this to monitor the font as it is selected if you are - not running modal. - @short Emitted whenever the currently selected font changes. - */ - void fontSelected(TQFont font); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontRequester.java b/kdejava/koala/org/kde/koala/TDEFontRequester.java deleted file mode 100644 index 85beb7a5..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontRequester.java +++ /dev/null @@ -1,130 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQLabel; -import org.kde.qt.TQWidget; - -/** - - This class provides a widget with a lineedit and a button, which invokes - a font dialog (TDEFontDialog). - The lineedit provides a preview of the selected font. The preview text can - be customized. You can also have the font dialog show only the fixed fonts. - \image html tdefontrequester.png "KDE Font Requester" - See {@link TDEFontRequesterSignals} for signals emitted by TDEFontRequester - @author Nadeem Hasan <nhasan@kde.org> - - @short This class provides a widget with a lineedit and a button, which invokes a font dialog (TDEFontDialog). - -*/ -public class TDEFontRequester extends TQWidget { - protected TDEFontRequester(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a font requester widget. - @param parent The parent widget. - @param name The widget name. - @param onlyFixed Only display fonts which have fixed-width character - sizes. - @short Constructs a font requester widget. - */ - public TDEFontRequester(TQWidget parent, String name, boolean onlyFixed) { - super((Class) null); - newTDEFontRequester(parent,name,onlyFixed); - } - private native void newTDEFontRequester(TQWidget parent, String name, boolean onlyFixed); - public TDEFontRequester(TQWidget parent, String name) { - super((Class) null); - newTDEFontRequester(parent,name); - } - private native void newTDEFontRequester(TQWidget parent, String name); - public TDEFontRequester(TQWidget parent) { - super((Class) null); - newTDEFontRequester(parent); - } - private native void newTDEFontRequester(TQWidget parent); - public TDEFontRequester() { - super((Class) null); - newTDEFontRequester(); - } - private native void newTDEFontRequester(); - /** - @return The currently selected font in the requester. - - @short - */ - public native TQFont font(); - /** - @return Returns true if only fixed fonts are displayed. - - @short - */ - public native boolean isFixedOnly(); - /** - @return The current text in the sample text input area. - - @short - */ - public native String sampleText(); - /** - @return The current title of the widget. - - @short - */ - public native String title(); - /** - @return Pointer to the label used for preview. - - @short - */ - public native TQLabel label(); - /** - @return Pointer to the pushbutton in the widget. - - @short - */ - public native TQPushButton button(); - /** - Sets the currently selected font in the requester. - @param font The font to select. - @param onlyFixed Display only fixed-width fonts in the font dialog - if <code>true</code>, or vice-versa. - @short Sets the currently selected font in the requester. - */ - public native void setFont(TQFont font, boolean onlyFixed); - public native void setFont(TQFont font); - /** - Sets the sample text. - Normally you should not change this - text, but it can be better to do this if the default text is - too large for the edit area when using the default font of your - application. Default text is current font name and size. Setting - the text to null will restore the default. - @param text The new sample text. The current will be removed. - @short Sets the sample text. - */ - public native void setSampleText(String text); - /** - Set the title for the widget that will be used in the tooltip and - what's this text. - @param title The title to be set. - @short Set the title for the widget that will be used in the tooltip and what's this text. - */ - public native void setTitle(String title); - protected native void displaySampleText(); - protected native void setToolTip(); - protected native void buttonClicked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontRequesterSignals.java b/kdejava/koala/org/kde/koala/TDEFontRequesterSignals.java deleted file mode 100644 index 678541c2..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontRequesterSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQLabel; - -public interface TDEFontRequesterSignals { - /** - Emitted when a new <code>font</code> has been selected in the underlying dialog - @short Emitted when a new <code>font</code> has been selected in the underlying dialog - */ - void fontSelected(TQFont font); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontSizeAction.java b/kdejava/koala/org/kde/koala/TDEFontSizeAction.java deleted file mode 100644 index 403beef4..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontSizeAction.java +++ /dev/null @@ -1,133 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; - -/** - See {@link TDEFontSizeActionSignals} for signals emitted by TDEFontSizeAction -*/ -public class TDEFontSizeAction extends TDESelectAction { - protected TDEFontSizeAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEFontSizeAction(String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontSizeAction(text,cut,parent,name); - } - private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject parent, String name); - public TDEFontSizeAction(String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontSizeAction(text,cut,parent); - } - private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject parent); - public TDEFontSizeAction(String text, TDEShortcut cut) { - super((Class) null); - newTDEFontSizeAction(text,cut); - } - private native void newTDEFontSizeAction(String text, TDEShortcut cut); - public TDEFontSizeAction(String text) { - super((Class) null); - newTDEFontSizeAction(text); - } - private native void newTDEFontSizeAction(String text); - public TDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEFontSizeAction(text,cut,receiver,slot,parent,name); - } - private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEFontSizeAction(text,cut,receiver,slot,parent); - } - private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,parent,name); - } - private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); - public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,parent); - } - private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); - public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut); - } - private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut); - public TDEFontSizeAction(String text, TQIconSet pix) { - super((Class) null); - newTDEFontSizeAction(text,pix); - } - private native void newTDEFontSizeAction(String text, TQIconSet pix); - public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,parent,name); - } - private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,parent); - } - private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent); - public TDEFontSizeAction(String text, String pix, TDEShortcut cut) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut); - } - private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut); - public TDEFontSizeAction(String text, String pix) { - super((Class) null); - newTDEFontSizeAction(text,pix); - } - private native void newTDEFontSizeAction(String text, String pix); - public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEFontSizeAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - public TDEFontSizeAction(TQObject parent, String name) { - super((Class) null); - newTDEFontSizeAction(parent,name); - } - private native void newTDEFontSizeAction(TQObject parent, String name); - public TDEFontSizeAction(TQObject parent) { - super((Class) null); - newTDEFontSizeAction(parent); - } - private native void newTDEFontSizeAction(TQObject parent); - public TDEFontSizeAction() { - super((Class) null); - newTDEFontSizeAction(); - } - private native void newTDEFontSizeAction(); - public native int fontSize(); - public native void setFontSize(int size); - protected native void slotActivated(int arg1); - protected native void slotActivated(String arg1); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEFontSizeActionSignals.java b/kdejava/koala/org/kde/koala/TDEFontSizeActionSignals.java deleted file mode 100644 index 8f5b73da..00000000 --- a/kdejava/koala/org/kde/koala/TDEFontSizeActionSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; - -public interface TDEFontSizeActionSignals { - void fontSizeChanged(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/TDEGlobal.java b/kdejava/koala/org/kde/koala/TDEGlobal.java deleted file mode 100644 index 737a6cb1..00000000 --- a/kdejava/koala/org/kde/koala/TDEGlobal.java +++ /dev/null @@ -1,135 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Access to the KDE global objects. - TDEGlobal provides you with pointers of many central - objects that exist only once in the process. It is also - responsible for managing instances of KStaticDeleterBase. - @author Sirtaj Singh Kang (taj@kde.org) - - @short Access to the KDE global objects. - @see KStaticDeleterBase - -*/ -public class TDEGlobal implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEGlobal(Class dummy){} - - public TDEGlobal() { - newTDEGlobal(); - } - private native void newTDEGlobal(); - /** - Returns the global instance. There is always at least - one instance of a component in one application (in most - cases the application itself). - @return the global instance - - @short Returns the global instance. - */ - public static native TDEInstanceInterface instance(); - /** - Returns the application standard dirs object. - @return the global standard dir object - - @short Returns the application standard dirs object. - */ - public static native TDEStandardDirs dirs(); - /** - Returns the general config object. - @return the global configuration object. - - @short Returns the general config object. - */ - public static native TDEConfig config(); - /** - Returns the general config object. - @return the global configuration object. - - @short Returns the general config object. - */ - public static native TDESharedConfig sharedConfig(); - /** - Returns an iconloader object. - @return the global iconloader object - - @short Returns an iconloader object. - */ - public static native TDEIconLoader iconLoader(); - /** - Returns the global locale object. - @return the global locale object - - @short Returns the global locale object. - */ - public static native TDELocale locale(); - /** - The global charset manager. - @return the global charset manager - - @short The global charset manager. - */ - public static native KCharsets charsets(); - /** - Creates a static String. - To be used inside functions(!) like: - <pre> - static StringmyString = TDEGlobal.staticString("myText"); - </pre> - !!! Do _NOT_ use: !!! - <pre> - static String myString = TDEGlobal.staticString("myText"); - </pre> - This creates a static object (instead of a static reference) - and as you know static objects are EVIL. - @param str the string to create - @return the static string - - @short Creates a static String. - */ - public static native String staticQString(String str); - /** - Registers a static deleter. - @param d the static deleter to register - @short Registers a static deleter. - @see KStaticDeleterBase - @see KStaticDeleter - */ - public static native void registerStaticDeleter(KStaticDeleterBase d); - /** - Unregisters a static deleter. - @param d the static deleter to unregister - @short Unregisters a static deleter. - @see KStaticDeleterBase - @see KStaticDeleter - */ - public static native void unregisterStaticDeleter(KStaticDeleterBase d); - /** - Calls KStaticDeleterBase.destructObject() on all - registered static deleters and unregisters them all. - @short Calls KStaticDeleterBase.destructObject() on all registered static deleters and unregisters them all. - @see KStaticDeleterBase - @see KStaticDeleter - */ - public static native void deleteStaticDeleters(); - /** - The instance currently active (useful in a multi-instance - application, such as a KParts application). - Don't use this - it's mainly for TDEAboutDialog and KBugReport. - @short The instance currently active (useful in a multi-instance application, such as a KParts application). - */ - public static native void setActiveInstance(TDEInstanceInterface d); - public static native TDEInstanceInterface activeInstance(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEGlobalAccel.java b/kdejava/koala/org/kde/koala/TDEGlobalAccel.java deleted file mode 100644 index 5fcd5014..00000000 --- a/kdejava/koala/org/kde/koala/TDEGlobalAccel.java +++ /dev/null @@ -1,210 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - TDEGlobalAccel allows you to have global accelerators that are independent of - the focused window. Unlike TDEAccel it does not matter which window is - currently active. - @short Configurable global shortcut support. - @see TDEAccel - @see TDEAccelShortcutList - @see KKeyChooser - @see KKeyDialog - -*/ -public class TDEGlobalAccel extends TQObject { - protected TDEGlobalAccel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new TDEGlobalAccel object with the given pParent and - psName. - @param pParent the parent of the TQObject - @param psName the name of the TQObject - @short Creates a new TDEGlobalAccel object with the given pParent and psName. - */ - public TDEGlobalAccel(TQObject pParent, String psName) { - super((Class) null); - newTDEGlobalAccel(pParent,psName); - } - private native void newTDEGlobalAccel(TQObject pParent, String psName); - public TDEGlobalAccel(TQObject pParent) { - super((Class) null); - newTDEGlobalAccel(pParent); - } - private native void newTDEGlobalAccel(TQObject pParent); - /** - Checks whether the accelerators are enabled. - @return true if the TDEGlobalAccel is enabled - - @short Checks whether the accelerators are enabled. - */ - public native boolean isEnabled(); - /** - Create an accelerator action. - Usage: - <pre> - insert( "Do Something", i18n("Do Something"), - i18n("This action allows you to do something really great with this program to " - "the currently open document."), - ALT+CTRL+Key_Q, KKey.QtWIN+CTRL+Key_Q, this, SLOT("slotDoSomething()") ); - </pre> - @param sAction The internal name of the action. - @param sLabel An i18n'ized short description of the action displayed when - using KKeyChooser to reconfigure the shortcuts. - @param sWhatsThis An extended description of the action. - @param cutDef3 The default 3 modifier scheme shortcut. - @param cutDef4 The default 4 modifier scheme shortcut. - @param pObjSlot Pointer to the slot object. - @param psMethodSlot Pointer to the slot method. - @param bConfigurable Allow the user to change this shortcut if set to 'true'. - @param bEnabled The action will be activated by the shortcut if set to 'true'. - @short Create an accelerator action. - */ - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); - /** - Removes the accelerator action identified by the name. - Remember to also call updateConnections(). - @param sAction the name of the action to remove - @short Removes the accelerator action identified by the name. - */ - public native boolean remove(String sAction); - /** - Use this to insert a label into the action list. This will be - displayed when the user configures shortcuts. - @param sName of the of the action to insert - @param sLabel a user-readable (i18n!) name for the action - @return the TDEAccelAction of the action - - @short Use this to insert a label into the action list. - */ - public native TDEAccelAction insert(String sName, String sLabel); - /** - Updates the connections of the accelerations after changing them. - @return true if successful, false otherwise - - @short Updates the connections of the accelerations after changing them. - */ - public native boolean updateConnections(); - /** - Return the shortcut associated with the action named by <code>sAction.</code> - @param sAction the name of the action - @return the shortcut. If the action does not exist a null shortcut will be returned. - - @short Return the shortcut associated with the action named by <code>sAction.</code> - */ - public native TDEShortcut shortcut(String sAction); - /** - Set the shortcut to be associated with the action named by <code>sAction.</code> - @param sAction the name of the action - @param shortcut the shortcut for the action - @return true if successful, false otherwise - - @short Set the shortcut to be associated with the action named by <code>sAction.</code> - */ - public native boolean setShortcut(String sAction, TDEShortcut shortcut); - /** - Set the slot to be called when the shortcut of the action named - by <code>sAction</code> is pressed. - @param sAction the name of the action - @param pObjSlot the receiver of the signal - @param psMethodSlot the slot to receive the signal - @return true if successful, false otherwise - - @short Set the slot to be called when the shortcut of the action named by <code>sAction</code> is pressed. - */ - public native boolean setSlot(String sAction, TQObject pObjSlot, String psMethodSlot); - /** - Enables or disables action <code>sAction.</code> - @short Enables or disables action <code>sAction.</code> - */ - public native boolean setActionEnabled(String sAction, boolean bEnable); - /** - Return the label (i18n'ized short description) associated with the action named by <code>sAction.</code> - @param sAction the name of the action - @return the label - - @short Return the label (i18n'ized short description) associated with the action named by <code>sAction.</code> - */ - public native String label(String sAction); - /** - Returns the configuration group that is used to save the accelerators. - @return the configuration group - - @short Returns the configuration group that is used to save the accelerators. - @see TDEConfig - */ - public native String configGroup(); - /** - Sets the configuration group that is used to save the accelerators. - @param cg the configuration group - @short Sets the configuration group that is used to save the accelerators. - @see TDEConfig - */ - public native void setConfigGroup(String cg); - /** - Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> - is zero) from the application's configuration file - TDEGlobal.config(). - @param pConfig the configuration file to read from, or 0 for the application - configuration file - @return true if successful, false otherwise - - @short Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> is zero) from the application's configuration file TDEGlobal.config(). - */ - public native boolean readSettings(TDEConfigBase pConfig); - public native boolean readSettings(); - /** - Write the current shortcuts to <code>pConfig</code>, - or (if <code>pConfig</code> is zero) to the application's - configuration file. - @param pConfig the configuration file to read from, or 0 for the application - configuration file - @return true if successful, false otherwise - - @short Write the current shortcuts to <code>pConfig</code>, or (if <code>pConfig</code> is zero) to the application's configuration file. - */ - public native boolean writeSettings(TDEConfigBase pConfig); - public native boolean writeSettings(); - /** - Write the current shortcuts to <code>pConfig</code>, - or (if <code>pConfig</code> is zero) to the application's - configuration file. Alternatively, if bGlobal is true, then write - to kdeglobals. - @param pConfig the configuration file to read from, or 0 for the application - configuration file - @param bGlobal if true write the configuration to the kde global settings - @return true if successful, false otherwise - - @short Write the current shortcuts to <code>pConfig</code>, or (if <code>pConfig</code> is zero) to the application's configuration file. - */ - public native boolean writeSettings(TDEConfigBase pConfig, boolean bGlobal); - /** - @short - */ - public native void disableBlocking(boolean disable); - /** - TDEAccelActions.useFourModifierKeys(). - @short - */ - public static native boolean useFourModifierKeys(); - /** - @short - */ - public static native void blockShortcuts(boolean block); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEGlobalSettings.java b/kdejava/koala/org/kde/koala/TDEGlobalSettings.java deleted file mode 100644 index 697a031a..00000000 --- a/kdejava/koala/org/kde/koala/TDEGlobalSettings.java +++ /dev/null @@ -1,481 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQFont; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQWidget; - -/** - - Access the KDE global configuration. - @author David Faure <faure@kde.org> - - @short Access the KDE global configuration. - -*/ -public class TDEGlobalSettings implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEGlobalSettings(Class dummy){} - - /** - This enum describes the return type for insertTearOffHandle() whether to insert - a handle or not. Applications who independently want to use handles in their popup menus - should test for Application level before calling the appropriate function in TDEPopupMenu. - @short This enum describes the return type for insertTearOffHandle() whether to insert a handle or not. - */ - public static final int Disable = 0; - public static final int ApplicationLevel = 1; - public static final int Enable = 2; - - /** - This enum describes the completion mode used for by the TDECompletion class. - See <a href="http://developer.kde.org/documentation/standards/kde/style/keys/completion.html"> - the styleguide</a>. - @short This enum describes the completion mode used for by the TDECompletion class. - */ - public static final int CompletionNone = 1; - public static final int CompletionAuto = 2; - public static final int CompletionMan = 3; - public static final int CompletionShell = 4; - public static final int CompletionPopup = 5; - public static final int CompletionPopupAuto = 6; - - public TDEGlobalSettings() { - newTDEGlobalSettings(); - } - private native void newTDEGlobalSettings(); - /** - Returns a threshold in pixels for drag & drop operations. - As long as the mouse movement has not exceeded this number - of pixels in either X or Y direction no drag operation may - be started. This prevents spurious drags when the user intended - to click on something but moved the mouse a bit while doing so. - For this to work you must save the position of the mouse (oldPos) - in the TQWidget.mousePressEvent(). - When the position of the mouse (newPos) - in a TQWidget.mouseMoveEvent() exceeds this threshold - you may start a drag - which should originate from oldPos. - Example code: - <pre> - void KColorCells.mousePressEvent( TQMouseEvent e ) - { - mOldPos = e.pos(); - } - void KColorCells.mouseMoveEvent( TQMouseEvent e ) - { - if( !(e.state() && LeftButton)) return; - int delay = TDEGlobalSettings.dndEventDelay(); - TQPoint newPos = e.pos(); - if(newPos.x() > mOldPos.x()+delay || newPos.x() < mOldPos.x()-delay || - newPos.y() > mOldPos.y()+delay || newPos.y() < mOldPos.y()-delay) - { - // Drag color object - int cell = posToCell(mOldPos); // Find color at mOldPos - if ((cell != -1) && colors[cell].isValid()) - { - KColorDrag d = KColorDrag.makeDrag( colors[cell], this); - d.dragCopy(); - } - } - } - </pre> - @return the threshold for drag & drop in pixels - - @short Returns a threshold in pixels for drag & drop operations. - */ - public static native int dndEventDelay(); - /** - Returns whether KDE runs in single (default) or double click - mode. - see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html - @return true if single click mode, or false if double click mode. - - @short Returns whether KDE runs in single (default) or double click mode. - */ - public static native boolean singleClick(); - /** - Returns whether tear-off handles are inserted in TDEPopupMenus. - @return whether tear-off handles are inserted in TDEPopupMenus. - - @short Returns whether tear-off handles are inserted in TDEPopupMenus. - */ - public static native int insertTearOffHandle(); - /** - Checks whether the cursor changes over icons. - @return the KDE setting for "change cursor over icon" - - @short Checks whether the cursor changes over icons. - */ - public static native boolean changeCursorOverIcon(); - /** - Checks whether to show feedback when in item (specifically an - icon) is activated. - @return whether to show some feedback when an item is activated. - - @short Checks whether to show feedback when in item (specifically an icon) is activated. - */ - public static native boolean visualActivate(); - /** - Returns the speed of the visual activation feedback. - @return the speed of the visual activation feedback, between - 0 for minimum and 100 for maximum speed - - @short Returns the speed of the visual activation feedback. - */ - public static native int visualActivateSpeed(); - /** - Returns the KDE setting for the auto-select option. - @return the auto-select delay or -1 if auto-select is disabled. - - @short Returns the KDE setting for the auto-select option. - */ - public static native int autoSelectDelay(); - /** - Returns the KDE setting for the shortcut key to open - context menus. - @return the key that pops up context menus. - - @short Returns the KDE setting for the shortcut key to open context menus. - */ - public static native int contextMenuKey(); - /** - Returns the KDE setting for context menus. - @return whether context menus should be shown on button press - or button release (click). - - @short Returns the KDE setting for context menus. - */ - public static native boolean showContextMenusOnPress(); - /** - Returns the preferred completion mode setting. - @return Completion. Default is <code>CompletionPopup.</code> - - @short Returns the preferred completion mode setting. - */ - public static native int completionMode(); - /** - This returns the current mouse settings. - On Windows, settings are retrieved from the system. - @return the current mouse settings - - @short This returns the current mouse settings. - */ - // TDEGlobalSettings::KMouseSettings& mouseSettings(); >>>> NOT CONVERTED - /** - The path to the desktop directory of the current user. - @return the user's desktop directory - - @short The path to the desktop directory of the current user. - */ - public static native String desktopPath(); - /** - The path to the autostart directory of the current user. - @return the path of the autostart directory - - @short The path to the autostart directory of the current user. - */ - public static native String autostartPath(); - /** - DEPRECATED (starting from kde-3.4). - This isn't where the trash contents is, anymore. - Use TDEIO.trash() to trash files, "trash:/" to list the trash contents. - @short DEPRECATED (starting from kde-3. - */ - public static native String trashPath(); - /** - The path where documents are stored of the current user. - @return the path of the document directory - - @short The path where documents are stored of the current user. - */ - public static native String documentPath(); - /** - The default color to use when highlighting toolbar buttons. - @return the toolbar highlight color - - @short The default color to use when highlighting toolbar buttons. - */ - public static native TQColor toolBarHighlightColor(); - /** - The default color to use for inactive titles. - @return the inactive title color - - @short The default color to use for inactive titles. - */ - public static native TQColor inactiveTitleColor(); - /** - The default color to use for inactive texts. - @return the inactive text color - - @short The default color to use for inactive texts. - */ - public static native TQColor inactiveTextColor(); - /** - The default color to use for active titles. - @return the active title color - - @short The default color to use for active titles. - */ - public static native TQColor activeTitleColor(); - /** - The default color to use for active texts. - @return the active text color - - @short The default color to use for active texts. - */ - public static native TQColor activeTextColor(); - /** - Returns the contrast for borders. - @return the contrast (between 0 for minimum and 10 for maximum - contrast) - - @short Returns the contrast for borders. - */ - public static native int contrast(); - /** - Returns the button background color - @return the button background color - - @short Returns the button background color - */ - public static native TQColor buttonBackground(); - /** - Returns the button text color - @return the button text color - - @short Returns the button text color - */ - public static native TQColor buttonTextColor(); - /** - Returns the default base (background) color. - @return the default base (background) color - - @short Returns the default base (background) color. - @see org.kde.qt.TQColorGroup#base - */ - public static native TQColor baseColor(); - /** - Returns the default text color. - @return the default text color - - @short Returns the default text color. - @see org.kde.qt.TQColorGroup#text - */ - public static native TQColor textColor(); - /** - Returns the default link color. - @return the default link color - - @short Returns the default link color. - */ - public static native TQColor linkColor(); - /** - Returns the default color for visited links. - @return the default color for visited links - - @short Returns the default color for visited links. - */ - public static native TQColor visitedLinkColor(); - /** - Returns the default color for highlighted text. - @return the default color for highlighted text - - @short Returns the default color for highlighted text. - @see org.kde.qt.TQColorGroup#hightlightedText - */ - public static native TQColor highlightedTextColor(); - /** - Returns the default color for text highlights. - @return the default color for text highlights - - @short Returns the default color for text highlights. - @see org.kde.qt.TQColorGroup#hightlight - */ - public static native TQColor highlightColor(); - /** - Returns the alternate background color used by TDEListView with - TDEListViewItem. Any other list that uses alternating background - colors should use this too, to obey to the user's preferences. Returns - an invalid color if the user doesn't want alternating backgrounds. - @return the alternate background color - - @short Returns the alternate background color used by TDEListView with TDEListViewItem. - @see #calculateAlternateBackgroundColor - */ - public static native TQColor alternateBackgroundColor(); - /** - Calculates a color based on <code>base</code> to be used as alternating - color for e.g. listviews. - @param base the base for the calculation - @return the calculated color - - @short Calculates a color based on <code>base</code> to be used as alternating color for e. - @see #alternateBackgroundColor - */ - public static native TQColor calculateAlternateBackgroundColor(TQColor base); - /** - Returns if the sorted column in a TDEListView shall be drawn with a - shaded background color. - @return true if the sorted column shall be shaded - - @short Returns if the sorted column in a TDEListView shall be drawn with a shaded background color. - */ - public static native boolean shadeSortColumn(); - /** - Returns the default general font. - @return the default general font. - - @short Returns the default general font. - */ - public static native TQFont generalFont(); - /** - Returns the default fixed font. - @return the default fixed font. - - @short Returns the default fixed font. - */ - public static native TQFont fixedFont(); - /** - Returns the default toolbar font. - @return the default toolbar font. - - @short Returns the default toolbar font. - */ - public static native TQFont toolBarFont(); - /** - Returns the default menu font. - @return the default menu font. - - @short Returns the default menu font. - */ - public static native TQFont menuFont(); - /** - Returns the default window title font. - @return the default window title font. - - @short Returns the default window title font. - */ - public static native TQFont windowTitleFont(); - /** - Returns the default taskbar font. - @return the default taskbar font. - - @short Returns the default taskbar font. - */ - public static native TQFont taskbarFont(); - /** - Returns a font of approx. 48 pt. capable of showing <code>text.</code> - @param text the text to test - @return the font that is capable to show the text with 48 pt - - @short Returns a font of approx. - */ - public static native TQFont largeFont(String text); - public static native TQFont largeFont(); - /** - Returns if the user specified multihead. In case the display - has multiple screens, the return value of this function specifies - if the user wants KDE to run on all of them or just on the primary - On Windows, settings are retrieved from the system. - @return true if the user chose multi head - - @short Returns if the user specified multihead. - */ - public static native boolean isMultiHead(); - /** - Typically, TQScrollView derived classes can be scrolled fast by - holding down the Ctrl-button during wheel-scrolling. - But TQTextEdit and derived classes perform zooming instead of fast - scrolling. - This value determines whether the user wants to zoom or scroll fast - with Ctrl-wheelscroll. - @return true if the user wishes to zoom with the mouse wheel, - false for scrolling - - @short Typically, TQScrollView derived classes can be scrolled fast by holding down the Ctrl-button during wheel-scrolling. - */ - public static native boolean wheelMouseZooms(); - /** - This function returns the desktop geometry for an application's splash - screen. It takes into account the user's display settings (number of - screens, Xinerama, etc), and the user's preferences (if KDE should be - Xinerama aware). - @return the geometry to use for the desktop. Note that it might not - start at (0,0). - - @short This function returns the desktop geometry for an application's splash screen. - */ - public static native TQRect splashScreenDesktopGeometry(); - /** - This function returns the desktop geometry for an application that needs - to set the geometry of a widget on the screen manually. It takes into - account the user's display settings (number of screens, Xinerama, etc), - and the user's preferences (if KDE should be Xinerama aware). - Note that this can break in multi-head (not Xinerama) mode because this - point could be on multiple screens. Use with care. - @param point a reference point for the widget, for instance one that the - widget should be adjacent or on top of. - @return the geometry to use for the desktop. Note that it might not - start at (0,0). - - @short This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. - */ - public static native TQRect desktopGeometry(TQPoint point); - /** - This function returns the desktop geometry for an application that needs - to set the geometry of a widget on the screen manually. It takes into - account the user's display settings (number of screens, Xinerama, etc), - and the user's preferences (if KDE should be Xinerama aware). - @param w the widget in question. This is used to determine which screen - to use in Xinerama or multi-head mode. - @return the geometry to use for the desktop. Note that it might not - start at (0,0). - - @short This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. - */ - public static native TQRect desktopGeometry(TQWidget w); - /** - This function determines if the user wishes to see icons on the - push buttons. - @return Returns true if user wants to show icons. - - @short This function determines if the user wishes to see icons on the push buttons. - */ - public static native boolean showIconsOnPushButtons(); - /** - This function determines if the user wishes to see previews - for the selected url - @return Returns true if user wants to show previews. - - @short This function determines if the user wishes to see previews for the selected url - */ - public static native boolean showFilePreview(KURL arg1); - /** - Whether the user wishes to use opaque resizing. Primarily - intended for TQSplitter.setOpaqueResize() - @return Returns true if user wants to use opaque resizing. - - @short Whether the user wishes to use opaque resizing. - */ - public static native boolean opaqueResize(); - /** - The layout scheme to use for dialog buttons - @return Returns the number of the scheme to use. - - @short The layout scheme to use for dialog buttons - @see KDialogBase#setButtonStyle - */ - public static native int buttonLayout(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLPart.java b/kdejava/koala/org/kde/koala/TDEHTMLPart.java deleted file mode 100644 index 3d096a19..00000000 --- a/kdejava/koala/org/kde/koala/TDEHTMLPart.java +++ /dev/null @@ -1,1004 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQPainter; -import org.kde.qt.TQCustomEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQVariant; -import org.kde.qt.TQWidget; - -/** - - This class is tdehtml's main class. It features an almost complete - web browser, and html renderer. - The easiest way to use this class (if you just want to display an HTML - page at some URL) is the following: - <pre> - KURL url = "http://www.kde.org"; - TDEHTMLPart w = new TDEHTMLPart(); - w.openURL(url); - w.view().resize(500, 400); - w.show(); - </pre> - Java and JavaScript are enabled by default depending on the user's - settings. If you do not need them, and especially if you display - unfiltered data from untrusted sources, it is strongly recommended to - turn them off. In that case, you should also turn off the automatic - redirect and plugins: - <pre> - w.setJScriptEnabled(false); - w.setJavaEnabled(false); - w.setMetaRefreshEnabled(false); - w.setPluginsEnabled(false); - </pre> - You may also wish to disable external references. This will prevent TDEHTML - from loading images, frames, etc, or redirecting to external sites. - <pre> - w.setOnlyLocalReferences(true); - </pre> - Some apps want to write their HTML code directly into the widget instead of - opening an url. You can do this in the following way: - <pre> - String myHTMLCode = ...; - TDEHTMLPart w = new TDEHTMLPart(); - w.begin(); - w.write(myHTMLCode); - ... - w.end(); - </pre> - You can do as many calls to write() as you wish. There are two - write() methods, one accepting a String and one accepting a - <code>char</code> <code>argument.</code> You should use one or the other - (but not both) since the method using - the <code>char</code> <code>argument</code> does an additional decoding step to convert the - written data to Unicode. - It is also possible to write content to the HTML part using the - standard streaming API from KParts.ReadOnlyPart. The usage of - the API is similar to that of the begin(), write(), end() process - described above as the following example shows: - <pre> - TDEHTMLPart doc = new TDEHTMLPart(); - doc.openStream( "text/html", KURL() ); - doc.writeStream( String( "<html><body><p>TDEHTML Rocks!</p></body></html>" ) ); - doc.closeStream(); - </pre> - See {@link TDEHTMLPartSignals} for signals emitted by TDEHTMLPart - @author Lars Knoll (knoll@kde.org) - - @short HTML Browser Widget. - -*/ -public class TDEHTMLPart extends ReadOnlyPart { - protected TDEHTMLPart(Class dummy){super((Class) null);} - public static final int DefaultGUI = 0; - public static final int BrowserViewGUI = 1; - - /** - Enumeration for displaying the caret. - @param Visible caret is displayed - @param Invisible caret is not displayed - @param Blink caret toggles between visible and invisible - @short Enumeration for displaying the caret. - */ - public static final int CaretVisible = 0; - public static final int CaretInvisible = 1; - public static final int CaretBlink = 2; - - /** - Extra Find options that can be used when calling the extended findText(). - @short Extra Find options that can be used when calling the extended findText(). - */ - public static final int FindLinksOnly = 1*KFindDialog.MinimumUserOption; - public static final int FindNoPopups = 2*KFindDialog.MinimumUserOption; - - public static final int NoNotification = 0; - public static final int Before = 1; - public static final int Only = 2; - public static final int Unused = 255; - - public static final int NotCrypted = 0; - public static final int Encrypted = 1; - public static final int Mixed = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new TDEHTMLPart. - TDEHTML basically consists of two objects: The TDEHTMLPart itself, - holding the document data (DOM document), and the TDEHTMLView, - derived from TQScrollView, in which the document content is - rendered in. You can specify two different parent objects for a - TDEHTMLPart, one parent for the TDEHTMLPart document and on parent - for the TDEHTMLView. If the second <code>parent</code> argument is null, then - <code>parentWidget</code> is used as parent for both objects, the part and - the view. - @short Constructs a new TDEHTMLPart. - */ - public TDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof) { - super((Class) null); - newTDEHTMLPart(parentWidget,widgetname,parent,name,prof); - } - private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof); - public TDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name) { - super((Class) null); - newTDEHTMLPart(parentWidget,widgetname,parent,name); - } - private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name); - public TDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent) { - super((Class) null); - newTDEHTMLPart(parentWidget,widgetname,parent); - } - private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent); - public TDEHTMLPart(TQWidget parentWidget, String widgetname) { - super((Class) null); - newTDEHTMLPart(parentWidget,widgetname); - } - private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname); - public TDEHTMLPart(TQWidget parentWidget) { - super((Class) null); - newTDEHTMLPart(parentWidget); - } - private native void newTDEHTMLPart(TQWidget parentWidget); - public TDEHTMLPart() { - super((Class) null); - newTDEHTMLPart(); - } - private native void newTDEHTMLPart(); - public TDEHTMLPart(TDEHTMLView view, TQObject parent, String name, int prof) { - super((Class) null); - newTDEHTMLPart(view,parent,name,prof); - } - private native void newTDEHTMLPart(TDEHTMLView view, TQObject parent, String name, int prof); - public TDEHTMLPart(TDEHTMLView view, TQObject parent, String name) { - super((Class) null); - newTDEHTMLPart(view,parent,name); - } - private native void newTDEHTMLPart(TDEHTMLView view, TQObject parent, String name); - public TDEHTMLPart(TDEHTMLView view, TQObject parent) { - super((Class) null); - newTDEHTMLPart(view,parent); - } - private native void newTDEHTMLPart(TDEHTMLView view, TQObject parent); - public TDEHTMLPart(TDEHTMLView view) { - super((Class) null); - newTDEHTMLPart(view); - } - private native void newTDEHTMLPart(TDEHTMLView view); - /** - Opens the specified URL <code>url.</code> - Reimplemented from KParts.ReadOnlyPart.openURL . - @short Opens the specified URL <code>url.</code> - */ - public native boolean openURL(KURL url); - /** - Stops loading the document and kills all data requests (for images, etc.) - @short Stops loading the document and kills all data requests (for images, etc. - */ - public native boolean closeURL(); - /** - Called when a certain error situation (i.e. connection timed out) occurred. - The default implementation either shows a TDEIO error dialog or loads a more - verbose error description a as page, depending on the users configuration. - <code>job</code> is the job that signaled the error situation - @short Called when a certain error situation (i. - */ - public native void showError(Job job); - /** - Returns a reference to the DOM HTML document (for non-HTML documents, returns null) - @short Returns a reference to the DOM HTML document (for non-HTML documents, returns null) - */ - public native HTMLDocument htmlDocument(); - /** - Returns a reference to the DOM document. - @short Returns a reference to the DOM document. - */ - public native Document document(); - /** - Returns the content of the source document. - @short Returns the content of the source document. - */ - public native String documentSource(); - /** - Returns the node that has the keyboard focus. - @short Returns the node that has the keyboard focus. - */ - public native Node activeNode(); - /** - Returns a pointer to the KParts.BrowserExtension. - @short Returns a pointer to the KParts.BrowserExtension. - */ - public native BrowserExtension browserExtension(); - // KParts::LiveConnectExtension* liveConnectExtension(const tdehtml::RenderPart* arg1); >>>> NOT CONVERTED - public native BrowserHostExtension browserHostExtension(); - /** - Returns a pointer to the HTML document's view. - @short Returns a pointer to the HTML document's view. - */ - public native TDEHTMLView view(); - /** - Enable/disable Javascript support. Note that this will - in either case permanently override the default usersetting. - If you want to have the default UserSettings, don't call this - method. - @short Enable/disable Javascript support. - */ - public native void setJScriptEnabled(boolean enable); - /** - Returns <code>true</code> if Javascript support is enabled or <code>false</code> - otherwise. - @short Returns <code>true</code> if Javascript support is enabled or <code>false</code> otherwise. - */ - public native boolean jScriptEnabled(); - /** - Returns the JavaScript interpreter the part is using. This method is - mainly intended for applications which embed and extend the part and - provides a mechanism for adding additional native objects to the - interpreter (or removing the built-ins). - One thing people using this method to add things to the interpreter must - consider, is that when you start writing new content to the part, the - interpreter is cleared. This includes both use of the - begin( KURL, int, int ) method, and the openURL( KURL ) - method. If you want your objects to have a longer lifespan, then you must - retain a KJS.Object yourself to ensure that the reference count of your - custom objects never reaches 0. You will also need to re-add your - bindings everytime this happens - one way to detect the need for this is - to connect to the docCreated() signal, another is to reimplement the - begin() method. - @short Returns the JavaScript interpreter the part is using. - */ - // KJS::Interpreter* jScriptInterpreter(); >>>> NOT CONVERTED - /** - Enable/disable statusbar messages. - When this class wants to set the statusbar text, it emits - setStatusBarText(String text) - If you want to catch this for your own statusbar, note that it returns - back a rich text string, starting with "<qt>". This you need to - either pass this into your own TQLabel or to strip out the tags - before passing it to TQStatusBar.message(String message) - @short Enable/disable statusbar messages. - @see Part#setStatusBarText( - @see #const - @see #text - */ - public native void setStatusMessagesEnabled(boolean enable); - /** - Returns <code>true</code> if status messages are enabled. - @short Returns <code>true</code> if status messages are enabled. - */ - public native boolean statusMessagesEnabled(); - /** - Enable/disable automatic forwarding by <meta http-equiv="refresh" ....> - @short Enable/disable automatic forwarding by <meta http-equiv="refresh" . - */ - public native void setMetaRefreshEnabled(boolean enable); - /** - Returns <code>true</code> if automatic forwarding is enabled. - @short Returns <code>true</code> if automatic forwarding is enabled. - */ - public native boolean metaRefreshEnabled(); - /** - Same as executeScript( String ) except with the Node parameter - specifying the 'this' value. - @short Same as executeScript( String ) except with the Node parameter specifying the 'this' value. - */ - public native TQVariant executeScript(Node n, String script); - /** - Enables or disables Drag'n'Drop support. A drag operation is started if - the users drags a link. - @short Enables or disables Drag'n'Drop support. - */ - public native void setDNDEnabled(boolean b); - /** - Returns whether Dragn'n'Drop support is enabled or not. - @short Returns whether Dragn'n'Drop support is enabled or not. - */ - public native boolean dndEnabled(); - /** - Enables/disables Java applet support. Note that calling this function - will permanently override the User settings about Java applet support. - Not calling this function is the only way to let the default settings - apply. - @short Enables/disables Java applet support. - */ - public native void setJavaEnabled(boolean enable); - /** - Return true if Java applet support is enabled, false if disabled - @short Return true if Java applet support is enabled, false if disabled - */ - public native boolean javaEnabled(); - /** - Returns the java context of the applets. If no applet exists, 0 is returned. - @short Returns the java context of the applets. - */ - // KJavaAppletContext* javaContext(); >>>> NOT CONVERTED - /** - Returns the java context of the applets. If no context exists yet, a - new one is created. - @short Returns the java context of the applets. - */ - // KJavaAppletContext* createJavaContext(); >>>> NOT CONVERTED - /** - Enables or disables plugins, default is enabled - @short Enables or disables plugins, default is enabled - */ - public native void setPluginsEnabled(boolean enable); - /** - Returns true if plugins are enabled/disabled. - @short Returns true if plugins are enabled/disabled. - */ - public native boolean pluginsEnabled(); - /** - Specifies whether images contained in the document should be loaded - automatically or not. - @note Request will be ignored if called before begin(). - @short Specifies whether images contained in the document should be loaded automatically or not. - */ - public native void setAutoloadImages(boolean enable); - /** - Returns whether images contained in the document are loaded automatically - or not. - @note that the returned information is unrelieable as long as no begin() - was called. - @short Returns whether images contained in the document are loaded automatically or not. - */ - public native boolean autoloadImages(); - /** - Security option. - Specify whether only file:/ or data:/ urls are allowed to be loaded without - user confirmation by TDEHTML. - ( for example referenced by stylesheets, images, scripts, subdocuments, embedded elements ). - This option is mainly intended for enabling the "mail reader mode", where you load untrusted - content with a file:/ url. - Please note that enabling this option currently automatically disables Javascript, - Java and Plugins support. This might change in the future if the security model - is becoming more sophisticated, so don't rely on this behaviour. - ( default false - everything is loaded unless forbidden by TDEApplication.authorizeURLAction). - @short Security option. - */ - public native void setOnlyLocalReferences(boolean enable); - /** - Returns whether only file:/ or data:/ references are allowed - to be loaded ( default false ). See setOnlyLocalReferences. - @short Returns whether only file:/ or data:/ references are allowed to be loaded ( default false ). - */ - public native boolean onlyLocalReferences(); - /** Returns whether caret mode is on/off. - @short Returns whether caret mode is on/off. - */ - public native boolean isCaretMode(); - /** - Returns <code>true</code> if the document is editable, <code>false</code> otherwise. - @short Returns <code>true</code> if the document is editable, <code>false</code> otherwise. - */ - public native boolean isEditable(); - /** - Sets the caret to the given position. - If the given location is invalid, it will snap to the nearest valid - location. Immediately afterwards a <code>caretPositionChanged</code> signal - containing the effective position is emitted - @param node node to set to - @param offset zero-based offset within the node - @param extendSelection If <code>true</code>, a selection will be spanned from the - last caret position to the given one. Otherwise, any existing selection - will be deselected. - @short Sets the caret to the given position. - */ - public native void setCaretPosition(Node node, long offset, boolean extendSelection); - public native void setCaretPosition(Node node, long offset); - /** - Returns the current caret policy when the view is not focused. - @short Returns the current caret policy when the view is not focused. - */ - public native int caretDisplayPolicyNonFocused(); - /** - Sets the caret display policy when the view is not focused. - Whenever the caret is in use, this property determines how the - caret should be displayed when the document view is not focused. - The default policy is CaretInvisible. - @param policy new display policy - @short Sets the caret display policy when the view is not focused. - */ - public native void setCaretDisplayPolicyNonFocused(int policy); - public native void enableJScript(boolean e); - public native void enableJava(boolean e); - public native void enablePlugins(boolean e); - public native void autoloadImages(boolean e); - public native void enableMetaRefresh(boolean e); - public native boolean setCharset(String arg1, boolean arg2); - public native KURL baseURL(); - public native String baseTarget(); - /** - Returns the URL for the background Image (used by save background) - @short Returns the URL for the background Image (used by save background) - */ - public native KURL backgroundURL(); - /** - Schedules a redirection after <code>delay</code> seconds. - @short Schedules a redirection after <code>delay</code> seconds. - */ - public native void scheduleRedirection(int delay, String url, boolean lockHistory); - public native void scheduleRedirection(int delay, String url); - /** - Clears the widget and prepares it for new content. - If you want url() to return - for example "file:/tmp/test.html", you can use the following code: - <pre> - view.begin( KURL("file:/tmp/test.html" ) ); - </pre> - @param url is the url of the document to be displayed. Even if you - are generating the HTML on the fly, it may be useful to specify - a directory so that any pixmaps are found. - @param xOffset is the initial horizontal scrollbar value. Usually - you don't want to use this. - @param yOffset is the initial vertical scrollbar value. Usually - you don't want to use this. - All child frames and the old document are removed if you call - this method. - @short Clears the widget and prepares it for new content. - */ - public native void begin(KURL url, int xOffset, int yOffset); - public native void begin(KURL url, int xOffset); - public native void begin(KURL url); - public native void begin(); - /** - Writes another part of the HTML code to the widget. - You may call - this function many times in sequence. But remember: The fewer calls - you make, the faster the widget will be. - The HTML code is send through a decoder which decodes the stream to - Unicode. - The <code>len</code> parameter is needed for streams encoded in utf-16, - since these can have \\0 chars in them. In case the encoding - you're using isn't utf-16, you can safely leave out the length - parameter. - Attention: Don't mix calls to write( String ) with calls - to write( String ). - The result might not be what you want. - @short Writes another part of the HTML code to the widget. - */ - public native void write(String str, int len); - public native void write(String str); - /** - Call this after your last call to write(). - @short Call this after your last call to write(). - */ - public native void end(); - /** - Paints the HTML page to a TQPainter. See TDEHTMLView.paint for details - @short Paints the HTML page to a TQPainter. - */ - public native void paint(TQPainter arg1, TQRect arg2, int arg3, boolean[] arg4); - public native void paint(TQPainter arg1, TQRect arg2, int arg3); - public native void paint(TQPainter arg1, TQRect arg2); - /** - Sets the encoding the page uses. - This can be different from the charset. The widget will try to reload the current page in the new - encoding, if url() is not empty. - @short Sets the encoding the page uses. - */ - public native boolean setEncoding(String name, boolean override); - public native boolean setEncoding(String name); - /** - Returns the encoding the page currently uses. - Note that the encoding might be different from the charset. - @short Returns the encoding the page currently uses. - */ - public native String encoding(); - /** - Sets a user defined style sheet to be used on top of the HTML 4 - default style sheet. - This gives a wide range of possibilities to - change the layout of the page. - To have an effect this function has to be called after calling begin(). - @short Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. - */ - public native void setUserStyleSheet(KURL url); - /** - Sets a user defined style sheet to be used on top of the HTML 4 - default style sheet. - This gives a wide range of possibilities to - change the layout of the page. - To have an effect this function has to be called after calling begin(). - @short Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. - */ - public native void setUserStyleSheet(String styleSheet); - /** - Sets the standard font style. - @param name The font name to use for standard text. - @short Sets the standard font style. - */ - public native void setStandardFont(String name); - /** - Sets the fixed font style. - @param name The font name to use for fixed text, e.g. - the <tt><pre></tt> tag. - @short Sets the fixed font style. - */ - public native void setFixedFont(String name); - /** - Finds the anchor named <code>name.</code> - If the anchor is found, the widget - scrolls to the closest position. Returns <code>if</code> the anchor has - been found. - @short Finds the anchor named <code>name.</code> - */ - public native boolean gotoAnchor(String name); - /** - Go to the next anchor - This is useful to navigate from outside the navigator - @short Go to the next anchor - */ - public native boolean nextAnchor(); - /** - Go to previous anchor - @short Go to previous anchor - */ - public native boolean prevAnchor(); - /** - Sets the cursor to use when the cursor is on a link. - @short Sets the cursor to use when the cursor is on a link. - */ - public native void setURLCursor(TQCursor c); - /** - Returns the cursor which is used when the cursor is on a link. - @short Returns the cursor which is used when the cursor is on a link. - */ - public native TQCursor urlCursor(); - /** - Starts a new search by popping up a dialog asking the user what he wants to - search for. - @short Starts a new search by popping up a dialog asking the user what he wants to search for. - */ - public native void findText(); - /** - Starts a new search, but bypasses the user dialog. - @param str The string to search for. - @param options Find options. - @param parent Parent used for centering popups like "string not found". - @param findDialog Optionally, you can supply your own dialog. - @short Starts a new search, but bypasses the user dialog. - */ - public native void findText(String str, long options, TQWidget parent, KFindDialog findDialog); - public native void findText(String str, long options, TQWidget parent); - public native void findText(String str, long options); - /** - Initiates a text search. - @short Initiates a text search. - */ - public native void findTextBegin(); - /** - Finds the next occurence of a string set by {@link #findText} - @return true if a new match was found. - - @short Finds the next occurence of a string set by @ref findText() - */ - public native boolean findTextNext(); - /** - Finds the next occurence of a string set by {@link #findText} - @param reverse if true, revert seach direction (only if no find dialog is used) - @return true if a new match was found. - - @short Finds the next occurence of a string set by @ref findText() - */ - public native boolean findTextNext(boolean reverse); - /** - Sets the Zoom factor. The value is given in percent, larger values mean a - generally larger font and larger page contents. It is not guaranteed that - all parts of the page are scaled with the same factor though. - The given value should be in the range of 20..300, values outside that - range are not guaranteed to work. A value of 100 will disable all zooming - and show the page with the sizes determined via the given lengths in the - stylesheets. - @short Sets the Zoom factor. - */ - public native void setZoomFactor(int percent); - /** - Returns the current zoom factor. - @short Returns the current zoom factor. - */ - public native int zoomFactor(); - /** - Returns the text the user has marked. - @short Returns the text the user has marked. - */ - public native String selectedText(); - /** - Return the text the user has marked. This is guaranteed to be valid xml, - and to contain the \<html> and \<body> tags. - FIXME probably should make for 4.0 ? - @short Return the text the user has marked. - */ - public native String selectedTextAsHTML(); - /** - Returns the selected part of the HTML. - @short Returns the selected part of the HTML. - */ - public native Range selection(); - /** - Returns the selected part of the HTML by returning the starting and end - position. - If there is no selection, both nodes and offsets are equal. - @param startNode returns node selection starts in - @param startOffset returns offset within starting node - @param endNode returns node selection ends in - @param endOffset returns offset within end node. - @short Returns the selected part of the HTML by returning the starting and end position. - */ - public native void selection(Node startNode, long startOffset, Node endNode, long endOffset); - /** - Sets the current selection. - @short Sets the current selection. - */ - public native void setSelection(Range arg1); - /** - Has the user selected anything? - Call selectedText() to - retrieve the selected text. - @return <code>true</code> if there is text selected. - - @short Has the user selected anything? - */ - public native boolean hasSelection(); - /** - Marks all text in the document as selected. - @short Marks all text in the document as selected. - */ - public native void selectAll(); - /** - Convenience method to show the document's view. - Equivalent to widget().show() or view().show() . - @short Convenience method to show the document's view. - */ - public native void show(); - /** - Convenience method to hide the document's view. - Equivalent to widget().hide() or view().hide(). - @short Convenience method to hide the document's view. - */ - public native void hide(); - /** - Returns a reference to the partmanager instance which - manages html frame objects. - @short Returns a reference to the partmanager instance which manages html frame objects. - */ - public native PartManager partManager(); - /** - Saves the TDEHTMLPart's complete state (including child frame - objects) to the provided TQDataStream. - This is called from the saveState() method of the - browserExtension(). - @short Saves the TDEHTMLPart's complete state (including child frame objects) to the provided TQDataStream. - */ - public native void saveState(TQDataStream stream); - /** - Restores the TDEHTMLPart's previously saved state (including - child frame objects) from the provided TQDataStream. - This is called from the restoreState() method of the - browserExtension() . - @short Restores the TDEHTMLPart's previously saved state (including child frame objects) from the provided TQDataStream. - @see #saveState - */ - public native void restoreState(TQDataStream stream); - /** - Returns the <code>Node</code> currently under the mouse. - The returned node may be a shared node (e. g. an \<area> node if the - mouse is hovering over an image map). - @short Returns the <code>Node</code> currently under the mouse. - */ - public native Node nodeUnderMouse(); - /** - Returns the <code>Node</code> currently under the mouse that is not shared. - The returned node is always the node that is physically under the mouse - pointer (irrespective of logically overlying elements like, e. g., - \<area> on image maps). - @short Returns the <code>Node</code> currently under the mouse that is not shared. - */ - public native Node nonSharedNodeUnderMouse(); - /** - @short - */ - public native TDEHTMLSettings settings(); - /** - Returns a pointer to the parent TDEHTMLPart if the part is a frame - in an HTML frameset. - Returns null otherwise. - @short Returns a pointer to the parent TDEHTMLPart if the part is a frame in an HTML frameset. - */ - public native TDEHTMLPart parentPart(); - /** - Returns a list of names of all frame (including iframe) objects of - the current document. Note that this method is not working recursively - for sub-frames. - @short Returns a list of names of all frame (including iframe) objects of the current document. - */ - public native ArrayList frameNames(); - // TQPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED - /** - Finds a frame by name. Returns null if frame can't be found. - @short Finds a frame by name. - */ - public native TDEHTMLPart findFrame(String f); - /** - Recursively finds the part containing the frame with name <code>f</code> - and checks if it is accessible by <code>callingPart</code> - Returns null if no suitable frame can't be found. - Returns parent part if a suitable frame was found and - frame info in <code>childFrame</code> - @short Recursively finds the part containing the frame with name <code>f</code> and checks if it is accessible by <code>callingPart</code> Returns 0L if no suitable frame can't be found. - */ - // TDEHTMLPart* findFrameParent(KParts::ReadOnlyPart* arg1,const TQString& arg2,tdehtml::ChildFrame** arg3); >>>> NOT CONVERTED - public native TDEHTMLPart findFrameParent(ReadOnlyPart callingPart, String f); - /** - Return the current frame (the one that has focus) - Not necessarily a direct child of ours, framesets can be nested. - Returns "this" if this part isn't a frameset. - @short Return the current frame (the one that has focus) Not necessarily a direct child of ours, framesets can be nested. - */ - public native ReadOnlyPart currentFrame(); - /** - Returns whether a frame with the specified name is exists or not. - In contrary to the findFrame method this one also returns true - if the frame is defined but no displaying component has been - found/loaded, yet. - @short Returns whether a frame with the specified name is exists or not. - */ - public native boolean frameExists(String frameName); - /** - Returns child frame framePart its script interpreter - @short Returns child frame framePart its script interpreter - */ - // KJSProxy* framejScript(KParts::ReadOnlyPart* arg1); >>>> NOT CONVERTED - /** - Finds a frame by name. Returns null if frame can't be found. - @short Finds a frame by name. - */ - public native ReadOnlyPart findFramePart(String f); - /** - Called by KJS. - Sets the StatusBarText assigned - via window.status - @short Called by KJS. - */ - public native void setJSStatusBarText(String text); - /** - Called by KJS. - Sets the DefaultStatusBarText assigned - via window.defaultStatus - @short Called by KJS. - */ - public native void setJSDefaultStatusBarText(String text); - /** - Called by KJS. - Returns the StatusBarText assigned - via window.status - @short Called by KJS. - */ - public native String jsStatusBarText(); - /** - Called by KJS. - Returns the DefaultStatusBarText assigned - via window.defaultStatus - @short Called by KJS. - */ - public native String jsDefaultStatusBarText(); - /** - Referrer used for links in this page. - @short Referrer used for links in this page. - */ - public native String referrer(); - /** - Referrer used to obtain this page. - @short Referrer used to obtain this page. - */ - public native String pageReferrer(); - /** - Last-modified date (in raw string format), if received in the [HTTP] headers. - @short Last-modified date (in raw string format), if received in the [HTTP] headers. - */ - public native String lastModified(); - /** - Loads a style sheet into the stylesheet cache. - @short Loads a style sheet into the stylesheet cache. - */ - public native void preloadStyleSheet(String url, String stylesheet); - /** - Loads a script into the script cache. - @short Loads a script into the script cache. - */ - public native void preloadScript(String url, String script); - /** - @short - */ - public native boolean restored(); - /** - Determine if signal should be emitted before, instead or never when a - submitForm() happens. - @short Determine if signal should be emitted before, instead or never when a submitForm() happens. - */ - public native void setFormNotification(int fn); - /** - Determine if signal should be emitted before, instead or never when a - submitForm() happens. - ### KDE4 remove me - @short Determine if signal should be emitted before, instead or never when a submitForm() happens. - */ - public native int formNotification(); - /** - Returns the toplevel (origin) URL of this document, even if this - part is a frame or an iframe. - @return the actual original url. - - @short Returns the toplevel (origin) URL of this document, even if this part is a frame or an iframe. - */ - public native KURL toplevelURL(); - /** - Checks whether the page contains unsubmitted form changes. - @return true if form changes exist - - @short Checks whether the page contains unsubmitted form changes. - */ - public native boolean isModified(); - /** - Shows or hides the suppressed popup indicator - @short Shows or hides the suppressed popup indicator - */ - public native void setSuppressedPopupIndicator(boolean enable, TDEHTMLPart originPart); - /** - @short - */ - public native boolean inProgress(); - /** - Sets the focused node of the document to the specified node. If the node is a form control, the control will - receive focus in the same way that it would if the user had clicked on it or tabbed to it with the keyboard. For - most other types of elements, there is no visual indication of whether or not they are focused. - See activeNode - @param node The node to focus - @short Sets the focused node of the document to the specified node. - */ - public native void setActiveNode(Node node); - /** - Stops all animated images on the current and child pages - @short Stops all animated images on the current and child pages - */ - public native void stopAnimations(); - public native String dcopObjectId(); - /** - Enables/disables caret mode. - Enabling caret mode displays a caret which can be used to navigate - the document using the keyboard only. Caret mode is switched off by - default. - @param enable <code>true</code> to enable, <code>false</code> to disable caret mode. - @short Enables/disables caret mode. - */ - public native void setCaretMode(boolean enable); - /** - Makes the document editable. - Setting this property to <code>true</code> makes the document, and its - subdocuments (such as frames, iframes, objects) editable as a whole. - FIXME: insert more information about navigation, features etc. as seen fit - @param enable <code>true</code> to set document editable, <code>false</code> to set it - read-only. - @short Makes the document editable. - */ - public native void setEditable(boolean enable); - /** - Sets the visibility of the caret. - This methods displays or hides the caret regardless of the current - caret display policy (see setCaretDisplayNonFocused), and regardless - of focus. - The caret will be shown/hidden only under at least one of - the following conditions: - - <li> - the document is editable - </li> - - <li> - the document is in caret mode - </li> - - <li> - the document's currently focused element is editable - </li> - @param show <code>true</code> to make visible, <code>false</code> to hide. - @short Sets the visibility of the caret. - */ - public native void setCaretVisible(boolean show); - public native void submitFormProxy(String action, String url, byte[] formData, String target, String contentType, String boundary); - public native void submitFormProxy(String action, String url, byte[] formData, String target, String contentType); - public native void submitFormProxy(String action, String url, byte[] formData, String target); - /** - returns a KURL object for the given url. Use when - you know what you're doing. - @short returns a KURL object for the given url. - */ - protected native KURL completeURL(String url); - /** - presents a detailed error message to the user. - <code>errorCode</code> tdeio error code, eg TDEIO.ERR_SERVER_TIMEOUT. - <code>text</code> tdeio additional information text. - <code>url</code> the url that triggered the error. - @short presents a detailed error message to the user. - */ - protected native void htmlError(int errorCode, String text, KURL reqUrl); - protected native void customEvent(TQCustomEvent event); - /** - Eventhandler of the tdehtml.MousePressEvent. - @short Eventhandler of the tdehtml.MousePressEvent. - */ - // void tdehtmlMousePressEvent(tdehtml::MousePressEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.MouseDoubleClickEvent. - @short Eventhandler for the tdehtml.MouseDoubleClickEvent. - */ - // void tdehtmlMouseDoubleClickEvent(tdehtml::MouseDoubleClickEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.MouseMouseMoveEvent. - @short Eventhandler for the tdehtml.MouseMouseMoveEvent. - */ - // void tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.MouseMouseReleaseEvent. - @short Eventhandler for the tdehtml.MouseMouseReleaseEvent. - */ - // void tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.DrawContentsEvent. - @short Eventhandler for the tdehtml.DrawContentsEvent. - */ - // void tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent* arg1); >>>> NOT CONVERTED - /** - Internal reimplementation of KParts.Part.guiActivateEvent . - @short Internal reimplementation of KParts.Part.guiActivateEvent . - */ - protected native void guiActivateEvent(GUIActivateEvent event); - /** - Internal empty reimplementation of KParts.ReadOnlyPart.openFile . - @short Internal empty reimplementation of KParts.ReadOnlyPart.openFile . - */ - protected native boolean openFile(); - protected native void urlSelected(String url, int button, int state, String _target, URLArgs args); - protected native void urlSelected(String url, int button, int state, String _target); - /** - This method is called when a new embedded object (include html frames) is to be created. - Reimplement it if you want to add support for certain embeddable objects without registering - them in the KDE wide registry system (KSyCoCa) . Another reason for re-implementing this - method could be if you want to derive from KTHMLPart and also want all html frame objects - to be a object of your derived type, in which case you should return a new instance for - the mimetype 'text/html' . - @short This method is called when a new embedded object (include html frames) is to be created. - */ - protected native ReadOnlyPart createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String mimetype, StringBuffer serviceName, String[] serviceTypes, String[] params); - protected native boolean pluginPageQuestionAsked(String mimetype); - protected native void setPluginPageQuestionAsked(String mimetype); - // void setPageSecurity(TDEHTMLPart::PageSecurity arg1); >>>> NOT CONVERTED - /** - Implements the streaming API of KParts.ReadOnlyPart. - @short Implements the streaming API of KParts.ReadOnlyPart. - */ - protected native boolean doOpenStream(String mimeType); - /** - Implements the streaming API of KParts.ReadOnlyPart. - @short Implements the streaming API of KParts.ReadOnlyPart. - */ - protected native boolean doWriteStream(byte[] data); - /** - Implements the streaming API of KParts.ReadOnlyPart. - @short Implements the streaming API of KParts.ReadOnlyPart. - */ - protected native boolean doCloseStream(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java b/kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java deleted file mode 100644 index 3e19f5ef..00000000 --- a/kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQPainter; -import org.kde.qt.TQCustomEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQVariant; -import org.kde.qt.TQWidget; - -public interface TDEHTMLPartSignals { - /** - Emitted if the cursor is moved over an URL. - @short Emitted if the cursor is moved over an URL. - */ - void onURL(String url); - /** - Emitted when the user clicks the right mouse button on the document. - @short Emitted when the user clicks the right mouse button on the document. - */ - void popupMenu(String url, TQPoint point); - /** - This signal is emitted when the selection changes. - @short This signal is emitted when the selection changes. - */ - void selectionChanged(); - /** - This signal is emitted when an element retrieves the - keyboard focus. Note that the signal argument can be - a null node if no element is active, meaning a node - has explicitly been deactivated without a new one - becoming active. - @short This signal is emitted when an element retrieves the keyboard focus. - */ - void nodeActivated(Node arg1); - /** - void docCreated(); - /* - This signal is emitted whenever the caret position has been changed. - The signal transmits the position the DOM.Range way, the node and - the zero-based offset within this node. - @param node node which the caret is in. This can be null if the caret - has been deactivated. - @param offset offset within the node. If the node is null, the offset - is meaningless. - @short - */ - void caretPositionChanged(Node node, long offset); - /** - If form notification is on, this will be emitted either for a form - submit or before the form submit according to the setting. - @short If form notification is on, this will be emitted either for a form submit or before the form submit according to the setting. - */ - void formSubmitNotification(String action, String url, byte[] formData, String target, String contentType, String boundary); -} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLSettings.java b/kdejava/koala/org/kde/koala/TDEHTMLSettings.java deleted file mode 100644 index 9493e58c..00000000 --- a/kdejava/koala/org/kde/koala/TDEHTMLSettings.java +++ /dev/null @@ -1,173 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.QtSupport; - -/** - - Settings for the HTML view. - @short Settings for the HTML view. - -*/ -public class TDEHTMLSettings implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEHTMLSettings(Class dummy){} - - /** - This enum specifies whether Java/JavaScript execution is allowed. - @short This enum specifies whether Java/JavaScript execution is allowed. - */ - public static final int KJavaScriptDunno = 0; - public static final int KJavaScriptAccept = 1; - public static final int KJavaScriptReject = 2; - - public static final int KAnimationDisabled = 0; - public static final int KAnimationLoopOnce = 1; - public static final int KAnimationEnabled = 2; - - /** - This enum specifies the policy for window.open - @short This enum specifies the policy for window. - */ - public static final int KJSWindowOpenAllow = 0; - public static final int KJSWindowOpenAsk = 1; - public static final int KJSWindowOpenDeny = 2; - public static final int KJSWindowOpenSmart = 3; - - /** - This enum specifies the policy for window.status and .defaultStatus - @short This enum specifies the policy for window. - */ - public static final int KJSWindowStatusAllow = 0; - public static final int KJSWindowStatusIgnore = 1; - - /** - This enum specifies the policy for window.moveBy and .moveTo - @short This enum specifies the policy for window. - */ - public static final int KJSWindowMoveAllow = 0; - public static final int KJSWindowMoveIgnore = 1; - - /** - This enum specifies the policy for window.resizeBy and .resizeTo - @short This enum specifies the policy for window. - */ - public static final int KJSWindowResizeAllow = 0; - public static final int KJSWindowResizeIgnore = 1; - - /** - This enum specifies the policy for window.focus - @short This enum specifies the policy for window. - */ - public static final int KJSWindowFocusAllow = 0; - public static final int KJSWindowFocusIgnore = 1; - - /** - @short - */ - public TDEHTMLSettings() { - newTDEHTMLSettings(); - } - private native void newTDEHTMLSettings(); - public TDEHTMLSettings(TDEHTMLSettings other) { - newTDEHTMLSettings(other); - } - private native void newTDEHTMLSettings(TDEHTMLSettings other); - /** - Called by constructor and reparseConfiguration - @short Called by constructor and reparseConfiguration - */ - public native void init(); - /** Read settings from <code>config.</code> - @param config is a pointer to TDEConfig object. - @param reset if true, settings are always set; if false, - settings are only set if the config file has a corresponding key. - @short Read settings from <code>config.</code> - */ - public native void init(TDEConfig config, boolean reset); - public native void init(TDEConfig config); - public native boolean changeCursor(); - public native boolean underlineLink(); - public native boolean hoverLink(); - public native boolean allowTabulation(); - public native boolean autoSpellCheck(); - public native int showAnimations(); - public native String stdFontName(); - public native String fixedFontName(); - public native String serifFontName(); - public native String sansSerifFontName(); - public native String cursiveFontName(); - public native String fantasyFontName(); - public native void setStdFontName(String n); - public native void setFixedFontName(String n); - public native int minFontSize(); - public native int mediumFontSize(); - public native boolean jsErrorsEnabled(); - public native void setJSErrorsEnabled(boolean enabled); - public native String encoding(); - public native boolean followSystemColors(); - public native TQColor textColor(); - public native TQColor baseColor(); - public native TQColor linkColor(); - public native TQColor vLinkColor(); - public native boolean autoLoadImages(); - public native boolean unfinishedImageFrame(); - public native boolean isOpenMiddleClickEnabled(); - public native boolean isBackRightClickEnabled(); - public native boolean isJavaEnabled(String hostname); - public native boolean isJavaEnabled(); - public native boolean isJavaScriptEnabled(String hostname); - public native boolean isJavaScriptEnabled(); - public native boolean isJavaScriptDebugEnabled(String hostname); - public native boolean isJavaScriptDebugEnabled(); - public native boolean isJavaScriptErrorReportingEnabled(String hostname); - public native boolean isJavaScriptErrorReportingEnabled(); - public native boolean isPluginsEnabled(String hostname); - public native boolean isPluginsEnabled(); - public native boolean isAdFiltered(String url); - public native boolean isAdFilterEnabled(); - public native boolean isHideAdsEnabled(); - public native void addAdFilter(String url); - public native boolean accessKeysEnabled(); - public native int windowOpenPolicy(String hostname); - public native int windowOpenPolicy(); - public native int windowMovePolicy(String hostname); - public native int windowMovePolicy(); - public native int windowResizePolicy(String hostname); - public native int windowResizePolicy(); - public native int windowStatusPolicy(String hostname); - public native int windowStatusPolicy(); - public native int windowFocusPolicy(String hostname); - public native int windowFocusPolicy(); - /** reads from <code>config</code>'s current group, forcing initialization - if <code>reset</code> is true. - @param config is a pointer to TDEConfig object. - @param reset true if initialization is to be forced. - @param global true if the global domain is to be read. - @param pd_settings will be initialised with the computed (inherited) - settings. - @short reads from <code>config</code>'s current group, forcing initialization if <code>reset</code> is true. - */ - // void readDomainSettings(TDEConfig* arg1,bool arg2,bool arg3,KPerDomainSettings& arg4); >>>> NOT CONVERTED - public native String settingsToCSS(); - public native String userStyleSheet(); - public native boolean isFormCompletionEnabled(); - public native int maxFormCompletionItems(); - public native boolean isAutoDelayedActionsEnabled(); - public native String fallbackAccessKeysAssignments(); - public native void setJSPopupBlockerPassivePopup(boolean enabled); - public native boolean jsPopupBlockerPassivePopup(); - public static native int strToAdvice(String _str); - public static native void splitDomainAdvice(String configStr, StringBuffer domain, int javaAdvice, int javaScriptAdvice); - public static native String adviceToStr(int _advice); - public static native String availableFamilies(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLView.java b/kdejava/koala/org/kde/koala/TDEHTMLView.java deleted file mode 100644 index d89ed678..00000000 --- a/kdejava/koala/org/kde/koala/TDEHTMLView.java +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQTimerEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQScrollView; - -/** - - Renders and displays HTML in a TQScrollView. - Suitable for use as an application's main view. - See {@link TDEHTMLViewSignals} for signals emitted by TDEHTMLView - @short Renders and displays HTML in a TQScrollView. - -*/ -public class TDEHTMLView extends TQScrollView { - protected TDEHTMLView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a TDEHTMLView. - @short Constructs a TDEHTMLView. - */ - public TDEHTMLView(TDEHTMLPart part, TQWidget parent, String name) { - super((Class) null); - newTDEHTMLView(part,parent,name); - } - private native void newTDEHTMLView(TDEHTMLPart part, TQWidget parent, String name); - public TDEHTMLView(TDEHTMLPart part, TQWidget parent) { - super((Class) null); - newTDEHTMLView(part,parent); - } - private native void newTDEHTMLView(TDEHTMLPart part, TQWidget parent); - /** - Returns a pointer to the TDEHTMLPart that is - rendering the page. - @short Returns a pointer to the TDEHTMLPart that is rendering the page. - */ - public native TDEHTMLPart part(); - public native int frameWidth(); - /** - Sets a margin in x direction. - @short Sets a margin in x direction. - */ - public native void setMarginWidth(int x); - /** - Returns the margin width. - A return value of -1 means the default value will be used. - @short Returns the margin width. - */ - public native int marginWidth(); - public native void setMarginHeight(int y); - /** - Returns the margin height. - A return value of -1 means the default value will be used. - @short Returns the margin height. - */ - public native int marginHeight(); - /** - Sets verticals scrollbar mode. Reimplemented for internal reasons. - @short Sets verticals scrollbar mode. - */ - public native void setVScrollBarMode(int mode); - /** - Sets horizontal scrollbar mode. Reimplemented for internal reasons. - @short Sets horizontal scrollbar mode. - */ - public native void setHScrollBarMode(int mode); - /** - Prints the HTML document. - @short Prints the HTML document. - */ - public native void print(); - /** - Prints the HTML document. - @param quick if true, fully automated printing, without print dialog - @short Prints the HTML document. - */ - public native void print(boolean quick); - /** - ensure the display is up to date - @short ensure the display is up to date - */ - public native void updateLayout(); - /** - Display all accesskeys in small tooltips - @short Display all accesskeys in small tooltips - */ - public native void displayAccessKeys(); - protected native void clear(); - protected native void resizeEvent(TQResizeEvent event); - public native void showEvent(TQShowEvent arg1); - protected native void hideEvent(TQHideEvent arg1); - protected native boolean focusNextPrevChild(boolean next); - protected native void drawContents(TQPainter p, int clipx, int clipy, int clipw, int cliph); - protected native void drawContents(TQPainter arg1); - protected native void viewportMousePressEvent(TQMouseEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1); - protected native void viewportMouseMoveEvent(TQMouseEvent arg1); - protected native void viewportMouseReleaseEvent(TQMouseEvent arg1); - protected native void viewportResizeEvent(TQResizeEvent arg1); - protected native void viewportWheelEvent(TQWheelEvent arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - protected native void closeEvent(TQCloseEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - protected native void keyPressEvent(TQKeyEvent _ke); - protected native void keyReleaseEvent(TQKeyEvent _ke); - protected native void contentsContextMenuEvent(TQContextMenuEvent _ce); - protected native void doAutoScroll(); - protected native void timerEvent(TQTimerEvent arg1); - protected native void slotPaletteChanged(); - protected native void slotScrollBarMoved(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java b/kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java deleted file mode 100644 index 468d3760..00000000 --- a/kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQTimerEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; - -public interface TDEHTMLViewSignals { - void finishedLayout(); - void cleared(); - void zoomView(int arg1); - void hideAccessKeys(); - void repaintAccessKeys(); - void findAheadActive(boolean arg1); -} diff --git a/kdejava/koala/org/kde/koala/TDEIO.java b/kdejava/koala/org/kde/koala/TDEIO.java deleted file mode 100644 index f53a92dc..00000000 --- a/kdejava/koala/org/kde/koala/TDEIO.java +++ /dev/null @@ -1,1179 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQMimeSourceInterface; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import java.util.ArrayList; -import org.kde.qt.TQMimeSource; -import org.kde.qt.TQWidget; - -/** - - @short A namespace for TDEIO globals. - -*/ -public class TDEIO { - public static final int S_SKIP = 1; - public static final int S_AUTO_SKIP = 2; - public static final int S_CANCEL = 0; - - public static final int M_OVERWRITE = 1; - public static final int M_OVERWRITE_ITSELF = 2; - public static final int M_SKIP = 4; - public static final int M_SINGLE = 8; - public static final int M_MULTI = 16; - public static final int M_RESUME = 32; - public static final int M_NORENAME = 64; - - /** - The result of open_RenameDlg(). - @short The result of open_RenameDlg(). - */ - public static final int R_RESUME = 6; - public static final int R_RESUME_ALL = 7; - public static final int R_OVERWRITE = 4; - public static final int R_OVERWRITE_ALL = 5; - public static final int R_SKIP = 2; - public static final int R_AUTO_SKIP = 3; - public static final int R_RENAME = 1; - public static final int R_CANCEL = 0; - - /** - Commands that can be invoked by a job. - @short Commands that can be invoked by a job. - */ - public static final int CMD_HOST = '0'; - public static final int CMD_CONNECT = '1'; - public static final int CMD_DISCONNECT = '2'; - public static final int CMD_SLAVE_STATUS = '3'; - public static final int CMD_SLAVE_CONNECT = '4'; - public static final int CMD_SLAVE_HOLD = '5'; - public static final int CMD_NONE = 'A'; - public static final int CMD_TESTDIR = 'B'; - public static final int CMD_GET = 'C'; - public static final int CMD_PUT = 'D'; - public static final int CMD_STAT = 'E'; - public static final int CMD_MIMETYPE = 'F'; - public static final int CMD_LISTDIR = 'G'; - public static final int CMD_MKDIR = 'H'; - public static final int CMD_RENAME = 'I'; - public static final int CMD_COPY = 'J'; - public static final int CMD_DEL = 'K'; - public static final int CMD_CHMOD = 'L'; - public static final int CMD_SPECIAL = 'M'; - public static final int CMD_USERPASS = 'N'; - public static final int CMD_REPARSECONFIGURATION = 'O'; - public static final int CMD_META_DATA = 'P'; - public static final int CMD_SYMLINK = 'Q'; - public static final int CMD_SUBURL = 'R'; - public static final int CMD_MESSAGEBOXANSWER = 'S'; - public static final int CMD_RESUMEANSWER = 'T'; - public static final int CMD_CONFIG = 'U'; - public static final int CMD_MULTI_GET = 'V'; - - /** - Error codes that can be emitted by TDEIO. - @short Error codes that can be emitted by TDEIO. - */ - public static final int ERR_CANNOT_OPEN_FOR_READING = 1; - public static final int ERR_CANNOT_OPEN_FOR_WRITING = 2; - public static final int ERR_CANNOT_LAUNCH_PROCESS = 3; - public static final int ERR_INTERNAL = 4; - public static final int ERR_MALFORMED_URL = 5; - public static final int ERR_UNSUPPORTED_PROTOCOL = 6; - public static final int ERR_NO_SOURCE_PROTOCOL = 7; - public static final int ERR_UNSUPPORTED_ACTION = 8; - public static final int ERR_IS_DIRECTORY = 9; - public static final int ERR_IS_FILE = 10; - public static final int ERR_DOES_NOT_EXIST = 11; - public static final int ERR_FILE_ALREADY_EXIST = 12; - public static final int ERR_DIR_ALREADY_EXIST = 13; - public static final int ERR_UNKNOWN_HOST = 14; - public static final int ERR_ACCESS_DENIED = 15; - public static final int ERR_WRITE_ACCESS_DENIED = 16; - public static final int ERR_CANNOT_ENTER_DIRECTORY = 17; - public static final int ERR_PROTOCOL_IS_NOT_A_FILESYSTEM = 18; - public static final int ERR_CYCLIC_LINK = 19; - public static final int ERR_USER_CANCELED = 20; - public static final int ERR_CYCLIC_COPY = 21; - public static final int ERR_COULD_NOT_CREATE_SOCKET = 22; - public static final int ERR_COULD_NOT_CONNECT = 23; - public static final int ERR_CONNECTION_BROKEN = 24; - public static final int ERR_NOT_FILTER_PROTOCOL = 25; - public static final int ERR_COULD_NOT_MOUNT = 26; - public static final int ERR_COULD_NOT_UNMOUNT = 27; - public static final int ERR_COULD_NOT_READ = 28; - public static final int ERR_COULD_NOT_WRITE = 29; - public static final int ERR_COULD_NOT_BIND = 30; - public static final int ERR_COULD_NOT_LISTEN = 31; - public static final int ERR_COULD_NOT_ACCEPT = 32; - public static final int ERR_COULD_NOT_LOGIN = 33; - public static final int ERR_COULD_NOT_STAT = 34; - public static final int ERR_COULD_NOT_CLOSEDIR = 35; - public static final int ERR_COULD_NOT_MKDIR = 37; - public static final int ERR_COULD_NOT_RMDIR = 38; - public static final int ERR_CANNOT_RESUME = 39; - public static final int ERR_CANNOT_RENAME = 40; - public static final int ERR_CANNOT_CHMOD = 41; - public static final int ERR_CANNOT_DELETE = 42; - public static final int ERR_SLAVE_DIED = 43; - public static final int ERR_OUT_OF_MEMORY = 44; - public static final int ERR_UNKNOWN_PROXY_HOST = 45; - public static final int ERR_COULD_NOT_AUTHENTICATE = 46; - public static final int ERR_ABORTED = 47; - public static final int ERR_INTERNAL_SERVER = 48; - public static final int ERR_SERVER_TIMEOUT = 49; - public static final int ERR_SERVICE_NOT_AVAILABLE = 50; - public static final int ERR_UNKNOWN = 51; - public static final int ERR_UNKNOWN_INTERRUPT = 53; - public static final int ERR_CANNOT_DELETE_ORIGINAL = 54; - public static final int ERR_CANNOT_DELETE_PARTIAL = 55; - public static final int ERR_CANNOT_RENAME_ORIGINAL = 56; - public static final int ERR_CANNOT_RENAME_PARTIAL = 57; - public static final int ERR_NEED_PASSWD = 58; - public static final int ERR_CANNOT_SYMLINK = 59; - public static final int ERR_NO_CONTENT = 60; - public static final int ERR_DISK_FULL = 61; - public static final int ERR_IDENTICAL_FILES = 62; - public static final int ERR_SLAVE_DEFINED = 63; - public static final int ERR_UPGRADE_REQUIRED = 64; - public static final int ERR_POST_DENIED = 65; - - /** - Constants used to specify the type of a KUDSAtom. - @short Constants used to specify the type of a KUDSAtom. - */ - public static final int UDS_STRING = 1; - public static final int UDS_LONG = 2; - public static final int UDS_TIME = 4|UDS_LONG; - public static final int UDS_SIZE = 8|UDS_LONG; - public static final int UDS_SIZE_LARGE = 32768|UDS_LONG; - public static final int UDS_USER = 16|UDS_STRING; - public static final int UDS_ICON_NAME = 24|UDS_STRING; - public static final int UDS_GROUP = 32|UDS_STRING; - public static final int UDS_EXTRA = 48|UDS_STRING; - public static final int UDS_NAME = 64|UDS_STRING; - public static final int UDS_LOCAL_PATH = 72|UDS_STRING; - public static final int UDS_HIDDEN = 80|UDS_LONG; - public static final int UDS_EXTENDED_ACL = 88|UDS_LONG; - public static final int UDS_ACL_STRING = 96|UDS_STRING; - public static final int UDS_DEFAULT_ACL_STRING = 104|UDS_STRING; - public static final int UDS_ACCESS = 128|UDS_LONG; - public static final int UDS_MODIFICATION_TIME = 256|UDS_TIME; - public static final int UDS_ACCESS_TIME = 512|UDS_TIME; - public static final int UDS_CREATION_TIME = 1024|UDS_TIME; - public static final int UDS_FILE_TYPE = 2048|UDS_LONG; - public static final int UDS_LINK_DEST = 4096|UDS_STRING; - public static final int UDS_URL = 8192|UDS_STRING; - public static final int UDS_MIME_TYPE = 16384|UDS_STRING; - public static final int UDS_GUESSED_MIME_TYPE = 16392|UDS_STRING; - public static final int UDS_XML_PROPERTIES = 0x8000|UDS_STRING; - - /** - Specifies how to use the cache. - @short Specifies how to use the cache. - @see #parseCacheControl - @see #getCacheControlString - */ - public static final int CC_CacheOnly = 0; - public static final int CC_Cache = 1; - public static final int CC_Verify = 2; - public static final int CC_Refresh = 3; - public static final int CC_Reload = 4; - - public static final int SupportsChmod = 0; - public static final int SupportsChown = 1; - public static final int SupportsUTime = 2; - public static final int SupportsSymlinks = 3; - public static final int CaseInsensitive = 4; - - /** HTTP / DAV method * @short HTTP / DAV method - */ - public static final int HTTP_GET = 0; - public static final int HTTP_PUT = 1; - public static final int HTTP_POST = 2; - public static final int HTTP_HEAD = 3; - public static final int HTTP_DELETE = 4; - public static final int HTTP_OPTIONS = 5; - public static final int DAV_PROPFIND = 6; - public static final int DAV_PROPPATCH = 7; - public static final int DAV_MKCOL = 8; - public static final int DAV_COPY = 9; - public static final int DAV_MOVE = 10; - public static final int DAV_LOCK = 11; - public static final int DAV_UNLOCK = 12; - public static final int DAV_SEARCH = 13; - public static final int DAV_SUBSCRIBE = 14; - public static final int DAV_UNSUBSCRIBE = 15; - public static final int DAV_POLL = 16; - public static final int DAV_NOTIFY = 17; - public static final int HTTP_UNKNOWN = -1; - - /** - Identifiers for TDEIO informational messages. - @short Identifiers for TDEIO informational messages. - */ - public static final int INF_TOTAL_SIZE = 10; - public static final int INF_PROCESSED_SIZE = 11; - public static final int INF_SPEED = 12; - public static final int INF_REDIRECTION = 20; - public static final int INF_MIME_TYPE = 21; - public static final int INF_ERROR_PAGE = 22; - public static final int INF_WARNING = 23; - public static final int INF_GETTING_FILE = 24; - public static final int INF_NEED_PASSWD = 25; - public static final int INF_INFOMESSAGE = 26; - public static final int INF_META_DATA = 27; - public static final int INF_NETWORK_STATUS = 28; - public static final int INF_MESSAGEBOX = 29; - - /** - Identifiers for TDEIO data messages. - @short Identifiers for TDEIO data messages. - */ - public static final int MSG_DATA = 100; - public static final int MSG_DATA_REQ = 101; - public static final int MSG_ERROR = 102; - public static final int MSG_CONNECTED = 103; - public static final int MSG_FINISHED = 104; - public static final int MSG_STAT_ENTRY = 105; - public static final int MSG_LIST_ENTRIES = 106; - public static final int MSG_RENAMED = 107; - public static final int MSG_RESUME = 108; - public static final int MSG_SLAVE_STATUS = 109; - public static final int MSG_SLAVE_ACK = 110; - public static final int MSG_NET_REQUEST = 111; - public static final int MSG_NET_DROP = 112; - public static final int MSG_NEED_SUBURL_DATA = 113; - public static final int MSG_CANRESUME = 114; - public static final int MSG_AUTH_KEY = 115; - public static final int MSG_DEL_AUTH_KEY = 116; - - public static final int DEFAULT = 1; - public static final int STATUSBAR = 2; - public static final int LIST = 3; - - public static native int open_SkipDlg(boolean _multi, String _error_text); - public static native int open_SkipDlg(boolean _multi); - /** - <li><b>RenameDlg related Functions</b></li> - {@link TDEIO#RenameDlg} - Construct a modal, parent-less "rename" dialog, and return - a result code, as well as the new dest. Much easier to use than the - class RenameDlg directly. - @param caption the caption for the dialog box - @param src the URL of the file/dir we're trying to copy, as it's part of the text message - @param dest the URL of the destination file/dir, i.e. the one that already exists - @param mode parameters for the dialog (which buttons to show...), - see RenameDlg_Mode - @param newDest the new destination path, valid if R_RENAME was returned. - @param sizeSrc size of source file - @param sizeDest size of destination file - @param ctimeSrc creation time of source file - @param ctimeDest creation time of destination file - @param mtimeSrc modification time of source file - @param mtimeDest modification time of destination file - @return the result - - @short <li><b>RenameDlg related Functions</b></li> {@link TDEIO#RenameDlg} Construct a modal, parent-less "rename" dialog, and return a result code, as well as the new dest. - */ - public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest); - public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc); - public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest); - public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc, long sizeDest, int ctimeSrc); - public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc, long sizeDest); - public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc); - public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath); - public static native TQDataStream op_write(TQDataStream s, AuthInfo a); - public static native TQDataStream op_read(TQDataStream s, AuthInfo a); - /** - Converts <code>size</code> from bytes to the string representation. - @param size size in bytes - @return converted size as a string - e.g. 123.4 kB , 12.0 MB - - @short Converts <code>size</code> from bytes to the string representation. - */ - public static native String convertSize(long size); - /** - Converts <code>size</code> from bytes to a string representation with includes - the size in bytes. - e.g. 90 B, 240 B, 1.4 KB (1495 B), 2.6MB (2,734,344 B), 0 B - @param size size in bytes - @return converted size as a string - e.g. 1.4 KB (1495 B), 45 B - - @short Converts <code>size</code> from bytes to a string representation with includes the size in bytes. - */ - public static native String convertSizeWithBytes(long size); - /** - Converts a size to a string representation - Not unlike String.number(...) - @param size size in bytes - @return converted size as a string - e.g. 123456789 - - @short Converts a size to a string representation Not unlike String.number(. - */ - public static native String number(long size); - /** - Converts size from kilo-bytes to the string representation. - @param kbSize size in kilo-bytes - @return converted size as a string - e.g. 123.4 kB , 12.0 MB - - @short Converts size from kilo-bytes to the string representation. - */ - public static native String convertSizeFromKB(long kbSize); - /** - Convert <code>seconds</code> to a string representing number of days, hours, minutes and seconds - @param seconds number of seconds to convert - @return string representation in a locale depending format - - @short Convert <code>seconds</code> to a string representing number of days, hours, minutes and seconds - */ - public static native String convertSeconds(int seconds); - /** - Helper for showing information about a set of files and directories - @param items the number of items (= <code>files</code> + <code>dirs</code> + number of symlinks :) - @param files the number of files - @param dirs the number of dirs - @param size the sum of the size of the <code>files</code> - @param showSize whether to show the size in the result - @return the summary string - - @short Helper for showing information about a set of files and directories - */ - public static native String itemsSummaryString(int items, int files, int dirs, long size, boolean showSize); - /** - Encodes (from the text displayed to the real filename) - This translates % into %% and / into %2f - Used by TDEIO.link, for instance. - @param str the file name to encode - @return the encoded file name - - @short Encodes (from the text displayed to the real filename) This translates % into %% and / into %2f Used by TDEIO.link, for instance. - */ - public static native String encodeFileName(String str); - /** - Decodes (from the filename to the text displayed) - This translates %2[fF] into / and %% into % - @param str the file name to decode - @return the decoded file name - - @short Decodes (from the filename to the text displayed) This translates %2[fF] into / and %% into % - */ - public static native String decodeFileName(String str); - /** - Returns a translated error message for <code>errorCode</code> using the - additional error information provided by <code>errorText.</code> - @param errorCode the error code - @param errorText the additional error text - @return the created error string - - @short Returns a translated error message for <code>errorCode</code> using the additional error information provided by <code>errorText.</code> - */ - public static native String buildErrorString(int errorCode, String errorText); - /** - Returns translated error details for <code>errorCode</code> using the - additional error information provided by <code>errorText</code> , <code>reqUrl</code> - (the request URL), and the ioslave <code>method</code> . - @param errorCode the error code - @param errorText the additional error text - @param reqUrl the request URL - @param method the ioslave method - - <li> - String errorName - the name of the error - </li> - - <li> - String techName - if not null, the more technical name of the error - </li> - - <li> - String description - a description of the error - </li> - - <li> - ArrayList causes - a list of possible causes of the error - </li> - - <li> - ArrayList solutions - a liso of solutions for the error - - </li> @return the following data: - - @short Returns translated error details for <code>errorCode</code> using the additional error information provided by <code>errorText</code> , <code>reqUrl</code> (the request URL), and the ioslave <code>method</code> . - */ - public static native byte[] rawErrorDetail(int errorCode, String errorText, KURL reqUrl, int method); - public static native byte[] rawErrorDetail(int errorCode, String errorText, KURL reqUrl); - public static native byte[] rawErrorDetail(int errorCode, String errorText); - /** - Returns an appropriate error message if the given command <code>cmd</code> - is an unsupported action (ERR_UNSUPPORTED_ACTION). - @param protocol name of the protocol - @param cmd given command - @short Returns an appropriate error message if the given command <code>cmd</code> is an unsupported action (ERR_UNSUPPORTED_ACTION). - @see #enum - @see Command - */ - public static native String unsupportedActionErrorString(String protocol, int cmd); - /** - Parses the string representation of the cache control option. - @param cacheControl the string representation - @return the cache control value - - @short Parses the string representation of the cache control option. - @see #getCacheControlString - */ - public static native int parseCacheControl(String cacheControl); - /** - Returns a string representation of the given cache control method. - @param cacheControl the cache control method - @return the string representation - - @short Returns a string representation of the given cache control method. - @see #parseCacheControl - */ - public static native String getCacheControlString(int cacheControl); - /** - Returns the mount point where <code>device</code> is mounted - right now. This means, it has to be mounted, not just - defined in fstab. - @short Returns the mount point where <code>device</code> is mounted right now. - */ - public static native String findDeviceMountPoint(String device); - /** - Returns the mount point on which resides <code>filename.</code> - For instance if /home is a separate partition, findPathMountPoint("/home/user/blah") - will return /home - @param filename the file name to check - @return the mount point of the given <code>filename</code> - - @short Returns the mount point on which resides <code>filename.</code> - */ - public static native String findPathMountPoint(String filename); - /** - Checks if the path belongs to a filesystem that is probably - slow. It checks for NFS or for paths belonging to automounted - paths not yet mounted - @param filename the file name to check - @return true if the filesystem is probably slow - - @short Checks if the path belongs to a filesystem that is probably slow. - */ - public static native boolean probably_slow_mounted(String filename); - /** - Checks if the path belongs to a filesystem that is manually - mounted. - @param filename the file name to check - @return true if the filesystem is manually mounted - - @short Checks if the path belongs to a filesystem that is manually mounted. - */ - public static native boolean manually_mounted(String filename); - /** - Checks the capabilities of the filesystem to which a given file belongs. - given feature (e.g. chmod). - @param filename the file name to check - @param flag the flag to check - The availables flags are: - - <li> - SupportsChmod: returns true if the filesystem supports chmod - (e.g. msdos filesystems return false) - </li> - - <li> - SupportsChown: returns true if the filesystem supports chown - (e.g. msdos filesystems return false) - </li> - - <li> - SupportsUtime: returns true if the filesystems supports utime - (e.g. msdos filesystems return false) - </li> - - <li> - SupportsSymlinks: returns true if the filesystems supports symlinks - (e.g. msdos filesystems return false) - </li> - - <li> - CaseInsensitive: returns true if the filesystem treats - "foo" and "FOO" as being the same file (true for msdos systems) - </li> - @return true if the filesystem has that flag, false if not (or some error occurred) - - @short Checks the capabilities of the filesystem to which a given file belongs. - */ - public static native boolean testFileSystemFlag(String filename, int flag); - /** - Creates a PreviewJob to generate or retrieve a preview image - for the given URL. - @param items files to get previews for - @param width the maximum width to use - @param height the maximum height to use, if this is 0, the same - value as width is used. - @param iconSize the size of the mimetype icon to overlay over the - preview or zero to not overlay an icon. This has no effect if the - preview plugin that will be used doesn't use icon overlays. - @param iconAlpha transparency to use for the icon overlay - @param scale if the image is to be scaled to the requested size or - returned in its original size - @param save if the image should be cached for later use - @param enabledPlugins if non-zero, this points to a list containing - the names of the plugins that may be used. - @return the new PreviewJob - - @short Creates a PreviewJob to generate or retrieve a preview image for the given URL. - @see PreviewJob#availablePlugins - */ - public static native PreviewJob filePreview(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins); - public static native PreviewJob filePreview(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save); - public static native PreviewJob filePreview(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale); - public static native PreviewJob filePreview(ArrayList items, int width, int height, int iconSize, int iconAlpha); - public static native PreviewJob filePreview(ArrayList items, int width, int height, int iconSize); - public static native PreviewJob filePreview(ArrayList items, int width, int height); - public static native PreviewJob filePreview(ArrayList items, int width); - /** - Creates a new DavJob that issues a PROPFIND command. PROPFIND retrieves - the properties of the resource identified by the given <code>url.</code> - @param url the URL of the resource - @param properties a propfind document that describes the properties that - should be retrieved - @param depth the depth of the request. Can be "0", "1" or "infinity" - @param showProgressInfo true to show progress information - @return the new DavJob - - @short Creates a new DavJob that issues a PROPFIND command. - */ - public static native DavJob davPropFind(KURL url, TQDomDocument properties, String depth, boolean showProgressInfo); - public static native DavJob davPropFind(KURL url, TQDomDocument properties, String depth); - /** - Creates a new DavJob that issues a PROPPATCH command. PROPPATCH sets - the properties of the resource identified by the given <code>url.</code> - @param url the URL of the resource - @param properties a PROPPACTCH document that describes the properties that - should be modified and its new values - @param showProgressInfo true to show progress information - @return the new DavJob - - @short Creates a new DavJob that issues a PROPPATCH command. - */ - public static native DavJob davPropPatch(KURL url, TQDomDocument properties, boolean showProgressInfo); - public static native DavJob davPropPatch(KURL url, TQDomDocument properties); - /** - Creates a new DavJob that issues a SEARCH command. - @param url the URL of the resource - @param nsURI the URI of the search method's qualified name - @param qName the local part of the search method's qualified name - @param query the search string - @param showProgressInfo true to show progress information - @return the new DavJob - - @short Creates a new DavJob that issues a SEARCH command. - */ - public static native DavJob davSearch(KURL url, String nsURI, String qName, String query, boolean showProgressInfo); - public static native DavJob davSearch(KURL url, String nsURI, String qName, String query); - /** - Retrieves meta information for the given items. - @param items files to get metainfo for - @return the MetaInfoJob to retrieve the items - - @short Retrieves meta information for the given items. - */ - public static native MetaInfoJob fileMetaInfo(ArrayList items); - /** - Creates a single directory. - @param url The URL of the directory to create. - @param permissions The permissions to set after creating the - directory (unix-style), -1 for default permissions. - @return A pointer to the job handling the operation. - - @short Creates a single directory. - */ - public static native SimpleJob mkdir(KURL url, int permissions); - public static native SimpleJob mkdir(KURL url); - /** - Removes a single directory. - The directory is assumed to be empty. - @param url The URL of the directory to remove. - @return A pointer to the job handling the operation. - - @short Removes a single directory. - */ - public static native SimpleJob rmdir(KURL url); - /** - Changes permissions on a file or directory. - See the other chmod below for changing many files - or directories. - @param url The URL of file or directory. - @param permissions The permissions to set. - @return the job handling the operation. - - @short Changes permissions on a file or directory. - */ - public static native SimpleJob chmod(KURL url, int permissions); - /** - Rename a file or directory. - Warning: this operation fails if a direct renaming is not - possible (like with files or dirs on separate partitions) - Use move or file_move in this case. - @param src The original URL - @param dest The final URL - @param overwrite whether to automatically overwrite if the dest exists - @return the job handling the operation. - - @short Rename a file or directory. - */ - public static native SimpleJob rename(KURL src, KURL dest, boolean overwrite); - /** - Create or move a symlink. - This is the lowlevel operation, similar to file_copy and file_move. - It doesn't do any check (other than those the slave does) - and it doesn't show rename and skip dialogs - use TDEIO.link for that. - @param target The string that will become the "target" of the link (can be relative) - @param dest The symlink to create. - @param overwrite whether to automatically overwrite if the dest exists - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Create or move a symlink. - */ - public static native SimpleJob symlink(String target, KURL dest, boolean overwrite, boolean showProgressInfo); - public static native SimpleJob symlink(String target, KURL dest, boolean overwrite); - /** - Execute any command that is specific to one slave (protocol). - Examples are : HTTP POST, mount and unmount (tdeio_file) - @param url The URL isn't passed to the slave, but is used to know - which slave to send it to :-) - @param data Packed data. The meaning is completely dependent on the - slave, but usually starts with an int for the command number. - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Execute any command that is specific to one slave (protocol). - */ - public static native SimpleJob special(KURL url, byte[] data, boolean showProgressInfo); - public static native SimpleJob special(KURL url, byte[] data); - /** - Mount filesystem. - Special job for <code>tdeio_file.</code> - @param ro Mount read-only if <code>true.</code> - @param fstype File system type (e.g. "ext2", can be null). - @param dev Device (e.g. /dev/sda0). - @param point Mount point, can be <code>null.</code> - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Mount filesystem. - */ - public static native SimpleJob mount(boolean ro, String fstype, String dev, String point, boolean showProgressInfo); - public static native SimpleJob mount(boolean ro, String fstype, String dev, String point); - /** - Unmount filesystem. - Special job for <code>tdeio_file.</code> - @param point Point to unmount. - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Unmount filesystem. - */ - public static native SimpleJob unmount(String point, boolean showProgressInfo); - public static native SimpleJob unmount(String point); - /** - HTTP cache update - @param url Url to update, protocol must be "http". - @param no_cache If true, cache entry for <code>url</code> is deleted. - @param expireDate Local machine time indicating when the entry is - supposed to expire. - @return the job handling the operation. - - @short HTTP cache update - */ - public static native SimpleJob http_update_cache(KURL url, boolean no_cache, int expireDate); - /** - Find all details for one file or directory. - @param url the URL of the file - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Find all details for one file or directory. - */ - public static native StatJob stat(KURL url, boolean showProgressInfo); - public static native StatJob stat(KURL url); - /** - Find all details for one file or directory. - This version of the call includes two additional booleaneans, <code>sideIsSource</code> and <code>details.</code> - @param url the URL of the file - @param sideIsSource is true when stating a source file (we will do a get on it if - the stat works) and false when stating a destination file (target of a copy). - The reason for this parameter is that in some cases the tdeioslave might not - be able to determine a file's existence (e.g. HTTP doesn't allow it, FTP - has issues with case-sensitivity on some systems). - When the slave can't reliably determine the existence of a file, it will: - - <li> - be optimistic if sideIsSource=true, i.e. it will assume the file exists, - and if it doesn't this will appear when actually trying to download it - </li> - - <li> - be pessimistic if sideIsSource=false, i.e. it will assume the file - doesn't exist, to prevent showing "about to overwrite" errors to the user. - If you simply want to check for existence without downloading/uploading afterwards, - then you should use sideIsSource=false. - </li> - @param details selects the level of details we want. - By default this is 2 (all details wanted, including modification time, size, etc.), - setDetails(1) is used when deleting: we don't need all the information if it takes - too much time, no need to follow symlinks etc. - setDetails(0) is used for very simple probing: we'll only get the answer - "it's a file or a directory, or it doesn't exist". This is used by KRun. - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Find all details for one file or directory. - */ - public static native StatJob stat(KURL url, boolean sideIsSource, short details, boolean showProgressInfo); - public static native StatJob stat(KURL url, boolean sideIsSource, short details); - /** - Get (a.k.a. read). - The slave emits the data through data(). - @param url the URL of the file - @param reload true to reload the file, false if it can be taken from the cache - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Get (a. - */ - public static native TransferJob get(KURL url, boolean reload, boolean showProgressInfo); - public static native TransferJob get(KURL url, boolean reload); - public static native TransferJob get(KURL url); - /** - Put (a.k.a. write) - @param url Where to write data. - @param permissions May be -1. In this case no special permission mode is set. - @param overwrite If true, any existing file will be overwritten. - @param resume true to resume an operation. Warning, setting this to true means - that the data will be appended to <code>dest</code> if <code>dest</code> exists. - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Put (a. - @see #multi_get - */ - public static native TransferJob put(KURL url, int permissions, boolean overwrite, boolean resume, boolean showProgressInfo); - public static native TransferJob put(KURL url, int permissions, boolean overwrite, boolean resume); - /** - HTTP POST (for form data). - Example: - <pre> - job = TDEIO.http_post( url, postData, false ); - job.addMetaData("content-type", contentType ); - job.addMetaData("referrer", referrerURL); - </pre> - <code>postData</code> is the data that you want to send and - <code>contentType</code> is the complete HTTP header line that - specifies the content's MIME type, for example - "Content-Type: text/xml". - You MUST specify content-type! - Often <code>contentType</code> is - "Content-Type: application/x-www-form-urlencoded" and - the <code>postData</code> is then an ASCII string (without null-termination!) - with characters like space, linefeed and percent escaped like %20, - %0A and %25. - @param url Where to write the data. - @param postData Encoded data to post. - @param showProgressInfo true to display - @return the job handling the operation. - - @short HTTP POST (for form data). - */ - public static native TransferJob http_post(KURL url, byte[] postData, boolean showProgressInfo); - public static native TransferJob http_post(KURL url, byte[] postData); - /** - Get (a.k.a. read), into a single byte[]. - @param url the URL of the file - @param reload true to reload the file, false if it can be taken from the cache - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Get (a. - @see StoredTransferJob - */ - public static native StoredTransferJob storedGet(KURL url, boolean reload, boolean showProgressInfo); - public static native StoredTransferJob storedGet(KURL url, boolean reload); - public static native StoredTransferJob storedGet(KURL url); - /** - Put (a.k.a. write) data from a single byte[]. - @param arr The data to write - @param url Where to write data. - @param permissions May be -1. In this case no special permission mode is set. - @param overwrite If true, any existing file will be overwritten. - @param resume true to resume an operation. Warning, setting this to true means - that the data will be appended to <code>dest</code> if <code>dest</code> exists. - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Put (a. - @see StoredTransferJob - */ - public static native StoredTransferJob storedPut(byte[] arr, KURL url, int permissions, boolean overwrite, boolean resume, boolean showProgressInfo); - public static native StoredTransferJob storedPut(byte[] arr, KURL url, int permissions, boolean overwrite, boolean resume); - /** - Creates a new multiple get job. - @param id the id of the get operation - @param url the URL of the file - @param metaData the MetaData associated with the file - @return the job handling the operation. - - @short Creates a new multiple get job. - @see #get - */ - // TDEIO::MultiGetJob* multi_get(long arg1,const KURL& arg2,const TDEIO::MetaData& arg3); >>>> NOT CONVERTED - /** - Find mimetype for one file or directory. - @param url the URL of the file - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Find mimetype for one file or directory. - */ - public static native MimetypeJob mimetype(KURL url, boolean showProgressInfo); - public static native MimetypeJob mimetype(KURL url); - /** - Copy a single file. - Uses either SlaveBase.copy() if the slave supports that - or get() and put() otherwise. - @param src Where to get the file. - @param dest Where to put the file. - @param permissions May be -1. In this case no special permission mode is set. - @param overwrite If true, any existing file will be overwritten. - @param resume true to resume an operation. Warning, setting this to true means - that <code>src</code> will be appended to <code>dest</code> if <code>dest</code> exists. - You probably don't want that, so leave it to false :) - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Copy a single file. - */ - public static native FileCopyJob file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume, boolean showProgressInfo); - public static native FileCopyJob file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume); - public static native FileCopyJob file_copy(KURL src, KURL dest, int permissions, boolean overwrite); - public static native FileCopyJob file_copy(KURL src, KURL dest, int permissions); - public static native FileCopyJob file_copy(KURL src, KURL dest); - /** - Move a single file. - Use either SlaveBase.rename() if the slave supports that, - or copy() and del() otherwise, or eventually get() & put() & del() - @param src Where to get the file. - @param dest Where to put the file. - @param permissions May be -1. In this case no special permission mode is set. - @param overwrite If <code>true</code>, any existing file will be overwritten. - @param resume true to resume an operation. Warning, setting this to true means - that <code>src</code> will be appended to <code>dest</code> if <code>dest</code> exists. - You probably don't want that, so leave it to false :) - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Move a single file. - */ - public static native FileCopyJob file_move(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume, boolean showProgressInfo); - public static native FileCopyJob file_move(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume); - public static native FileCopyJob file_move(KURL src, KURL dest, int permissions, boolean overwrite); - public static native FileCopyJob file_move(KURL src, KURL dest, int permissions); - public static native FileCopyJob file_move(KURL src, KURL dest); - /** - Delete a single file. - @param src File to delete. - @param showProgressInfo true to show progress information - @return the job handling the operation. - - @short Delete a single file. - */ - public static native SimpleJob file_delete(KURL src, boolean showProgressInfo); - public static native SimpleJob file_delete(KURL src); - /** - List the contents of <code>url</code>, which is assumed to be a directory. - "." and ".." are returned, filter them out if you don't want them. - @param url the url of the directory - @param showProgressInfo true to show progress information - @param includeHidden true for all files, false to cull out UNIX hidden - files/dirs (whose names start with dot) - @return the job handling the operation. - - @short List the contents of <code>url</code>, which is assumed to be a directory. - */ - public static native ListJob listDir(KURL url, boolean showProgressInfo, boolean includeHidden); - public static native ListJob listDir(KURL url, boolean showProgressInfo); - public static native ListJob listDir(KURL url); - /** - The same as the previous method, but recurses subdirectories. - Directory links are not followed. - "." and ".." are returned but only for the toplevel directory. - Filter them out if you don't want them. - @param url the url of the directory - @param showProgressInfo true to show progress information - @param includeHidden true for all files, false to cull out UNIX hidden - files/dirs (whose names start with dot) - @return the job handling the operation. - - @short The same as the previous method, but recurses subdirectories. - */ - public static native ListJob listRecursive(KURL url, boolean showProgressInfo, boolean includeHidden); - public static native ListJob listRecursive(KURL url, boolean showProgressInfo); - public static native ListJob listRecursive(KURL url); - /** - Copy a file or directory <code>src</code> into the destination <code>dest</code>, - which can be a file (including the final filename) or a directory - (into which <code>src</code> will be copied). - This emulates the cp command completely. - @param src the file or directory to copy - @param dest the destination - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Copy a file or directory <code>src</code> into the destination <code>dest</code>, which can be a file (including the final filename) or a directory (into which <code>src</code> will be copied). - @see #copyAs - */ - public static native CopyJob copy(KURL src, KURL dest, boolean showProgressInfo); - public static native CopyJob copy(KURL src, KURL dest); - /** - Copy a file or directory <code>src</code> into the destination <code>dest</code>, - which is the destination name in any case, even for a directory. - As opposed to copy(), this doesn't emulate cp, but is the only - way to copy a directory, giving it a new name and getting an error - box if a directory already exists with the same name. - @param src the file or directory to copy - @param dest the destination - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Copy a file or directory <code>src</code> into the destination <code>dest</code>, which is the destination name in any case, even for a directory. - */ - public static native CopyJob copyAs(KURL src, KURL dest, boolean showProgressInfo); - public static native CopyJob copyAs(KURL src, KURL dest); - /** - Copy a list of file/dirs <code>src</code> into a destination directory <code>dest.</code> - @param src the list of files and/or directories - @param dest the destination - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Copy a list of file/dirs <code>src</code> into a destination directory <code>dest.</code> - */ - public static native CopyJob copy(ArrayList src, KURL dest, boolean showProgressInfo); - public static native CopyJob copy(ArrayList src, KURL dest); - /** - Moves a file or directory <code>src</code> to the given destination <code>dest.</code> - @param src the file or directory to copy - @param dest the destination - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Moves a file or directory <code>src</code> to the given destination <code>dest.</code> - @see #copy - @see #moveAs - */ - public static native CopyJob move(KURL src, KURL dest, boolean showProgressInfo); - public static native CopyJob move(KURL src, KURL dest); - /** - Moves a file or directory <code>src</code> to the given destination <code>dest.</code> Unlike move() - this operation will fail when the directory already exists. - @param src the file or directory to copy - @param dest the destination - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Moves a file or directory <code>src</code> to the given destination <code>dest.</code> - @see #copyAs - */ - public static native CopyJob moveAs(KURL src, KURL dest, boolean showProgressInfo); - public static native CopyJob moveAs(KURL src, KURL dest); - /** - Moves a list of files or directories <code>src</code> to the given destination <code>dest.</code> - @param src the list of files or directories to copy - @param dest the destination - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Moves a list of files or directories <code>src</code> to the given destination <code>dest.</code> - @see #copy - */ - public static native CopyJob move(ArrayList src, KURL dest, boolean showProgressInfo); - public static native CopyJob move(ArrayList src, KURL dest); - /** - Create a link. - If the protocols and hosts are the same, a Unix symlink will be created. - Otherwise, a .desktop file of Type Link and pointing to the src URL will be created. - @param src The existing file or directory, 'target' of the link. - @param destDir Destination directory where the link will be created. - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Create a link. - */ - public static native CopyJob link(KURL src, KURL destDir, boolean showProgressInfo); - public static native CopyJob link(KURL src, KURL destDir); - /** - Create several links - If the protocols and hosts are the same, a Unix symlink will be created. - Otherwise, a .desktop file of Type Link and pointing to the src URL will be created. - @param src The existing files or directories, 'targets' of the link. - @param destDir Destination directory where the links will be created. - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Create several links If the protocols and hosts are the same, a Unix symlink will be created. - @see #link - */ - public static native CopyJob link(ArrayList src, KURL destDir, boolean showProgressInfo); - public static native CopyJob link(ArrayList src, KURL destDir); - /** - Create a link. Unlike link() this operation will fail when the directory already - exists. - If the protocols and hosts are the same, a Unix symlink will be created. - Otherwise, a .desktop file of Type Link and pointing to the src URL will be created. - @param src The existing file or directory, 'target' of the link. - @param dest Destination directory where the link will be created. - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Create a link. - @see #link - @see #copyAs - */ - public static native CopyJob linkAs(KURL src, KURL dest, boolean showProgressInfo); - public static native CopyJob linkAs(KURL src, KURL dest); - /** - Trash a file or directory. - This is currently only supported for local files and directories. - Use "KURL src; src.setPath( path );" to create a URL from a path. - @param src file to delete - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Trash a file or directory. - */ - public static native CopyJob trash(KURL src, boolean showProgressInfo); - public static native CopyJob trash(KURL src); - /** - Trash a list of files or directories. - This is currently only supported for local files and directories. - @param src the files to delete - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Trash a list of files or directories. - */ - public static native CopyJob trash(ArrayList src, boolean showProgressInfo); - public static native CopyJob trash(ArrayList src); - /** - Delete a file or directory. - @param src file to delete - @param shred obsolete (TODO remove in KDE4) - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Delete a file or directory. - */ - public static native DeleteJob del(KURL src, boolean shred, boolean showProgressInfo); - public static native DeleteJob del(KURL src, boolean shred); - public static native DeleteJob del(KURL src); - /** - Deletes a list of files or directories. - @param src the files to delete - @param shred obsolete (TODO remove in KDE4) - @param showProgressInfo true to show progress information - @return the job handling the operation - - @short Deletes a list of files or directories. - */ - public static native DeleteJob del(ArrayList src, boolean shred, boolean showProgressInfo); - public static native DeleteJob del(ArrayList src, boolean shred); - public static native DeleteJob del(ArrayList src); - /** - Pastes the content of the clipboard to the given destination URL. - URLs are treated separately (performing a file copy) - from other data (which is saved into a file after asking the user - to choose a filename and the preferred data format) - @param destURL the URL to receive the data - @param move true to move the data, false to copy - @return the job that handles the operation - - @short Pastes the content of the clipboard to the given destination URL. - @see #pasteData - */ - public static native Job pasteClipboard(KURL destURL, boolean move); - public static native Job pasteClipboard(KURL destURL); - /** - Pastes the given <code>data</code> to the given destination URL. - NOTE: This method is blocking (uses NetAccess for saving the data). - Please consider using pasteDataAsync instead. - @param destURL the URL of the directory where the data will be pasted. - The filename to use in that directory is prompted by this method. - @param data the data to copy - @short Pastes the given <code>data</code> to the given destination URL. - @see #pasteClipboard - */ - public static native void pasteData(KURL destURL, byte[] data); - /** - Pastes the given <code>data</code> to the given destination URL. - Note that this method requires the caller to have chosen the byte[] - to paste before hand, unlike pasteClipboard and pasteMimeSource. - @param destURL the URL of the directory where the data will be pasted. - The filename to use in that directory is prompted by this method. - @param data the data to copy - @short Pastes the given <code>data</code> to the given destination URL. - @see #pasteClipboard - */ - public static native CopyJob pasteDataAsync(KURL destURL, byte[] data); - /** - Pastes the given <code>data</code> to the given destination URL. - Note that this method requires the caller to have chosen the byte[] - to paste before hand, unlike pasteClipboard and pasteMimeSource. - @param destURL the URL of the directory where the data will be pasted. - The filename to use in that directory is prompted by this method. - @param data the data to copy - @param dialogText the text to show in the dialog - @short Pastes the given <code>data</code> to the given destination URL. - @see #pasteClipboard - */ - public static native CopyJob pasteDataAsync(KURL destURL, byte[] data, String dialogText); - /** - Save the given mimesource <code>data</code> to the given destination URL - after offering the user to choose a data format. - This is the method used when handling drops (of anything else than URLs) - onto kdesktop and konqueror. - @param data the TQMimeSource (e.g. a TQDropEvent) - @param destURL the URL of the directory where the data will be pasted. - The filename to use in that directory is prompted by this method. - @param dialogText the text to show in the dialog - @param widget parent widget to use for dialogs - @param clipboard whether the TQMimeSource comes from TQClipboard. If you - use pasteClipboard for that case, you never have to worry about this parameter. - @short Save the given mimesource <code>data</code> to the given destination URL after offering the user to choose a data format. - @see #pasteClipboard - */ - public static native CopyJob pasteMimeSource(TQMimeSourceInterface data, KURL destURL, String dialogText, TQWidget widget, boolean clipboard); - public static native CopyJob pasteMimeSource(TQMimeSourceInterface data, KURL destURL, String dialogText, TQWidget widget); - /** - Checks whether the clipboard contains any URLs. - @return true if not - Not used anymore, wrong method name, so it will disappear in KDE4. - - @short Checks whether the clipboard contains any URLs. - */ - public static native boolean isClipboardEmpty(); - /** - Returns the text to use for the Paste action, when the application supports - pasting files, urls, and clipboard data, using pasteClipboard(). - @return a string suitable for TDEAction.setText, or an empty string if pasting - isn't possible right now. - - @short Returns the text to use for the Paste action, when the application supports pasting files, urls, and clipboard data, using pasteClipboard(). - */ - public static native String pasteActionText(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconButton.java b/kdejava/koala/org/kde/koala/TDEIconButton.java deleted file mode 100644 index a8b2697a..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconButton.java +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - A pushbutton for choosing an icon. Pressing on the button will open a - TDEIconDialog for the user to select an icon. The current icon will be - displayed on the button. - See {@link TDEIconButtonSignals} for signals emitted by TDEIconButton - @short A push button that allows selection of an icon. - @see TDEIconDialog - -*/ -public class TDEIconButton extends TQPushButton { - protected TDEIconButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a TDEIconButton using the global iconloader. - @short Constructs a TDEIconButton using the global iconloader. - */ - public TDEIconButton(TQWidget parent, String name) { - super((Class) null); - newTDEIconButton(parent,name); - } - private native void newTDEIconButton(TQWidget parent, String name); - public TDEIconButton(TQWidget parent) { - super((Class) null); - newTDEIconButton(parent); - } - private native void newTDEIconButton(TQWidget parent); - public TDEIconButton() { - super((Class) null); - newTDEIconButton(); - } - private native void newTDEIconButton(); - /** - Constructs a TDEIconButton using a specific TDEIconLoader. - @short Constructs a TDEIconButton using a specific TDEIconLoader. - */ - public TDEIconButton(TDEIconLoader loader, TQWidget parent, String name) { - super((Class) null); - newTDEIconButton(loader,parent,name); - } - private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent, String name); - public TDEIconButton(TDEIconLoader loader, TQWidget parent) { - super((Class) null); - newTDEIconButton(loader,parent); - } - private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent); - /** - Sets a strict icon size policy for allowed icons. When true, - only icons of the specified group's size in setIconType are allowed, - and only icons of that size will be shown in the icon dialog. - @short Sets a strict icon size policy for allowed icons. - */ - public native void setStrictIconSize(boolean b); - /** - Returns true if a strict icon size policy is set. - @short Returns true if a strict icon size policy is set. - */ - public native boolean strictIconSize(); - /** - Sets the icon group and context. Use TDEIcon.NoGroup if you want to - allow icons for any group in the given context. - @short Sets the icon group and context. - */ - public native void setIconType(int group, int context, boolean user); - public native void setIconType(int group, int context); - /** - Sets the button's initial icon. - @short Sets the button's initial icon. - */ - public native void setIcon(String icon); - /** - Resets the icon (reverts to an empty button). - @short Resets the icon (reverts to an empty button). - */ - public native void resetIcon(); - /** - Returns the name of the selected icon. - @short Returns the name of the selected icon. - */ - public native String iconName(); - /** - Sets the size of the icon to be shown / selected. - @short Sets the size of the icon to be shown / selected. - @see TDEIcon#StdSizes - @see #iconSize - */ - public native void setIconSize(int size); - /** - Returns the iconsize set via setIconSize() or 0, if the default - iconsize will be used. - @short Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. - */ - public native int iconSize(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconButtonSignals.java b/kdejava/koala/org/kde/koala/TDEIconButtonSignals.java deleted file mode 100644 index 73288b36..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconButtonSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDEIconButtonSignals { - /** - Emitted when the icon has changed. - @short Emitted when the icon has changed. - */ - void iconChanged(String icon); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconCanvas.java b/kdejava/koala/org/kde/koala/TDEIconCanvas.java deleted file mode 100644 index 68404a84..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconCanvas.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Icon canvas for TDEIconDialog. - See {@link TDEIconCanvasSignals} for signals emitted by TDEIconCanvas - @short Icon canvas for TDEIconDialog. - -*/ -public class TDEIconCanvas extends TDEIconView { - protected TDEIconCanvas(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEIconCanvas(TQWidget parent, String name) { - super((Class) null); - newTDEIconCanvas(parent,name); - } - private native void newTDEIconCanvas(TQWidget parent, String name); - public TDEIconCanvas(TQWidget parent) { - super((Class) null); - newTDEIconCanvas(parent); - } - private native void newTDEIconCanvas(TQWidget parent); - public TDEIconCanvas() { - super((Class) null); - newTDEIconCanvas(); - } - private native void newTDEIconCanvas(); - /** - Load icons into the canvas. - @short Load icons into the canvas. - */ - public native void loadFiles(String[] files); - /** - Returns the current icon. - @short Returns the current icon. - */ - public native String getCurrent(); - public native void stopLoading(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java b/kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java deleted file mode 100644 index e14c301b..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDEIconCanvasSignals { - /** - Emitted when the current icon has changed. - @short Emitted when the current icon has changed. - */ - void nameChanged(String arg1); - void startLoading(int arg1); - void progress(int arg1); - void finished(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconDialog.java b/kdejava/koala/org/kde/koala/TDEIconDialog.java deleted file mode 100644 index b23266dd..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconDialog.java +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Dialog for interactive selection of icons. Use the function - getIcon() let the user select an icon. - See {@link TDEIconDialogSignals} for signals emitted by TDEIconDialog - @short An icon selection dialog. - -*/ -public class TDEIconDialog extends KDialogBase { - protected TDEIconDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an icon selection dialog using the global iconloader. - @short Constructs an icon selection dialog using the global iconloader. - */ - public TDEIconDialog(TQWidget parent, String name) { - super((Class) null); - newTDEIconDialog(parent,name); - } - private native void newTDEIconDialog(TQWidget parent, String name); - public TDEIconDialog(TQWidget parent) { - super((Class) null); - newTDEIconDialog(parent); - } - private native void newTDEIconDialog(TQWidget parent); - public TDEIconDialog() { - super((Class) null); - newTDEIconDialog(); - } - private native void newTDEIconDialog(); - /** - Constructs an icon selection dialog using a specific iconloader. - @short Constructs an icon selection dialog using a specific iconloader. - */ - public TDEIconDialog(TDEIconLoader loader, TQWidget parent, String name) { - super((Class) null); - newTDEIconDialog(loader,parent,name); - } - private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent, String name); - public TDEIconDialog(TDEIconLoader loader, TQWidget parent) { - super((Class) null); - newTDEIconDialog(loader,parent); - } - private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent); - public TDEIconDialog(TDEIconLoader loader) { - super((Class) null); - newTDEIconDialog(loader); - } - private native void newTDEIconDialog(TDEIconLoader loader); - /** - Sets a strict icon size policy for allowed icons. When true, - only icons of the specified group's size in getIcon() are shown. - When false, icons not available at the desired group's size will - also be selectable. - @short Sets a strict icon size policy for allowed icons. - */ - public native void setStrictIconSize(boolean b); - /** - Returns true if a strict icon size policy is set. - @short Returns true if a strict icon size policy is set. - */ - public native boolean strictIconSize(); - /** - sets a custom icon directory - @short sets a custom icon directory - */ - public native void setCustomLocation(String location); - /** - Sets the size of the icons to be shown / selected. - @short Sets the size of the icons to be shown / selected. - @see TDEIcon#StdSizes - @see #iconSize - */ - public native void setIconSize(int size); - /** - Returns the iconsize set via setIconSize() or 0, if the default - iconsize will be used. - @short Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. - */ - public native int iconSize(); - /** - Allows you to set the same parameters as in the class method - getIcon(). - @short Allows you to set the same parameters as in the class method getIcon(). - */ - public native void setup(int group, int context, boolean strictIconSize, int iconSize, boolean user); - public native void setup(int group, int context, boolean strictIconSize, int iconSize); - public native void setup(int group, int context, boolean strictIconSize); - public native void setup(int group, int context); - public native void setup(int group); - /** - Allows you to set the same parameters as in the class method - getIcon(), as well as two additional parameters to lock - the choice between system and user dirs and to lock the custom user - dir itself. - @short Allows you to set the same parameters as in the class method getIcon(), as well as two additional parameters to lock the choice between system and user dirs and to lock the custom user dir itself. - */ - public native void setup(int group, int context, boolean strictIconSize, int iconSize, boolean user, boolean lockUser, boolean lockCustomDir); - /** - exec()utes this modal dialog and returns the name of the selected icon, - or null if the dialog was aborted. - @return the name of the icon, suitable for loading with TDEIconLoader. - - @short exec()utes this modal dialog and returns the name of the selected icon, or String.null if the dialog was aborted. - @see #getIcon - */ - public native String openDialog(); - /** - show()es this dialog and emits a newIcon(String) signal when - successful. null will be emitted if the dialog was aborted. - @short show()es this dialog and emits a newIcon(String) signal when successful. - */ - public native void showDialog(); - /** - Pops up the dialog an lets the user select an icon. - @param group The icon group this icon is intended for. Providing the - group shows the icons in the dialog with the same appearance as when - used outside the dialog. - @param context The initial icon context. Initially, the icons having - this context are shown in the dialog. The user can change this. - @param strictIconSize When true, only icons of the specified group's size - are shown, otherwise icon not available in the desired group's size - will also be selectable. - @param iconSize the size of the icons -- the default of the icongroup - if set to 0 - @param user Begin with the "user icons" instead of "system icons". - @param parent The parent widget of the dialog. - @param caption The caption to use for the dialog. - @return The name of the icon, suitable for loading with TDEIconLoader. - - @version New in 3.0 - - @short Pops up the dialog an lets the user select an icon. - */ - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent, String caption); - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent); - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user); - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize); - public static native String getIcon(int group, int context, boolean strictIconSize); - public static native String getIcon(int group, int context); - public static native String getIcon(int group); - public static native String getIcon(); - protected native void slotOk(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconDialogSignals.java b/kdejava/koala/org/kde/koala/TDEIconDialogSignals.java deleted file mode 100644 index 0a42e920..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconDialogSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDEIconDialogSignals { - void newIconName(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconEffect.java b/kdejava/koala/org/kde/koala/TDEIconEffect.java deleted file mode 100644 index 689f1e76..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconEffect.java +++ /dev/null @@ -1,236 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQImage; -import org.kde.qt.TQWidget; - -/** - - Applies effects to icons. - This class applies effects to icons depending on their state and - group. For example, it can be used to make all disabled icons - in a toolbar gray. - @short Applies effects to icons. - @see TDEIcon - -*/ -public class TDEIconEffect implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEIconEffect(Class dummy){} - - /** - This is the enumeration of all possible icon effects. - Note that 'LastEffect' is no valid icon effect but only - used internally to check for invalid icon effects. - - <li> - NoEffect: Don't apply any icon effect - </li> - - <li> - ToGray: Tints the icon gray - </li> - - <li> - Colorize: Tints the icon with an other color - </li> - - <li> - ToGamma: Change the gamma value of the icon - </li> - - <li> - DeSaturate: Reduce the saturation of the icon - </li> - - <li> - ToMonochrome: Produces a monochrome icon - - </li> @short This is the enumeration of all possible icon effects. - */ - public static final int NoEffect = 0; - public static final int ToGray = 1; - public static final int Colorize = 2; - public static final int ToGamma = 3; - public static final int DeSaturate = 4; - public static final int ToMonochrome = 5; - public static final int LastEffect = 6; - - /** - Create a new TDEIconEffect. - @short Create a new TDEIconEffect. - */ - public TDEIconEffect() { - newTDEIconEffect(); - } - private native void newTDEIconEffect(); - /** - Rereads configuration. - @short Rereads configuration. - */ - public native void init(); - /** - Tests whether an effect has been configured for the given icon group. - @param group the group to check, see TDEIcon.Group - @param state the state to check, see TDEIcon.States - @return true if an effect is configured for the given <code>group</code> - in <code>state</code>, otherwise false. - - @short Tests whether an effect has been configured for the given icon group. - @see TDEIcon#Group - @see TDEIcon#States - */ - public native boolean hasEffect(int group, int state); - /** - Returns a fingerprint for the effect by encoding - the given <code>group</code> and <code>state</code> into a String. This - is useful for caching. - @param group the group, see TDEIcon.Group - @param state the state, see TDEIcon.States - @return the fingerprint of the given <code>group</code>+<code>state</code> - - @short Returns a fingerprint for the effect by encoding the given <code>group</code> and <code>state</code> into a String. - */ - public native String fingerprint(int group, int state); - /** - Applies an effect to an image. The effect to apply depends on the - <code>group</code> and <code>state</code> parameters, and is configured by the user. - @param src The image. - @param group The group for the icon, see TDEIcon.Group - @param state The icon's state, see TDEIcon.States - @return An image with the effect applied. - - @short Applies an effect to an image. - */ - public native TQImage apply(TQImage src, int group, int state); - /** - Applies an effect to an image. - @param src The image. - @param effect The effect to apply, one of TDEIconEffect.Effects. - @param value Strength of the effect. 0 <= <code>value</code> <= 1. - @param rgb Color parameter for effects that need one. - @param trans Add Transparency if trans = true. - @return An image with the effect applied. - - @short Applies an effect to an image. - */ - public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, boolean trans); - /** - @short - */ - public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); - /** - Applies an effect to a pixmap. - @param src The pixmap. - @param group The group for the icon, see TDEIcon.Group - @param state The icon's state, see TDEIcon.States - @return A pixmap with the effect applied. - - @short Applies an effect to a pixmap. - */ - public native TQPixmap apply(TQPixmap src, int group, int state); - /** - Applies an effect to a pixmap. - @param src The pixmap. - @param effect The effect to apply, one of TDEIconEffect.Effects. - @param value Strength of the effect. 0 <= <code>value</code> <= 1. - @param rgb Color parameter for effects that need one. - @param trans Add Transparency if trans = true. - @return A pixmap with the effect applied. - - @short Applies an effect to a pixmap. - */ - public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, boolean trans); - /** - @short - */ - public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); - /** - Returns an image twice as large, consisting of 2x2 pixels. - @param src the image. - @return the scaled image. - - @short Returns an image twice as large, consisting of 2x2 pixels. - */ - public native TQImage doublePixels(TQImage src); - /** - Provides visual feedback to show activation of an icon on a widget. - Not strictly an 'icon effect', but in practice that's what it looks - like. - This method does nothing if the global 'Visual feedback on activation' - option is not activated (See kcontrol/Peripherals/Mouse). - @param widget The widget on which the effect should be painted - @param rect This rectangle defines the effect's borders - @short Provides visual feedback to show activation of an icon on a widget. - */ - public static native void visualActivate(TQWidget widget, TQRect rect); - /** - Tints an image gray. - @param image The image - @param value Strength of the effect. 0 <= <code>value</code> <= 1 - @short Tints an image gray. - */ - public static native void toGray(TQImage image, float value); - /** - Colorizes an image with a specific color. - @param image The image - @param col The color with which the <code>image</code> is tinted - @param value Strength of the effect. 0 <= <code>value</code> <= 1 - @short Colorizes an image with a specific color. - */ - public static native void colorize(TQImage image, TQColor col, float value); - /** - Produces a monochrome icon with a given foreground and background color - @param image The image - @param white The color with which the white parts of <code>image</code> are painted - @param black The color with which the black parts of <code>image</code> are painted - @param value Strength of the effect. 0 <= <code>value</code> <= 1 - @short Produces a monochrome icon with a given foreground and background color - */ - public static native void toMonochrome(TQImage image, TQColor black, TQColor white, float value); - /** - Desaturates an image. - @param image The image - @param value Strength of the effect. 0 <= <code>value</code> <= 1 - @short Desaturates an image. - */ - public static native void deSaturate(TQImage image, float value); - /** - Changes the gamma value of an image. - @param image The image - @param value Strength of the effect. 0 <= <code>value</code> <= 1 - @short Changes the gamma value of an image. - */ - public static native void toGamma(TQImage image, float value); - /** - Renders an image semi-transparent. - @param image The image - @short Renders an image semi-transparent. - */ - public static native void semiTransparent(TQImage image); - /** - Renders a pixmap semi-transparent. - @param pixmap The pixmap - @short Renders a pixmap semi-transparent. - */ - public static native void semiTransparent(TQPixmap pixmap); - /** - Overlays an image with an other image. - @param src The image - @param overlay The image to overlay <code>src</code> with - @short Overlays an image with an other image. - */ - public static native void overlay(TQImage src, TQImage overlay); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconLoader.java b/kdejava/koala/org/kde/koala/TDEIconLoader.java deleted file mode 100644 index 5ace9688..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconLoader.java +++ /dev/null @@ -1,348 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMovie; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; -import org.kde.qt.TQIconSet; - -/** - - Iconloader for KDE. - TDEIconLoader will load the current icon theme and all its base themes. - Icons will be searched in any of these themes. Additionally, it caches - icons and applies effects according the the user's preferences. - In KDE, it is encouraged to load icons by "Group". An icon group is a - location on the screen where icons are being used. Standard groups are: - Desktop, Toolbar, MainToolbar, Small and Panel. Each group has some - centrally configured properties bound to it, including the icon size - and effects. This makes it possible to offer a consistent icon look in - all KDE applications. - The standard groups are defined below. - - <li> - TDEIcon.Desktop: Icons in the iconview of konqueror, kdesktop and similar apps. - </li> - - <li> - TDEIcon.Toolbar: Icons in toolbars. - </li> - - <li> - TDEIcon.MainToolbar: Icons in the main toolbars. - </li> - - <li> - TDEIcon.Small: Various small (typical 16x16) places: titlebars, listviews - and menu entries. - </li> - - <li> - TDEIcon.Panel: Icons in kicker's panel - </li> - The icons are stored on disk in an icon theme or in a standalone - directory. The icon theme directories contain multiple sizes and/or - depths for the same icon. The iconloader will load the correct one based - on the icon group and the current theme. Icon themes are stored globally - in share/icons, or, application specific in share/apps/$appdir/icons. - The standalone directories contain just one version of an icon. The - directories that are searched are: $appdir/pics and $appdir/toolbar. - Icons in these directories can be loaded by using the special group - "User". - @short Iconloader for KDE. - -*/ -public class TDEIconLoader implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEIconLoader(Class dummy){} - - /** - Constructs an iconloader. - @param appname Add the data directories of this application to the - icon search path for the "User" group. The default argument adds the - directories of the current application. - @param dirs the TDEStandardDirs object to use. If null the global one is used - Usually, you use the default iconloader, which can be accessed via - TDEGlobal.iconLoader(), so you hardly ever have to create an - iconloader object yourself. That one is the current TDEInstance's - (typically TDEApplication's) iconloader. - @short Constructs an iconloader. - @see TDEGlobal#iconLoader - @see TDEInstance#iconLoader - */ - public TDEIconLoader(String appname, TDEStandardDirs dirs) { - newTDEIconLoader(appname,dirs); - } - private native void newTDEIconLoader(String appname, TDEStandardDirs dirs); - public TDEIconLoader(String appname) { - newTDEIconLoader(appname); - } - private native void newTDEIconLoader(String appname); - public TDEIconLoader() { - newTDEIconLoader(); - } - private native void newTDEIconLoader(); - /** - Adds <code>appname</code> to the list of application specific directories. - @param appname The application name. - @short Adds <code>appname</code> to the list of application specific directories. - */ - public native void addAppDir(String appname); - /** - Loads an icon. It will try very hard to find an icon which is - suitable. If no exact match is found, a close match is searched. - If neither an exact nor a close match is found, a null pixmap or - the "unknown" pixmap is returned, depending on the value of the - <code>canReturnNull</code> parameter. - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by <code>group.</code> - See TDEIcon.StdSizes. - @param state The icon state: <code>DefaultState</code>, <code>ActiveState</code> or - <code>DisabledState.</code> Depending on the user's preferences, the iconloader - may apply a visual effect to hint about its state. - @param path_store If not null, the path of the icon is stored here. - @param canReturnNull Can return a null pixmap? If false, the - "unknown" pixmap is returned when no appropriate icon has been found. - @return the TQPixmap. Can be null when not found, depending on - <code>canReturnNull.</code> - - @short Loads an icon. - */ - public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store, boolean canReturnNull); - public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store); - public native TQPixmap loadIcon(String name, int group, int size, int state); - public native TQPixmap loadIcon(String name, int group, int size); - public native TQPixmap loadIcon(String name, int group); - /** - Creates an icon set, that will do on-demand loading of the icon. - Loading itself is done by calling loadIcon . - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by <code>group.</code> - See TDEIcon.StdSizes. - @param canReturnNull Can return a null iconset? If false, iconset - containing the "unknown" pixmap is returned when no appropriate icon has - been found. - @param immediateExistenceCheck If true on-demand icon loading will be - disabled for canReturnNull and a null iconset may be returned immediately - @return the icon set. Can be null when not found, depending on - <code>canReturnNull.</code> - - @short Creates an icon set, that will do on-demand loading of the icon. - */ - public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull, boolean immediateExistenceCheck); - /** - Creates an icon set, that will do on-demand loading of the icon. - Loading itself is done by calling loadIcon . - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by <code>group.</code> - See TDEIcon.StdSizes. - @param canReturnNull Can return a null iconset? If false, iconset - containing the "unknown" pixmap is returned when no appropriate icon has - been found. - @return the icon set. Can be null when not found, depending on - <code>canReturnNull.</code> - - @short Creates an icon set, that will do on-demand loading of the icon. - */ - public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull); - /** - Creates an icon set, that will do on-demand loading of the icon. - Loading itself is done by calling loadIcon . - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by <code>group.</code> - See TDEIcon.StdSizes. - @return the icon set. Can be null when not found - - @short Creates an icon set, that will do on-demand loading of the icon. - */ - public native TQIconSet loadIconSet(String name, int group, int size); - public native TQIconSet loadIconSet(String name, int group); - /** - Returns the path of an icon. - @param name The name of the icon, without extension. If an absolute - path is supplied for this parameter, iconPath will return it - directly. - @param group_or_size If positive, search icons whose size is - specified by the icon group <code>group_or_size.</code> If negative, search - icons whose size is - <code>group_or_size.</code> - See TDEIcon.Group and TDEIcon.StdSizes - @param canReturnNull Can return a null string? If not, a path to the - "unknown" icon will be returned. - @return the path of an icon, can be null or the "unknown" icon when - not found, depending on <code>canReturnNull.</code> - - @short Returns the path of an icon. - */ - public native String iconPath(String name, int group_or_size, boolean canReturnNull); - public native String iconPath(String name, int group_or_size); - /** - Loads an animated icon. - @param name The name of the icon. - @param group The icon group. See loadIcon(). - @param size Override the default size for <code>group.</code> - See TDEIcon.StdSizes. - @return A TQMovie object. Can be null if not found. - - @short Loads an animated icon. - */ - public native TQMovie loadMovie(String name, int group, int size); - public native TQMovie loadMovie(String name, int group); - /** - Returns the path to an animated icon. - @param name The name of the icon. - @param group The icon group. See loadIcon(). - @param size Override the default size for <code>group.</code> - See TDEIcon.StdSizes. - @return the full path to the movie, ready to be passed to TQMovie's constructor. - Empty string if not found. - - @short Returns the path to an animated icon. - */ - public native String moviePath(String name, int group, int size); - public native String moviePath(String name, int group); - /** - Loads an animated icon as a series of still frames. If you want to load - a .mng animation as TQMovie instead, please use loadMovie() instead. - @param name The name of the icon. - @param group The icon group. See loadIcon(). - @param size Override the default size for <code>group.</code> - See TDEIcon.StdSizes. - @return An ArrayList containing the absolute path of all the frames - making up the animation. - - @short Loads an animated icon as a series of still frames. - */ - public native ArrayList loadAnimated(String name, int group, int size); - public native ArrayList loadAnimated(String name, int group); - /** - Queries all available icons for a specific group, having a specific - context. - @param group_or_size If positive, search icons whose size is - specified by the icon group <code>group_or_size.</code> If negative, search - icons whose size is - <code>group_or_size.</code> - See TDEIcon.Group and TDEIcon.StdSizes - @param context The icon context. - @return a list of all icons - - @short Queries all available icons for a specific group, having a specific context. - */ - public native ArrayList queryIcons(int group_or_size, int context); - public native ArrayList queryIcons(int group_or_size); - /** - Queries all available icons for a specific context. - @param group_or_size The icon preferred group or size. If available - at this group or size, those icons will be returned, in other case, - icons of undefined size will be returned. Positive numbers are groups, - negative numbers are negated sizes. See TDEIcon.Group and - TDEIcon.StdSizes - @param context The icon context. - @return An ArrayList containing the icon names - available for that context - - @short Queries all available icons for a specific context. - */ - public native ArrayList queryIconsByContext(int group_or_size, int context); - public native ArrayList queryIconsByContext(int group_or_size); - /** - Returns a list of all icons (.png or .xpm extension) in the - given directory. - @param iconsDir the directory to search in - @return An ArrayList containing the icon paths - - @short Returns a list of all icons ( . - */ - public native ArrayList queryIconsByDir(String iconsDir); - /** - Returns the current size of the group. - @param group the group to check. - @return the current size for an icon group. - - @short Returns the current size of the group. - */ - public native int currentSize(int group); - /** - Returns a pointer to the current theme. Can be used to query - available and default sizes for groups. - @return a pointer to the current theme. 0 if no theme set. - - @short Returns a pointer to the current theme. - */ - // TDEIconTheme* theme(); >>>> NOT CONVERTED - /** - Returns a pointer to the TDEIconEffect object used by the icon loader. - @return the TDEIconEffect. - - @short Returns a pointer to the TDEIconEffect object used by the icon loader. - */ - public native TDEIconEffect iconEffect(); - /** - Called by TDEInstance.newIconLoader to reconfigure the icon loader. - @param _appname the new application name - @param _dirs the new standard directories. If 0, the directories - from TDEGlobal will be taken. - @short Called by TDEInstance.newIconLoader to reconfigure the icon loader. - */ - public native void reconfigure(String _appname, TDEStandardDirs _dirs); - /** - Adds all the default themes from other desktops at the end of - the list of icon themes. - @short Adds all the default themes from other desktops at the end of the list of icon themes. - */ - public native void addExtraDesktopThemes(); - /** - Returns if the default icon themes of other desktops have been added - to the list of icon themes where icons are searched. - @short Returns if the default icon themes of other desktops have been added to the list of icon themes where icons are searched. - */ - public native boolean extraDesktopThemesAdded(); - /** - Enables on-demand icon loading for TQIconSets using TQIconFactory. - Icons loaded via loadIconSet() will be loaded as soon as they - need to be displayed, not earlier. - Note that enabling or disabling this only affects loadIconSet() - calls after this setting is changed. - The default is disabled, as the iconloader object must not be - destroyed before all those iconsets are destroyed. - (Some broken applications use temporary TDEIconLoader objects). - Every TDEInstance 's iconloader has this feature enabled. - @param enable true to enable delayed icon loading, false to disable - @short Enables on-demand icon loading for TQIconSets using TQIconFactory. - @see #isDelayedIconSetLoadingEnabled - @see org.kde.qt.TQIconFactory - */ - public native void enableDelayedIconSetLoading(boolean enable); - /** - Checks whether delayed loading for TQIconSet is enabled. - @return whether icons for TQIconSets will be loaded on demand. - - @short Checks whether delayed loading for TQIconSet is enabled. - @see #enableDelayedIconSetLoading - @see org.kde.qt.TQIconFactory - */ - public native boolean isDelayedIconSetLoadingEnabled(); - /** - Returns the unknown icon. An icon that is used when no other icon - can be found. - @return the unknown pixmap - - @short Returns the unknown icon. - */ - public static native TQPixmap unknown(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconView.java b/kdejava/koala/org/kde/koala/TDEIconView.java deleted file mode 100644 index 6a1cf163..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconView.java +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQIconViewItem; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQIconView; - -/** - - This Widget extends the functionality of TQIconView to honor the system - wide settings for Single Click/Double Click mode, Auto Selection and - Change Cursor over Link. - There is a new signal executed(). It gets connected to either - TQIconView.clicked() or TQIconView.doubleClicked() depending on the KDE - wide Single Click/Double Click settings. It is strongly recommended that - you use this signal instead of the above mentioned. This way you don't - need to care about the current settings. - If you want to get informed when the user selects something connect to the - TQIconView.selectionChanged() signal. - See {@link TDEIconViewSignals} for signals emitted by TDEIconView - @short A variant of TQIconView that honors KDE's system-wide settings. - -*/ -public class TDEIconView extends TQIconView { - protected TDEIconView(Class dummy){super((Class) null);} - /** - TDEIconView has two different operating modes. Execute mode is depending - on the configuration of single-click or double-click where the signal - executed() will be emitted upon click/double-click. - In Select mode, this signal will not be emitted. - Default is Execute mode. - @short TDEIconView has two different operating modes. - */ - public static final int Execute = 0; - public static final int Select = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TDEIconView(TQWidget parent, String name, int f) { - super((Class) null); - newTDEIconView(parent,name,f); - } - private native void newTDEIconView(TQWidget parent, String name, int f); - public TDEIconView(TQWidget parent, String name) { - super((Class) null); - newTDEIconView(parent,name); - } - private native void newTDEIconView(TQWidget parent, String name); - public TDEIconView(TQWidget parent) { - super((Class) null); - newTDEIconView(parent); - } - private native void newTDEIconView(TQWidget parent); - public TDEIconView() { - super((Class) null); - newTDEIconView(); - } - private native void newTDEIconView(); - /** - Sets the mode to Execute or Select. - - <li> - In Execute mode, the signal executed() - will be emitted when the user clicks/double-clicks an item. - </li> - - <li> - Select mode is - the normal TQIconView mode. - </li> - Default is Execute. - @short Sets the mode to Execute or Select. - */ - public native void setMode(int m); - /** - @return the current Mode, either Execute or Select. - - @short - */ - public native int mode(); - /** - Reimplemented for internal purposes - @short Reimplemented for internal purposes - */ - public native void setFont(TQFont arg1); - /** - Set the maximum number of lines that will be used to display icon text. - Setting this value will enable word-wrap, too. - @param n Number of lines - @short Set the maximum number of lines that will be used to display icon text. - */ - public native void setIconTextHeight(int n); - /** - @return The height of icon text in lines - - @short - */ - public native int iconTextHeight(); - /** - Reimplemented for held() signal behavior internal purposes - @short Reimplemented for held() signal behavior internal purposes - */ - public native void takeItem(TQIconViewItem item); - protected native void emitExecute(TQIconViewItem item, TQPoint pos); - protected native void updateDragHoldItem(TQDropEvent e); - protected native void focusOutEvent(TQFocusEvent fe); - protected native void leaveEvent(TQEvent e); - protected native void contentsMousePressEvent(TQMouseEvent e); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); - protected native void contentsMouseReleaseEvent(TQMouseEvent e); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDropEvent(TQDropEvent e); - protected native void wheelEvent(TQWheelEvent e); - /** - This method allows to handle correctly cases where a subclass - needs the held() signal to not be triggered without calling - a TDEIconView.contentsDragEvent() method (which have side effects - because they forward to TQIconView). - @short This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a TDEIconView.contentsDrag Event() method (which have side effects because they forward to TQIconView). - */ - protected native void cancelPendingHeldSignal(); - protected native void slotOnItem(TQIconViewItem item); - protected native void slotOnViewport(); - protected native void slotSettingsChanged(int arg1); - /** - Auto selection happend. - @short Auto selection happend. - */ - protected native void slotAutoSelect(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconViewItem.java b/kdejava/koala/org/kde/koala/TDEIconViewItem.java deleted file mode 100644 index f9331e73..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconViewItem.java +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQIconViewItem; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQIconView; -import org.kde.qt.TQPicture; -import org.kde.qt.TQColorGroup; -import org.kde.qt.TQIconViewItem; - -/** - - TDEIconViewItem exists to improve the word-wrap functionality of TQIconViewItem - Use TDEIconViewItem instead of TQIconViewItem for any iconview item you might have :) - @author David Faure <david@mandrakesoft.com> - - @short A variant of TQIconViewItem that wraps words better. - -*/ -public class TDEIconViewItem extends TQIconViewItem { - protected TDEIconViewItem(Class dummy){super((Class) null);} - public TDEIconViewItem(TQIconView parent) { - super((Class) null); - newTDEIconViewItem(parent); - } - private native void newTDEIconViewItem(TQIconView parent); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after) { - super((Class) null); - newTDEIconViewItem(parent,after); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after); - public TDEIconViewItem(TQIconView parent, String text) { - super((Class) null); - newTDEIconViewItem(parent,text); - } - private native void newTDEIconViewItem(TQIconView parent, String text); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text) { - super((Class) null); - newTDEIconViewItem(parent,after,text); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text); - public TDEIconViewItem(TQIconView parent, String text, TQPixmap icon) { - super((Class) null); - newTDEIconViewItem(parent,text,icon); - } - private native void newTDEIconViewItem(TQIconView parent, String text, TQPixmap icon); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { - super((Class) null); - newTDEIconViewItem(parent,after,text,icon); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); - public TDEIconViewItem(TQIconView parent, String text, TQPicture picture) { - super((Class) null); - newTDEIconViewItem(parent,text,picture); - } - private native void newTDEIconViewItem(TQIconView parent, String text, TQPicture picture); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { - super((Class) null); - newTDEIconViewItem(parent,after,text,picture); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); - /** - Using this function, you can specify a custom size for the pixmap. The - geometry of the item will be calculated to let a pixmap of the given size - fit in the iconView without needing an update. - This may be useful if you want to change the pixmap later without breaking - the layout. A possible use of this function is to replace a fileItem icon - by a larger pixmap (preview). - @param size The size to use - @short Using this function, you can specify a custom size for the pixmap. - */ - public native void setPixmapSize(TQSize size); - /** - @return The size set by setPixmapSize() or TQSize( 0, 0 ) - - @short - */ - public native TQSize pixmapSize(); - protected native void init(); - protected native void calcRect(String text_); - protected native void calcRect(); - protected native void paintItem(TQPainter p, TQColorGroup c); - protected native KWordWrap wordWrap(); - protected native void paintPixmap(TQPainter p, TQColorGroup c); - protected native void paintText(TQPainter p, TQColorGroup c); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconViewSignals.java b/kdejava/koala/org/kde/koala/TDEIconViewSignals.java deleted file mode 100644 index 8d76c5bc..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconViewSignals.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQIconViewItem; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface TDEIconViewSignals { - /** - This signal is emitted whenever the user executes an iconview item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed iconview item. - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user executes an iconview item. - */ - void executed(TQIconViewItem item); - /** - This signal is emitted whenever the user executes an iconview item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed iconview item. - @param pos is the position where the user has clicked - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user executes an iconview item. - */ - void executed(TQIconViewItem item, TQPoint pos); - /** - This signal is emitted whenever the user hold something on an iconview - during a drag'n'drop. - @param item is the pointer to the iconview item the hold event occur. - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user hold something on an iconview during a drag'n'drop. - */ - void held(TQIconViewItem item); - /** - This signal gets emitted whenever the user double clicks into the - iconview. - @param item is the pointer to the clicked iconview item. - @param pos is the position where the user has clicked, and - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - This signal is more or less here for the sake of completeness. - You should normally not need to use this. In most cases it's better - to use executed() instead. - @short This signal gets emitted whenever the user double clicks into the iconview. - */ - void doubleClicked(TQIconViewItem item, TQPoint pos); -} diff --git a/kdejava/koala/org/kde/koala/TDEInstance.java b/kdejava/koala/org/kde/koala/TDEInstance.java deleted file mode 100644 index 7a7c4563..00000000 --- a/kdejava/koala/org/kde/koala/TDEInstance.java +++ /dev/null @@ -1,121 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Access to KDE global objects for use in shared libraries. In - practical terms, this class is used in KDE components. This allows - components to store things that normally would be accessed by - TDEGlobal. - @author Torben Weis - - @short Access to KDE global objects for use in shared libraries. - -*/ -public class TDEInstance implements QtSupport, TDEInstanceInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEInstance(Class dummy){} - - /** - Constructor. - @param instanceName the name of the instance - @short Constructor. - */ - public TDEInstance(String instanceName) { - newTDEInstance(instanceName); - } - private native void newTDEInstance(String instanceName); - /** - Constructor. - When building a TDEInstance that is not your TDEApplication, - make sure that the TDEAboutData and the TDEInstance have the same life time. - You have to destroy both, since the instance doesn't own the about data. - Don't build a TDEAboutData on the stack in this case ! - Building a TDEAboutData on the stack is only ok for usage with - TDECmdLineArgs and TDEApplication (not destroyed until the app exits). - @param aboutData data about this instance (see TDEAboutData) - @short Constructor. - */ - public TDEInstance(TDEAboutData aboutData) { - newTDEInstance(aboutData); - } - private native void newTDEInstance(TDEAboutData aboutData); - public TDEInstance(TDEInstanceInterface src) { - newTDEInstance(src); - } - private native void newTDEInstance(TDEInstanceInterface src); - /** - Returns the application standard dirs object. - @return The TDEStandardDirs of the application. - - @short Returns the application standard dirs object. - */ - public native TDEStandardDirs dirs(); - /** - Returns the general config object ("appnamerc"). - @return the TDEConfig object for the instance. - - @short Returns the general config object ("appnamerc"). - */ - public native TDEConfig config(); - /** - Returns the general config object ("appnamerc"). - @return the TDEConfig object for the instance. - - @short Returns the general config object ("appnamerc"). - */ - public native TDESharedConfig sharedConfig(); - /** - Returns an iconloader object. - @return the iconloader object. - - @short Returns an iconloader object. - */ - public native TDEIconLoader iconLoader(); - /** - Re-allocate the global iconloader. - @short Re-allocate the global iconloader. - */ - public native void newIconLoader(); - /** - Returns the about data of this instance - Warning, can be null - @return the about data of the instance, or 0 if it has - not been set yet - - @short Returns the about data of this instance Warning, can be 0L - */ - public native TDEAboutData aboutData(); - /** - Returns the name of the instance - @return the instance name, can be null if the TDEInstance has been - created with a null name - - @short Returns the name of the instance - */ - public native String instanceName(); - /** - Returns the KMimeSourceFactory of the instance. - Mainly added for API completeness and future extensibility. - @return the KMimeSourceFactory set as default for this application. - - @short Returns the KMimeSourceFactory of the instance. - */ - public native KMimeSourceFactory mimeSourceFactory(); - /** - Set name of default config file. - @param name the name of the default config file - @short Set name of default config file. - */ - protected native void setConfigName(String name); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEInstanceInterface.java b/kdejava/koala/org/kde/koala/TDEInstanceInterface.java deleted file mode 100644 index d6a90d41..00000000 --- a/kdejava/koala/org/kde/koala/TDEInstanceInterface.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; - -public interface TDEInstanceInterface { - TDEStandardDirs dirs(); - TDEConfig config(); - TDESharedConfig sharedConfig(); - TDEIconLoader iconLoader(); - void newIconLoader(); - TDEAboutData aboutData(); - String instanceName(); - KMimeSourceFactory mimeSourceFactory(); -} diff --git a/kdejava/koala/org/kde/koala/TDEListAction.java b/kdejava/koala/org/kde/koala/TDEListAction.java deleted file mode 100644 index 70605777..00000000 --- a/kdejava/koala/org/kde/koala/TDEListAction.java +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; - -/** - - @short - -*/ -public class TDEListAction extends TDESelectAction { - protected TDEListAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a list action with text and potential keyboard - accelerator but nothing else. Use this only if you really - know what you are doing. - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a list action with text and potential keyboard accelerator but nothing else. - */ - public TDEListAction(String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEListAction(text,cut,parent,name); - } - private native void newTDEListAction(String text, TDEShortcut cut, TQObject parent, String name); - public TDEListAction(String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEListAction(text,cut,parent); - } - private native void newTDEListAction(String text, TDEShortcut cut, TQObject parent); - public TDEListAction(String text, TDEShortcut cut) { - super((Class) null); - newTDEListAction(text,cut); - } - private native void newTDEListAction(String text, TDEShortcut cut); - public TDEListAction(String text) { - super((Class) null); - newTDEListAction(text); - } - private native void newTDEListAction(String text); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEListAction(text,cut,receiver,slot,parent,name); - } - private native void newTDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEListAction(text,cut,receiver,slot,parent); - } - private native void newTDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEListAction(text,pix,cut,parent,name); - } - private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); - public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEListAction(text,pix,cut,parent); - } - private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); - public TDEListAction(String text, TQIconSet pix, TDEShortcut cut) { - super((Class) null); - newTDEListAction(text,pix,cut); - } - private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut); - public TDEListAction(String text, TQIconSet pix) { - super((Class) null); - newTDEListAction(text,pix); - } - private native void newTDEListAction(String text, TQIconSet pix); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEListAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEListAction(text,pix,cut,parent,name); - } - private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDEListAction(String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEListAction(text,pix,cut,parent); - } - private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject parent); - public TDEListAction(String text, String pix, TDEShortcut cut) { - super((Class) null); - newTDEListAction(text,pix,cut); - } - private native void newTDEListAction(String text, String pix, TDEShortcut cut); - public TDEListAction(String text, String pix) { - super((Class) null); - newTDEListAction(text,pix); - } - private native void newTDEListAction(String text, String pix); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEListAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEListAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEListAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEListAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEListAction(TQObject parent, String name) { - super((Class) null); - newTDEListAction(parent,name); - } - private native void newTDEListAction(TQObject parent, String name); - public TDEListAction(TQObject parent) { - super((Class) null); - newTDEListAction(parent); - } - private native void newTDEListAction(TQObject parent); - public TDEListAction() { - super((Class) null); - newTDEListAction(); - } - private native void newTDEListAction(); - public native String currentText(); - public native int currentItem(); - /** - Sets the currently checked item. - @param index Index of the item (remember the first item is zero). - @short Sets the currently checked item. - */ - public native void setCurrentItem(int index); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEListBox.java b/kdejava/koala/org/kde/koala/TDEListBox.java deleted file mode 100644 index f60c89f6..00000000 --- a/kdejava/koala/org/kde/koala/TDEListBox.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListBoxItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQListBox; - -/** - - Extends the functionality of TQListBox to honor the system - wide settings for Single Click/Double Click mode, Auto Selection and - Change Cursor over Link. - There is a new signal executed(). It gets connected to either - TQListBox.clicked() or TQListBox.doubleClicked() - depending on the KDE wide Single Click/Double Click settings. It is - strongly recommended that you use this signal instead of the above - mentioned. This way you don't need to care about the current - settings. If you want to get informed when the user selects - something connect to the TQListBox.selectionChanged() signal. - See {@link TDEListBoxSignals} for signals emitted by TDEListBox - @short A variant of TQListBox that honors KDE's system-wide settings. - -*/ -public class TDEListBox extends TQListBox { - protected TDEListBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEListBox(TQWidget parent, String name, int f) { - super((Class) null); - newTDEListBox(parent,name,f); - } - private native void newTDEListBox(TQWidget parent, String name, int f); - public TDEListBox(TQWidget parent, String name) { - super((Class) null); - newTDEListBox(parent,name); - } - private native void newTDEListBox(TQWidget parent, String name); - public TDEListBox(TQWidget parent) { - super((Class) null); - newTDEListBox(parent); - } - private native void newTDEListBox(TQWidget parent); - public TDEListBox() { - super((Class) null); - newTDEListBox(); - } - private native void newTDEListBox(); - protected native void emitExecute(TQListBoxItem item, TQPoint pos); - protected native void keyPressEvent(TQKeyEvent e); - protected native void focusOutEvent(TQFocusEvent fe); - protected native void leaveEvent(TQEvent e); - protected native void contentsMousePressEvent(TQMouseEvent e); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); - protected native void slotOnItem(TQListBoxItem item); - protected native void slotOnViewport(); - protected native void slotSettingsChanged(int arg1); - /** - Auto selection happend. - @short Auto selection happend. - */ - protected native void slotAutoSelect(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEListBoxSignals.java b/kdejava/koala/org/kde/koala/TDEListBoxSignals.java deleted file mode 100644 index 167f7567..00000000 --- a/kdejava/koala/org/kde/koala/TDEListBoxSignals.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListBoxItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface TDEListBoxSignals { - /** - Emitted whenever the user executes an listbox item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed listbox item. - Note that you may not delete any TQListBoxItem objects in slots - connected to this signal. - @short Emitted whenever the user executes an listbox item. - */ - void executed(TQListBoxItem item); - /** - Emitted whenever the user executes an listbox item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed listbox item. - @param pos is the position where the user has clicked - Note that you may not delete any TQListBoxItem objects in slots - connected to this signal. - @short Emitted whenever the user executes an listbox item. - */ - void executed(TQListBoxItem item, TQPoint pos); - /** - This signal gets emitted whenever the user double clicks into the - listbox. - @param item The pointer to the clicked listbox item. - @param pos The position where the user has clicked. - Note that you may not delete any TQListBoxItem objects in slots - connected to this signal. - This signal is more or less here for the sake of completeness. - You should normally not need to use this. In most cases it's better - to use executed() instead. - @short This signal gets emitted whenever the user double clicks into the listbox. - */ - void doubleClicked(TQListBoxItem item, TQPoint pos); -} diff --git a/kdejava/koala/org/kde/koala/TDEListView.java b/kdejava/koala/org/kde/koala/TDEListView.java deleted file mode 100644 index 35f1b018..00000000 --- a/kdejava/koala/org/kde/koala/TDEListView.java +++ /dev/null @@ -1,778 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQDragLeaveEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDragObject; -import org.kde.qt.TQListView; - -/** - - This Widget extends the functionality of TQListView to honor the system - wide settings for Single Click/Double Click mode, AutoSelection and - ChangeCursorOverLink (TM). - There is a new signal executed(). It gets connected to either - TQListView.clicked() or TQListView.doubleClicked() depending on the KDE - wide Single Click/Double Click settings. It is strongly recommended that - you use this signal instead of the above mentioned. This way you don't - need to care about the current settings. - If you want to get informed when the user selects something connect to the - TQListView.selectionChanged() signal. - Drag-and-Drop is supported with the signal dropped(), just setAcceptDrops(true) - and connect it to a suitable slot. - To see where you are dropping, setDropVisualizer(true). - And also you'll need acceptDrag(TQDropEvent) - TDEListView is drag-enabled, too: to benefit from that you have to derive from it. - Reimplement dragObject() and (possibly) startDrag(), - and setDragEnabled(true). - See {@link TDEListViewSignals} for signals emitted by TDEListView - @short This Widget extends the functionality of TQListView to honor the system wide settings for Single Click/Double Click mode, AutoSelection and ChangeCursorOverLink (TM). - -*/ -public class TDEListView extends TQListView { - protected TDEListView(Class dummy){super((Class) null);} - /** - Possible selection modes. - The first four correspond directly to TQListView.SelectionMode, while - the FileManager selection mode is defined as follows: - - <li> - home: move to the first - </li> - - <li> - end: move to the last - </li> - - <li> - PgUp/PgDn: move one page up/down - </li> - - <li> - up/down: move one item up/down - </li> - - <li> - insert: toggle selection of current and move to the next - </li> - - <li> - space: toggle selection of the current - </li> - - <li> - CTRL+up: move to the previous item and toggle selection of this one - </li> - - <li> - CTRL+down: toggle selection of the current item and move to the next - </li> - - <li> - CTRL+end: toggle selection from (including) the current - item to (including) the last item - </li> - - <li> - CTRL+home: toggle selection from (including) the current - item to the (including) the first item - </li> - - <li> - CTRL+PgDn: toggle selection from (including) the current - item to (excluding) the item one page down - </li> - - <li> - CTRL+PgUp: toggle selection from (excluding) the current - item to (including) the item one page up - </li> - The combinations work the same with SHIFT instead of CTRL, except - that if you start selecting something using SHIFT everything selected - before will be deselected first. - Additionally the current item is always selected automatically when - navigating using the keyboard, except other items were selected explicitly. - This way e.g. SHIFT+up/PgUp then SHIFT+down/PgDn leaves no item selected - @short Possible selection modes. - */ - public static final int Single = TQListView.Single; - public static final int Multi = TQListView.Multi; - public static final int Extended = TQListView.Extended; - public static final int NoSelection = TQListView.NoSelection; - public static final int FileManager = 0; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - The parameters <code>parent</code> and <code>name</code> are handled by - TQListView, as usual. - @short Constructor. - */ - public TDEListView(TQWidget parent, String name) { - super((Class) null); - newTDEListView(parent,name); - } - private native void newTDEListView(TQWidget parent, String name); - public TDEListView(TQWidget parent) { - super((Class) null); - newTDEListView(parent); - } - private native void newTDEListView(TQWidget parent); - public TDEListView() { - super((Class) null); - newTDEListView(); - } - private native void newTDEListView(); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - public native void setAcceptDrops(boolean arg1); - /** - This function determines whether the given coordinates are within the - execute area. The execute area is the part of a TQListViewItem where mouse - clicks or double clicks respectively generate a executed() signal. - Depending on TQListView.allColumnsShowFocus() this is either the - whole item or only the first column. - @return true if point is inside execute area of an item, false in all - other cases including the case that it is over the viewport. - - @short This function determines whether the given coordinates are within the execute area. - */ - public native boolean isExecuteArea(TQPoint point); - /** - Same thing, but from an x coordinate only. This only checks if x is in - the first column (if all columns don't show focus), without testing if - the y coordinate is over an item or not. - @short Same thing, but from an x coordinate only. - */ - public native boolean isExecuteArea(int x); - /** - @param includeHiddenItems Set to true to return all items regardless of - visibility. Set to false to only return items that are isVisible(). - @return a list of all selected listview items - - @short - */ - // TQPtrList<TQListViewItem> selectedItems(bool arg1); >>>> NOT CONVERTED - /** - Arbitrarily move <code>item</code> to <code>parent</code>, positioned immediately after item <code>after.</code> - If after is 0, <code>item</code> is made the first child of <code>parent.</code> - (Un-deprecated in kde-3.4) - @short Arbitrarily move <code>item</code> to <code>parent</code>, positioned immediately after item <code>after.</code> - */ - public native void moveItem(TQListViewItem item, TQListViewItem parent, TQListViewItem after); - /** - @return the last item (not child!) of this listview. - - @short - @see #lastChild - */ - public native TQListViewItem lastItem(); - /** - @return the last child of this listview. - - @short - @see #lastItem - */ - public native TQListViewItem lastChild(); - /** - @return the lineedit used for inline renaming. - Use that to setup a TDECompletion or TQValidator for the lineedit - - @short - */ - public native KLineEdit renameLineEdit(); - /** - @return if it is legal to move items in the list view. True by default. - - @short - @see #setDragEnabled - @see #setItemsMovable - */ - public native boolean itemsMovable(); - /** - @return whether inplace-renaming has been enabled. False by default. - - @short - @see #setItemsRenameable - */ - public native boolean itemsRenameable(); - /** - @return whether dragging is enabled. False by default. - - @short - @see #setDragEnabled - */ - public native boolean dragEnabled(); - /** - @return true if AutoOpen is enabled (not implemented currently). - - @short - @see #setAutoOpen - */ - public native boolean autoOpen(); - /** - @return true if <code>column</code> is renamable. - - @short - @see #setRenameable - */ - public native boolean isRenameable(int column); - /** - @return true if drawing of the drop-visualizer has been enabled. True by default. - - @short - @see #setDropVisualizer - */ - public native boolean dropVisualizer(); - /** - @return the column for which tooltips are displayed (or -1 if none set). - - @short - @see #setTooltipColumn - */ - public native int tooltipColumn(); - /** - @return true if drawing of the drop-highlighter has been enabled. False by default. - - @short - @see #setDropHighlighter - */ - public native boolean dropHighlighter(); - /** - The dropVisualizerWidth defaults to 4. - @return the current width of the drop-visualizer. - - @short The dropVisualizerWidth defaults to 4. - @see #setDropVisualizerWidth - */ - public native int dropVisualizerWidth(); - /** - @return the "extended" selection mode of this listview. - - @short - @see SelectionModeExt - @see #setSelectionModeExt - */ - public native int selectionModeExt(); - /** - Returns the index of <code>item</code> within the item tree or -1 if - <code>item</code> doesn't exist in this list view. This function takes - all items into account not only the visible ones. - @short Returns the index of <code>item</code> within the item tree or -1 if <code>item</code> doesn't exist in this list view. - */ - public native int itemIndex(TQListViewItem item); - /** - Returns the item of <code>index</code> within the item tree or 0 if - <code>index</code> doesn't exist in this list view. This function takes - all items into account not only the visible ones. - @short Returns the item of <code>index</code> within the item tree or 0 if <code>index</code> doesn't exist in this list view. - */ - public native TQListViewItem itemAtIndex(int index); - /** - Let the last column fit exactly all the available width. - @short Let the last column fit exactly all the available width. - @see #fullWidth - */ - public native void setFullWidth(boolean fullWidth); - /** - Returns whether the last column is set to fit the available width. - @short Returns whether the last column is set to fit the available width. - @see #setFullWidth - */ - public native boolean fullWidth(); - /** - Reimplemented for full width support - @short Reimplemented for full width support - @see #removeColumn - */ - public native int addColumn(String label, int width); - public native int addColumn(String label); - /** - Reimplemented for full width support - @short Reimplemented for full width support - */ - public native int addColumn(TQIconSet iconset, String label, int width); - public native int addColumn(TQIconSet iconset, String label); - /** - Reimplemented for full width support - @short Reimplemented for full width support - @see #addColumn - */ - public native void removeColumn(int index); - /** - sets the alternate background background color. - This only has an effect if the items are TDEListViewItems - @param c the color to use for every other item. Set to an invalid - color to disable alternate colors. - @short sets the alternate background background color. - @see #alternateBackground - */ - public native void setAlternateBackground(TQColor c); - /** - @return the alternate background color - - @short - @see #setAlternateBackground - */ - public native TQColor alternateBackground(); - /** - Saves the list view's layout (column widtsh, column order, sort column) - to a TDEConfig group - @param config the TDEConfig object to write to - @param group the config group to use - @short Saves the list view's layout (column widtsh, column order, sort column) to a TDEConfig group - */ - public native void saveLayout(TDEConfig config, String group); - /** - Reads the list view's layout from a TDEConfig group as stored with - saveLayout - @param config the TDEConfig object to read from - @param group the config group to use - @short Reads the list view's layout from a TDEConfig group as stored with saveLayout - */ - public native void restoreLayout(TDEConfig config, String group); - /** - Reimplemented to remember the current sort column and order. - @param column is the column to be sorted, or -1 to sort in order of - insertion - @param ascending whether to sort ascending (or descending) - @short Reimplemented to remember the current sort column and order. - */ - public native void setSorting(int column, boolean ascending); - public native void setSorting(int column); - /** - @return the currently sorted column, or -1 if none is sorted - - @short - */ - public native int columnSorted(); - /** - @return whether the current sort is ascending (or descending) - - @short - */ - public native boolean ascendingSort(); - /** - Reimplemented for internal reasons. - @short Reimplemented for internal reasons. - */ - public native void takeItem(TQListViewItem i); - /** - Set to true if the currently sorted column should be drawn shaded. Defaults to true - @param shadeSortColumn True if sort column should be shaded. - @short Set to true if the currently sorted column should be drawn shaded. - */ - public native void setShadeSortColumn(boolean shadeSortColumn); - /** - See if the sort column should be drawn shaded - @return true if the sort column should be shaded - - @short See if the sort column should be drawn shaded - */ - public native boolean shadeSortColumn(); - /** - Rename column <code>c</code> of <code>item.</code> - @short Rename column <code>c</code> of <code>item.</code> - */ - public native void rename(TQListViewItem item, int c); - /** - By default, if you called setItemsRenameable(true), - only the first column is renameable. - Use this function to enable the feature on other columns. - If you want more intelligent (dynamic) selection, - you'll have to derive from TDEListView, - and override rename() and call only call it - if you want the item to be renamed. - @short By default, if you called setItemsRenameable(true), only the first column is renameable. - */ - public native void setRenameable(int column, boolean yesno); - public native void setRenameable(int column); - /** - Set whether items in the list view can be moved. - It is enabled by default. - @short Set whether items in the list view can be moved. - @see #itemsMovable - */ - public native void setItemsMovable(boolean b); - /** - Enables inplace-renaming of items. - It is disabled by default. - @short Enables inplace-renaming of items. - @see #itemsRenameable - @see #setRenameable - */ - public native void setItemsRenameable(boolean b); - /** - Enable/Disable the dragging of items. - It is disabled by default. - @short Enable/Disable the dragging of items. - */ - public native void setDragEnabled(boolean b); - /** - Enable/Disable AutoOpen (not implemented currently). - @short Enable/Disable AutoOpen (not implemented currently). - */ - public native void setAutoOpen(boolean b); - /** - Enable/Disable the drawing of a drop-visualizer - (a bar that shows where a dropped item would be inserted). - It is enabled by default, if dragging is enabled - @short Enable/Disable the drawing of a drop-visualizer (a bar that shows where a dropped item would be inserted). - */ - public native void setDropVisualizer(boolean b); - /** - Set the width of the (default) drop-visualizer. - If you don't call this method, the width is set to 4. - @short Set the width of the (default) drop-visualizer. - */ - public native void setDropVisualizerWidth(int w); - /** - Set which column should be used for automatic tooltips. - @param column is the column for which tooltips will be shown. - Set -1 to disable this feature. - @short Set which column should be used for automatic tooltips. - */ - public native void setTooltipColumn(int column); - /** - Enable/Disable the drawing of a drop-highlighter - (a rectangle around the item under the mouse cursor). - It is disabled by default. - @short Enable/Disable the drawing of a drop-highlighter (a rectangle around the item under the mouse cursor). - */ - public native void setDropHighlighter(boolean b); - /** - Set the selection mode. - A different name was chosen to avoid API-clashes with TQListView.setSelectionMode(). - @short Set the selection mode. - */ - public native void setSelectionModeExt(int mode); - /** - Enable/disable tabbing between editable cells - @short Enable/disable tabbing between editable cells - */ - public native void setTabOrderedRenaming(boolean b); - /** - Returns whether tab ordered renaming is enabled - @short Returns whether tab ordered renaming is enabled - */ - public native boolean tabOrderedRenaming(); - /** - Determine whether a drop on position <code>p</code> would count as - being above or below the TQRect <code>rect.</code> - @param rect is the rectangle we examine. - @param p is the point located in the rectangle, p is assumed to be in - viewport coordinates. - @short Determine whether a drop on position <code>p</code> would count as being above or below the TQRect <code>rect.</code> - */ - protected native boolean below(TQRect rect, TQPoint p); - /** - An overloaded version of below(TQRect, TQPoint). - It differs from the above only in what arguments it takes. - @param i the item whose rect() is passed to the above function. - @param p is translated from contents coordinates to viewport coordinates - before being passed to the above function. - @short An overloaded version of below(TQRect, TQPoint). - */ - protected native boolean below(TQListViewItem i, TQPoint p); - /** - Reimplemented to reload the alternate background in palette changes. - @short Reimplemented to reload the alternate background in palette changes. - */ - public native boolean event(TQEvent arg1); - /** - Emit signal executed. - @short Emit signal executed. - */ - protected native void emitExecute(TQListViewItem item, TQPoint pos, int c); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void focusInEvent(TQFocusEvent fe); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void focusOutEvent(TQFocusEvent fe); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void leaveEvent(TQEvent e); - /** - @return the tooltip for <code>column</code> of <code>item.</code> - - @short - */ - protected native String tooltip(TQListViewItem item, int column); - /** - @return whether the tooltip for <code>column</code> of <code>item</code> shall be shown at point <code>pos.</code> - - @short - */ - protected native boolean showTooltip(TQListViewItem item, TQPoint pos, int column); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsDragMoveEvent(TQDragMoveEvent event); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsMousePressEvent(TQMouseEvent e); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsMouseMoveEvent(TQMouseEvent e); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsDragLeaveEvent(TQDragLeaveEvent event); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsDropEvent(TQDropEvent arg1); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void contentsDragEnterEvent(TQDragEnterEvent arg1); - /** - @return a dragobject encoding the current selection. - - @short - @see #setDragEnabled - */ - protected native TQDragObject dragObject(); - /** - @return true if the <code>event</code> provides some acceptable - format. - A common mistake is to forget the "const" in your reimplementation - - @short - */ - protected native boolean acceptDrag(TQDropEvent event); - /** - Paint the drag line. If painter is null, don't try to :) - If after == 0 then the marker should be drawn at the top. - @return the rectangle that you painted to. - - @short Paint the drag line. - */ - protected native TQRect drawDropVisualizer(TQPainter p, TQListViewItem parent, TQListViewItem after); - /** - Paint the drag rectangle. If painter is null, don't try to :) - @return the rectangle that you painted to. - - @short Paint the drag rectangle. - */ - protected native TQRect drawItemHighlighter(TQPainter painter, TQListViewItem item); - /** - This method calls dragObject() and starts the drag. - Reimplement it to do fancy stuff like setting a pixmap or - using a non-default DragMode - @short This method calls dragObject() and starts the drag. - */ - protected native void startDrag(); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void keyPressEvent(TQKeyEvent arg1); - /** - Reimplemented for internal reasons. - Further reimplementations should call this function or else - some features may not work correctly. - The API is unaffected. - @short Reimplemented for internal reasons. - */ - protected native void viewportPaintEvent(TQPaintEvent arg1); - /** - In FileManager selection mode: explicitly activate the mode - in which the current item is automatically selected. - @short In FileManager selection mode: explicitly activate the mode in which the current item is automatically selected. - */ - protected native void activateAutomaticSelection(); - /** - In FileManager selection mode: explicitly deactivate the mode - in which the current item is automatically selected. - @short In FileManager selection mode: explicitly deactivate the mode in which the current item is automatically selected. - */ - protected native void deactivateAutomaticSelection(); - /** - In FileManager selection mode: return whether it is currently in the mode - where the current item is selected automatically. - Returns false if items were selected explicitly, e.g. using the mouse. - @short In FileManager selection mode: return whether it is currently in the mode where the current item is selected automatically. - */ - protected native boolean automaticSelection(); - /** - Reimplemented for setFullWidth() - @short Reimplemented for setFullWidth() - */ - protected native void viewportResizeEvent(TQResizeEvent e); - /** - Disable AutoSelection. This overrides the system wide setting for - AutoSelection. Please don't call this unless you have good reasons to - override the system wide setting for AutoSelection. - @short Disable AutoSelection. - @see #resetAutoSelection - */ - protected native void disableAutoSelection(); - /** - Reset AutoSelection to the system wide setting. - @short Reset AutoSelection to the system wide setting. - @see #disableAutoSelection - */ - protected native void resetAutoSelection(); - /** - Handle dropEvent when itemsMovable() is set to true. - @short Handle dropEvent when itemsMovable() is set to true. - */ - protected native void movableDropEvent(TQListViewItem parent, TQListViewItem afterme); - /** - Where is the nearest TQListViewItem that I'm going to drop? - FIXME KDE 4.0: Make this method const so it can be called from an - acceptDrag method without ugly casts - @short Where is the nearest TQListViewItem that I'm going to drop? - */ - protected native void findDrop(TQPoint pos, TQListViewItem parent, TQListViewItem after); - /** - A special keyPressEvent (for FileManager selection mode). - @short A special keyPressEvent (for FileManager selection mode). - */ - protected native void fileManagerKeyPressEvent(TQKeyEvent arg1); - /** - Convert the depth of an item into its indentation in pixels - @short Convert the depth of an item into its indentation in pixels - */ - protected native int depthToPixels(int depth); - /** - Update internal settings whenever the global ones change. - @short Update internal settings whenever the global ones change. - */ - protected native void slotSettingsChanged(int arg1); - protected native void slotMouseButtonClicked(int btn, TQListViewItem item, TQPoint pos, int c); - protected native void doneEditing(TQListViewItem item, int row); - /** - Repaint the rect where I was drawing the drop line. - @short Repaint the rect where I was drawing the drop line. - */ - protected native void cleanDropVisualizer(); - /** - Repaint the rect where I was drawing the drop rectangle. - @short Repaint the rect where I was drawing the drop rectangle. - */ - protected native void cleanItemHighlighter(); - /** - Emit the contextMenu signal. This slot is for mouse actions. - @short Emit the contextMenu signal. - */ - protected native void emitContextMenu(TQListViewItem arg1, TQPoint arg2, int arg3); - /** - Emit the contextMenu signal. This slot is for key presses. - @short Emit the contextMenu signal. - */ - protected native void emitContextMenu(TDEListView arg1, TQListViewItem arg2); - /** - Accessory slot for AutoSelect - @short Accessory slot for AutoSelect - */ - protected native void slotOnItem(TQListViewItem item); - /** - Accessory slot for AutoSelect/ChangeCursorOverItem - @short Accessory slot for AutoSelect/ChangeCursorOverItem - */ - protected native void slotOnViewport(); - /** - Process AutoSelection. - @short Process AutoSelection. - */ - protected native void slotAutoSelect(); - protected native void slotDragExpand(); - /** - Reacts to header changes in full width mode - @short Reacts to header changes in full width mode - */ - protected native void slotHeaderChanged(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEListViewItem.java b/kdejava/koala/org/kde/koala/TDEListViewItem.java deleted file mode 100644 index 1df19007..00000000 --- a/kdejava/koala/org/kde/koala/TDEListViewItem.java +++ /dev/null @@ -1,232 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQListViewItem; -import org.kde.qt.QtSupport; -import org.kde.qt.TQListView; -import org.kde.qt.TQPainter; -import org.kde.qt.TQColorGroup; -import org.kde.qt.TQListViewItem; - -/** - - A listview item with support for alternate background colors. It is - a drop-in replacement for TQListViewItem - @short listview item with alternate background color support. - -*/ -public class TDEListViewItem extends TQListViewItem { - protected TDEListViewItem(Class dummy){super((Class) null);} - /** - constructors. The semantics remain as in TQListViewItem. - Although they accept a TQListViewItem as parent, please - don't mix TDEListViewItem (or subclasses) with TQListViewItem - (or subclasses). - @short constructors. - */ - public TDEListViewItem(TQListView parent) { - super((Class) null); - newTDEListViewItem(parent); - } - private native void newTDEListViewItem(TQListView parent); - public TDEListViewItem(TQListViewItem parent) { - super((Class) null); - newTDEListViewItem(parent); - } - private native void newTDEListViewItem(TQListViewItem parent); - public TDEListViewItem(TQListView parent, TQListViewItem after) { - super((Class) null); - newTDEListViewItem(parent,after); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after) { - super((Class) null); - newTDEListViewItem(parent,after); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after); - public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); - } - private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6); - } - private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5); - } - private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5); - public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4); - } - private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4); - public TDEListViewItem(TQListView parent, String arg2, String arg3) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3); - } - private native void newTDEListViewItem(TQListView parent, String arg2, String arg3); - public TDEListViewItem(TQListView parent, String arg2) { - super((Class) null); - newTDEListViewItem(parent,arg2); - } - private native void newTDEListViewItem(TQListView parent, String arg2); - public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4,arg5); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5); - public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3,arg4); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); - public TDEListViewItem(TQListViewItem parent, String arg2, String arg3) { - super((Class) null); - newTDEListViewItem(parent,arg2,arg3); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3); - public TDEListViewItem(TQListViewItem parent, String arg2) { - super((Class) null); - newTDEListViewItem(parent,arg2); - } - private native void newTDEListViewItem(TQListViewItem parent, String arg2); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); - public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3) { - super((Class) null); - newTDEListViewItem(parent,after,arg3); - } - private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4,arg5); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4) { - super((Class) null); - newTDEListViewItem(parent,after,arg3,arg4); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); - public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { - super((Class) null); - newTDEListViewItem(parent,after,arg3); - } - private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3); - public native void insertItem(TQListViewItem item); - public native void takeItem(TQListViewItem item); - /** - returns true if this item is to be drawn with the alternate background - @short returns true if this item is to be drawn with the alternate background - */ - public native boolean isAlternate(); - /** - returns the background color for this item at given column - This can be different in the column which is sorted due to shading - ### could be merged with above (column = -1) to be source compatible - ### but will only work if sort-shading is not used or the listView has - ### only 1 column - @short returns the background color for this item at given column This can be different in the column which is sorted due to shading ### could be merged with above (column = -1) to be source compatible ### but will only work if sort-shading is not used or the listView has ### only 1 column - */ - public native TQColor backgroundColor(int column); - public native void paintCell(TQPainter p, TQColorGroup cg, int column, int width, int alignment); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEListViewSignals.java b/kdejava/koala/org/kde/koala/TDEListViewSignals.java deleted file mode 100644 index 3952296a..00000000 --- a/kdejava/koala/org/kde/koala/TDEListViewSignals.java +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQDragLeaveEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDragObject; - -public interface TDEListViewSignals { - /** - This signal is emitted whenever the user executes an listview item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed listview item. - Note that you may not delete any TQListViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user executes an listview item. - */ - void executed(TQListViewItem item); - /** - This signal is emitted whenever the user executes an listview item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed listview item. - @param pos is the position where the user has clicked - @param c is the column into which the user clicked. - Note that you may not delete any TQListViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user executes an listview item. - */ - void executed(TQListViewItem item, TQPoint pos, int c); - /** - This signal gets emitted whenever something acceptable is - dropped onto the listview. - @param e is the drop event itself (it has already been accepted) - @param after is the item after which the drop occurred (or null, if - the drop was above all items) - @short This signal gets emitted whenever something acceptable is dropped onto the listview. - @see #acceptDrop - */ - void dropped(TQDropEvent e, TQListViewItem after); - /** - This signal gets emitted whenever something acceptable is - dropped onto the listview. - This is an overloaded version of the above (provided to simplify - processing drops outside of the class). - @param list is the listview - @param e is the drop event itself (it has already been accepted) - @param after is the item after which the drop occurred (or null, if - the drop was above all items - @short This signal gets emitted whenever something acceptable is dropped onto the listview. - */ - void dropped(TDEListView list, TQDropEvent e, TQListViewItem after); - /** - This signal gets emitted whenever something acceptable is - dropped onto the listview. - This function also provides a parent, in the event that your listview - is a tree - @param list is the listview - @param e is the drop event itself (it has already been accepted) - @param parent the item that is to be the parent of the new item - @param after is the item after which the drop occurred (or null, if - the drop was above all items - @short This signal gets emitted whenever something acceptable is dropped onto the listview. - */ - void dropped(TDEListView list, TQDropEvent e, TQListViewItem parent, TQListViewItem after); - /** - This signal gets emitted whenever something acceptable is - dropped onto the listview. - This function also provides a parent, in the event that your listview - is a tree - @param e is the drop event itself (it has already been accepted) - @param parent the item that is to be the parent of the new item - @param after is the item after which the drop occurred (or null, if - the drop was above all items - @short This signal gets emitted whenever something acceptable is dropped onto the listview. - */ - void dropped(TQDropEvent e, TQListViewItem parent, TQListViewItem after); - /** - This signal is emitted when ever the user moves an item in the list via - DnD. - If more than one item is moved at the same time, this signal is only emitted - once. - @short This signal is emitted when ever the user moves an item in the list via DnD. - */ - void moved(); - /** - Connect to this signal if you want to do some preprocessing before - a move is made, for example, to disable sorting - This is sent only once per each groups of moves. That is, for each - drop that is a move this will be emitted once, before TDEListView calls - @short Connect to this signal if you want to do some preprocessing before a move is made, for example, to disable sorting - @see #moveItem - */ - void aboutToMove(); - /** - This signal is emitted when ever the user moves an item in the list via - DnD. - If more than one item is moved at the same time, <code>afterFirst</code> and - <code>afterNow</code> will reflect what was true before the move. - This differs from moved(), so be careful. All the items will have been - moved before moved() is emitted, which is not true in this method. // FIXME - @param item the item that was moved - @param afterFirst the item that parameter item was in before the move, in the list - @param afterNow the item it's currently after. - @short This signal is emitted when ever the user moves an item in the list via DnD. - */ - void moved(TQListViewItem item, TQListViewItem afterFirst, TQListViewItem afterNow); - // void moved(TQPtrList<TQListViewItem>& arg1,TQPtrList<TQListViewItem>& arg2,TQPtrList<TQListViewItem>& arg3); >>>> NOT CONVERTED - /** - This signal gets emitted when an item is renamed via in-place renaming. - @param item is the renamed item. - @param str is the new value of column <code>col.</code> - @param col is the renamed column. - @short This signal gets emitted when an item is renamed via in-place renaming. - */ - void itemRenamed(TQListViewItem item, String str, int col); - /** - Same as above, but without the extra information. - @short Same as above, but without the extra information. - */ - void itemRenamed(TQListViewItem item); - /** - This signal is emitted when the shortcut key for popup-menus is pressed. - Normally you should not use this, just connect a slot to signal - contextMenu (TDEListView, TQListViewItem, TQPoint) to correctly - handle showing context menus regardless of settings. - @param list is this listview. - @param item is the currentItem() at the time the key was pressed. May be null. - @short This signal is emitted when the shortcut key for popup-menus is pressed. - */ - void menuShortCutPressed(TDEListView list, TQListViewItem item); - /** - This signal is emitted whenever a context-menu should be shown for item <code>i.</code> - It automatically adjusts for all settings involved (Menu key, showMenuOnPress/Click). - @param l is this listview. - @param i is the item for which the menu should be shown. May be null. - @param p is the point at which the menu should be shown. - @short This signal is emitted whenever a context-menu should be shown for item <code>i.</code> - */ - void contextMenu(TDEListView l, TQListViewItem i, TQPoint p); - void itemAdded(TQListViewItem item); - void itemRemoved(TQListViewItem item); -} diff --git a/kdejava/koala/org/kde/koala/TDELocale.java b/kdejava/koala/org/kde/koala/TDELocale.java deleted file mode 100644 index 7ec079f5..00000000 --- a/kdejava/koala/org/kde/koala/TDELocale.java +++ /dev/null @@ -1,993 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import java.util.ArrayList; -import org.kde.qt.TQTextCodec; -import java.util.Date; - -/** - - TDELocale provides support for country specific stuff like - the national language. - TDELocale supports translating, as well as specifying the format - for numbers, currency, time, and date. - @author Stephan Kulow <coolo@kde.org>, Preston Brown <pbrown@kde.org>, - Hans Petter Bieker <bieker@kde.org>, Lukas Tinkl <lukas.tinkl@suse.cz> - - @short class for supporting locale settings and national language. - -*/ -public class TDELocale implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDELocale(Class dummy){} - - /** - Various positions for where to place the positive or negative - sign when they are related to a monetary value. - @short Various positions for where to place the positive or negative sign when they are related to a monetary value. - */ - public static final int ParensAround = 0; - public static final int BeforeQuantityMoney = 1; - public static final int AfterQuantityMoney = 2; - public static final int BeforeMoney = 3; - public static final int AfterMoney = 4; - - public static final int NormalFormat = 1; - public static final int ShortFormat = 2; - - public static final int WithSeconds = 0; - public static final int WithoutSeconds = 1; - - /** - The Metric system will give you information in mm, while the - Imperial system will give you information in inches. - @short The Metric system will give you information in mm, while the Imperial system will give you information in inches. - */ - public static final int Metric = 0; - public static final int Imperial = 1; - - /** - Constructs a TDELocale with the given catalog name. - The constructor looks for an entry Locale/Language in the - configuration file. - If no config file is specified, it will also look for languages - using the environment variables (KDE_LANG, LC_MESSAGES, LC_ALL, LANG), - as well as the global configuration file. If TDELocale is not able to use - any of the specified languages, the default language (en_US) will be - used. - If you specify a configuration file, it has to be valid until - the TDELocale object is destroyed. - @param catalog The name of the main language file - @param config The configuration file to use. - @short Constructs a TDELocale with the given catalog name. - */ - public TDELocale(String catalog, TDEConfig config) { - newTDELocale(catalog,config); - } - private native void newTDELocale(String catalog, TDEConfig config); - public TDELocale(String catalog) { - newTDELocale(catalog); - } - private native void newTDELocale(String catalog); - /** - Copy constructor. - @short Copy constructor. - */ - public TDELocale(TDELocale rhs) { - newTDELocale(rhs); - } - private native void newTDELocale(TDELocale rhs); - /** - Translates the string into the corresponding string in - the national language, if available. If not, returns - the string itself. - There is a KDE wide message file that contains the most - often used phrases, so we can avoid duplicating the - translation of these phrases. If a phrase is not found - in the catalog given to the constructor, it will search - in the system catalog. This makes it possible to override - some phrases for your needs. - The argument must be an UTF-8 encoded string (If you only use - characters that are in US-ASCII you're on the safe side. But - for e.g. german umlauts or french accents should be recoded to - UTF-8) - @param index The lookup text and default text, if not found. - @short Translates the string into the corresponding string in the national language, if available. - */ - public native String translate(String index); - /** - Translates the string into the corresponding string in the - national language, if available. - The real contents of the string is in the argument fallback, - but the meaning of it is coded into the argument index. - In some cases you'll need this function, when english is - too ambiguous to express it. - Most of the times the translators will tell you if it can't - be translated as it, but think of cases as "New", where the - translations differs depending on what is New. - Or simple cases as "Open", that can be used to express something - is open or it can be used to express that you want something to - open... There are tons of such examples. - If translate("Open") is not enough to translate it well, use - translate("To Open", "Open") or translate("Is Open", "Open"). - The english user will see "Open" in both cases, but the translated - version may vary. Of course you can also use i18n() - @param comment the comment. The lookup text is made out of comment + <code>fallback</code> - @param fallback the default text, if not found - @return translation - - @short Translates the string into the corresponding string in the national language, if available. - */ - public native String translate(String comment, String fallback); - /** - Used to get the correct, translated singular or plural of a - word. - @param singular the singular form of the word, for example "file". - @param plural the plural form of the word. Must contain a "%n" that will - be replaced by the number <code>n</code>, for example "%n files" - @param n the number - @return the correct singular or plural for the selected language, - depending on n - - @short Used to get the correct, translated singular or plural of a word. - */ - public native String translate(String singular, String plural, long n); - /** - Changes the current encoding. - @param mibEnum The mib of the preferred codec - @return True on success. - - @short Changes the current encoding. - */ - public native boolean setEncoding(int mibEnum); - /** - Changes the current language. The current language will be left - unchanged if failed. It will force a reload of the country specific - configuration as well. - @param language The language code. - @return True on success. - - @short Changes the current language. - */ - public native boolean setLanguage(String language); - /** - Changes the list of prefed languages for the locale. The first valid - language in the list will be used, or the default (en_US) language - will be used if non of the specified languages were available. - @param languages The list of language codes. - @return True if one of the specified languages were used. - - @short Changes the list of prefed languages for the locale. - */ - public native boolean setLanguage(String[] languages); - /** - Changes the current country. The current country will be left - unchanged if failed. It will force a reload of the country specific - configuration. - @param country The ISO 3166 country code. - @return True on success. - - @short Changes the current country. - */ - public native boolean setCountry(String country); - /** - Returns what a decimal point should look like ("." or "," etc.) - according to the current locale or user settings. - @return The decimal symbol used by locale. - - @short Returns what a decimal point should look like (". - */ - public native String decimalSymbol(); - /** - Returns what the thousands separator should look - like ("," or "." etc.) - according to the current locale or user settings. - @return The thousands separator used by locale. - - @short Returns what the thousands separator should look like ("," or ". - */ - public native String thousandsSeparator(); - /** - Returns what the symbol denoting currency in the current locale - as as defined by user settings should look like. - @return The default currency symbol used by locale. - - @short Returns what the symbol denoting currency in the current locale as as defined by user settings should look like. - */ - public native String currencySymbol(); - /** - Returns what a decimal point should look like ("." or "," etc.) - for monetary values, according to the current locale or user - settings. - @return The monetary decimal symbol used by locale. - - @short Returns what a decimal point should look like (". - */ - public native String monetaryDecimalSymbol(); - /** - Returns what a thousands separator for monetary values should - look like ("," or " " etc.) according to the current locale or - user settings. - @return The monetary thousands separator used by locale. - - @short Returns what a thousands separator for monetary values should look like ("," or " " etc. - */ - public native String monetaryThousandsSeparator(); - /** - Returns what a positive sign should look like ("+", " ", etc.) - according to the current locale or user settings. - @return The positive sign used by locale. - - @short Returns what a positive sign should look like ("+", " ", etc. - */ - public native String positiveSign(); - /** - Returns what a negative sign should look like ("-", etc.) - according to the current locale or user settings. - @return The negative sign used by locale. - - @short Returns what a negative sign should look like ("-", etc. - */ - public native String negativeSign(); - /** - The number of fractional digits to include in numeric/monetary - values (usually 2). - @return Default number of fractional digits used by locale. - - @short The number of fractional digits to include in numeric/monetary values (usually 2). - */ - public native int fracDigits(); - /** - If and only if the currency symbol precedes a positive value, - this will be true. - @return Where to print the currency symbol for positive numbers. - - @short If and only if the currency symbol precedes a positive value, this will be true. - */ - public native boolean positivePrefixCurrencySymbol(); - /** - If and only if the currency symbol precedes a negative value, - this will be true. - @return True if the currency symbol precedes negative numbers. - - @short If and only if the currency symbol precedes a negative value, this will be true. - */ - public native boolean negativePrefixCurrencySymbol(); - /** - Returns the position of a positive sign in relation to a - monetary value. - @return Where/how to print the positive sign. - - @short Returns the position of a positive sign in relation to a monetary value. - @see SignPosition - */ - public native int positiveMonetarySignPosition(); - /** - Denotes where to place a negative sign in relation to a - monetary value. - @return Where/how to print the negative sign. - - @short Denotes where to place a negative sign in relation to a monetary value. - @see SignPosition - */ - public native int negativeMonetarySignPosition(); - /** - Given a double, converts that to a numeric string containing - the localized monetary equivalent. - e.g. given 123456, return "$ 123,456.00". - @param num The number we want to format - @param currency The currency symbol you want. - @param digits Number of fractional digits, or -1 for the default - value - @return The number of money as a localized string - - @short Given a double, converts that to a numeric string containing the localized monetary equivalent. - @see #fracDigits - */ - public native String formatMoney(double num, String currency, int digits); - public native String formatMoney(double num, String currency); - public native String formatMoney(double num); - /** - Given a double, converts that to a numeric string containing - the localized numeric equivalent. - e.g. given 123456.78F, return "123,456.78" (for some European country). - If precision isn't specified, 2 is used. - This function is a wrapper that is provided for convenience. - @param num The number to convert - @param precision Number of fractional digits used. - @return The number as a localized string - - @short Given a double, converts that to a numeric string containing the localized numeric equivalent. - @see #formatNumber(const - @see #boolean - @see #int) - */ - public native String formatNumber(double num, int precision); - public native String formatNumber(double num); - /** - Given a string representing a number, converts that to a numeric - string containing the localized numeric equivalent. - e.g. given 123456.78F, return "123,456.78" (for some European country). - @param numStr The number to convert - @param round Round fractional digits. - @param precision Number of fractional digits used. - @return The number as a localized string - - @short Given a string representing a number, converts that to a numeric string containing the localized numeric equivalent. - */ - public native String formatNumber(String numStr, boolean round, int precision); - /** - Given an integer, converts that to a numeric string containing - the localized numeric equivalent. - e.g. given 123456L, return "123,456" (for some European country). - @param num The number to convert - @return The number as a localized string - - @short Given an integer, converts that to a numeric string containing the localized numeric equivalent. - */ - public native String formatLong(long num); - /** - Use this to determine whether nouns are declined in - locale's language. This property should remain - read-only (no setter function) - @return If nouns are declined - - @short Use this to determine whether nouns are declined in locale's language. - */ - public native boolean nounDeclension(); - /** - Returns a string formatted to the current locale's conventions - regarding dates. - @param pDate The date to be formated. - @param shortFormat True for non text dates. - @return The date as a string - - @short Returns a string formatted to the current locale's conventions regarding dates. - */ - public native String formatDate(Calendar pDate, boolean shortFormat); - public native String formatDate(Calendar pDate); - /** - Use this to determine whether in dates a possessive form of month - name is preferred ("of January" rather than "January") - @return If possessive form should be used - - @short Use this to determine whether in dates a possessive form of month name is preferred ("of January" rather than "January") - */ - public native boolean dateMonthNamePossessive(); - /** - Returns a string formatted to the current locale's conventions - regarding times. - @param pTime The time to be formated. - @param includeSecs if true, seconds are included in the output, - otherwise only hours and minutes are formatted. - @param isDuration if true, the given time is a duration, not a clock time. - This means "am/pm" shouldn't be displayed. - @return The time as a string - - @short Returns a string formatted to the current locale's conventions regarding times. - */ - public native String formatTime(Date pTime, boolean includeSecs, boolean isDuration); - /** - Returns a string formatted to the current locale's conventions - regarding times. - @param pTime The time to be formated. - @param includeSecs if true, seconds are included in the output, - otherwise only hours and minutes are formatted. - @return The time as a string - - @short Returns a string formatted to the current locale's conventions regarding times. - */ - public native String formatTime(Date pTime, boolean includeSecs); - public native String formatTime(Date pTime); - /** - Use this to determine if the user wants a 12 hour clock. - @return If the user wants 12h clock - - @short Use this to determine if the user wants a 12 hour clock. - */ - public native boolean use12Clock(); - /** - Use this to determine which day is the first day of the week. - @return an integer (Monday=1..Sunday=7) - - @short Use this to determine which day is the first day of the week. - */ - public native int weekStartDay(); - /** - Returns a pointer to the calendar system object. - @return the current calendar system instance - - @short Returns a pointer to the calendar system object. - */ - public native KCalendarSystem calendar(); - /** - Returns the name of the calendar system that is currently being - used by the system. - @return the name of the calendar system - - @short Returns the name of the calendar system that is currently being used by the system. - */ - public native String calendarType(); - /** - Changes the current calendar system to the calendar specified. - Currently "gregorian" and "hijri" are supported. If the calendar - system specified is not found, gregorian will be used. - @param calendarType the name of the calendar type - @short Changes the current calendar system to the calendar specified. - */ - public native void setCalendar(String calendarType); - /** - Returns a string formated to the current locale's conventions - regarding both date and time. - @param pDateTime The date and time to be formated. - @param shortFormat using the short date format. - @param includeSecs using the short date format. - @return The date and time as a string - - @short Returns a string formated to the current locale's conventions regarding both date and time. - */ - public native String formatDateTime(Calendar pDateTime, boolean shortFormat, boolean includeSecs); - public native String formatDateTime(Calendar pDateTime, boolean shortFormat); - public native String formatDateTime(Calendar pDateTime); - /** - Converts a localized monetary string to a double. - @param numStr the string we want to convert. - @param ok the booleanean that is set to false if it's not a number. - If <code>ok</code> is 0, it will be ignored - @return The string converted to a double - - @short Converts a localized monetary string to a double. - */ - public native double readMoney(String numStr, boolean[] ok); - public native double readMoney(String numStr); - /** - Converts a localized numeric string to a double. - @param numStr the string we want to convert. - @param ok the booleanean that is set to false if it's not a number. - If <code>ok</code> is 0, it will be ignored - @return The string converted to a double - - @short Converts a localized numeric string to a double. - */ - public native double readNumber(String numStr, boolean[] ok); - public native double readNumber(String numStr); - /** - Converts a localized date string to a Calendar. - The boolean pointed by ok will be invalid if the date entered was not valid. - @param str the string we want to convert. - @param ok the booleanean that is set to false if it's not a valid date. - If <code>ok</code> is 0, it will be ignored - @return The string converted to a TQDate - - @short Converts a localized date string to a TQDate. - */ - public native Calendar readDate(String str, boolean[] ok); - public native Calendar readDate(String str); - /** - Converts a localized date string to a Calendar, using the specified format. - You will usually not want to use this method. - @short Converts a localized date string to a TQDate, using the specified format. - */ - public native Calendar readDate(String intstr, String fmt, boolean[] ok); - public native Calendar readDate(String intstr, String fmt); - /** - Converts a localized date string to a Calendar. - This method is stricter than readDate(str,&ok): it will either accept - a date in full format or a date in short format, depending on <code>flags.</code> - @param str the string we want to convert. - @param flags whether the date string is to be in full format or in short format. - @param ok the booleanean that is set to false if it's not a valid date. - If <code>ok</code> is 0, it will be ignored - @return The string converted to a TQDate - - @short Converts a localized date string to a TQDate. - */ - public native Calendar readDate(String str, int flags, boolean[] ok); - public native Calendar readDate(String str, int flags); - /** - Converts a localized time string to a Date - This method will try to parse it with seconds, then without seconds. - The boolean pointed to by <code>ok</code> will be set to false if the time entered was - not valid. - @param str the string we want to convert. - @param ok the booleanean that is set to false if it's not a valid time. - If <code>ok</code> is 0, it will be ignored - @return The string converted to a TQTime - - @short Converts a localized time string to a TQTime. - */ - public native Date readTime(String str, boolean[] ok); - public native Date readTime(String str); - /** - Converts a localized time string to a Date - This method is stricter than readTime(str,&ok): it will either accept - a time with seconds or a time without seconds. - Use this method when the format is known by the application. - @param str the string we want to convert. - @param flags whether the time string is expected to contain seconds or not. - @param ok the booleanean that is set to false if it's not a valid time. - If <code>ok</code> is 0, it will be ignored - @return The string converted to a TQTime - - @short Converts a localized time string to a TQTime. - */ - public native Date readTime(String str, int flags, boolean[] ok); - public native Date readTime(String str, int flags); - /** - Returns the language used by this object. The domain AND the - library translation must be available in this language. - defaultLanguage() is returned by default, if no other available. - @return The currently used language. - - @short Returns the language used by this object. - */ - public native String language(); - /** - Returns the country code of the country where the user lives. - defaultCountry() is returned by default, if no other available. - @return The country code for the user. - - @short Returns the country code of the country where the user lives. - */ - public native String country(); - /** - Returns the preferred languages as ISO 639-1 codes. This means - that information about country is removed. If the internal language - code might be represented by more than one 639-1 code, they will all be - listed (but only once). - If the selected languages are "nn, nb, pt_BR", you will get: - "nn, nb, pt". - @return List of language codes - - @short Returns the preferred languages as ISO 639-1 codes. - @see #languageList - */ - public native ArrayList languagesTwoAlpha(); - /** - Returns the languages selected by user. The codes returned here is the - internal language codes. - @return List of language codes - - @short Returns the languages selected by user. - @see #languagesTwoAlpha - */ - public native ArrayList languageList(); - /** - Returns the user's preferred encoding. - @return The name of the preferred encoding - - @short Returns the user's preferred encoding. - @see #codecForEncoding - @see #encodingMib - */ - public native String encoding(); - /** - Returns the user's preferred encoding. - @return The Mib of the preferred encoding - - @short Returns the user's preferred encoding. - @see #encoding - @see #codecForEncoding - */ - public native int encodingMib(); - /** - Returns the user's preferred encoding. Should never be NULL. - @return The codec for the preferred encoding - - @short Returns the user's preferred encoding. - @see #encoding - @see #encodingMib - */ - public native TQTextCodec codecForEncoding(); - /** - Returns the file encoding. - @return The Mib of the file encoding - - @short Returns the file encoding. - @see org.kde.qt.TQFile#encodeName - @see org.kde.qt.TQFile#decodeName - */ - public native int fileEncodingMib(); - /** - Changes the current date format. - The format of the date is a string which contains variables that will - be replaced: - - <li> - %Y with the century (e.g. "19" for "1984") - </li> - - <li> - %y with the lower 2 digits of the year (e.g. "84" for "1984") - </li> - - <li> - %n with the month (January="1", December="12") - </li> - - <li> - %m with the month with two digits (January="01", December="12") - </li> - - <li> - %e with the day of the month (e.g. "1" on the first of march) - </li> - - <li> - %d with the day of the month with two digits(e.g. "01" on the first of march) - </li> - - <li> - %b with the short form of the month (e.g. "Jan" for January) - </li> - - <li> - %B with the long form of the month (e.g. "January") - </li> - - <li> - %a with the short form of the weekday (e.g. "Wed" for Wednesday) - </li> - - <li> - %A with the long form of the weekday (e.g. "Wednesday" for Wednesday) - Everything else in the format string will be taken as is. - For example, March 20th 1989 with the format "%y:%m:%d" results - in "89:03:20". - </li> - @param format The new date format - @short Changes the current date format. - */ - public native void setDateFormat(String format); - /** - Changes the current short date format. - The format of the date is a string which contains variables that will - be replaced: - - <li> - %Y with the century (e.g. "19" for "1984") - </li> - - <li> - %y with the lower 2 digits of the year (e.g. "84" for "1984") - </li> - - <li> - %n with the month (January="1", December="12") - </li> - - <li> - %m with the month with two digits (January="01", December="12") - </li> - - <li> - %e with the day of the month (e.g. "1" on the first of march) - </li> - - <li> - %d with the day of the month with two digits(e.g. "01" on the first of march) - </li> - - <li> - %b with the short form of the month (e.g. "Jan" for January) - </li> - - <li> - %B with the long form of the month (e.g. "January") - </li> - - <li> - %a with the short form of the weekday (e.g. "Wed" for Wednesday) - </li> - - <li> - %A with the long form of the weekday (e.g. "Wednesday" for Wednesday) - Everything else in the format string will be taken as is. - For example, March 20th 1989 with the format "%y:%m:%d" results - in "89:03:20". - </li> - @param format The new short date format - @short Changes the current short date format. - */ - public native void setDateFormatShort(String format); - /** - Changes the form of month name used in dates. - @param possessive True if possessive forms should be used - @short Changes the form of month name used in dates. - */ - public native void setDateMonthNamePossessive(boolean possessive); - /** - Changes the current time format. - The format of the time is string a which contains variables that will - be replaced: - - <li> - %H with the hour in 24h format and 2 digits (e.g. 5pm is "17", 5am is "05") - </li> - - <li> - %k with the hour in 24h format and one digits (e.g. 5pm is "17", 5am is "5") - </li> - - <li> - %I with the hour in 12h format and 2 digits (e.g. 5pm is "05", 5am is "05") - </li> - - <li> - %l with the hour in 12h format and one digits (e.g. 5pm is "5", 5am is "5") - </li> - - <li> - %M with the minute with 2 digits (e.g. the minute of 07:02:09 is "02") - </li> - - <li> - %S with the seconds with 2 digits (e.g. the minute of 07:02:09 is "09") - </li> - - <li> - %p with pm or am (e.g. 17.00 is "pm", 05.00 is "am") - Everything else in the format string will be taken as is. - For example, 5.23pm with the format "%H:%M" results - in "17:23". - </li> - @param format The new time format - @short Changes the current time format. - */ - public native void setTimeFormat(String format); - /** - Changes how TDELocale defines the first day in week. - @param day first day of the week (Monday=1..Sunday=7) as integer - @short Changes how TDELocale defines the first day in week. - */ - public native void setWeekStartDay(int day); - /** - Returns the currently selected date format. - @return Current date format. - - @short Returns the currently selected date format. - @see #setDateFormat - */ - public native String dateFormat(); - /** - Returns the currently selected short date format. - @return Current short date format. - - @short Returns the currently selected short date format. - @see #setDateFormatShort - */ - public native String dateFormatShort(); - /** - Returns the currently selected time format. - @return Current time format. - - @short Returns the currently selected time format. - @see #setTimeFormat - */ - public native String timeFormat(); - /** - Changes the symbol used to identify the decimal pointer. - @param symbol The new decimal symbol. - @short Changes the symbol used to identify the decimal pointer. - */ - public native void setDecimalSymbol(String symbol); - /** - Changes the separator used to group digits when formating numbers. - @param separator The new thousands separator. - @short Changes the separator used to group digits when formating numbers. - */ - public native void setThousandsSeparator(String separator); - /** - Changes the sign used to identify a positive number. Normally this is - left blank. - @param sign Sign used for positive numbers. - @short Changes the sign used to identify a positive number. - */ - public native void setPositiveSign(String sign); - /** - Changes the sign used to identify a negative number. - @param sign Sign used for negative numbers. - @short Changes the sign used to identify a negative number. - */ - public native void setNegativeSign(String sign); - /** - Changes the sign position used for positive monetary values. - @param signpos The new sign position - @short Changes the sign position used for positive monetary values. - */ - public native void setPositiveMonetarySignPosition(int signpos); - /** - Changes the sign position used for negative monetary values. - @param signpos The new sign position - @short Changes the sign position used for negative monetary values. - */ - public native void setNegativeMonetarySignPosition(int signpos); - /** - Changes the position where the currency symbol should be printed for - positive monetary values. - @param prefix True if the currency symbol should be prefixed instead of - postfixed - @short Changes the position where the currency symbol should be printed for positive monetary values. - */ - public native void setPositivePrefixCurrencySymbol(boolean prefix); - /** - Changes the position where the currency symbol should be printed for - negative monetary values. - @param prefix True if the currency symbol should be prefixed instead of - postfixed - @short Changes the position where the currency symbol should be printed for negative monetary values. - */ - public native void setNegativePrefixCurrencySymbol(boolean prefix); - /** - Changes the number of digits used when formating numbers. - @param digits The default number of digits to use. - @short Changes the number of digits used when formating numbers. - */ - public native void setFracDigits(int digits); - /** - Changes the separator used to group digits when formating monetary values. - @param separator The new thousands separator. - @short Changes the separator used to group digits when formating monetary values. - */ - public native void setMonetaryThousandsSeparator(String separator); - /** - Changes the symbol used to identify the decimal pointer for monetary - values. - @param symbol The new decimal symbol. - @short Changes the symbol used to identify the decimal pointer for monetary values. - */ - public native void setMonetaryDecimalSymbol(String symbol); - /** - Changes the current currency symbol. - @param symbol The new currency symbol - @short Changes the current currency symbol. - */ - public native void setCurrencySymbol(String symbol); - /** - Returns the preferred page size for printing. - @return The preferred page size, cast it to TQPrinter.PageSize - - @short Returns the preferred page size for printing. - */ - public native int pageSize(); - /** - Changes the preferred page size when printing. - @param paperFormat the new preferred page size in the format TQPrinter.PageSize - @short Changes the preferred page size when printing. - */ - public native void setPageSize(int paperFormat); - /** - Returns which measuring system we use. - @return The preferred measuring system - - @short Returns which measuring system we use. - */ - public native int measureSystem(); - /** - Changes the preferred measuring system. - @return value The preferred measuring system - - @short Changes the preferred measuring system. - */ - public native void setMeasureSystem(int value); - /** - Adds another catalog to search for translation lookup. - This function is useful for extern libraries and/or code, - that provide there own messages. - If the catalog does not exist for the chosen language, - it will be ignored and en_US will be used. - @param catalog The catalog to add. - @short Adds another catalog to search for translation lookup. - */ - public native void insertCatalogue(String catalog); - /** - Removes a catalog for translation lookup. - @param catalog The catalog to remove. - @short Removes a catalog for translation lookup. - @see #insertCatalogue - */ - public native void removeCatalogue(String catalog); - /** - Sets the active catalog for translation lookup. - @param catalog The catalog to activate. - @short Sets the active catalog for translation lookup. - */ - public native void setActiveCatalogue(String catalog); - /** - Translates a message as a TQTranslator is supposed to. - The parameters are similar to i18n(), but the result - value has other semantics (it can be null) - @short Translates a message as a TQTranslator is supposed to. - */ - public native String translateQt(String context, String sourceText, String message); - /** - Returns list of all known ISO 639-1 codes. - @return a list of all language codes - - @short Returns list of all known ISO 639-1 codes. - */ - public native ArrayList allLanguagesTwoAlpha(); - /** - Convert a ISO 639-1 code to a human readable form. - @param code the language ISO 639-1 code - @return the human readable form - - @short Convert a ISO 639-1 code to a human readable form. - */ - public native String twoAlphaToLanguageName(String code); - /** - Returns list of all known country codes. - @return a list of all country codes - - @short Returns list of all known country codes. - */ - public native ArrayList allCountriesTwoAlpha(); - /** - Convert a country code to a human readable form. - @param code the country code - @return the human readable form of the country name - - @short Convert a country code to a human readable form. - */ - public native String twoAlphaToCountryName(String code); - /** - Returns the parts of the parameter str understood as language setting - the format is language_COUNTRY.charset - @param str The string to split. - @param language This will be set to the language part of the string. - @param country This will be set to the country part of the string. - @param charset This will be set to the charset part of the string. - @short Returns the parts of the parameter str understood as language setting the format is language_COUNTRY. - */ - public static native void splitLocale(String str, StringBuffer language, StringBuffer country, StringBuffer charset); - /** - Use this as main catalog for all TDELocales, if not the appname - will be used. This function is best to be the very first instruction - in your program's main function as it only has an effect before the - first TDELocale object is created. - @param catalog Catalogue to override all other main catalogues. - @short Use this as main catalog for all TDELocales, if not the appname will be used. - */ - public static native void setMainCatalogue(String catalog); - /** - Finds localized resource in resourceDir( rtype ) + \<lang> + fname. - @param fname relative path to find - @param rtype resource type to use - @short Finds localized resource in resourceDir( rtype ) + \<lang> + fname. - */ - public static native String langLookup(String fname, String rtype); - public static native String langLookup(String fname); - /** - Returns the name of the internal language. - @return Name of the default language - - @short Returns the name of the internal language. - */ - public static native String defaultLanguage(); - /** - Returns the name of the default country. - @return Name of the default country - - @short Returns the name of the default country. - */ - public static native String defaultCountry(); - /** - @short - */ - public static native String _initLanguage(TDEConfigBase config); - /** - pointer. - @short - */ - protected static native void initInstance(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEMainWindow.java b/kdejava/koala/org/kde/koala/TDEMainWindow.java deleted file mode 100644 index 07290b56..00000000 --- a/kdejava/koala/org/kde/koala/TDEMainWindow.java +++ /dev/null @@ -1,1082 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQSize; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQChildEvent; -import org.kde.qt.TQMainWindow; - -/** - - Top level widget that provides toolbars, a status line and a frame. - It should be used as a top level (parent-less) widget. - It manages the geometry for all its children, including your - main widget. - Normally, you will inherit from TDEMainWindow, - then construct (or use some existing) widget as - your main view. You can set only one main view. - You can add as many toolbars as you like. There can be only one menubar - and only one statusbar. - The toolbars, menubar, and statusbar can be created by the - TDEMainWindow and - unlike the old TDEMainWindow - may, but do not - have to, be deleted by you. TDEMainWindow will handle that internally. - Height and width can be operated independently from each other. Simply - define the minimum/maximum height/width of your main widget and - TDEMainWindow will take this into account. For fixed size windows set - your main widget to a fixed size. - Fixed aspect ratios (heightForWidth()) and fixed width widgets are - not supported. - TDEMainWindow will set icon, mini icon and caption, which it gets - from TDEApplication. It provides full session management, and - will save its position, geometry and positions of toolbars and - menubar on logout. If you want to save additional data, reimplement - saveProperties() and (to read them again on next login) - readProperties(). To save special data about your data, reimplement - saveGlobalProperties(). To warn user that application or - windows have unsaved data on close or logout, reimplement - queryClose() and/or queryExit(). - There are also kRestoreMainWindows convenience functions which - can restore all your windows on next login. - Note that a TDEMainWindow per-default is created with the - WDestructiveClose flag, i.e. it is automatically destroyed when the - window is closed. If you do not want this behavior, specify 0 as - widget flag in the constructor. - @author Reginald Stadlbauer (reggie@kde.org) Stephan Kulow (coolo@kde.org), Matthias Ettrich (ettrich@kde.org), Chris Schlaeger (cs@kde.org), Sven Radej (radej@kde.org). Maintained by Sven Radej (radej@kde.org) - - @short %KDE top level main window. - @see TDEApplication - -*/ -public class TDEMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface { - protected TDEMainWindow(Class dummy){super((Class) null);} - /** - Flags that can be passed in an argument to the constructor to - change the behavior. - NoDCOPObject tells TDEMainWindow not to create a TDEMainWindowInterface. - This can be useful in particular for inherited classes, which - might want to create more specific dcop interfaces. It's a good - idea to use TDEMainWindowInterface as the base class for such interfaces - though (to provide the standard mainwindow functionality via DCOP). - @short Flags that can be passed in an argument to the constructor to change the behavior. - */ - public static final int NoDCOPObject = 1; - - /** - @short - @see #setupGUI - */ - public static final int ToolBar = 1; - public static final int Keys = 2; - public static final int StatusBar = 4; - public static final int Save = 8; - public static final int Create = 16; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a main window. - @param parent The widget parent. This is usually 0 but it may also be the window - group leader. In that case, the TDEMainWindow becomes sort of a - secondary window. - @param name The object name. For session management and window management to work - properly, all main windows in the application should have a - different name. When passing 0 (the default), TDEMainWindow will create - a unique name, but it's recommended to explicitly pass a window name that will - also describe the type of the window. If there can be several windows of the same - type, append '#' (hash) to the name, and TDEMainWindow will append numbers to make - the names unique. For example, for a mail client which has one main window showing - the mails and folders, and which can also have one or more windows for composing - mails, the name for the folders window should be e.g. "mainwindow" and - for the composer windows "composer#". - @param f Specify the widget flags. The default is - WType_TopLevel and WDestructiveClose. TopLevel indicates that a - main window is a toplevel window, regardless of whether it has a - parent or not. DestructiveClose indicates that a main window is - automatically destroyed when its window is closed. Pass 0 if - you do not want this behavior. - TDEMainWindows must be created on the heap with 'new', like: - <pre> - TDEMainWindow kmw = new TDEMainWindow (...); - </pre> - @short Construct a main window. - @see #http://doc#trolltech#com/3#2/qt#html#WidgetFlags-enum - */ - public TDEMainWindow(TQWidget parent, String name, int f) { - super((Class) null); - newTDEMainWindow(parent,name,f); - } - private native void newTDEMainWindow(TQWidget parent, String name, int f); - public TDEMainWindow(TQWidget parent, String name) { - super((Class) null); - newTDEMainWindow(parent,name); - } - private native void newTDEMainWindow(TQWidget parent, String name); - public TDEMainWindow(TQWidget parent) { - super((Class) null); - newTDEMainWindow(parent); - } - private native void newTDEMainWindow(TQWidget parent); - public TDEMainWindow() { - super((Class) null); - newTDEMainWindow(); - } - private native void newTDEMainWindow(); - /** - Overloaded constructor which allows passing some TDEMainWindow.CreationFlags. - @short Overloaded constructor which allows passing some TDEMainWindow.CreationFlags. - */ - public TDEMainWindow(int cflags, TQWidget parent, String name, int f) { - super((Class) null); - newTDEMainWindow(cflags,parent,name,f); - } - private native void newTDEMainWindow(int cflags, TQWidget parent, String name, int f); - public TDEMainWindow(int cflags, TQWidget parent, String name) { - super((Class) null); - newTDEMainWindow(cflags,parent,name); - } - private native void newTDEMainWindow(int cflags, TQWidget parent, String name); - public TDEMainWindow(int cflags, TQWidget parent) { - super((Class) null); - newTDEMainWindow(cflags,parent); - } - private native void newTDEMainWindow(int cflags, TQWidget parent); - public TDEMainWindow(int cflags) { - super((Class) null); - newTDEMainWindow(cflags); - } - private native void newTDEMainWindow(int cflags); - /** - Retrieve the standard help menu. - It contains entires for the - help system (activated by F1), an optional "What's This?" entry - (activated by Shift F1), an application specific dialog box, - and an "About KDE" dialog box. - Example (adding a standard help menu to your application): - <pre> - TDEPopupMenu help = helpMenu( <myTextString> ); - menuBar().insertItem( i18n("&Help"), help ); - </pre> - @param aboutAppText The string that is used in the application - specific dialog box. If you leave this string empty the - information in the global TDEAboutData of the - application will be used to make a standard dialog box. - @param showWhatsThis Set this to false if you do not want to include - the "What's This" menu entry. - @return A standard help menu. - - @short Retrieve the standard help menu. - */ - public native TDEPopupMenu helpMenu(String aboutAppText, boolean showWhatsThis); - public native TDEPopupMenu helpMenu(String aboutAppText); - public native TDEPopupMenu helpMenu(); - /** - Returns the help menu. Creates a standard help menu if none exists yet. - It contains entries for the - help system (activated by F1), an optional "What's This?" entry - (activated by Shift F1), an application specific dialog box, - and an "About KDE" dialog box. You must create the application - specific dialog box yourself. When the "About application" - menu entry is activated, a signal will trigger the - showAboutApplication slot. See showAboutApplication for more - information. - Example (adding a help menu to your application): - <pre> - menuBar().insertItem( i18n("&Help"), customHelpMenu() ); - </pre> - @param showWhatsThis Set this to <code>false</code> if you do not want to include - the "What's This" menu entry. - @return A standard help menu. - - @short Returns the help menu. - */ - public native TDEPopupMenu customHelpMenu(boolean showWhatsThis); - public native TDEPopupMenu customHelpMenu(); - /** - Reimplementation of TQMainWindow.show() - @short Reimplementation of TQMainWindow.show() - */ - public native void show(); - /** - Reimplementation of TQMainWindow.hide() - @short Reimplementation of TQMainWindow.hide() - */ - public native void hide(); - /** - Restore the session specified by <code>number.</code> - Returns <code>false</code> if this - fails, otherwise returns <code>true</code> and shows the window. - You should call canBeRestored() first. - If <code>show</code> is true (default), this widget will be shown automatically. - @short Restore the session specified by <code>number.</code> - */ - public native boolean restore(int number, boolean show); - public native boolean restore(int number); - public native KXMLGUIFactory guiFactory(); - /** - Create a GUI given a local XML file. - If <code>xmlfile</code> is NULL, - then it will try to construct a local XML filename like - appnameui.rc where 'appname' is your app's name. If that file - does not exist, then the XML UI code will only use the global - (standard) XML file for the layout purposes. - Note that when passing true for the conserveMemory argument subsequent - calls to guiFactory().addClient/removeClient may not work as expected. - Also retrieving references to containers like popup menus or toolbars using - the container method will not work. - @param xmlfile The local xmlfile (relative or absolute) - @param _conserveMemory Specify whether createGUI() should call - KXMLGUIClient.conserveMemory() to free all memory - allocated by the TQDomDocument and by the KXMLGUIFactory. - @short Create a GUI given a local XML file. - */ - public native void createGUI(String xmlfile, boolean _conserveMemory); - public native void createGUI(String xmlfile); - public native void createGUI(); - /** - Enables the build of a standard help menu when calling createGUI(). - The default behavior is to build one, you must call this function - to disable it - @short Enables the build of a standard help menu when calling createGUI(). - */ - public native void setHelpMenuEnabled(boolean showHelpMenu); - public native void setHelpMenuEnabled(); - /** - Return <code>true</code> when the help menu is enabled - @short Return <code>true</code> when the help menu is enabled - */ - public native boolean isHelpMenuEnabled(); - /** - Returns true, if there is a menubar - @short Returns true, if there is a menubar - */ - public native boolean hasMenuBar(); - /** - Returns a pointer to the menu bar. - If there is no menu bar yet one will be created. - @short Returns a pointer to the menu bar. - */ - public native KMenuBar kmenuBar(); - /** - Returns a pointer to the status bar. - If there is no status bar yet, one will be created. - Note that tooltips for tdeactions in actionCollection() are not - automatically connected to this statusBar. - See the TDEActionCollection documentation for more details. - @short Returns a pointer to the status bar. - @see TDEActionCollection - */ - public native KStatusBar kstatusBar(); - /** - Returns a pointer to the toolbar with the specified name. - This refers to toolbars created dynamically from the XML UI - framework. If the toolbar does not exist one will be created. - @param name The internal name of the toolbar. If no name is - specified "mainToolBar" is assumed. - @return A pointer to the toolbar - - @short Returns a pointer to the toolbar with the specified name. - */ - public native TDEToolBar toolBar(String name); - public native TDEToolBar toolBar(); - /** - @return An iterator over the list of all toolbars for this window. - - @short - */ - // TQPtrListIterator<TDEToolBar> toolBarIterator(); >>>> NOT CONVERTED - /** - @return A TDEAccel instance bound to this mainwindow. Used automatically - by TDEAction to make keybindings work in all cases. - - @short - */ - public native TDEAccel accel(); - public native void setFrameBorderWidth(int arg1); - /** - Call this to enable "auto-save" of toolbar/menubar/statusbar settings - (and optionally window size). - If the bars were moved around/shown/hidden when the window is closed, - saveMainWindowSettings( TDEGlobal.config(), groupName ) will be called. - @param groupName a name that identifies this "type of window". - You can have several types of window in the same application. - @param saveWindowSize set it to true to include the window size - when saving. - Typically, you will call setAutoSaveSettings() in your - TDEMainWindow-inherited class constructor, and it will take care - of restoring and saving automatically. Make sure you call this - _after all_ your bars have been created. - To make sure that TDEMainWindow propertly obtains the default - size of the window you should do the following: - - Remove hard coded resize() calls in the constructor or main, they - should be removed in favor of letting the automatic resizing - determine the default window size. Hard coded window sizes will - be wrong for users that have big fonts, use different styles, - long/small translations, large toolbars, and other factors. - - Put the setAutoSaveSettings ( or setupGUI() ) call after all widgets - have been created and placed inside the main window (i.e. for 99% of - apps setCentralWidget()) - - Widgets that inherit from TQWidget (like game boards) should overload - "TQSize sizeHint() const;" to specify a default size rather - than letting TQWidget.adjust use the default size of 0x0. - @short Call this to enable "auto-save" of toolbar/menubar/statusbar settings (and optionally window size). - */ - public native void setAutoSaveSettings(String groupName, boolean saveWindowSize); - public native void setAutoSaveSettings(String groupName); - public native void setAutoSaveSettings(); - /** - Disable the auto-save-settings feature. - You don't normally need to call this, ever. - @short Disable the auto-save-settings feature. - */ - public native void resetAutoSaveSettings(); - /** - @return the current autosave setting, i.e. true if setAutoSaveSettings() was called, - false by default or if resetAutoSaveSettings() was called. - - @short - */ - public native boolean autoSaveSettings(); - /** - @return the group used for setting-autosaving. - Only meaningful if setAutoSaveSettings() was called. - This can be useful for forcing a save or an apply, e.g. before and after - using KEditToolbar. - - @short - */ - public native String autoSaveGroup(); - /** - Read settings for statusbar, menubar and toolbar from their respective - groups in the config file and apply them. - @param config Config file to read the settings from. - @param groupName Group name to use. If not specified, the last used - group name is used. - @param force if set, even default settings are re-applied - @short Read settings for statusbar, menubar and toolbar from their respective groups in the config file and apply them. - */ - public native void applyMainWindowSettings(TDEConfig config, String groupName, boolean force); - public native void applyMainWindowSettings(TDEConfig config, String groupName); - public native void applyMainWindowSettings(TDEConfig config); - /** - Save settings for statusbar, menubar and toolbar to their respective - groups in the config file <code>config.</code> - @param config Config file to save the settings to. - @param groupName Group name to use. If not specified, the last used - group name is used - @short Save settings for statusbar, menubar and toolbar to their respective groups in the config file <code>config.</code> - */ - public native void saveMainWindowSettings(TDEConfig config, String groupName); - public native void saveMainWindowSettings(TDEConfig config); - /** - Sets whether TDEMainWindow should provide a menu that allows showing/hiding - the available toolbars ( using TDEToggleToolBarAction ) . In case there - is only one toolbar configured a simple 'Show \<toolbar name here\>' menu item - is shown. - The menu / menu item is implemented using xmlgui. It will be inserted in your - menu structure in the 'Settings' menu. - If your application uses a non-standard xmlgui resource file then you can - specify the exact position of the menu / menu item by adding a - <Merge name="StandardToolBarMenuHandler" /> - line to the settings menu section of your resource file ( usually appname.rc ). - Note that you should enable this feature before calling createGUI() ( or similar ) . - You enable/disable it anytime if you pass false to the conserveMemory argument of createGUI. - @short Sets whether TDEMainWindow should provide a menu that allows showing/hiding the available toolbars ( using TDEToggleToolBarAction ) . - */ - public native void setStandardToolBarMenuEnabled(boolean enable); - public native boolean isStandardToolBarMenuEnabled(); - /** - Sets whether TDEMainWindow should provide a menu that allows showing/hiding - of the statusbar ( using TDEToggleStatusBarAction ). - The menu / menu item is implemented using xmlgui. It will be inserted - in your menu structure in the 'Settings' menu. - Note that you should enable this feature before calling createGUI() - ( or similar ). - If an application maintains the action on its own (i.e. never calls - this function) a connection needs to be made to let TDEMainWindow - know when that status (hidden/shown) of the statusbar has changed. - For example: - connect(action, SIGNAL("activated()"), - tdemainwindow, SLOT("setSettingsDirty()")); - Otherwise the status (hidden/show) of the statusbar might not be saved - by TDEMainWindow. - @short Sets whether TDEMainWindow should provide a menu that allows showing/hiding of the statusbar ( using TDEToggleStatusBarAction ). - */ - public native void createStandardStatusBarAction(); - /** - Configures the current windows and its actions in the typical KDE - fashion. The options are all enabled by default but can be turned - off if desired through the params or if the prereqs don't exists. - Typically this function replaces createGUI(). - @short Configures the current windows and its actions in the typical KDE fashion. - @see StandardWindowOptions - */ - public native void setupGUI(int options, String xmlfile); - public native void setupGUI(int options); - public native void setupGUI(); - /** - Configures the current windows and its actions in the typical KDE - fashion. The options are all enabled by default but can be turned - off if desired through the params or if the prereqs don't exists. - <code>defaultSize</code> The default size of the window - Typically this function replaces createGUI(). - @short Configures the current windows and its actions in the typical KDE fashion. - @see StandardWindowOptions - */ - public native void setupGUI(TQSize defaultSize, int options, String xmlfile); - public native void setupGUI(TQSize defaultSize, int options); - public native void setupGUI(TQSize defaultSize); - /** - Returns a pointer to the mainwindows action responsible for the toolbars menu - @short Returns a pointer to the mainwindows action responsible for the toolbars menu - */ - public native TDEAction toolBarMenuAction(); - /** - @short - */ - public native void setupToolbarMenuActions(); - public native void finalizeGUI(KXMLGUIClientInterface client); - /** - @short - */ - public native void finalizeGUI(boolean force); - /** - @return true if a -geometry argument was given on the command line, - and this is the first window created (the one on which this option applies) - - @short - */ - public native boolean initialGeometrySet(); - /** - Used from Konqueror when reusing the main window. - @short - */ - public native void ignoreInitialGeometry(); - /** - @short - */ - public native void setIcon(TQPixmap arg1); - /** - Show a standard configure toolbar dialog. - This slot can be connected dirrectly to the action to configure shortcuts. - This is very simple to do that by adding a single line - <pre> - KStdAction.configureToolbars( guiFactory(), SLOT("configureToolbars()"), - actionCollection() ); - </pre> - @short Show a standard configure toolbar dialog. - */ - public native int configureToolbars(); - /** - Makes a KDE compliant caption. - @param caption Your caption. <b>Do</b> <b>not</b> include the application name - in this string. It will be added automatically according to the KDE - standard. - @short Makes a KDE compliant caption. - */ - public native void setCaption(String caption); - /** - Makes a KDE compliant caption. - @param caption Your caption. <b>Do</b> <b>not</b> include the application name - in this string. It will be added automatically according to the KDE - standard. - @param modified Specify whether the document is modified. This displays - an additional sign in the title bar, usually "**". - @short Makes a KDE compliant caption. - */ - public native void setCaption(String caption, boolean modified); - /** - Make a plain caption without any modifications. - @param caption Your caption. This is the string that will be - displayed in the window title. - @short Make a plain caption without any modifications. - */ - public native void setPlainCaption(String caption); - /** - Open the help page for the application. - The application name is - used as a key to determine what to display and the system will attempt - to open \<appName\>/index.html. - This method is intended for use by a help button in the toolbar or - components outside the regular help menu. Use helpMenu() when you - want to provide access to the help system from the help menu. - Example (adding a help button to the first toolbar): - <pre> - TDEIconLoader &loader = TDEGlobal.iconLoader(); - TQPixmap pixmap = loader.loadIcon( "help" ); - toolBar(0).insertButton( pixmap, 0, SIGNAL("clicked()"), - this, SLOT("appHelpActivated()"), true, i18n("Help") ); - </pre> - @short Open the help page for the application. - */ - public native void appHelpActivated(); - /** - Apply a state change - Enable and disable actions as defined in the XML rc file - @short Apply a state change - */ - public native void slotStateChanged(String newstate); - /** - Apply a state change - Enable and disable actions as defined in the XML rc file, - can "reverse" the state (disable the actions which should be - enabled, and vice-versa) if specified. - @short Apply a state change - */ - public native void slotStateChanged(String newstate, int arg2); - /** - Tell the main window that it should save its settings when being closed. - This is part of the auto-save-settings feature. - For everything related to toolbars this happens automatically, - but you have to call setSettingsDirty() in the slot that toggles - the visibility of the statusbar. - @short Tell the main window that it should save its settings when being closed. - */ - public native void setSettingsDirty(); - /** - <b>Session Management</b> - Try to restore the toplevel widget as defined by the number (1..X). - If the session did not contain so high a number, the configuration - is not changed and <code>false</code> returned. - That means clients could simply do the following: - <pre> - if (kapp.isRestored()){ - int n = 1; - while (TDEMainWindow.canBeRestored(n)){ - (new childMW).restore(n); - n++; - } - } else { - // create default application as usual - } - </pre> - Note that TQWidget.show() is called implicitly in restore. - With this you can easily restore all toplevel windows of your - application. - If your application uses different kinds of toplevel - windows, then you can use TDEMainWindow.classNameOfToplevel(n) - to determine the exact type before calling the childMW - constructor in the example from above. - If your client has only one kind of toplevel widgets (which - should be pretty usual) then you should use the RESTORE-macro - for backwards compatibility with 3.1 and 3.0 branches: - <pre> - if (kapp.isRestored()) - RESTORE(childMW) - else { - // create default application as usual - } - </pre> - The macro expands to the term above but is easier to use and - less code to write. - For new code or if you have more than one kind of toplevel - widget (each derived from TDEMainWindow, of course), you can - use the templated kRestoreMainWindows global functions: - <pre> - if (kapp.isRestored()) - kRestoreMainWindows< childMW1, childMW2, childMW3 >(); - else { - // create default application as usual - } - </pre> - Currently, these functions are provided for up to three - template arguments. If you need more, tell us. To help you in - deciding whether or not you can use kRestoreMainWindows, a - define KDE_RESTORE_MAIN_WINDOWS_NUM_TEMPLATE_ARGS is provided. - @short <b>Session Management</b> - @see #restore - @see #classNameOfToplevel - */ - public static native boolean canBeRestored(int number); - /** - Returns the className() of the <code>number</code> of the toplevel window which - should be restored. - This is only useful if your application uses - different kinds of toplevel windows. - @short Returns the className() of the <code>number</code> of the toplevel window which should be restored. - */ - public static native String classNameOfToplevel(int number); - /** - List of members of TDEMainWindow class. - @short List of members of TDEMainWindow class. - */ - // TQPtrList<TDEMainWindow>* getMemberList(); >>>> NOT CONVERTED - protected native void paintEvent(TQPaintEvent e); - protected native void childEvent(TQChildEvent e); - protected native void resizeEvent(TQResizeEvent e); - /** - Reimplemented to call the queryClose() and queryExit() handlers. - We recommend that you reimplement the handlers rather than closeEvent(). - If you do it anyway, ensure to call the base implementation to keep - queryExit() running. - @short Reimplemented to call the queryClose() and queryExit() handlers. - */ - protected native void closeEvent(TQCloseEvent arg1); - /** - Called before the very last window is closed, either by the - user or indirectly by the session manager. - It is not recommended to do any user interaction in this - function other than indicating severe errors. Better ask the - user on queryClose() (see below). - A typical usage of queryExit() is to write configuration data back. - Note that the application may continue to run after queryExit() - (the user may have canceled a shutdown), so you should not do any cleanups - here. The purpose of queryExit() is purely to prepare the application - (with possible user interaction) so it can safely be closed later (without - user interaction). - If you need to do serious things on exit (like shutting a - dial-up connection down), connect to the signal - TDEApplication.shutDown(). - Default implementation returns <code>true.</code> Returning <code>false</code> will - cancel the exiting. In the latter case, the last window will - remain visible. If TDEApplication.sessionSaving() is true, refusing - the exit will also cancel KDE logout. - @short Called before the very last window is closed, either by the user or indirectly by the session manager. - @see #queryClose - @see TDEApplication#sessionSaving - */ - protected native boolean queryExit(); - /** - Called before the window is closed, either by the user or indirectly by - the session manager. - The purpose of this function is to prepare the window in a way that it is - safe to close it, i.e. without the user losing some data. - Default implementation returns true. Returning <code>false</code> will cancel - the closing, and, if TDEApplication.sessionSaving() is true, it will also - cancel KDE logout. - Reimplement this function to prevent the user from losing data. - Example: - <pre> - switch ( KMessageBox.warningYesNoCancel( this, - i18n("Save changes to document foo?")) ) { - case KMessageBox.Yes : - // save document here. If saving fails, return false; - return true; - case KMessageBox.No : - return true; - default: // cancel - return false; - </pre> - Note that you should probably <b>not</b> actually close the document from - within this method, as it may be called by the session manager before the - session is saved. If the document is closed before the session save occurs, - its location might not be properly saved. In addition, the session shutdown - may be canceled, in which case the document should remain open. - @short Called before the window is closed, either by the user or indirectly by the session manager. - @see #queryExit - @see TDEApplication#sessionSaving - */ - protected native boolean queryClose(); - /** - Save your instance-specific properties. The function is - invoked when the session manager requests your application - to save its state. - You <b>must</b> <b>not</b> change the group of the <code>tdeconfig</code> object, since - TDEMainWindow uses one group for each window. Please - reimplement these function in childclasses. - Note: No user interaction is allowed - in this function! - @short Save your instance-specific properties. - */ - protected native void saveProperties(TDEConfig arg1); - /** - Read your instance-specific properties. - @short Read your instance-specific properties. - */ - protected native void readProperties(TDEConfig arg1); - /** - Save your application-wide properties. The function is - invoked when the session manager requests your application - to save its state. - This function is similar to saveProperties() but is only called for - the very first main window, regardless how many main window are open. - Override it if you need to save other data about your documents on - session end. sessionConfig is a config to which that data should be - saved. Normally, you don't need this function. But if you want to save - data about your documents that are not in opened windows you might need - it. - Default implementation does nothing. - @short Save your application-wide properties. - */ - protected native void saveGlobalProperties(TDEConfig sessionConfig); - /** - The counterpart of saveGlobalProperties(). - Read the application-specific properties in again. - @short The counterpart of saveGlobalProperties(). - */ - protected native void readGlobalProperties(TDEConfig sessionConfig); - protected native void savePropertiesInternal(TDEConfig arg1, int arg2); - protected native boolean readPropertiesInternal(TDEConfig arg1, int arg2); - /** - For inherited classes - @short For inherited classes - */ - protected native boolean settingsDirty(); - /** - For inherited classes - @short For inherited classes - */ - protected native String settingsGroup(); - /** - For inherited classes - Note that the group must be set before calling - @short For inherited classes Note that the group must be set before calling - */ - protected native void saveWindowSize(TDEConfig config); - /** - For inherited classes - Note that the group must be set before calling, and that - a -geometry on the command line has priority. - @short For inherited classes Note that the group must be set before calling, and that a -geometry on the command line has priority. - */ - protected native void restoreWindowSize(TDEConfig config); - protected native void parseGeometry(boolean parsewidth); - /** - Rebuilds the GUI after KEditToolbar changed the toolbar layout. - @short Rebuilds the GUI after KEditToolbar changed the toolbar layout. - @see #configureToolbars - */ - protected native void saveNewToolbarConfig(); - /** - This slot does nothing. - It must be reimplemented if you want - to use a custom About Application dialog box. This slot is - connected to the About Application entry in the menu returned - by customHelpMenu. - Example: - <pre> - void MyMainLevel.setupInterface() - { - .. - menuBar().insertItem( i18n("&Help"), customHelpMenu() ); - .. - } - void MyMainLevel.showAboutApplication() - { - <activate your custom dialog> - } - </pre> - @short This slot does nothing. - */ - protected native void showAboutApplication(); - /** - This slot should only be called in case you reimplement closeEvent() and - if you are using the "auto-save" feature. In all other cases, - setSettingsDirty() should be called instead to benefit from the delayed - saving. - Example: - <pre> - void MyMainWindow.closeEvent( TQCloseEvent e ) - { - // Save settings if auto-save is enabled, and settings have changed - if ( settingsDirty() && autoSaveSettings() ) - saveAutoSaveSettings(); - .. - } - </pre> - @short This slot should only be called in case you reimplement closeEvent() and if you are using the "auto-save" feature. - @see #setAutoSaveSettings - @see #setSettingsDirty - */ - protected native void saveAutoSaveSettings(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - public native KXMLGUIClientInterface builderClient(); - public native void setBuilderClient(KXMLGUIClientInterface client); - public native TDEInstanceInterface builderInstance(); - public native void setBuilderInstance(TDEInstanceInterface instance); - public native TQWidget widget(); - public native ArrayList containerTags(); - /** - Creates a container (menubar/menu/toolbar/statusbar/separator/...) - from an element in the XML file - @param parent The parent for the container - @param index The index where the container should be inserted - into the parent container/widget - @param element The element from the DOM tree describing the - container (use it to access container specified - attributes or child elements) - @param id The id to be used for this container - @short Creates a container (menubar/menu/toolbar/statusbar/separator/. - */ - public native TQWidget createContainer(TQWidget parent, int index, TQDomElement element, int[] id); - /** - Removes the given (and previously via createContainer ) - created container. - @short Removes the given (and previously via createContainer ) created container. - */ - public native void removeContainer(TQWidget container, TQWidget parent, TQDomElement element, int id); - public native ArrayList customTags(); - public native int createCustomElement(TQWidget parent, int index, TQDomElement element); - public native void removeCustomElement(TQWidget parent, int id); - /** - Retrieves an action of the client by name. If not found, it looks in its child clients. - This method is provided for convenience, as it uses actionCollection() - to get the action object. - @short Retrieves an action of the client by name. - */ - public native TDEAction action(String name); - /** - Retrieves an action for a given TQDomElement. The default - implementation uses the "name" attribute to query the action - object via the other action() method. - @short Retrieves an action for a given TQDomElement. - */ - public native TDEAction action(TQDomElement element); - /** - Retrieves the entire action collection for the GUI client. If - you subclass KXMLGUIClient you should call - TDEActionCollection.setWidget( TQWidget ) with this object, or - you will encounter subtle bugs with TDEAction keyboard shortcuts. - This is not necessary if your KXMLGUIClient is a TDEMainWindow. - @short Retrieves the entire action collection for the GUI client. - @see TDEActionCollection#setWidget( - @see org.kde.qt.TQWidget* - */ - public native TDEActionCollection actionCollection(); - /** - @return The instance ( TDEInstance ) for this GUI client. - - @short - */ - public native TDEInstanceInterface instance(); - /** - @return The parsed XML in a TQDomDocument, set by - setXMLFile() or setXML(). - This document describes the layout of the GUI. - - @short - */ - public native TQDomDocument domDocument(); - /** - This will return the name of the XML file as set by setXMLFile(). - If setXML() is used directly, then this will return NULL. - The filename that this returns is obvious for components as each - component has exactly one XML file. In non-components, however, - there are usually two: the global file and the local file. This - function doesn't really care about that, though. It will always - return the last XML file set. This, in almost all cases, will - be the local XML file. - @return The name of the XML file or null - - @short This will return the name of the XML file as set by setXMLFile(). - */ - public native String xmlFile(); - public native String localXMLFile(); - /** - @short - */ - public native void setXMLGUIBuildDocument(TQDomDocument doc); - /** - @short - */ - public native TQDomDocument xmlguiBuildDocument(); - /** - This method is called by the KXMLGUIFactory as soon as the client - is added to the KXMLGUIFactory's GUI. - @short This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. - */ - public native void setFactory(KXMLGUIFactory factory); - /** - Retrieves a pointer to the KXMLGUIFactory this client is - associated with (will return null if the client's GUI has not been built - by a KXMLGUIFactory. - @short Retrieves a pointer to the KXMLGUIFactory this client is associated with (will return 0L if the client's GUI has not been built by a KXMLGUIFactory. - */ - public native KXMLGUIFactory factory(); - /** - KXMLGUIClients can form a simple child/parent object tree. This - method returns a pointer to the parent client or null if it has no - parent client assigned. - @short KXMLGUIClients can form a simple child/parent object tree. - */ - public native KXMLGUIClientInterface parentClient(); - /** - Use this method to make a client a child client of another client. - Usually you don't need to call this method, as it is called - automatically when using the second constructor, which takes a - parent argument. - @short Use this method to make a client a child client of another client. - */ - public native void insertChildClient(KXMLGUIClientInterface child); - /** - Removes the given <code>child</code> from the client's children list. - @short Removes the given <code>child</code> from the client's children list. - */ - public native void removeChildClient(KXMLGUIClientInterface child); - /** - Retrieves a list of all child clients. - @short Retrieves a list of all child clients. - */ - // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED - /** - A client can have an own KXMLGUIBuilder. - Use this method to assign your builder instance to the client (so that the - KXMLGUIFactory can use it when building the client's GUI) - Client specific guibuilders are useful if you want to create - custom container widgets for your GUI. - @short A client can have an own KXMLGUIBuilder. - */ - public native void setClientBuilder(KXMLGUIBuilderInterface builder); - /** - Retrieves the client's GUI builder or null if no client specific - builder has been assigned via setClientBuilder() - @short Retrieves the client's GUI builder or 0L if no client specific builder has been assigned via setClientBuilder() - */ - public native KXMLGUIBuilderInterface clientBuilder(); - /** - Forces this client to re-read its XML resource file. This is - intended to be used when you know that the resource file has - changed and you will soon be rebuilding the GUI. It has no - useful effect with non-KParts GUIs, so don't bother using it - unless your app is component based. - @short Forces this client to re-read its XML resource file. - */ - public native void reloadXML(); - /** - ActionLists are a way for XMLGUI to support dynamic lists of - actions. E.g. if you are writing a file manager, and there is a - menu file whose contents depend on the mimetype of the file that - is selected, then you can achieve this using ActionLists. It - works as follows: - In your xxxui.rc file ( the one that you set in setXMLFile() - ), you put an <p>\<ActionList name="xxx"\></p> tag. E.g. - <pre> - <kpartgui name="xxx_part" version="1"> - <MenuBar> - <Menu name="file"> - ... <!-- some useful actions-. - <ActionList name="xxx_file_actionlist" /> - ... <!-- even more useful actions-. - </Menu> - ... - </MenuBar> - </kpartgui> - </pre> - This tag will get expanded to a list of actions. In the example - above ( a file manager with a dynamic file menu ), you would call - <pre> - TQPtrList<TDEAction> file_actions; - for( ... ) - if( ... ) - file_actions.append( cool_action ); - unplugActionList( "xxx_file_actionlist" ); - plugActionList( "xxx_file_actionlist", file_actions ); - </pre> - every time a file is selected, unselected or ... - <b>Note:<> You should not call createGUI() after calling this - function. In fact, that would remove the newly added - actionlists again... - <b>Note:<> Forgetting to call unplugActionList() before - plugActionList() would leave the previous actions in the - menu too.. - @short ActionLists are a way for XMLGUI to support dynamic lists of actions. - */ - // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED - /** - The complement of plugActionList() ... - @short The complement of plugActionList() . - */ - public native void unplugActionList(String name); - public native void addStateActionEnabled(String state, String action); - public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(TQWidget arg1); - public native void endXMLPlug(); - public native void prepareXMLUnplug(TQWidget arg1); - public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); - /** - Sets the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor. - (At least before setXMLFile().) - @short Sets the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Sets the name of the rc file containing the XML for the part. - Call this in the Part-inherited class constructor. - @param file Either an absolute path for the file, or simply the - filename, which will then be assumed to be installed - in the "data" resource, under a directory named like - the instance. - @param merge Whether to merge with the global document. - @param setXMLDoc Specify whether to call setXML. Default is true. - and the DOM document at once. - @short Sets the name of the rc file containing the XML for the part. - */ - protected native void setXMLFile(String file, boolean merge, boolean setXMLDoc); - protected native void setXMLFile(String file, boolean merge); - protected native void setXMLFile(String file); - protected native void setLocalXMLFile(String file); - /** - Sets the XML for the part. - Call this in the Part-inherited class constructor if you - don't call setXMLFile(). - @short Sets the XML for the part. - */ - protected native void setXML(String document, boolean merge); - protected native void setXML(String document); - /** - Sets the Document for the part, describing the layout of the GUI. - Call this in the Part-inherited class constructor if you don't call - setXMLFile or setXML . - @short Sets the Document for the part, describing the layout of the GUI. - */ - protected native void setDOMDocument(TQDomDocument document, boolean merge); - protected native void setDOMDocument(TQDomDocument document); - /** - This function will attempt to give up some memory after the GUI - is built. It should never be used in apps where the GUI may be - rebuilt at some later time (components, for instance). - @short This function will attempt to give up some memory after the GUI is built. - */ - protected native void conserveMemory(); - /** - Actions can collectively be assigned a "State". To accomplish this - the respective actions are tagged as \<enable\> or \<disable\> in - a \<State\> \</State\> group of the XMLfile. During program execution the - programmer can call stateChanged() to set actions to a defined state. - @param newstate Name of a State in the XMLfile. - @param reverse If the flag reverse is set to StateReverse, the State is reversed. - (actions to be enabled will be disabled and action to be disabled will be enabled) - Default is reverse=false. - @short Actions can collectively be assigned a "State". - */ - protected native void stateChanged(String newstate, int reverse); - protected native void stateChanged(String newstate); - /** - List of members of TDEMainWindow class. - */ - public native ArrayList memberList(); - - public static void RESTORE(String typeName) { - Class savedClass; - - try { - savedClass = Class.forName(typeName); - int n = 1; - while (TDEMainWindow.canBeRestored(n)){ - ((TDEMainWindow) savedClass.newInstance()).restore(n); - n++; - } - } catch(Exception e) { - return; - } - - return; - } - -} diff --git a/kdejava/koala/org/kde/koala/TDEPasteTextAction.java b/kdejava/koala/org/kde/koala/TDEPasteTextAction.java deleted file mode 100644 index 76a8fd24..00000000 --- a/kdejava/koala/org/kde/koala/TDEPasteTextAction.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - An action for pasting text from the clipboard. - It's useful for text handling applications as - when plugged into a toolbar it provides a menu - with the clipboard history if klipper is running. - If klipper is not running, the menu has only one - item: the current clipboard content. - @short An action for pasting text from the clipboard. - -*/ -public class TDEPasteTextAction extends TDEAction { - protected TDEPasteTextAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a TDEPasteTextAction, with a text, an icon, an accelerator, - a slot connected to the action, parent and name. - If you do not want or have a keyboard accelerator, set the - <code>cut</code> param to 0. - @param text The text that will be displayed. - @param icon The icon to display. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's owner. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short Create a TDEPasteTextAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. - */ - public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEPasteTextAction(text,icon,cut,receiver,slot,parent,name); - } - private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEPasteTextAction(text,icon,cut,receiver,slot,parent); - } - private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot) { - super((Class) null); - newTDEPasteTextAction(text,icon,cut,receiver,slot); - } - private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot); - /** - Controls the behavior of the clipboard history menu popup. - @param mode If false and the clipboard contains a non-text object - the popup menu with the clipboard history will appear - immediately as the user clicks the toolbar action; if - true, the action works like the standard paste action - even if the current clipboard object is not text. - Default value is true. - @short Controls the behavior of the clipboard history menu popup. - */ - public native void setMixedMode(boolean mode); - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - protected native void menuAboutToShow(); - protected native void menuItemActivated(int id); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEPopupFrame.java b/kdejava/koala/org/kde/koala/TDEPopupFrame.java deleted file mode 100644 index 9d80bbd9..00000000 --- a/kdejava/koala/org/kde/koala/TDEPopupFrame.java +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQFrame; - -/** - - Frame with popup menu behavior. - @author Tim Gilman, Mirko Boehm - - @version $Id$ - - @short Frame with popup menu behavior. - -*/ -public class TDEPopupFrame extends TQFrame { - protected TDEPopupFrame(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - The contructor. Creates a dialog without buttons. - @short The contructor. - */ - public TDEPopupFrame(TQWidget parent, String name) { - super((Class) null); - newTDEPopupFrame(parent,name); - } - private native void newTDEPopupFrame(TQWidget parent, String name); - public TDEPopupFrame(TQWidget parent) { - super((Class) null); - newTDEPopupFrame(parent); - } - private native void newTDEPopupFrame(TQWidget parent); - public TDEPopupFrame() { - super((Class) null); - newTDEPopupFrame(); - } - private native void newTDEPopupFrame(); - /** - Set the main widget. You cannot set the main widget from the constructor, - since it must be a child of the frame itselfes. - Be careful: the size is set to the main widgets size. It is up to you to - set the main widgets correct size before setting it as the main - widget. - @short Set the main widget. - */ - public native void setMainWidget(TQWidget m); - /** - The resize event. Simply resizes the main widget to the whole - widgets client size. - @short The resize event. - */ - public native void resizeEvent(TQResizeEvent arg1); - /** - Open the popup window at position pos. - @short Open the popup window at position pos. - */ - public native void popup(TQPoint pos); - /** - Execute the popup window. - @short Execute the popup window. - */ - public native int exec(TQPoint p); - /** - Execute the popup window. - @short Execute the popup window. - */ - public native int exec(int x, int y); - /** - Close the popup window. This is called from the main widget, usually. - <code>r</code> is the result returned from exec(). - @short Close the popup window. - */ - public native void close(int r); - /** - Hides the widget. Reimplemented from TQWidget - @short Hides the widget. - */ - public native void hide(); - /** - Catch key press events. - @short Catch key press events. - */ - protected native void keyPressEvent(TQKeyEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEPopupMenu.java b/kdejava/koala/org/kde/koala/TDEPopupMenu.java deleted file mode 100644 index 8fe4d9ab..00000000 --- a/kdejava/koala/org/kde/koala/TDEPopupMenu.java +++ /dev/null @@ -1,165 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPoint; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPopupMenu; - -/** - - TDEPopupMenu is a class for menus with standard title items and keyboard - accessibility for popups with many options and/or varying options. It acts - identically to TQPopupMenu, with the addition of insertTitle(), - changeTitle(), setKeyboardShortcutsEnabled() and - setKeyboardShortcutsExecute() methods. - The titles support a text string, an icon, plus user defined gradients, - colors, and background pixmaps. - The keyboard search algorithm is incremental with additional underlining - for user feedback. - See {@link TDEPopupMenuSignals} for signals emitted by TDEPopupMenu - @author Hamish Rodda <rodda@kde.org> - - @short A menu with title items. - -*/ -public class TDEPopupMenu extends TQPopupMenu { - protected TDEPopupMenu(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a TDEPopupMenu. - @short Constructs a TDEPopupMenu. - */ - public TDEPopupMenu(TQWidget parent, String name) { - super((Class) null); - newTDEPopupMenu(parent,name); - } - private native void newTDEPopupMenu(TQWidget parent, String name); - public TDEPopupMenu(TQWidget parent) { - super((Class) null); - newTDEPopupMenu(parent); - } - private native void newTDEPopupMenu(TQWidget parent); - public TDEPopupMenu() { - super((Class) null); - newTDEPopupMenu(); - } - private native void newTDEPopupMenu(); - /** - Inserts a title item with no icon. - @short Inserts a title item with no icon. - */ - public native int insertTitle(String text, int id, int index); - public native int insertTitle(String text, int id); - public native int insertTitle(String text); - /** - Inserts a title item with the given icon and title. - @short Inserts a title item with the given icon and title. - */ - public native int insertTitle(TQPixmap icon, String text, int id, int index); - public native int insertTitle(TQPixmap icon, String text, int id); - public native int insertTitle(TQPixmap icon, String text); - /** - Changes the title of the item at the specified id. If a icon was - previously set it is cleared. - @short Changes the title of the item at the specified id. - */ - public native void changeTitle(int id, String text); - /** - Changes the title and icon of the title item at the specified id. - @short Changes the title and icon of the title item at the specified id. - */ - public native void changeTitle(int id, TQPixmap icon, String text); - /** - Returns the title of the title item at the specified id. The default - id of -1 is for backwards compatibility only, you should always specify - the id. - @short Returns the title of the title item at the specified id. - */ - public native String title(int id); - public native String title(); - /** - Returns the icon of the title item at the specified id. - @short Returns the icon of the title item at the specified id. - */ - public native TQPixmap titlePixmap(int id); - /** - Enables keyboard navigation by searching for the entered key sequence. - Also underlines the currently selected item, providing feedback on the search. - Defaults to off. - WARNING: calls to text() of currently keyboard-selected items will - contain additional ampersand characters. - WARNING: though pre-existing keyboard shortcuts will not interfere with the - operation of this feature, they may be confusing to the user as the existing - shortcuts will not work. - @short Enables keyboard navigation by searching for the entered key sequence. - */ - public native void setKeyboardShortcutsEnabled(boolean enable); - /** - Enables execution of the menu item once it is uniquely specified. - Defaults to off. - @short Enables execution of the menu item once it is uniquely specified. - */ - public native void setKeyboardShortcutsExecute(boolean enable); - /** - Returns the context menu associated with this menu - @short Returns the context menu associated with this menu - */ - public native TQPopupMenu contextMenu(); - /** - Hides the context menu if shown - @short Hides the context menu if shown - */ - public native void hideContextMenu(); - /** - Reimplemented for internal purposes - @short Reimplemented for internal purposes - */ - public native void activateItemAt(int index); - /** - Return the state of the mouse button and keyboard modifiers - when the last menuitem was activated. - @short Return the state of the mouse button and keyboard modifiers when the last menuitem was activated. - */ - public native int state(); - /** - Returns the TDEPopupMenu associated with the current context menu - @short Returns the TDEPopupMenu associated with the current context menu - */ - public static native TDEPopupMenu contextMenuFocus(); - /** - returns the ID of the menuitem associated with the current context menu - @short returns the ID of the menuitem associated with the current context menu - */ - public static native int contextMenuFocusItem(); - protected native void closeEvent(TQCloseEvent arg1); - protected native void keyPressEvent(TQKeyEvent e); - protected native void mouseReleaseEvent(TQMouseEvent e); - protected native void mousePressEvent(TQMouseEvent e); - protected native boolean focusNextPrevChild(boolean next); - protected native void contextMenuEvent(TQContextMenuEvent e); - protected native void hideEvent(TQHideEvent arg1); - protected native String underlineText(String text, int length); - protected native void resetKeyboardVars(boolean noMatches); - protected native void resetKeyboardVars(); - protected native void itemHighlighted(int whichItem); - protected native void showCtxMenu(TQPoint pos); - protected native void ctxMenuHiding(); - protected native void ctxMenuHideShowingMenu(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEPopupMenuSignals.java b/kdejava/koala/org/kde/koala/TDEPopupMenuSignals.java deleted file mode 100644 index 0a117bdf..00000000 --- a/kdejava/koala/org/kde/koala/TDEPopupMenuSignals.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPoint; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; - -public interface TDEPopupMenuSignals { - /** - connect to this signal to be notified when a context menu is about to be shown - @param menu The menu that the context menu is about to be shown for - @param menuItem The menu item that the context menu is currently on - @param ctxMenu The context menu itself - @short connect to this signal to be notified when a context menu is about to be shown - */ - void aboutToShowContextMenu(TDEPopupMenu menu, int menuItem, TQPopupMenu ctxMenu); -} diff --git a/kdejava/koala/org/kde/koala/TDEPopupTitle.java b/kdejava/koala/org/kde/koala/TDEPopupTitle.java deleted file mode 100644 index 2f9a38f0..00000000 --- a/kdejava/koala/org/kde/koala/TDEPopupTitle.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - Title widget for use in TDEPopupMenu. - You usually don't have to create this manually since - TDEPopupMenu.insertTitle will do it for you, but it is allowed if - you wish to customize it's look. - @author Daniel M. Duley <mosfet@kde.org> - - @short TDEPopupMenu title widget. - -*/ -public class TDEPopupTitle extends TQWidget { - protected TDEPopupTitle(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a title widget with the user specified gradient, pixmap, - and colors. - @short Constructs a title widget with the user specified gradient, pixmap, and colors. - */ - public TDEPopupTitle(TQWidget parent, String name) { - super((Class) null); - newTDEPopupTitle(parent,name); - } - private native void newTDEPopupTitle(TQWidget parent, String name); - public TDEPopupTitle(TQWidget parent) { - super((Class) null); - newTDEPopupTitle(parent); - } - private native void newTDEPopupTitle(TQWidget parent); - public TDEPopupTitle() { - super((Class) null); - newTDEPopupTitle(); - } - private native void newTDEPopupTitle(); - /** - Sets the title string and optional icon for the title widget. - You will want to call this before inserting into a menu. - @short Sets the title string and optional icon for the title widget. - */ - public native void setTitle(String text, TQPixmap icon); - public native void setTitle(String text); - /** - Returns the current title. - @short Returns the current title. - */ - public native String title(); - /** - Returns the current icon. - @short Returns the current icon. - */ - public native TQPixmap icon(); - public native TQSize sizeHint(); - public native void setText(String text); - public native void setIcon(TQPixmap pix); - protected native void calcSize(); - protected native void paintEvent(TQPaintEvent ev); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEProcess.java b/kdejava/koala/org/kde/koala/TDEProcess.java deleted file mode 100644 index caad1555..00000000 --- a/kdejava/koala/org/kde/koala/TDEProcess.java +++ /dev/null @@ -1,628 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - Child process invocation, monitoring and control. - <li><b>General usage and features:</b></li> - This class allows a KDE application to start child processes without having - to worry about UNX signal handling issues and zombie process reaping. - Basically, this class distinguishes three different ways of running - child processes: - - <li> - DontCare -- The child process is invoked and both the child - process and the parent process continue concurrently. - </li> - The process is started in an own session (see setsid(2)). - - <li> - NotifyOnExit -- The child process is invoked and both the - child and the parent process run concurrently. - </li> - When the child process exits, the TDEProcess instance - corresponding to it emits the Qt signal processExited(). - Since this signal is <b>not</b> emitted from within a UNX - signal handler, arbitrary function calls can be made. - Be aware: When the TDEProcess object gets destructed, the child - process will be killed if it is still running! - This means in particular, that it usually makes no sense to use - a TDEProcess on the stack with NotifyOnExit. - - <li> - OwnGroup -- like NotifyOnExit, but the child process is started - in an own process group (and an own session, FWIW). The behavior of - kill() changes to killing the whole process group - this makes - this mode useful for implementing primitive job management. It can be - used to work around broken wrapper scripts that don't propagate signals - to the "real" program. However, use this with care, as you disturb the - shell's job management if your program is started from the command line. - </li> - - <li> - Block -- The child process starts and the parent process - is suspended until the child process exits. (<b>Really</b> not recommended - for programs with a GUI.) - In this mode the parent can read the child's output, but can't send it any - input. - </li> - TDEProcess also provides several functions for determining the exit status - and the pid of the child process it represents. - Furthermore it is possible to supply command-line arguments to the process - in a clean fashion (no null-terminated stringlists and such...) - A small usage example: - <pre> - TDEProcess proc = new TDEProcess; - proc << "my_executable"; - proc << "These" << "are" << "the" << "command" << "line" << "args"; - TQApplication.connect(proc, SIGNAL("processExited(TDEProcess )"), - pointer_to_my_object, SLOT("my_objects_slot(TDEProcess )")); - proc.start(); - </pre> - This will start "my_executable" with the commandline arguments "These"... - When the child process exits, the slot will be invoked. - <li><b>Communication with the child process:</b></li> - TDEProcess supports communication with the child process through - stdin/stdout/stderr. - The following functions are provided for getting data from the child - process or sending data to the child's stdin (For more information, - have a look at the documentation of each function): - - <li> - writeStdin() - -- Transmit data to the child process' stdin. When all data was sent, the - signal wroteStdin() is emitted. - </li> - - <li> - When data arrives at stdout or stderr, the signal receivedStdout() - resp. receivedStderr() is emitted. - </li> - - <li> - You can shut down individual communication channels with - closeStdin(), closeStdout(), and closeStderr(), resp. - </li> - See {@link TDEProcessSignals} for signals emitted by TDEProcess - @author Christian Czezatke e9025461@student.tuwien.ac.at - - @short Child process invocation, monitoring and control. - @see KProcIO - -*/ -public class TDEProcess extends TQObject { - protected TDEProcess(Class dummy){super((Class) null);} - /** - More or less intuitive constants for use with setPriority(). - @short More or less intuitive constants for use with setPriority(). - */ - public static final int PrioLowest = 20; - public static final int PrioLow = 10; - public static final int PrioLower = 5; - public static final int PrioNormal = 0; - public static final int PrioHigher = -5; - public static final int PrioHigh = -10; - public static final int PrioHighest = -19; - - /** - Modes in which the communication channel can be opened. - If communication for more than one channel is required, - the values have to be or'ed together, for example to get - communication with stdout as well as with stdin, you would - specify <code>Stdin</code> | <code>Stdout</code> - If <code>NoRead</code> is specified in conjunction with <code>Stdout</code>, - no data is actually read from <code>Stdout</code> but only - the signal receivedStdout(int fd, int &len) is emitted. - @short Modes in which the communication channel can be opened. - */ - public static final int NoCommunication = 0; - public static final int Stdin = 1; - public static final int Stdout = 2; - public static final int Stderr = 4; - public static final int AllOutput = 6; - public static final int All = 7; - public static final int NoRead = 8; - - /** - Run-modes for a child process. - @short Run-modes for a child process. - */ - public static final int DontCare = 0; - public static final int NotifyOnExit = 1; - public static final int Block = 2; - public static final int OwnGroup = 3; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @short Constructor - */ - public TDEProcess(TQObject parent, String name) { - super((Class) null); - newTDEProcess(parent,name); - } - private native void newTDEProcess(TQObject parent, String name); - public TDEProcess(TQObject parent) { - super((Class) null); - newTDEProcess(parent); - } - private native void newTDEProcess(TQObject parent); - /** - Constructor - @short Constructor - */ - public TDEProcess() { - super((Class) null); - newTDEProcess(); - } - private native void newTDEProcess(); - /** - Sets the executable and the command line argument list for this process. - For example, doing an "ls -l /usr/local/bin" can be achieved by: - <pre> - TDEProcess p; - ... - p << "ls" << "-l" << "/usr/local/bin" - </pre> - @param arg the argument to add - @return a reference to this TDEProcess - - @short Sets the executable and the command line argument list for this process. - */ - public native TDEProcess op_write(String arg); - /** - Sets the executable and the command line argument list for this process, - in a single method call, or add a list of arguments. - @param args the arguments to add - @return a reference to this TDEProcess - - @short Sets the executable and the command line argument list for this process, in a single method call, or add a list of arguments. - */ - public native TDEProcess op_write(String[] args); - /** - Clear a command line argument list that has been set by using - operator<<. - @short Clear a command line argument list that has been set by using operator<<. - */ - public native void clearArguments(); - /** - Starts the process. - For a detailed description of the - various run modes and communication semantics, have a look at the - general description of the TDEProcess class. Note that if you use - setUsePty( Stdout | Stderr, \<boolean\> ), you cannot use Stdout | Stderr - here - instead, use Stdout only to receive the mixed output. - The following problems could cause this function to - return false: - - <li> - The process is already running. - </li> - - <li> - The command line argument list is empty. - </li> - - <li> - The the <code>comm</code> parameter is incompatible with the selected pty usage. - </li> - - <li> - The starting of the process failed (could not fork). - </li> - - <li> - The executable was not found. - </li> - @param runmode The Run-mode for the process. - @param comm Specifies which communication links should be - established to the child process (stdin/stdout/stderr). By default, - no communication takes place and the respective communication - signals will never get emitted. - @return true on success, false on error - (see above for error conditions) - - @short Starts the process. - */ - public native boolean start(int runmode, int comm); - public native boolean start(int runmode); - public native boolean start(); - /** - Stop the process (by sending it a signal). - @param signo The signal to send. The default is SIGTERM. - @return true if the signal was delivered successfully. - - @short Stop the process (by sending it a signal). - */ - public native boolean kill(int signo); - public native boolean kill(); - /** - Checks whether the process is running. - @return true if the process is (still) considered to be running - - @short Checks whether the process is running. - */ - public native boolean isRunning(); - /** Returns the process id of the process. - If it is called after - the process has exited, it returns the process id of the last - child process that was created by this instance of TDEProcess. - Calling it before any child process has been started by this - TDEProcess instance causes pid() to return 0. - @return the pid of the process or 0 if no process has been started yet. - - @short Returns the process id of the process. - */ - public native int pid(); - /** - Suspend processing of data from stdout of the child process. - @short Suspend processing of data from stdout of the child process. - */ - public native void suspend(); - /** - Resume processing of data from stdout of the child process. - @short Resume processing of data from stdout of the child process. - */ - public native void resume(); - /** - Suspend execution of the current thread until the child process dies - or the timeout hits. This function is not recommended for programs - with a GUI. - @param timeout timeout in seconds. -1 means wait indefinitely. - @return true if the process exited, false if the timeout hit. - - @short Suspend execution of the current thread until the child process dies or the timeout hits. - */ - public native boolean waitThread(int timeout); - public native boolean waitThread(); - /** - Checks whether the process exited cleanly. - @return true if the process has already finished and has exited - "voluntarily", ie: it has not been killed by a signal. - - @short Checks whether the process exited cleanly. - */ - public native boolean normalExit(); - /** - Checks whether the process was killed by a signal. - @return true if the process has already finished and has not exited - "voluntarily", ie: it has been killed by a signal. - - @short Checks whether the process was killed by a signal. - */ - public native boolean signalled(); - /** - Checks whether a killed process dumped core. - @return true if signalled() returns true and the process - dumped core. Note that on systems that don't define the - WCOREDUMP macro, the return value is always false. - - @short Checks whether a killed process dumped core. - */ - public native boolean coreDumped(); - /** - Returns the exit status of the process. - @return the exit status of the process. Note that this value - is not valid if normalExit() returns false. - - @short Returns the exit status of the process. - */ - public native int exitStatus(); - /** - Returns the signal the process was killed by. - @return the signal number that caused the process to exit. - Note that this value is not valid if signalled() returns false. - - @short Returns the signal the process was killed by. - */ - public native int exitSignal(); - /** - Transmit data to the child process' stdin. - This function may return false in the following cases: - - <li> - The process is not currently running. - This implies that you cannot use this function in Block mode. - </li> - - <li> - Communication to stdin has not been requested in the start() call. - </li> - - <li> - Transmission of data to the child process by a previous call to - writeStdin() is still in progress. - </li> - Please note that the data is sent to the client asynchronously, - so when this function returns, the data might not have been - processed by the child process. - That means that you must not free <code>buffer</code> or call writeStdin() - again until either a wroteStdin() signal indicates that the - data has been sent or a processExited() signal shows that - the child process is no longer alive. - If all the data has been sent to the client, the signal - wroteStdin() will be emitted. - @param buffer the buffer to write - @param buflen the length of the buffer - @return false if an error has occurred - - @short Transmit data to the child process' stdin. - */ - public native boolean writeStdin(String buffer, int buflen); - /** - Shuts down the Stdin communication link. If no pty is used, this - causes "EOF" to be indicated on the child's stdin file descriptor. - @return false if no Stdin communication link exists (any more). - - @short Shuts down the Stdin communication link. - */ - public native boolean closeStdin(); - /** - Shuts down the Stdout communication link. If no pty is used, any further - attempts by the child to write to its stdout file descriptor will cause - it to receive a SIGPIPE. - @return false if no Stdout communication link exists (any more). - - @short Shuts down the Stdout communication link. - */ - public native boolean closeStdout(); - /** - Shuts down the Stderr communication link. If no pty is used, any further - attempts by the child to write to its stderr file descriptor will cause - it to receive a SIGPIPE. - @return false if no Stderr communication link exists (any more). - - @short Shuts down the Stderr communication link. - */ - public native boolean closeStderr(); - /** - Deletes the optional utmp entry and closes the pty. - Make sure to shut down any communication links that are using the pty - before calling this function. - @return false if the pty is not open (any more). - - @short Deletes the optional utmp entry and closes the pty. - */ - public native boolean closePty(); - /** - @brief Close stdin, stdout, stderr and the pty - This is the same that calling all close functions in a row: - @short @brief Close stdin, stdout, stderr and the pty - @see #closeStdin - @see @see - @see #closeStdout - @see @see - @see #closeStderr - @see @see - @see #closePty - */ - public native void closeAll(); - /** - Lets you see what your arguments are for debugging. - @return the list of arguments - - @short Lets you see what your arguments are for debugging. - */ - // const TQValueList<TQCString>& args(); >>>> NOT CONVERTED - /** - Controls whether the started process should drop any - setuid/setgid privileges or whether it should keep them. - Note that this function is mostly a dummy, as the KDE libraries - currently refuse to run with setuid/setgid privileges. - The default is false: drop privileges - @param keepPrivileges true to keep the privileges - @short Controls whether the started process should drop any setuid/setgid privileges or whether it should keep them. - */ - public native void setRunPrivileged(boolean keepPrivileges); - /** - Returns whether the started process will drop any - setuid/setgid privileges or whether it will keep them. - @return true if the process runs privileged - - @short Returns whether the started process will drop any setuid/setgid privileges or whether it will keep them. - */ - public native boolean runPrivileged(); - /** - Adds the variable <code>name</code> to the process' environment. - This function must be called before starting the process. - @param name the name of the environment variable - @param value the new value for the environment variable - @short Adds the variable <code>name</code> to the process' environment. - */ - public native void setEnvironment(String name, String value); - /** - Changes the current working directory (CWD) of the process - to be started. - This function must be called before starting the process. - @param dir the new directory - @short Changes the current working directory (CWD) of the process to be started. - */ - public native void setWorkingDirectory(String dir); - /** - Specify whether to start the command via a shell or directly. - The default is to start the command directly. - If <code>useShell</code> is true <code>shell</code> will be used as shell, or - if shell is empty, /bin/sh will be used. - When using a shell, the caller should make sure that all filenames etc. - are properly quoted when passed as argument. - @param useShell true if the command should be started via a shell - @param shell the path to the shell that will execute the process, or - 0 to use /bin/sh. Use getenv("SHELL") to use the user's - default shell, but note that doing so is usually a bad idea - for shell compatibility reasons. - @short Specify whether to start the command via a shell or directly. - @see #quote - */ - public native void setUseShell(boolean useShell, String shell); - public native void setUseShell(boolean useShell); - /** - Detaches TDEProcess from child process. All communication is closed. - No exit notification is emitted any more for the child process. - Deleting the TDEProcess will no longer kill the child process. - Note that the current process remains the parent process of the - child process. - @short Detaches TDEProcess from child process. - */ - public native void detach(); - /** - Sets the scheduling priority of the process. - @param prio the new priority in the range -20 (high) to 19 (low). - @return false on error; see setpriority(2) for possible reasons. - - @short Sets the scheduling priority of the process. - */ - public native boolean setPriority(int prio); - /** - This function can be used to quote an argument string such that - the shell processes it properly. This is e. g. necessary for - user-provided file names which may contain spaces or quotes. - It also prevents expansion of wild cards and environment variables. - @param arg the argument to quote - @return the quoted argument - - @short This function can be used to quote an argument string such that the shell processes it properly. - */ - public static native String quote(String arg); - /** - Sets up the environment according to the data passed via - setEnvironment() - @short Sets up the environment according to the data passed via setEnvironment() - */ - protected native void setupEnvironment(); - /** - This function is called from start() right before a fork() takes - place. According to the <code>comm</code> parameter this function has to initialize - the in, out and err data members of TDEProcess. - This function should return 1 if setting the needed communication channels - was successful. - The default implementation is to create UNIX STREAM sockets for the - communication, but you could reimplement this function to establish a - TCP/IP communication for network communication, for example. - @short This function is called from start() right before a fork() takes place. - */ - protected native int setupCommunication(int comm); - /** - Called right after a (successful) fork() on the parent side. This function - will usually do some communications cleanup, like closing in[0], - out[1] and out[1]. - Furthermore, it must also create the TQSocketNotifiers innot, - outnot and errnot and connect their Qt signals to the respective - TDEProcess slots. - For a more detailed explanation, it is best to have a look at the default - implementation in kprocess.cpp. - @short Called right after a (successful) fork() on the parent side. - */ - protected native int commSetupDoneP(); - /** - Called right after a (successful) fork(), but before an exec() on the child - process' side. It usually duplicates the in[0], out[1] and - err[1] file handles to the respective standard I/O handles. - @short Called right after a (successful) fork(), but before an exec() on the child process' side. - */ - protected native int commSetupDoneC(); - /** - Immediately called after a successfully started process in NotifyOnExit - mode has exited. This function normally calls commClose() - and emits the processExited() signal. - @param state the exit code of the process as returned by waitpid() - @short Immediately called after a successfully started process in NotifyOnExit mode has exited. - */ - protected native void processHasExited(int state); - /** - Cleans up the communication links to the child after it has exited. - This function should act upon the values of pid() and runs. - See the kprocess.cpp source for details. - - <li> - If pid() returns zero, the communication links should be closed - only. - </li> - - <li> - if pid() returns non-zero and runs is false, all data - immediately available from the communication links should be processed - before closing them. - </li> - - <li> - if pid() returns non-zero and runs is true, the communication - links should be monitored for data until the file handle returned by - TDEProcessController.theTDEProcessController.notifierFd() becomes ready - for reading - when it triggers, runs should be reset to false, and - the function should be immediately left without closing anything. - </li> - The previous semantics of this function are forward-compatible, but should - be avoided, as they are prone to race conditions and can cause TDEProcess - (and thus the whole program) to lock up under certain circumstances. At the - end the function closes the communication links in any case. Additionally - - <li> - if runs is true, the communication links are monitored for data - until all of them have returned EOF. Note that if any system function is - interrupted (errno == EINTR) the polling loop should be aborted. - </li> - - <li> - if runs is false, all data immediately available from the - communication links is processed. - - </li> @short Cleans up the communication links to the child after it has exited. - */ - protected native void commClose(); - /** - Specify the actual executable that should be started (first argument to execve) - Normally the the first argument is the executable but you can - override that with this function. - @short Specify the actual executable that should be started (first argument to execve) Normally the the first argument is the executable but you can override that with this function. - */ - protected native void setBinaryExecutable(String filename); - /** - Called by slotChildOutput() this function copies data arriving from - the child process' stdout to the respective buffer and emits the signal - receivedStdout(). - @short Called by slotChildOutput() this function copies data arriving from the child process' stdout to the respective buffer and emits the signal receivedStdout(). - */ - protected native int childOutput(int fdno); - /** - Called by slotChildError() this function copies data arriving from - the child process' stderr to the respective buffer and emits the signal - receivedStderr(). - @short Called by slotChildError() this function copies data arriving from the child process' stderr to the respective buffer and emits the signal receivedStderr(). - */ - protected native int childError(int fdno); - /** - This slot gets activated when data from the child's stdout arrives. - It usually calls childOutput(). - @param fdno the file descriptor for the output - @short This slot gets activated when data from the child's stdout arrives. - */ - protected native void slotChildOutput(int fdno); - /** - This slot gets activated when data from the child's stderr arrives. - It usually calls childError(). - @param fdno the file descriptor for the output - @short This slot gets activated when data from the child's stderr arrives. - */ - protected native void slotChildError(int fdno); - /** - Called when another bulk of data can be sent to the child's - stdin. If there is no more data to be sent to stdin currently - available, this function must disable the TQSocketNotifier innot. - @param dummy ignore this argument - @short Called when another bulk of data can be sent to the child's stdin. - */ - protected native void slotSendData(int dummy); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEProcessController.java b/kdejava/koala/org/kde/koala/TDEProcessController.java deleted file mode 100644 index d6e02651..00000000 --- a/kdejava/koala/org/kde/koala/TDEProcessController.java +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - A class for internal use by TDEProcess only. -- Exactly one instance - of this class is created by TDEApplication. - This class takes care of the actual (UNX) signal handling. - @author Christian Czezatke <e9025461@student.tuwien.ac.at> - - @short Used internally by TDEProcess. - -*/ -public class TDEProcessController extends TQObject { - protected TDEProcessController(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Wait for any process to exit and handle their exit without - starting an event loop. - This function may cause TDEProcess to emit any of its signals. - @param timeout the timeout in seconds. -1 means no timeout. - @return true if a process exited, false - if no process exited within <code>timeout</code> seconds. - - @short Wait for any process to exit and handle their exit without starting an event loop. - */ - public native boolean waitForProcessExit(int timeout); - /** - Call this function to defer processing of the data that became available - on notifierFd(). - @short Call this function to defer processing of the data that became available on notifierFd(). - */ - public native void unscheduleCheck(); - /** - This function <b>must</b> be called at some point after calling - unscheduleCheck(). - @short This function @em must be called at some point after calling unscheduleCheck(). - */ - public native void rescheduleCheck(); - public native int notifierFd(); - /** - @short - */ - public native void addTDEProcess(TDEProcess arg1); - /** - @short - */ - public native void removeTDEProcess(TDEProcess arg1); - /** - @short - */ - public native void addProcess(int pid); - /** - Create an instance if none exists yet. - Called by TDEApplication.TDEApplication() - @short Create an instance if none exists yet. - */ - public static native void ref(); - /** - Destroy the instance if one exists and it is not referenced any more. - Called by TDEApplication.~TDEApplication() - @short Destroy the instance if one exists and it is not referenced any more. - */ - public static native void deref(); - /** - Automatically called upon SIGCHLD. Never call it directly. - If your application (or some library it uses) redirects SIGCHLD, - the new signal handler (and only it) should call the old handler - returned by sigaction(). - @short Automatically called upon SIGCHLD. - */ - public static native void theSigCHLDHandler(int signal); -} diff --git a/kdejava/koala/org/kde/koala/TDEProcessRunner.java b/kdejava/koala/org/kde/koala/TDEProcessRunner.java deleted file mode 100644 index 95856d14..00000000 --- a/kdejava/koala/org/kde/koala/TDEProcessRunner.java +++ /dev/null @@ -1,23 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - This class watches a process launched by KRun. - It sends a notification when the process exits (for the taskbar) - and it will show an error message if necessary (e.g. "program not found"). - @short - -*/ -public class TDEProcessRunner extends TQObject { - protected TDEProcessRunner(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native int pid(); - public static native int run(TDEProcess arg1, String binName); -} diff --git a/kdejava/koala/org/kde/koala/TDEProcessSignals.java b/kdejava/koala/org/kde/koala/TDEProcessSignals.java deleted file mode 100644 index e2d2361c..00000000 --- a/kdejava/koala/org/kde/koala/TDEProcessSignals.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface TDEProcessSignals { - /** - Emitted after the process has terminated when - the process was run in the <code>NotifyOnExit</code> (==default option to - start() ) or the Block mode. - @param proc a pointer to the process that has exited - @short Emitted after the process has terminated when the process was run in the <code>NotifyOnExit</code> (==default option to start() ) or the Block mode. - */ - void processExited(TDEProcess proc); - /** - Emitted, when output from the child process has - been received on stdout. - To actually get this signal, the Stdout communication link - has to be turned on in start(). - @param proc a pointer to the process that has received the output - @param buffer The data received. - @param buflen The number of bytes that are available. - You should copy the information contained in <code>buffer</code> to your private - data structures before returning from the slot. - Example: - <pre> - String myBuf = String.fromLatin1(buffer, buflen); - </pre> - @short Emitted, when output from the child process has been received on stdout. - */ - void receivedStdout(TDEProcess proc, String buffer, int buflen); - /** - Emitted when output from the child process has - been received on stdout. - To actually get this signal, the Stdout communication link - has to be turned on in start() and the - NoRead flag must have been passed. - You will need to explicitly call resume() after your call to start() - to begin processing data from the child process' stdout. This is - to ensure that this signal is not emitted when no one is connected - to it, otherwise this signal will not be emitted. - The data still has to be read from file descriptor <code>fd.</code> - @param fd the file descriptor that provides the data - @param len the number of bytes that have been read from <code>fd</code> must - be written here - @short Emitted when output from the child process has been received on stdout. - */ - void receivedStdout(int fd, int[] len); - /** - Emitted, when output from the child process has - been received on stderr. - To actually get this signal, the Stderr communication link - has to be turned on in start(). - You should copy the information contained in <code>buffer</code> to your private - data structures before returning from the slot. - @param proc a pointer to the process that has received the data - @param buffer The data received. - @param buflen The number of bytes that are available. - @short Emitted, when output from the child process has been received on stderr. - */ - void receivedStderr(TDEProcess proc, String buffer, int buflen); - /** - Emitted after all the data that has been - specified by a prior call to writeStdin() has actually been - written to the child process. - @param proc a pointer to the process - @short Emitted after all the data that has been specified by a prior call to writeStdin() has actually been written to the child process. - */ - void wroteStdin(TDEProcess proc); -} diff --git a/kdejava/koala/org/kde/koala/TDERadioAction.java b/kdejava/koala/org/kde/koala/TDERadioAction.java deleted file mode 100644 index 1e9f1ebf..00000000 --- a/kdejava/koala/org/kde/koala/TDERadioAction.java +++ /dev/null @@ -1,193 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; - -/** - - An action that operates like a radio button. At any given time - only a single action from the group will be active. - @short Radiobox like action. - -*/ -public class TDERadioAction extends TDEToggleAction { - protected TDERadioAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a radio action with text and potential keyboard - accelerator but nothing else. Use this only if you really - know what you are doing. - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a radio action with text and potential keyboard accelerator but nothing else. - */ - public TDERadioAction(String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDERadioAction(text,cut,parent,name); - } - private native void newTDERadioAction(String text, TDEShortcut cut, TQObject parent, String name); - public TDERadioAction(String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDERadioAction(text,cut,parent); - } - private native void newTDERadioAction(String text, TDEShortcut cut, TQObject parent); - public TDERadioAction(String text, TDEShortcut cut) { - super((Class) null); - newTDERadioAction(text,cut); - } - private native void newTDERadioAction(String text, TDEShortcut cut); - public TDERadioAction(String text) { - super((Class) null); - newTDERadioAction(text); - } - private native void newTDERadioAction(String text); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDERadioAction(text,cut,receiver,slot,parent,name); - } - private native void newTDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDERadioAction(text,cut,receiver,slot,parent); - } - private native void newTDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDERadioAction(text,pix,cut,parent,name); - } - private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); - public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDERadioAction(text,pix,cut,parent); - } - private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); - public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut) { - super((Class) null); - newTDERadioAction(text,pix,cut); - } - private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut); - public TDERadioAction(String text, TQIconSet pix) { - super((Class) null); - newTDERadioAction(text,pix); - } - private native void newTDERadioAction(String text, TQIconSet pix); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDERadioAction(text,pix,cut,parent,name); - } - private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDERadioAction(text,pix,cut,parent); - } - private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent); - public TDERadioAction(String text, String pix, TDEShortcut cut) { - super((Class) null); - newTDERadioAction(text,pix,cut); - } - private native void newTDERadioAction(String text, String pix, TDEShortcut cut); - public TDERadioAction(String text, String pix) { - super((Class) null); - newTDERadioAction(text,pix); - } - private native void newTDERadioAction(String text, String pix); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDERadioAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDERadioAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDERadioAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDERadioAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDERadioAction(TQObject parent, String name) { - super((Class) null); - newTDERadioAction(parent,name); - } - private native void newTDERadioAction(TQObject parent, String name); - public TDERadioAction(TQObject parent) { - super((Class) null); - newTDERadioAction(parent); - } - private native void newTDERadioAction(TQObject parent); - public TDERadioAction() { - super((Class) null); - newTDERadioAction(); - } - private native void newTDERadioAction(); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDERecentDocument.java b/kdejava/koala/org/kde/koala/TDERecentDocument.java deleted file mode 100644 index 3b85b68d..00000000 --- a/kdejava/koala/org/kde/koala/TDERecentDocument.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Manage the "Recent Document Menu" entries displayed by - applications such as Kicker and Konqueror. - These entries are automatically generated .desktop files pointing - to the current application and document. You should call the - static add() method whenever the user opens or saves a new - document if you want it to show up in the menu. - You don't have to worry about this if you are using any - KFileDialog derived class to open and save documents, as it - already calls this class. User defined limits on the maximum - number of documents to save, etc... are all automatically handled. - @author Daniel M. Duley <mosfet@kde.org> - - @short Manage the "Recent Document Menu" entries displayed by applications such as Kicker and Konqueror. - -*/ -public class TDERecentDocument implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDERecentDocument(Class dummy){} - - public TDERecentDocument() { - newTDERecentDocument(); - } - private native void newTDERecentDocument(); - /** - Return a list of absolute paths to recent document .desktop files, - sorted by date. - @short - */ - public static native ArrayList recentDocuments(); - /** - Add a new item to the Recent Document menu. - @param url The url to add. - @short Add a new item to the Recent Document menu. - */ - public static native void add(KURL url); - /** - Add a new item to the Recent Document menu, specifying the application to open it with. - The above add() method uses argv[0] for the app name, which isn't always flexible enough. - This method is used when an application launches another one to open a document. - @param url The url to add. - @param desktopEntryName The desktopEntryName of the service to use for opening this document. - @short Add a new item to the Recent Document menu, specifying the application to open it with. - */ - public static native void add(KURL url, String desktopEntryName); - /** - Add a new item to the Recent Document menu. Calls add( url ). - @param documentStr The full path to the document or URL to add. - @param isURL Set to <code>true</code> if <code>documentStr</code> is an URL and not a local file path. - @short - */ - public static native void add(String documentStr, boolean isURL); - public static native void add(String documentStr); - /** - Clear the recent document menu of all entries. - @short Clear the recent document menu of all entries. - */ - public static native void clear(); - /** - Returns the maximum amount of recent document entries allowed. - @short Returns the maximum amount of recent document entries allowed. - */ - public static native int maximumItems(); - /** - Returns the path to the directory where recent document .desktop files - are stored. - @short Returns the path to the directory where recent document . - */ - public static native String recentDocumentDirectory(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDERecentFilesAction.java b/kdejava/koala/org/kde/koala/TDERecentFilesAction.java deleted file mode 100644 index b3232290..00000000 --- a/kdejava/koala/org/kde/koala/TDERecentFilesAction.java +++ /dev/null @@ -1,275 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -/** - - This class is an action to handle a recent files submenu. - The best way to create the action is to use KStdAction.openRecent. - Then you simply need to call loadEntries on startup, saveEntries - on shutdown, addURL when your application loads/saves a file. - See {@link TDERecentFilesActionSignals} for signals emitted by TDERecentFilesAction - @author Michael Koch - - @short Recent files action. - -*/ -public class TDERecentFilesAction extends TDEListAction { - protected TDERecentFilesAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @param maxItems The maximum number of files to display - @short - */ - public TDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name, int maxItems) { - super((Class) null); - newTDERecentFilesAction(text,cut,parent,name,maxItems); - } - private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name, int maxItems); - public TDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDERecentFilesAction(text,cut,parent,name); - } - private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name); - public TDERecentFilesAction(String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDERecentFilesAction(text,cut,parent); - } - private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject parent); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke when a URL is selected. - Its signature is of the form slotURLSelected( KURL ). - @param parent This action's parent. - @param name An internal name for this action. - @param maxItems The maximum number of files to display - @short - */ - public TDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { - super((Class) null); - newTDERecentFilesAction(text,cut,receiver,slot,parent,name,maxItems); - } - private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); - public TDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDERecentFilesAction(text,cut,receiver,slot,parent,name); - } - private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDERecentFilesAction(text,cut,receiver,slot,parent); - } - private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @param maxItems The maximum number of files to display - @short - */ - public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name, int maxItems) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,parent,name,maxItems); - } - private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name, int maxItems); - public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,parent,name); - } - private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); - public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,parent); - } - private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @param maxItems The maximum number of files to display - @short - */ - public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name, int maxItems) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,parent,name,maxItems); - } - private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name, int maxItems); - public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,parent,name); - } - private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,parent); - } - private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke when a URL is selected. - Its signature is of the form slotURLSelected( KURL ). - @param parent This action's parent. - @param name An internal name for this action. - @param maxItems The maximum number of files to display - @short - */ - public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); - } - private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); - public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke when a URL is selected. - Its signature is of the form slotURLSelected( KURL ). - @param parent This action's parent. - @param name An internal name for this action. - @param maxItems The maximum number of files to display - @short - */ - public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); - } - private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); - public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDERecentFilesAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param parent This action's parent. - @param name An internal name for this action. - @param maxItems The maximum number of files to display - @short - */ - public TDERecentFilesAction(TQObject parent, String name, int maxItems) { - super((Class) null); - newTDERecentFilesAction(parent,name,maxItems); - } - private native void newTDERecentFilesAction(TQObject parent, String name, int maxItems); - public TDERecentFilesAction(TQObject parent, String name) { - super((Class) null); - newTDERecentFilesAction(parent,name); - } - private native void newTDERecentFilesAction(TQObject parent, String name); - public TDERecentFilesAction(TQObject parent) { - super((Class) null); - newTDERecentFilesAction(parent); - } - private native void newTDERecentFilesAction(TQObject parent); - public TDERecentFilesAction() { - super((Class) null); - newTDERecentFilesAction(); - } - private native void newTDERecentFilesAction(); - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** - Returns the maximum of items in the recent files list. - @short Returns the maximum of items in the recent files list. - */ - public native int maxItems(); - /** - Sets the maximum of items in the recent files list. - The default for this value is 10 set in the constructor. - If this value is lesser than the number of items currently - in the recent files list the last items are deleted until - the number of items are equal to the new maximum. - @short Sets the maximum of items in the recent files list. - */ - public native void setMaxItems(int maxItems); - /** - Loads the recent files entries from a given TDEConfig object. - You can provide the name of the group used to load the entries. - If the groupname is empty, entries are load from a group called 'RecentFiles' - This method does not effect the active group of TDEConfig. - @short Loads the recent files entries from a given TDEConfig object. - */ - public native void loadEntries(TDEConfig config, String groupname); - public native void loadEntries(TDEConfig config); - /** - Saves the current recent files entries to a given TDEConfig object. - You can provide the name of the group used to load the entries. - If the groupname is empty, entries are saved to a group called 'RecentFiles' - This method does not effect the active group of TDEConfig. - @short Saves the current recent files entries to a given TDEConfig object. - */ - public native void saveEntries(TDEConfig config, String groupname); - public native void saveEntries(TDEConfig config); - /** - Add URL to recent files list. - @param url The URL of the file - @short Add URL to recent files list. - */ - public native void addURL(KURL url); - /** - Add URL to recent files list. - @param url The URL of the file - @param name The user visible pretty name that appears before the URL - @short Add URL to recent files list. - */ - public native void addURL(KURL url, String name); - /** - Remove an URL from the recent files list. - @param url The URL of the file - @short Remove an URL from the recent files list. - */ - public native void removeURL(KURL url); - /** - Removes all entries from the recent files list. - @short Removes all entries from the recent files list. - */ - public native void clearURLList(); - protected native void itemSelected(String string); - protected native void menuAboutToShow(); - protected native void menuItemActivated(int id); - protected native void slotClicked(); - protected native void slotActivated(int arg1); - protected native void slotActivated(String arg1); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDERecentFilesActionSignals.java b/kdejava/koala/org/kde/koala/TDERecentFilesActionSignals.java deleted file mode 100644 index bd492c1c..00000000 --- a/kdejava/koala/org/kde/koala/TDERecentFilesActionSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -public interface TDERecentFilesActionSignals { - /** - This signal gets emited when the user selects an URL. - @param url The URL thats the user selected. - @short This signal gets emited when the user selects an URL. - */ - void urlSelected(KURL url); -} diff --git a/kdejava/koala/org/kde/koala/TDESelectAction.java b/kdejava/koala/org/kde/koala/TDESelectAction.java deleted file mode 100644 index 234a65f7..00000000 --- a/kdejava/koala/org/kde/koala/TDESelectAction.java +++ /dev/null @@ -1,314 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import java.util.ArrayList; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -/** - - Action for selecting one of several items. - This action shows up a submenu with a list of items. - One of them can be checked. If the user clicks on an item - this item will automatically be checked, - the formerly checked item becomes unchecked. - There can be only one item checked at a time. - See {@link TDESelectActionSignals} for signals emitted by TDESelectAction - @short Action for selecting one of several items. - -*/ -public class TDESelectAction extends TDEAction { - protected TDESelectAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a select action with text and potential keyboard - accelerator but nothing else. Use this only if you really - know what you are doing. - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a select action with text and potential keyboard accelerator but nothing else. - */ - public TDESelectAction(String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDESelectAction(text,cut,parent,name); - } - private native void newTDESelectAction(String text, TDEShortcut cut, TQObject parent, String name); - public TDESelectAction(String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDESelectAction(text,cut,parent); - } - private native void newTDESelectAction(String text, TDEShortcut cut, TQObject parent); - public TDESelectAction(String text, TDEShortcut cut) { - super((Class) null); - newTDESelectAction(text,cut); - } - private native void newTDESelectAction(String text, TDEShortcut cut); - public TDESelectAction(String text) { - super((Class) null); - newTDESelectAction(text); - } - private native void newTDESelectAction(String text); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDESelectAction(text,cut,receiver,slot,parent,name); - } - private native void newTDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDESelectAction(text,cut,receiver,slot,parent); - } - private native void newTDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDESelectAction(text,pix,cut,parent,name); - } - private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); - public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDESelectAction(text,pix,cut,parent); - } - private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); - public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut) { - super((Class) null); - newTDESelectAction(text,pix,cut); - } - private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut); - public TDESelectAction(String text, TQIconSet pix) { - super((Class) null); - newTDESelectAction(text,pix); - } - private native void newTDESelectAction(String text, TQIconSet pix); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDESelectAction(text,pix,cut,parent,name); - } - private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDESelectAction(text,pix,cut,parent); - } - private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent); - public TDESelectAction(String text, String pix, TDEShortcut cut) { - super((Class) null); - newTDESelectAction(text,pix,cut); - } - private native void newTDESelectAction(String text, String pix, TDEShortcut cut); - public TDESelectAction(String text, String pix) { - super((Class) null); - newTDESelectAction(text,pix); - } - private native void newTDESelectAction(String text, String pix); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDESelectAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDESelectAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDESelectAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDESelectAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDESelectAction(TQObject parent, String name) { - super((Class) null); - newTDESelectAction(parent,name); - } - private native void newTDESelectAction(TQObject parent, String name); - public TDESelectAction(TQObject parent) { - super((Class) null); - newTDESelectAction(parent); - } - private native void newTDESelectAction(TQObject parent); - public TDESelectAction() { - super((Class) null); - newTDESelectAction(); - } - private native void newTDESelectAction(); - /** - "Plug" or insert this action into a given widget. - This will typically be a menu or a toolbar. - From this point on, you will never need to directly - manipulate the item in the menu or toolbar. - You do all enabling/disabling/manipulation directly with your TDESelectAction object. - @param widget The GUI element to display this action. - @param index The index of the item. - @short "Plug" or insert this action into a given widget. - */ - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** - When this action is plugged into a toolbar, it creates a combobox. - @return true if the combo editable. - - @short When this action is plugged into a toolbar, it creates a combobox. - */ - public native boolean isEditable(); - /** - @return the items that can be selected with this action. - Use setItems to set them. - - @short - */ - public native ArrayList items(); - /** - Changes the text of item @param index to @param text . - @short Changes the text of item @param index to @param text . - */ - public native void changeItem(int index, String text); - /** - Returns the text of the currently selected item. - @short Returns the text of the currently selected item. - */ - public native String currentText(); - /** - Returns the index of the current item. - @short Returns the index of the current item. - @see #setCurrentItem - */ - public native int currentItem(); - /** - When this action is plugged into a toolbar, it creates a combobox. - This returns the maximum width set by setComboWidth - @short When this action is plugged into a toolbar, it creates a combobox. - */ - public native int comboWidth(); - /** - Sets the maximum items that are visible at once if the action - is a combobox, that is the number of items in the combobox's viewport - Only works before the action is plugged - @short Sets the maximum items that are visible at once if the action is a combobox, that is the number of items in the combobox's viewport Only works before the action is plugged - */ - public native void setMaxComboViewCount(int n); - /** - Returns a pointer to the popup menu used by this action. - @short Returns a pointer to the popup menu used by this action. - */ - public native TQPopupMenu popupMenu(); - public native boolean removeAmpersandsInCombo(); - /** - Sets whether any occurrence of the ampersand character ( & ) in items - should be interpreted as keyboard accelerator for items displayed in a - menu or not. - @short Sets whether any occurrence of the ampersand character ( & ) in items should be interpreted as keyboard accelerator for items displayed in a menu or not. - */ - public native void setMenuAccelsEnabled(boolean b); - public native boolean menuAccelsEnabled(); - /** - Sets the currently checked item. - @param index Index of the item (remember the first item is zero). - @short Sets the currently checked item. - */ - public native void setCurrentItem(int index); - /** - Sets the items to be displayed in this action - You need to call this. - @short Sets the items to be displayed in this action You need to call this. - */ - public native void setItems(String[] lst); - /** - Clears up all the items in this action - @short Clears up all the items in this action - */ - public native void clear(); - /** - When this action is plugged into a toolbar, it creates a combobox. - This makes the combo editable or read-only. - @short When this action is plugged into a toolbar, it creates a combobox. - */ - public native void setEditable(boolean arg1); - /** - When this action is plugged into a toolbar, it creates a combobox. - This gives a _maximum_ size to the combobox. - The minimum size is automatically given by the contents (the items). - @short When this action is plugged into a toolbar, it creates a combobox. - */ - public native void setComboWidth(int width); - protected native void changeItem(int id, int index, String text); - /** - Depending on the menuAccelsEnabled property this method will return the - actions items in a way for inclusion in a combobox with the ampersand - character removed from all items or not. - @short Depending on the menuAccelsEnabled property this method will return the actions items in a way for inclusion in a combobox with the ampersand character removed from all items or not. - */ - protected native ArrayList comboItems(); - protected native void updateCurrentItem(int id); - protected native void updateComboWidth(int id); - protected native void updateItems(int id); - protected native void updateClear(int id); - protected native void slotActivated(int id); - protected native void slotActivated(String text); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDESelectActionSignals.java b/kdejava/koala/org/kde/koala/TDESelectActionSignals.java deleted file mode 100644 index d37a7a60..00000000 --- a/kdejava/koala/org/kde/koala/TDESelectActionSignals.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import java.util.ArrayList; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -public interface TDESelectActionSignals { - /** - This signal is emitted when an item is selected; @param index indicated - the item selected. - @short This signal is emitted when an item is selected; @param index indicated the item selected. - */ - void activated(int index); - /** - This signal is emitted when an item is selected; @param text indicates - the item selected. - @short This signal is emitted when an item is selected; @param text indicates the item selected. - */ - void activated(String text); -} diff --git a/kdejava/koala/org/kde/koala/TDESelector.java b/kdejava/koala/org/kde/koala/TDESelector.java deleted file mode 100644 index e165ded2..00000000 --- a/kdejava/koala/org/kde/koala/TDESelector.java +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQPainter; -import org.kde.qt.TQRangeControl; -import org.kde.qt.TQRangeControlInterface; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQWidget; - -/** - - TDESelector is the base class for other widgets which - provides the ability to choose from a one-dimensional - range of values. An example is the KGradientSelector - which allows to choose from a range of colors. - A custom drawing routine for the widget surface has - to be provided by the subclass. - See {@link TDESelectorSignals} for signals emitted by TDESelector - @short TDESelector is the base class for other widgets which provides the ability to choose from a one-dimensional range of values. - -*/ -public class TDESelector extends TQWidget implements TQRangeControlInterface { - protected TDESelector(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a horizontal one-dimensional selection widget. - @short Constructs a horizontal one-dimensional selection widget. - */ - public TDESelector(TQWidget parent, String name) { - super((Class) null); - newTDESelector(parent,name); - } - private native void newTDESelector(TQWidget parent, String name); - public TDESelector(TQWidget parent) { - super((Class) null); - newTDESelector(parent); - } - private native void newTDESelector(TQWidget parent); - public TDESelector() { - super((Class) null); - newTDESelector(); - } - private native void newTDESelector(); - /** - Constructs a one-dimensional selection widget with - a given orientation. - @short Constructs a one-dimensional selection widget with a given orientation. - */ - public TDESelector(int o, TQWidget parent, String name) { - super((Class) null); - newTDESelector(o,parent,name); - } - private native void newTDESelector(int o, TQWidget parent, String name); - public TDESelector(int o, TQWidget parent) { - super((Class) null); - newTDESelector(o,parent); - } - private native void newTDESelector(int o, TQWidget parent); - public TDESelector(int o) { - super((Class) null); - newTDESelector(o); - } - private native void newTDESelector(int o); - /** - @return the orientation of the widget. - - @short - */ - public native int orientation(); - /** - @return the rectangle on which subclasses should draw. - - @short - */ - public native TQRect contentsRect(); - /** - Sets the indent option of the widget to i. - This determines whether a shaded frame is drawn. - @short Sets the indent option of the widget to i. - */ - public native void setIndent(boolean i); - /** - @return whether the indent option is set. - - @short - */ - public native boolean indent(); - /** - Sets the value. - @short Sets the value. - */ - public native void setValue(int value); - /** - @return the value. - - @short - */ - public native int value(); - /** - Sets the min value. - @short Sets the min value. - */ - public native void setMinValue(int value); - /** - @return the min value. - - @short - */ - public native int minValue(); - /** - Sets the max value. - @short Sets the max value. - */ - public native void setMaxValue(int value); - /** - @return the max value. - - @short - */ - public native int maxValue(); - /** - Override this function to draw the contents of the control. - The default implementation does nothing. - Draw only within contentsRect(). - @short Override this function to draw the contents of the control. - */ - protected native void drawContents(TQPainter arg1); - /** - Override this function to draw the cursor which - indicates the current value. This function is - always called twice, once with argument show=false - to clear the old cursor, once with argument show=true - to draw the new one. - @short Override this function to draw the cursor which indicates the current value. - */ - protected native void drawArrow(TQPainter painter, boolean show, TQPoint pos); - protected native void valueChange(); - protected native void paintEvent(TQPaintEvent arg1); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseMoveEvent(TQMouseEvent e); - protected native void wheelEvent(TQWheelEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - public native void addPage(); - public native void subtractPage(); - public native void addLine(); - public native void subtractLine(); - public native void setRange(int minValue, int maxValue); - public native int lineStep(); - public native int pageStep(); - public native void setSteps(int line, int page); - public native int bound(int arg1); - protected native int positionFromValue(int val, int space); - protected native int valueFromPosition(int pos, int space); - protected native void directSetValue(int val); - protected native int prevValue(); - protected native void rangeChange(); - protected native void stepChange(); -} diff --git a/kdejava/koala/org/kde/koala/TDESelectorSignals.java b/kdejava/koala/org/kde/koala/TDESelectorSignals.java deleted file mode 100644 index 5f4738ae..00000000 --- a/kdejava/koala/org/kde/koala/TDESelectorSignals.java +++ /dev/null @@ -1,23 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQPainter; -import org.kde.qt.TQRangeControl; -import org.kde.qt.TQRangeControlInterface; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface TDESelectorSignals { - /** - This signal is emitted whenever the user chooses a value, - e.g. by clicking with the mouse on the widget. - @short This signal is emitted whenever the user chooses a value, e. - */ - void valueChanged(int value); -} diff --git a/kdejava/koala/org/kde/koala/TDEShared.java b/kdejava/koala/org/kde/koala/TDEShared.java deleted file mode 100644 index 853df7e0..00000000 --- a/kdejava/koala/org/kde/koala/TDEShared.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Reference counting for shared objects. If you derive your object - from this class, then you may use it in conjunction with - TDESharedPtr to control the lifetime of your object. - Specifically, all classes that derive from TDEShared have an internal - counter keeping track of how many other objects have a reference to - their object. If used with TDESharedPtr, then your object will - not be deleted until all references to the object have been - released. - You should probably not ever use any of the methods in this class - directly -- let the TDESharedPtr take care of that. Just derive - your class from TDEShared and forget about it. - @author Waldo Bastian <bastian@kde.org> - - @short Reference counting for shared objects. - -*/ -public class TDEShared implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEShared(Class dummy){} - - /** - Standard constructor. This will initialize the reference count - on this object to 0. - @short Standard constructor. - */ - public TDEShared() { - newTDEShared(); - } - private native void newTDEShared(); - /** - Copy constructor. This will <b>not</b> actually copy the objects - but it will initialize the reference count on this object to 0. - @short Copy constructor. - */ - public TDEShared(TDEShared arg1) { - newTDEShared(arg1); - } - private native void newTDEShared(TDEShared arg1); -} diff --git a/kdejava/koala/org/kde/koala/TDESharedConfig.java b/kdejava/koala/org/kde/koala/TDESharedConfig.java deleted file mode 100644 index eff5d0b6..00000000 --- a/kdejava/koala/org/kde/koala/TDESharedConfig.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - TDEConfig variant using shared memory - TDESharedConfig provides a reference counted, shared memory variant - of TDEConfig. - @short TDEConfig variant using shared memory - -*/ -public class TDESharedConfig extends TDEConfig { - protected TDESharedConfig(Class dummy){super((Class) null);} - /** - Returns a ref-counted pointer to a shared read-write config object. - @param fileName the name of the file to use for the configuration - @param immutable if true, force the config object to be read-only. - @param bUseKDEGlobals Toggle reading the global KDE configuration file. - @short Returns a ref-counted pointer to a shared read-write config object. - */ - // TDESharedConfig::Ptr openConfig(const TQString& arg1,bool arg2,bool arg3); >>>> NOT CONVERTED - // TDESharedConfig::Ptr openConfig(const TQString& arg1,bool arg2); >>>> NOT CONVERTED - // TDESharedConfig::Ptr openConfig(const TQString& arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/TDEShortcut.java b/kdejava/koala/org/kde/koala/TDEShortcut.java deleted file mode 100644 index 3a0ee12f..00000000 --- a/kdejava/koala/org/kde/koala/TDEShortcut.java +++ /dev/null @@ -1,329 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQKeySequence; -import org.kde.qt.QtSupport; - -/** - - The TDEShortcut class is used to represent a keyboard shortcut to an action. - A shortcut is normally a single key with modifiers, such as Ctrl+V. - A TDEShortcut object may also contain an alternate key which will also - activate the action it's associated to, as long as no other actions have - defined that key as their primary key. Ex: Ctrl+V;Shift+Insert. - This can be used to add additional accelerators to a TDEAction. For example, - the below code binds the escape key to the close action. - <pre> - TDEAction closeAction = KStdAction.close( this, SLOT("close()"), actionCollection() ); - TDEShortcut closeShortcut = closeAction.shortcut(); - closeShortcut.append( KKey(Key_Escape)); - closeAction.setShortcut(closeShortcut); - </pre> - Note that a shortcut cannot have more than 2 key combinations associated with it, so the above - code would not do anything (and append() would return false) if the closeAction already had - an key and alternate key. - @short The TDEShortcut class is used to represent a keyboard shortcut to an action. - -*/ -public class TDEShortcut implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEShortcut(Class dummy){} - - /** - The maximum number of key sequences that can be contained in - a TDEShortcut. - @short The maximum number of key sequences that can be contained in a TDEShortcut. - */ - public static final int MAX_SEQUENCES = 2; - - /** - Creates a new null shortcut. - @short Creates a new null shortcut. - @see #null - @see #isNull - @see #clear - */ - public TDEShortcut() { - newTDEShortcut(); - } - private native void newTDEShortcut(); - /** - Creates a new shortcut with the given Qt key code - as the only key sequence. - @param keyQt the qt keycode - @short Creates a new shortcut with the given Qt key code as the only key sequence. - @see org.kde.qt.Qt#Key - */ - public TDEShortcut(int keyQt) { - newTDEShortcut(keyQt); - } - private native void newTDEShortcut(int keyQt); - /** - Creates a new shortcut that contains only the given qt key - sequence. - @param keySeq the qt key sequence to add - @short Creates a new shortcut that contains only the given qt key sequence. - */ - public TDEShortcut(TQKeySequence keySeq) { - newTDEShortcut(keySeq); - } - private native void newTDEShortcut(TQKeySequence keySeq); - /** - Creates a new shortcut that contains only the given key - in its only sequence. - @param key the key to add - @short Creates a new shortcut that contains only the given key in its only sequence. - */ - public TDEShortcut(KKey key) { - newTDEShortcut(key); - } - private native void newTDEShortcut(KKey key); - /** - Creates a new shortcut that contains only the given key - sequence. - @param keySeq the key sequence to add - @short Creates a new shortcut that contains only the given key sequence. - */ - public TDEShortcut(KKeySequence keySeq) { - newTDEShortcut(keySeq); - } - private native void newTDEShortcut(KKeySequence keySeq); - /** - Copies the given shortcut. - @param shortcut the shortcut to add - @short Copies the given shortcut. - */ - public TDEShortcut(TDEShortcut shortcut) { - newTDEShortcut(shortcut); - } - private native void newTDEShortcut(TDEShortcut shortcut); - /** - Creates a new key sequence that contains the given key sequence. - The description consists of semicolon-separated keys as - used in KKeySequence.KKeySequence(String). - @param shortcut the description of the key - @short Creates a new key sequence that contains the given key sequence. - @see KKeySequence#KKeySequence(const - */ - public TDEShortcut(String shortcut) { - newTDEShortcut(shortcut); - } - private native void newTDEShortcut(String shortcut); - /** - Clears the shortcut. The shortcut is null after calling this - function. - @short Clears the shortcut. - @see #isNull - */ - public native void clear(); - /** - Initializes the shortcut with the given Qt key code - as the only key sequence. - @param keyQt the qt keycode - @short Initializes the shortcut with the given Qt key code as the only key sequence. - @see org.kde.qt.Qt#Key - */ - public native boolean init(int keyQt); - /** - Initializes the shortcut with the given qt key sequence. - @param keySeq the qt key sequence to add - @short Initializes the shortcut with the given qt key sequence. - */ - public native boolean init(TQKeySequence keySeq); - /** - Initializes the shortcut with the given key as its only sequence. - @param key the key to add - @short Initializes the shortcut with the given key as its only sequence. - */ - public native boolean init(KKey key); - /** - Initializes the shortcut with the given qt key sequence. - @param keySeq the qt key sequence to add - @short Initializes the shortcut with the given qt key sequence. - */ - public native boolean init(KKeySequence keySeq); - /** - Copies the given shortcut. - @param shortcut the shortcut to add - @short Copies the given shortcut. - */ - public native boolean init(TDEShortcut shortcut); - /** - Initializes the key sequence with the given key sequence. - The description consists of semicolon-separated keys as - used in KKeySequence.KKeySequence(String). - @param shortcut the description of the key - @short Initializes the key sequence with the given key sequence. - @see KKeySequence#KKeySequence(const - */ - public native boolean init(String shortcut); - /** - Returns the number of sequences that are in this - shortcut. - @return the number of sequences - MAX_SEQUENCES - - @short Returns the number of sequences that are in this shortcut. - */ - public native int count(); - /** - Returns the <code>i</code>'th key sequence of this shortcut. - @param i the number of the key sequence to retrieve - @return the <code>i</code>'th sequence or KKeySequence.null() if - there are less than <code>i</code> key sequences - MAX_SEQUENCES - - @short Returns the <code>i</code>'th key sequence of this shortcut. - */ - public native KKeySequence seq(int i); - /** - Returns the key code of the first key sequence, or - null if there is no first key sequence. - @return the key code of the first sequence's first key - - @short Returns the key code of the first key sequence, or null if there is no first key sequence. - @see org.kde.qt.Qt#Key - @see KKeySequence#keyCodeQt - */ - public native int keyCodeQt(); - /** - Returns true if the shortcut is null (after clear() or empty - constructor). - @return true if the shortcut is null - - @short Returns true if the shortcut is null (after clear() or empty constructor). - @see #clear - @see #null - */ - public native boolean isNull(); - /** - Compares this object with the given shortcut. Returns a negative - number if the given shortcut is larger, 0 if they are equal and - a positive number this shortcut is larger. Shortcuts are - compared by comparing the individual key sequences, starting from the - beginning until an unequal key sequences has been found. If a shortcut - contains more key sequences, it is considered larger. - @param shortcut the shortcut to compare to - @return a negative number if the given TDEShortcut is larger, 0 if - they are equal and a positive number this TDEShortcut is larger - - @short Compares this object with the given shortcut. - @see KKey#compare - @see KKeyShortcut#compare - */ - public native int compare(TDEShortcut shortcut); - /** - Compares the sequences of both shortcuts. - @short Compares the sequences of both shortcuts. - @see #compare - */ - public native boolean op_equals(TDEShortcut cut); - /** - Compares the sequences of both shortcuts. - @short Compares the sequences of both shortcuts. - @see #compare - */ - public native boolean op_not_equals(TDEShortcut cut); - /** - Compares the sequences of both shortcuts. - @short Compares the sequences of both shortcuts. - @see #compare - */ - public native boolean op_lt(TDEShortcut cut); - /** - Checks whether this shortcut contains a sequence that starts - with the given key. - @param key the key to check - @return true if a key sequence starts with the key - - @short Checks whether this shortcut contains a sequence that starts with the given key. - */ - public native boolean contains(KKey key); - /** - Checks whether this shortcut contains the given sequence. - @param keySeq the key sequence to check - @return true if the shortcut has the given key sequence - - @short Checks whether this shortcut contains the given sequence. - */ - public native boolean contains(KKeySequence keySeq); - /** - Sets the <code>i</code> 'th key sequence of the shortcut. You can not introduce - gaps in the list of sequences, so you must use an <code>i</code> <= count(). - Also note that the maximum number of key sequences is MAX_SEQUENCES. - @param i the position of the new key sequence(0 <= i <= count(), 0 <= i < MAX_SEQUENCES) - @param keySeq the key sequence to set - @return true if successful, false otherwise - - @short Sets the <code>i</code> 'th key sequence of the shortcut. - */ - public native boolean setSeq(int i, KKeySequence keySeq); - /** - Appends the given key sequence. This sets it as either the keysequence or - the alternate keysequence. If the shortcut already has MAX_SEQUENCES - sequences then this call does nothing, and returns false. - @param keySeq the key sequence to add - @return true if successful, false otherwise - - @short Appends the given key sequence. - @see #setSeq - */ - public native boolean append(KKeySequence keySeq); - /** - Removes the given key sequence from this shortcut - @param keySeq the key sequence to remove - @short Removes the given key sequence from this shortcut - */ - public native void remove(KKeySequence keySeq); - /** - Appends the given key - @param spec the key to add - @return true if successful, false otherwise - - @short Appends the given key - @see #setSeq - @see MAX_SEQUENCES - */ - public native boolean append(KKey spec); - /** - Appends the sequences from the given shortcut. - @param cut the shortcut to append - @return true if successful, false otherwise - - @short Appends the sequences from the given shortcut. - @see MAX_SEQUENCES - */ - public native boolean append(TDEShortcut cut); - /** - Returns a description of the shortcut as semicolon-separated - ket sequences, as returned by KKeySequence.toString(). - @return the string represenation of this shortcut - - @short Returns a description of the shortcut as semicolon-separated ket sequences, as returned by KKeySequence.toString(). - @see KKey#toString - @see KKeySequence#toString - */ - public native String toString(); - /** - @short - */ - public native String toStringInternal(TDEShortcut pcutDefault); - public native String toStringInternal(); - /** - Returns a null shortcut. - @return the null shortcut - - @short Returns a null shortcut. - @see #isNull - @see #clear - */ - public static native TDEShortcut nil(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEShortcutList.java b/kdejava/koala/org/kde/koala/TDEShortcutList.java deleted file mode 100644 index e7a5dfff..00000000 --- a/kdejava/koala/org/kde/koala/TDEShortcutList.java +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQVariant; - -/** - - TDEShortcutList is an abstract base class for - TDEAccelShortcutList and TDEStdAccel.ShortcutList. It gives - you an unified interface for accessing the accelerator lists - of TDEAccel (using TDEAccelShortcutList), - TDEGlobalAccel (using TDEAccelShortcutList), and - TDEStdAccel (using TDEStdAccel.ShortcutList). - @short Base class for accessing accelerator lists. - -*/ -public class TDEShortcutList implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEShortcutList(Class dummy){} - - - /** - Default constructor. - @short Default constructor. - */ - /** - Returns the number of entries. - @return the number of entries - - @short Returns the number of entries. - */ - public native int count(); - /** - Returns the name of the shortcut with the given <code>index.</code> - @param index the index of the shortcut (must be < count()) - @return the name of the shortcut - - @short Returns the name of the shortcut with the given <code>index.</code> - */ - public native String name(int index); - /** - Returns the (i18n'd) label of the shortcut with the given <code>index.</code> - @param index the index of the shortcut (must be < count()) - @return the label (i18n'd) of the shortcut - - @short Returns the (i18n'd) label of the shortcut with the given <code>index.</code> - */ - public native String label(int index); - /** - Returns the (i18n'd) What's This text of the shortcut with the given <code>index.</code> - @param index the index of the shortcut (must be < count()) - @return the What's This text (i18n'd) of the shortcut - - @short Returns the (i18n'd) What's This text of the shortcut with the given <code>index.</code> - */ - public native String whatsThis(int index); - /** - Returns the shortcut with the given <code>index.</code> - @param index the index of the shortcut (must be < count()) - @return the shortcut - - @short Returns the shortcut with the given <code>index.</code> - @see #shortcutDefault - */ - public native TDEShortcut shortcut(int index); - /** - Returns default shortcut with the given <code>index.</code> - @param index the index of the shortcut (must be < count()) - @return the default shortcut - - @short Returns default shortcut with the given <code>index.</code> - @see #shortcut - */ - public native TDEShortcut shortcutDefault(int index); - /** - Checks whether the shortcut with the given <code>index</code> is configurable. - @param index the index of the shortcut (must be < count()) - @return true if configurable, false otherwise - - @short Checks whether the shortcut with the given <code>index</code> is configurable. - */ - public native boolean isConfigurable(int index); - /** - Sets the shortcut of the given entry - @param index the index of the shortcut (must be < count()) - @param shortcut the shortcut - @short Sets the shortcut of the given entry - */ - public native boolean setShortcut(int index, TDEShortcut shortcut); - /** - Checks whether the shortcut with the given <code>index</code> is saved in the - global configuration. - @param index the index of the shortcut (must be < count()) - @return true if global, false otherwise - - @short Checks whether the shortcut with the given <code>index</code> is saved in the global configuration. - */ - public native boolean isGlobal(int index); - /** - Returns the index of the shortcut with he given name. - @param sName the name of the shortcut to search - @return the index of the shortcut, of -1 if not found - - @short Returns the index of the shortcut with he given name. - */ - public native int index(String sName); - /** - Returns the index of the shortcut with he given key sequence. - @param keySeq the key sequence to search for - @return the index of the shortcut, of -1 if not found - - @short Returns the index of the shortcut with he given key sequence. - */ - public native int index(KKeySequence keySeq); - /** - The TDEInstance. - @return the TDEInstance of the list, can be 0 if not available - - @short The TDEInstance. - */ - public native TDEInstanceInterface instance(); - /** \internal @short \internal - */ - public native TQVariant getOther(int arg1, int index); - /** \internal @short \internal - */ - public native boolean setOther(int arg1, int index, TQVariant arg3); - /** - Save the shortcut list. - @return true if successful, false otherwise - - @short Save the shortcut list. - */ - public native boolean save(); - /** - Loads the shortcuts from the given configuration file. - @param sConfigGroup the group in the configuration file - @param pConfig the configuration file to load from - @return true if successful, false otherwise - - @short Loads the shortcuts from the given configuration file. - */ - public native boolean readSettings(String sConfigGroup, TDEConfigBase pConfig); - public native boolean readSettings(String sConfigGroup); - public native boolean readSettings(); - /** - Writes the shortcuts to the given configuration file. - @param sConfigGroup the group in the configuration file - @param pConfig the configuration file to save to - @param bWriteAll true to write all actions - @param bGlobal true to write to the global configuration file - @return true if successful, false otherwise - - @short Writes the shortcuts to the given configuration file. - */ - public native boolean writeSettings(String sConfigGroup, TDEConfigBase pConfig, boolean bWriteAll, boolean bGlobal); - public native boolean writeSettings(String sConfigGroup, TDEConfigBase pConfig, boolean bWriteAll); - public native boolean writeSettings(String sConfigGroup, TDEConfigBase pConfig); - public native boolean writeSettings(String sConfigGroup); - public native boolean writeSettings(); -} diff --git a/kdejava/koala/org/kde/koala/TDEStandardDirs.java b/kdejava/koala/org/kde/koala/TDEStandardDirs.java deleted file mode 100644 index c5e50615..00000000 --- a/kdejava/koala/org/kde/koala/TDEStandardDirs.java +++ /dev/null @@ -1,681 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - This is one of the most central classes in tdelibs as - it provides a basic service: It knows where the files - reside on the user's hard disk. And it's meant to be the - only one that knows -- to make the real location as - transparent as possible to both the user and the applications. - To this end it insulates the application from all information - and applications always refer to a file with a resource type - (e.g. icon) and a filename (e.g. khexdit.xpm). In an ideal world - the application would make no assumption where this file is and - leave it up to TDEStandardDirs.findResource("apps", "Home.desktop") - to apply this knowledge to return /opt/kde/share/applnk/Home.desktop - or .locate("data", "kgame/background.jpg") to return - /opt/kde/share/apps/kgame/background.jpg - The main idea behind TDEStandardDirs is that there are several - toplevel prefixes below which the files lie. One of these prefixes is - the one where the user installed tdelibs, one is where the - application was installed, and one is $HOME/.trinity, but there - may be even more. Under these prefixes there are several well - defined suffixes where specific resource types are to be found. - For example, for the resource type "html" the suffixes could be - share/doc/HTML and share/doc/tde/HTML. - So the search algorithm basically appends to each prefix each registered - suffix and tries to locate the file there. - To make the thing even more complex, it's also possible to register - absolute paths that TDEStandardDirs looks up after not finding anything - in the former steps. They can be useful if the user wants to provide - specific directories that aren't in his $HOME/.trinity directory for, - for example, icons. - <li><b>Standard resources that tdelibs allocates are:</b></li> - - <li> - apps - Applications menu (.desktop files). - </li> - - <li> - cache - Cached information (e.g. favicons, web-pages) - </li> - - <li> - cgi - CGIs to run from kdehelp. - </li> - - <li> - config - Configuration files. - </li> - - <li> - data - Where applications store data. - </li> - - <li> - exe - Executables in $prefix/bin. findExe() for a function that takes $PATH into account. - </li> - - <li> - html - HTML documentation. - </li> - - <li> - icon - Icons, see TDEIconLoader. - </li> - - <li> - lib - Libraries. - </li> - - <li> - locale - Translation files for TDELocale. - </li> - - <li> - mime - Mime types. - </li> - - <li> - module - Module (dynamically loaded library). - </li> - - <li> - qtplugins - Qt plugins (dynamically loaded objects for Qt) - </li> - - <li> - services - Services. - </li> - - <li> - servicetypes - Service types. - </li> - - <li> - scripts - Application scripting additions. - </li> - - <li> - sound - Application sounds. - </li> - - <li> - templates - Templates - </li> - - <li> - wallpaper - Wallpapers. - </li> - - <li> - tmp - Temporary files (specific for both current host and current user) - </li> - - <li> - socket - UNIX Sockets (specific for both current host and current user) - </li> - - <li> - emoticons - Emoticons themes (Since KDE 3.4) - </li> - A type that is added by the class TDEApplication if you use it, is - appdata. This one makes the use of the type data a bit easier as it - appends the name of the application. - So while you had to .locate("data", "appname/filename") so you can - also write .locate("appdata", "filename") if your TDEApplication instance - is called "appname" (as set via TDEApplication's constructor or TDEAboutData, if - you use the global TDEStandardDirs object TDEGlobal.dirs()). - Please note though that you cannot use the "appdata" - type if you intend to use it in an applet for Kicker because 'appname' would - be "Kicker" instead of the applet's name. Therefore, for applets, you've got - to work around this by using .locate("data", "appletname/filename"). - <b>TDEStandardDirs supports the following environment variables:</b> - - <li> - TDEDIRS: This may set an additional number of directory prefixes to - search for resources. The directories should be separated - by ':'. The directories are searched in the order they are - specified. - </li> - - <li> - TDEDIR: Used for backwards compatibility. As TDEDIRS but only a single - directory may be specified. If TDEDIRS is set TDEDIR is - ignored. - </li> - - <li> - TDEHOME: The directory where changes are saved to. This directory is - used to search for resources first. If TDEHOME is not - specified it defaults to "$HOME/.trinity" - </li> - - <li> - TDEROOTHOME: Like TDEHOME, but used for the root user. - If TDEROOTHOME is not set it defaults to the .kde directory in the - home directory of root, usually "/root/.trinity". - Note that the setting of $HOME is ignored in this case. - </li> - @author Stephan Kulow <coolo@kde.org> and Sirtaj Singh Kang <taj@kde.org> - - @short Site-independent access to standard KDE directories. - @see TDEGlobalSettings - -*/ -public class TDEStandardDirs implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEStandardDirs(Class dummy){} - - /** - TDEStandardDirs' constructor. It just initializes the caches. - @short TDEStandardDirs' constructor. - */ - public TDEStandardDirs() { - newTDEStandardDirs(); - } - private native void newTDEStandardDirs(); - /** - Adds another search dir to front of the <code>fsstnd</code> list. - - <li> - When compiling tdelibs, the prefix is added to this. - </li> - - <li> - TDEDIRS or TDEDIR is taking into account - </li> - - <li> - Additional dirs may be loaded from kdeglobals. - </li> - @param dir The directory to append relative paths to. - @short Adds another search dir to front of the <code>fsstnd</code> list. - */ - public native void addPrefix(String dir); - /** - Adds another search dir to front of the XDG_CONFIG_XXX list - of prefixes. - This prefix is only used for resources that start with "xdgconf-" - @param dir The directory to append relative paths to. - @short Adds another search dir to front of the XDG_CONFIG_XXX list of prefixes. - */ - public native void addXdgConfigPrefix(String dir); - /** - Adds another search dir to front of the XDG_DATA_XXX list - of prefixes. - This prefix is only used for resources that start with "xdgdata-" - @param dir The directory to append relative paths to. - @short Adds another search dir to front of the XDG_DATA_XXX list of prefixes. - */ - public native void addXdgDataPrefix(String dir); - /** - Adds suffixes for types. - You may add as many as you need, but it is advised that there - is exactly one to make writing definite. - All basic types ( kde_default) are added by addKDEDefaults(), - but for those you can add more relative paths as well. - The later a suffix is added, the higher its priority. Note, that the - suffix should end with / but doesn't have to start with one (as prefixes - should end with one). So adding a suffix for app_pics would look - like TDEGlobal.dirs().addResourceType("app_pics", "share/app/pics"); - @param type Specifies a short descriptive string to access - files of this type. - @param relativename Specifies a directory relative to the root - of the KFSSTND. - @return true if successful, false otherwise. - - @short Adds suffixes for types. - */ - public native boolean addResourceType(String type, String relativename); - /** - Adds absolute path at the end of the search path for - particular types (for example in case of icons where - the user specifies extra paths). - You shouldn't need this - function in 99% of all cases besides adding user-given - paths. - @param type Specifies a short descriptive string to access files - of this type. - @param absdir Points to directory where to look for this specific - type. Non-existant directories may be saved but pruned. - @return true if successful, false otherwise. - - @short Adds absolute path at the end of the search path for particular types (for example in case of icons where the user specifies extra paths). - */ - public native boolean addResourceDir(String type, String absdir); - /** - Tries to find a resource in the following order: - - <li> - All PREFIX/\<relativename> paths (most recent first). - </li> - - <li> - All absolute paths (most recent first). - </li> - The filename should be a filename relative to the base dir - for resources. So is a way to get the path to libtdecore.la - to findResource("lib", "libtdecore.la"). TDEStandardDirs will - then look into the subdir lib of all elements of all prefixes - ($TDEDIRS) for a file libtdecore.la and return the path to - the first one it finds (e.g. /opt/kde/lib/libtdecore.la) - @param type The type of the wanted resource - @param filename A relative filename of the resource. - @return A full path to the filename specified in the second - argument, or null if not found. - - @short Tries to find a resource in the following order: - */ - public native String findResource(String type, String filename); - /** - Checks whether a resource is restricted as part of the KIOSK - framework. When a resource is restricted it means that user- - specific files in the resource are ignored. - E.g. by restricting the "wallpaper" resource, only system-wide - installed wallpapers will be found by this class. Wallpapers - installed under the $TDEHOME directory will be ignored. - @param type The type of the resource to check - @param relPath A relative path in the resource. - @return True if the resource is restricted. - - @short Checks whether a resource is restricted as part of the KIOSK framework. - */ - public native boolean isRestrictedResource(String type, String relPath); - public native boolean isRestrictedResource(String type); - /** - Returns a number that identifies this version of the resource. - When a change is made to the resource this number will change. - @param type The type of the wanted resource - @param filename A relative filename of the resource. - @param deep If true, all resources are taken into account - otherwise only the one returned by findResource(). - @return A number identifying the current version of the - resource. - - @short Returns a number that identifies this version of the resource. - */ - public native int calcResourceHash(String type, String filename, boolean deep); - /** - Tries to find all directories whose names consist of the - specified type and a relative path. So would - findDirs("apps", "Settings") return - - <li> - /opt/kde/share/applnk/Settings/ - </li> - - <li> - /home/joe/.trinity/share/applnk/Settings/ - </li> - Note that it appends / to the end of the directories, - so you can use this right away as directory names. - @param type The type of the base directory. - @param reldir Relative directory. - @return A list of matching directories, or an empty - list if the resource specified is not found. - - @short Tries to find all directories whose names consist of the specified type and a relative path. - */ - public native ArrayList findDirs(String type, String reldir); - /** - Tries to find the directory the file is in. - It works the same as findResource(), but it doesn't - return the filename but the name of the directory. - This way the application can access a couple of files - that have been installed into the same directory without - having to look for each file. - findResourceDir("lib", "libtdecore.la") would return the - path of the subdir libtdecore.la is found first in - (e.g. /opt/kde/lib/) - @param type The type of the wanted resource - @param filename A relative filename of the resource. - @return The directory where the file specified in the second - argument is located, or null if the type - of resource specified is unknown or the resource - cannot be found. - - @short Tries to find the directory the file is in. - */ - public native String findResourceDir(String type, String filename); - /** - Tries to find all resources with the specified type. - The function will look into all specified directories - and return all filenames in these directories. - @param type The type of resource to locate directories for. - @param filter Only accept filenames that fit to filter. The filter - may consist of an optional directory and a TQRegExp - wildcard expression. E.g. "images\.jpg". Use null - if you do not want a filter. - @param recursive Specifies if the function should decend - into subdirectories. - @param unique If specified, only return items which have - unique suffixes - suppressing duplicated filenames. - @return List of all the files whose filename matches the - specified filter. - - @short Tries to find all resources with the specified type. - */ - public native ArrayList findAllResources(String type, String filter, boolean recursive, boolean unique); - public native ArrayList findAllResources(String type, String filter, boolean recursive); - public native ArrayList findAllResources(String type, String filter); - public native ArrayList findAllResources(String type); - /** - Tries to find all resources with the specified type. - The function will look into all specified directories - and return all filenames (full and relative paths) in - these directories. - @param type The type of resource to locate directories for. - @param filter Only accept filenames that fit to filter. The filter - may consist of an optional directory and a TQRegExp - wildcard expression. E.g. "images\.jpg". Use null - if you do not want a filter. - @param recursive Specifies if the function should decend - into subdirectories. - @param unique If specified, only return items which have - unique suffixes. - @param relPaths The list to store the relative paths into - These can be used later to .locate() the file - @return List of all the files whose filename matches the - specified filter. - - @short Tries to find all resources with the specified type. - */ - public native ArrayList findAllResources(String type, String filter, boolean recursive, boolean unique, String[] relPaths); - /** - This function adds the defaults that are used by the current - KDE version. - It's a series of addResourceTypes() - and addPrefix() calls. - You normally wouldn't call this function because it's called - for you from TDEGlobal. - @short This function adds the defaults that are used by the current KDE version. - */ - public native void addKDEDefaults(); - /** - Reads customized entries out of the given config object and add - them via addResourceDirs(). - @param config The object the entries are read from. This should - contain global config files - @return true if new config paths have been added - from <code>config.</code> - - @short Reads customized entries out of the given config object and add them via addResourceDirs(). - */ - public native boolean addCustomized(TDEConfig config); - /** - This function is used internally by almost all other function as - it serves and fills the directories cache. - @param type The type of resource - @return The list of possible directories for the specified <code>type.</code> - The function updates the cache if possible. If the resource - type specified is unknown, it will return an empty list. - Note, that the directories are assured to exist beside the save - location, which may not exist, but is returned anyway. - - @short This function is used internally by almost all other function as it serves and fills the directories cache. - */ - public native ArrayList resourceDirs(String type); - /** - This function will return a list of all the types that TDEStandardDirs - supports. - @return All types that KDE supports - - @short This function will return a list of all the types that TDEStandardDirs supports. - */ - public native ArrayList allTypes(); - /** - Finds a location to save files into for the given type - in the user's home directory. - @param type The type of location to return. - @param suffix A subdirectory name. - Makes it easier for you to create subdirectories. - You can't pass filenames here, you _have_ to pass - directory names only and add possible filename in - that directory yourself. A directory name always has a - trailing slash ('/'). - @param create If set, saveLocation() will create the directories - needed (including those given by <code>suffix</code>). - @return A path where resources of the specified type should be - saved, or null if the resource type is unknown. - - @short Finds a location to save files into for the given type in the user's home directory. - */ - public native String saveLocation(String type, String suffix, boolean create); - public native String saveLocation(String type, String suffix); - public native String saveLocation(String type); - /** - Converts an absolute path to a path relative to a certain - resource. - If "abs = .locate(resource, rel)" - then "rel = relativeLocation(resource, abs)" and vice versa. - @param type The type of resource. - @param absPath An absolute path to make relative. - @return A relative path relative to resource <code>type</code> that - will find <code>absPath.</code> If no such relative path exists, absPath - will be returned unchanged. - - @short Converts an absolute path to a path relative to a certain resource. - */ - public native String relativeLocation(String type, String absPath); - /** - @short - */ - public native String kfsstnd_prefixes(); - /** - @short - */ - public native String kfsstnd_xdg_conf_prefixes(); - /** - @short - */ - public native String kfsstnd_xdg_data_prefixes(); - /** - Returns the toplevel directory in which TDEStandardDirs - will store things. Most likely $HOME/.trinity - Don't use this function if you can use locateLocal - @return the toplevel directory - - @short Returns the toplevel directory in which TDEStandardDirs will store things. - */ - public native String localtdedir(); - /** - @return $XDG_DATA_HOME - See also http://www.freedesktop.org/standards/basedir/draft/basedir-spec/basedir-spec.html - - @short - */ - public native String localxdgdatadir(); - /** - @return $XDG_CONFIG_HOME - See also http://www.freedesktop.org/standards/basedir/draft/basedir-spec/basedir-spec.html - - @short - */ - public native String localxdgconfdir(); - /** - Returns an ArrayList list of pathnames in the system path. - @param pstr The path which will be searched. If this is - null (default), the $PATH environment variable will - be searched. - @return an ArrayList list of pathnames in the system path. - - @short Returns an ArrayList list of pathnames in the system path. - */ - public static native ArrayList systemPaths(String pstr); - public static native ArrayList systemPaths(); - /** - Finds the executable in the system path. - A valid executable must - be a file and have its executable bit set. - @param appname The name of the executable file for which to search. - @param pathstr The path which will be searched. If this is - null (default), the $PATH environment variable will - be searched. - @param ignoreExecBit If true, an existing file will be returned - even if its executable bit is not set. - @return The path of the executable. If it was not found, - it will return null. - - @short Finds the executable in the system path. - @see #findAllExe - */ - public static native String findExe(String appname, String pathstr, boolean ignoreExecBit); - public static native String findExe(String appname, String pathstr); - public static native String findExe(String appname); - /** - Finds all occurrences of an executable in the system path. - @param list Will be filled with the pathnames of all the - executables found. Will be empty if the executable - was not found. - @param appname The name of the executable for which to - search. - @param pathstr The path list which will be searched. If this - is 0 (default), the $PATH environment variable will - be searched. - @param ignoreExecBit If true, an existing file will be returned - even if its executable bit is not set. - @return The number of executables found, 0 if none were found. - - @short Finds all occurrences of an executable in the system path. - @see #findExe - */ - public static native int findAllExe(String[] list, String appname, String pathstr, boolean ignoreExecBit); - public static native int findAllExe(String[] list, String appname, String pathstr); - public static native int findAllExe(String[] list, String appname); - /** - Recursively creates still-missing directories in the given path. - The resulting permissions will depend on the current umask setting. - permission = mode & ~umask. - @param dir Absolute path of the directory to be made. - @param mode Directory permissions. - @return true if successful, false otherwise - - @short Recursively creates still-missing directories in the given path. - */ - public static native boolean makeDir(String dir, int mode); - public static native boolean makeDir(String dir); - /** - This returns a default relative path for the standard KDE - resource types. Below is a list of them so you get an idea - of what this is all about. - - <li> - data - share/apps - </li> - - <li> - html - share/doc/tde/HTML - </li> - - <li> - icon - share/icon - </li> - - <li> - config - share/config - </li> - - <li> - pixmap - share/pixmaps - </li> - - <li> - apps - share/applnk - </li> - - <li> - sound - share/sounds - </li> - - <li> - locale - share/locale - </li> - - <li> - services - share/services - </li> - - <li> - servicetypes - share/servicetypes - </li> - - <li> - mime - share/mimelnk - </li> - - <li> - wallpaper - share/wallpapers - </li> - - <li> - templates - share/templates - </li> - - <li> - exe - bin - </li> - - <li> - lib - lib - </li> - @return Static default for the specified resource. You - should probably be using locate() or locateLocal() - instead. - - @short This returns a default relative path for the standard KDE resource types. - @see #locate - @see #locateLocal - */ - public static native String kde_default(String type); - /** - Returns the default toplevel directory where KDE is installed. - @short - */ - public static native String kfsstnd_defaultprefix(); - /** - Returns the default bin directory in which KDE executables are stored. - @short - */ - public static native String kfsstnd_defaultbindir(); - /** - Checks for existence and accessability of a file or directory. - Faster than creating a TQFileInfo first. - @param fullPath the path to check. IMPORTANT: must end with a slash if expected to be a directory - (and no slash for a file, obviously). - @return true if the directory exists - - @short Checks for existence and accessability of a file or directory. - */ - public static native boolean exists(String fullPath); - /** - Expands all symbolic links and resolves references to - '/./', '/../' and extra '/' characters in <code>dirname</code> - and returns the canonicalized absolute pathname. - The resulting path will have no symbolic link, '/./' - or '/../' components. - @short Expands all symbolic links and resolves references to '/. - */ - public static native String realPath(String dirname); - /** - Expands all symbolic links and resolves references to - '/./', '/../' and extra '/' characters in <code>filename</code> - and returns the canonicalized absolute pathname. - The resulting path will have no symbolic link, '/./' - or '/../' components. - @short Expands all symbolic links and resolves references to '/. - */ - public static native String realFilePath(String filename); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEStdAccel.java b/kdejava/koala/org/kde/koala/TDEStdAccel.java deleted file mode 100644 index e9b71329..00000000 --- a/kdejava/koala/org/kde/koala/TDEStdAccel.java +++ /dev/null @@ -1,484 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - \namespace TDEStdAccel - Convenient methods for access to the common accelerator keys in - the key configuration. These are the standard keybindings that should - be used in all KDE applications. They will be configurable, - so do not hardcode the default behavior. - If you want real configurable keybindings in your applications, - please checkout the class TDEAccel in tdeaccel.h - @short \namespace TDEStdAccel Convenient methods for access to the common accelerator keys in the key configuration. - @see TDEAccelShortcutList - -*/ -public class TDEStdAccel { - /** - Defines the identifier of all standard accelerators. - @short Defines the identifier of all standard accelerators. - */ - public static final int AccelNone = 0; - public static final int Open = 1; - public static final int New = 2; - public static final int Close = 3; - public static final int Save = 4; - public static final int Print = 5; - public static final int Quit = 6; - public static final int Undo = 7; - public static final int Redo = 8; - public static final int Cut = 9; - public static final int Copy = 10; - public static final int Paste = 11; - public static final int SelectAll = 12; - public static final int Deselect = 13; - public static final int DeleteWordBack = 14; - public static final int DeleteWordForward = 15; - public static final int Find = 16; - public static final int FindNext = 17; - public static final int FindPrev = 18; - public static final int Replace = 19; - public static final int Home = 20; - public static final int End = 21; - public static final int Prior = 22; - public static final int Next = 23; - public static final int GotoLine = 24; - public static final int AddBookmark = 25; - public static final int ZoomIn = 26; - public static final int ZoomOut = 27; - public static final int Up = 28; - public static final int Back = 29; - public static final int Forward = 30; - public static final int Reload = 31; - public static final int PopupMenuContext = 32; - public static final int ShowMenubar = 33; - public static final int Help = 34; - public static final int WhatsThis = 35; - public static final int TextCompletion = 36; - public static final int PrevCompletion = 37; - public static final int NextCompletion = 38; - public static final int SubstringCompletion = 39; - public static final int RotateUp = 40; - public static final int RotateDown = 41; - public static final int TabNext = 42; - public static final int TabPrev = 43; - public static final int FullScreen = 44; - public static final int BackwardWord = 45; - public static final int ForwardWord = 46; - public static final int BeginningOfLine = 47; - public static final int EndOfLine = 48; - public static final int PasteSelection = 49; - public static final int WhatThis = WhatsThis; - - /** - Returns the keybinding for <code>accel.</code> - @param id the id of the accelerator - @short Returns the keybinding for <code>accel.</code> - */ - public static native TDEShortcut shortcut(int id); - /** - Returns a unique name for the given accel. - @param id the id of the accelerator - @return the unique name of the accelerator - - @short Returns a unique name for the given accel. - */ - public static native String name(int id); - /** - Returns a localized label for user-visible display. - @param id the id of the accelerator - @return a localized label for the accelerator - - @short Returns a localized label for user-visible display. - */ - public static native String label(int id); - /** - Returns an extended WhatsThis description for the given accelerator. - @param id the id of the accelerator - @return a localized description of the accelerator - - @short Returns an extended WhatsThis description for the given accelerator. - */ - public static native String whatsThis(int id); - /** - Return the StdAccel id of the standard accel action which - uses this key sequence, or AccelNone if none of them do. - This is used by class KKeyChooser. - @param keySeq the key sequence to search - @return the id of the standard accelerator, or AccelNone if there - is none - - @short Return the StdAccel id of the standard accel action which uses this key sequence, or AccelNone if none of them do. - */ - public static native int findStdAccel(KKeySequence keySeq); - /** - Returns the hardcoded default shortcut for <code>id.</code> - This does not take into account the user's configuration. - @param id the id of the accelerator - @return the default shortcut of the accelerator - - @short Returns the hardcoded default shortcut for <code>id.</code> - */ - public static native TDEShortcut shortcutDefault(int id); - /** - Returns the hardcoded default 3 modifier shortcut for <code>id.</code> - This does not take into account the user's configuration. - @param id the id of the accelerator - @return the default 3 modifier shortcut - - @short Returns the hardcoded default 3 modifier shortcut for <code>id.</code> - */ - public static native TDEShortcut shortcutDefault3(int id); - /** - Returns the hardcoded default 4 modifier shortcut for <code>id.</code> - This does not take into account the user's configuration. - @param id the id of the accelerator - @return the default 4 modifier shortcut - - @short Returns the hardcoded default 4 modifier shortcut for <code>id.</code> - */ - public static native TDEShortcut shortcutDefault4(int id); - /** - Open file. Default: Ctrl-o - @return the shortcut of the standard accelerator - - @short Open file. - */ - public static native TDEShortcut open(); - /** - Create a new document (or whatever). Default: Ctrl-n - @return the shortcut of the standard accelerator - - @short Create a new document (or whatever). - */ - public static native TDEShortcut openNew(); - /** - Close current document. Default: Ctrl-w - @return the shortcut of the standard accelerator - - @short Close current document. - */ - public static native TDEShortcut close(); - /** - Save current document. Default: Ctrl-s - @return the shortcut of the standard accelerator - - @short Save current document. - */ - public static native TDEShortcut save(); - /** - Print current document. Default: Ctrl-p - @return the shortcut of the standard accelerator - - @short Print current document. - */ - public static native TDEShortcut print(); - /** - Quit the program. Default: Ctrl-q - @return the shortcut of the standard accelerator - - @short Quit the program. - */ - public static native TDEShortcut quit(); - /** - Undo last operation. Default: Ctrl-z - @return the shortcut of the standard accelerator - - @short Undo last operation. - */ - public static native TDEShortcut undo(); - /** - Redo. Default: Shift-Ctrl-z - @return the shortcut of the standard accelerator - - @short Redo. - */ - public static native TDEShortcut redo(); - /** - Cut selected area and store it in the clipboard. Default: Ctrl-x - @return the shortcut of the standard accelerator - - @short Cut selected area and store it in the clipboard. - */ - public static native TDEShortcut cut(); - /** - Copy selected area into the clipboard. Default: Ctrl-c - @return the shortcut of the standard accelerator - - @short Copy selected area into the clipboard. - */ - public static native TDEShortcut copy(); - /** - Paste contents of clipboard at mouse/cursor position. Default: Ctrl-v - @return the shortcut of the standard accelerator - - @short Paste contents of clipboard at mouse/cursor position. - */ - public static native TDEShortcut paste(); - /** - Paste the selection at mouse/cursor position. Default: Ctrl-Shift-Insert - @return the shortcut of the standard accelerator - - @short Paste the selection at mouse/cursor position. - */ - public static native TDEShortcut pasteSelection(); - /** - Reload. Default: Ctrl-A - @return the shortcut of the standard accelerator - - @short Reload. - */ - public static native TDEShortcut selectAll(); - /** - Delete a word back from mouse/cursor position. Default: Ctrl-Backspace - @return the shortcut of the standard accelerator - - @short Delete a word back from mouse/cursor position. - */ - public static native TDEShortcut deleteWordBack(); - /** - Delete a word forward from mouse/cursor position. Default: Ctrl-Delete - @return the shortcut of the standard accelerator - - @short Delete a word forward from mouse/cursor position. - */ - public static native TDEShortcut deleteWordForward(); - /** - Find, search. Default: Ctrl-f - @return the shortcut of the standard accelerator - - @short Find, search. - */ - public static native TDEShortcut find(); - /** - Find/search next. Default: F3 - @return the shortcut of the standard accelerator - - @short Find/search next. - */ - public static native TDEShortcut findNext(); - /** - Find/search previous. Default: Shift-F3 - @return the shortcut of the standard accelerator - - @short Find/search previous. - */ - public static native TDEShortcut findPrev(); - /** - Find and replace matches. Default: Ctrl-r - @return the shortcut of the standard accelerator - - @short Find and replace matches. - */ - public static native TDEShortcut replace(); - /** - Zoom in. Default: Ctrl-Plus - @return the shortcut of the standard accelerator - - @short Zoom in. - */ - public static native TDEShortcut zoomIn(); - /** - Zoom out. Default: Ctrl-Minus - @return the shortcut of the standard accelerator - - @short Zoom out. - */ - public static native TDEShortcut zoomOut(); - /** - Goto beginning of the document. Default: Ctrl-Home - @return the shortcut of the standard accelerator - - @short Goto beginning of the document. - */ - public static native TDEShortcut home(); - /** - Goto end of the document. Default: Ctrl-End - @return the shortcut of the standard accelerator - - @short Goto end of the document. - */ - public static native TDEShortcut end(); - /** - Goto beginning of current line. Default: Home - @return the shortcut of the standard accelerator - - @short Goto beginning of current line. - */ - public static native TDEShortcut beginningOfLine(); - /** - Goto end of current line. Default: End - @return the shortcut of the standard accelerator - - @short Goto end of current line. - */ - public static native TDEShortcut endOfLine(); - /** - Scroll up one page. Default: Prior - @return the shortcut of the standard accelerator - - @short Scroll up one page. - */ - public static native TDEShortcut prior(); - /** - Scroll down one page. Default: Next - @return the shortcut of the standard accelerator - - @short Scroll down one page. - */ - public static native TDEShortcut next(); - /** - Go to line. Default: Ctrl+G - @return the shortcut of the standard accelerator - - @short Go to line. - */ - public static native TDEShortcut gotoLine(); - /** - Add current page to bookmarks. Default: Ctrl+B - @return the shortcut of the standard accelerator - - @short Add current page to bookmarks. - */ - public static native TDEShortcut addBookmark(); - /** - Next Tab. Default: Ctrl-< - @return the shortcut of the standard accelerator - - @short Next Tab. - */ - public static native TDEShortcut tabNext(); - /** - Previous Tab. Default: Ctrl. - @return the shortcut of the standard accelerator - - @short Previous Tab. - */ - public static native TDEShortcut tabPrev(); - /** - Full Screen Mode. Default: Ctrl+Shift+F - @return the shortcut of the standard accelerator - - @short Full Screen Mode. - */ - public static native TDEShortcut fullScreen(); - /** - Help the user in the current situation. Default: F1 - @return the shortcut of the standard accelerator - - @short Help the user in the current situation. - */ - public static native TDEShortcut help(); - /** - Complete text in input widgets. Default Ctrl+E - @return the shortcut of the standard accelerator - - @short Complete text in input widgets. - */ - public static native TDEShortcut completion(); - /** - Iterate through a list when completion returns - multiple items. Default: Ctrl+Up - @return the shortcut of the standard accelerator - - @short Iterate through a list when completion returns multiple items. - */ - public static native TDEShortcut prevCompletion(); - /** - Iterate through a list when completion returns - multiple items. Default: Ctrl+Down - @return the shortcut of the standard accelerator - - @short Iterate through a list when completion returns multiple items. - */ - public static native TDEShortcut nextCompletion(); - /** - Find a string within another string or list of strings. - Default: Ctrl-T - @return the shortcut of the standard accelerator - - @short Find a string within another string or list of strings. - */ - public static native TDEShortcut substringCompletion(); - /** - Help users iterate through a list of entries. Default: Up - @return the shortcut of the standard accelerator - - @short Help users iterate through a list of entries. - */ - public static native TDEShortcut rotateUp(); - /** - Help users iterate through a list of entries. Default: Down - @return the shortcut of the standard accelerator - - @short Help users iterate through a list of entries. - */ - public static native TDEShortcut rotateDown(); - /** - popup a context menu. Default: Menu - @return the shortcut of the standard accelerator - - @short popup a context menu. - */ - public static native TDEShortcut popupMenuContext(); - /** - What's This button. Default: Shift+F1 - @return the shortcut of the standard accelerator - - @short What's This button. - */ - public static native TDEShortcut whatsThis(); - /** - Reload. Default: F5 - @return the shortcut of the standard accelerator - - @short Reload. - */ - public static native TDEShortcut reload(); - /** - Up. Default: Alt+Up - @return the shortcut of the standard accelerator - - @short Up. - */ - public static native TDEShortcut up(); - /** - Back. Default: Alt+Left - @return the shortcut of the standard accelerator - - @short Back. - */ - public static native TDEShortcut back(); - /** - Forward. Default: ALT+Right - @return the shortcut of the standard accelerator - - @short Forward. - */ - public static native TDEShortcut forward(); - /** - BackwardWord. Default: Ctrl+Left - @return the shortcut of the standard accelerator - - @short BackwardWord. - */ - public static native TDEShortcut backwardWord(); - /** - ForwardWord. Default: Ctrl+Right - @return the shortcut of the standard accelerator - - @short ForwardWord. - */ - public static native TDEShortcut forwardWord(); - /** - Show Menu Bar. Default: Ctrl-M - @return the shortcut of the standard accelerator - - @short Show Menu Bar. - */ - public static native TDEShortcut showMenubar(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToggleAction.java b/kdejava/koala/org/kde/koala/TDEToggleAction.java deleted file mode 100644 index 6d08efea..00000000 --- a/kdejava/koala/org/kde/koala/TDEToggleAction.java +++ /dev/null @@ -1,245 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -/** - - Checkbox like action. - This action provides two states: checked or not. - See {@link TDEToggleActionSignals} for signals emitted by TDEToggleAction - @short Checkbox like action. - -*/ -public class TDEToggleAction extends TDEAction { - protected TDEToggleAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a toggle action with text and potential keyboard - accelerator but nothing else. Use this only if you really - know what you are doing. - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a toggle action with text and potential keyboard accelerator but nothing else. - */ - public TDEToggleAction(String text, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEToggleAction(text,cut,parent,name); - } - private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject parent, String name); - public TDEToggleAction(String text, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEToggleAction(text,cut,parent); - } - private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject parent); - public TDEToggleAction(String text, TDEShortcut cut) { - super((Class) null); - newTDEToggleAction(text,cut); - } - private native void newTDEToggleAction(String text, TDEShortcut cut); - public TDEToggleAction(String text) { - super((Class) null); - newTDEToggleAction(text); - } - private native void newTDEToggleAction(String text); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEToggleAction(text,cut,receiver,slot,parent,name); - } - private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEToggleAction(text,cut,receiver,slot,parent); - } - private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEToggleAction(text,pix,cut,parent,name); - } - private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); - public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEToggleAction(text,pix,cut,parent); - } - private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); - public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut) { - super((Class) null); - newTDEToggleAction(text,pix,cut); - } - private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut); - public TDEToggleAction(String text, TQIconSet pix) { - super((Class) null); - newTDEToggleAction(text,pix); - } - private native void newTDEToggleAction(String text, TQIconSet pix); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEToggleAction(text,pix,cut,parent,name); - } - private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); - public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEToggleAction(text,pix,cut,parent); - } - private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent); - public TDEToggleAction(String text, String pix, TDEShortcut cut) { - super((Class) null); - newTDEToggleAction(text,pix,cut); - } - private native void newTDEToggleAction(String text, String pix, TDEShortcut cut); - public TDEToggleAction(String text, String pix) { - super((Class) null); - newTDEToggleAction(text,pix); - } - private native void newTDEToggleAction(String text, String pix); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEToggleAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEToggleAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEToggleAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEToggleAction(text,pix,cut,receiver,slot,parent); - } - private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public TDEToggleAction(TQObject parent, String name) { - super((Class) null); - newTDEToggleAction(parent,name); - } - private native void newTDEToggleAction(TQObject parent, String name); - public TDEToggleAction(TQObject parent) { - super((Class) null); - newTDEToggleAction(parent); - } - private native void newTDEToggleAction(TQObject parent); - public TDEToggleAction() { - super((Class) null); - newTDEToggleAction(); - } - private native void newTDEToggleAction(); - /** - "Plug" or insert this action into a given widget. - This will typically be a menu or a toolbar. From this point - on, you will never need to directly manipulate the item in the - menu or toolbar. You do all enabling/disabling/manipulation - directly with your TDEToggleAction object. - @param widget The GUI element to display this action. - @param index The index of the item. - @short "Plug" or insert this action into a given widget. - */ - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** - Returns the actual state of the action. - @short Returns the actual state of the action. - */ - public native boolean isChecked(); - /** - @return which "exclusive group" this action is part of. - - @short - @see #setExclusiveGroup - */ - public native String exclusiveGroup(); - /** - Defines which "exclusive group" this action is part of. - In a given exclusive group, only one toggle action can be checked - at a any moment. Checking an action unchecks the other actions - of the group. - @short Defines which "exclusive group" this action is part of. - */ - public native void setExclusiveGroup(String name); - /** - Defines the text (and icon, tooltip, whatsthis) that should be displayed - instead of the normal text, when the action is checked. - This feature replaces the checkmark that usually appears in front of the text, in menus. - It is useful when the text is mainly a verb: e.g. "Show <foo>" - should turn into "Hide <foo>" when activated. - If hasIcon(), the icon is kept for the 'checked state', unless - <code>checkedItem</code> defines an icon explicitely. Same thing for tooltip and whatsthis. - @short Defines the text (and icon, tooltip, whatsthis) that should be displayed instead of the normal text, when the action is checked. - */ - public native void setCheckedState(KGuiItem checkedItem); - public native String toolTip(); - /** - Sets the state of the action. - @short Sets the state of the action. - */ - public native void setChecked(boolean arg1); - protected native void updateChecked(int id); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToggleActionSignals.java b/kdejava/koala/org/kde/koala/TDEToggleActionSignals.java deleted file mode 100644 index 51ec9c20..00000000 --- a/kdejava/koala/org/kde/koala/TDEToggleActionSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -public interface TDEToggleActionSignals { - void toggled(boolean arg1); -} diff --git a/kdejava/koala/org/kde/koala/TDEToggleFullScreenAction.java b/kdejava/koala/org/kde/koala/TDEToggleFullScreenAction.java deleted file mode 100644 index 5a07bd11..00000000 --- a/kdejava/koala/org/kde/koala/TDEToggleFullScreenAction.java +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - - An action for switching between to/from full screen mode. Note that - TQWidget.isFullScreen() may reflect the new or the old state - depending on how the action was triggered (by the application or - from the window manager). Also don't try to track the window state - yourself. Rely on this action's state (isChecked()) instead. - Important: If you need to set/change the fullscreen state manually, - use the relevant TQWidget function (showFullScreen etc.), do not - call directly the slot connected to the toggled() signal. The slot - still needs to explicitly set the window state though. - @short An action for switching between to/from full screen mode. - -*/ -public class TDEToggleFullScreenAction extends TDEToggleAction { - protected TDEToggleFullScreenAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a TDEToggleFullScreenAction - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param window the window that will switch to/from full screen mode - @param name An internal name for this action. - @short Create a TDEToggleFullScreenAction - */ - public TDEToggleFullScreenAction(TDEShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name) { - super((Class) null); - newTDEToggleFullScreenAction(cut,receiver,slot,parent,window,name); - } - private native void newTDEToggleFullScreenAction(TDEShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name); - /** - Sets the window that will be related to this action. - @short Sets the window that will be related to this action. - */ - public native void setWindow(TQWidget window); - public native void setChecked(boolean arg1); - /** - @short - */ - public native boolean eventFilter(TQObject o, TQEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToggleToolBarAction.java b/kdejava/koala/org/kde/koala/TDEToggleToolBarAction.java deleted file mode 100644 index bea7226c..00000000 --- a/kdejava/koala/org/kde/koala/TDEToggleToolBarAction.java +++ /dev/null @@ -1,54 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - An action that takes care of everything associated with - showing or hiding a toolbar by a menu action. It will - show or hide the toolbar with the given name when - activated, and check or uncheck itself if the toolbar - is manually shown or hidden. - If you need to perfom some additional action when the - toolbar is shown or hidden, connect to the toggled(boolean) - signal. It will be emitted after the toolbar's - visibility has changed, whenever it changes. - @short An action that takes care of everything associated with showing or hiding a toolbar by a menu action. - -*/ -public class TDEToggleToolBarAction extends TDEToggleAction { - protected TDEToggleToolBarAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a TDEToggleToolbarAction that manages the toolbar - named toolBarName. This can be either the name of a - toolbar in an xml ui file, or a toolbar programmatically - created with that name. - @short Create a TDEToggleToolbarAction that manages the toolbar named toolBarName. - */ - public TDEToggleToolBarAction(String toolBarName, String text, TDEActionCollection parent, String name) { - super((Class) null); - newTDEToggleToolBarAction(toolBarName,text,parent,name); - } - private native void newTDEToggleToolBarAction(String toolBarName, String text, TDEActionCollection parent, String name); - public TDEToggleToolBarAction(TDEToolBar toolBar, String text, TDEActionCollection parent, String name) { - super((Class) null); - newTDEToggleToolBarAction(toolBar,text,parent,name); - } - private native void newTDEToggleToolBarAction(TDEToolBar toolBar, String text, TDEActionCollection parent, String name); - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - public native TDEToolBar toolBar(); - public native void setChecked(boolean arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToolBar.java b/kdejava/koala/org/kde/koala/TDEToolBar.java deleted file mode 100644 index b66098df..00000000 --- a/kdejava/koala/org/kde/koala/TDEToolBar.java +++ /dev/null @@ -1,919 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMainWindow; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQSizePolicy; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQChildEvent; -import org.kde.qt.TQToolBar; - -/** - - A KDE-style toolbar. - TDEToolBar can be dragged around in and between different docks. - A TDEToolBar can contain all sorts of widgets. - TDEToolBar can be used as a standalone widget, but TDEMainWindow - provides easy factories and management of one or more toolbars. - Once you have a TDEToolBar object, you can insert items into it with the - insert... methods, or remove them with the removeItem() method. This - can be done at any time; the toolbar will be automatically updated. - There are also many methods to set per-child properties like alignment - and toggle behavior. - TDEToolBar uses a global config group to load toolbar settings on - construction. It will reread this config group on a - TDEApplication.appearanceChanged() signal. - See {@link TDEToolBarSignals} for signals emitted by TDEToolBar - @author Reginald Stadlbauer <reggie@kde.org>, Stephan Kulow <coolo@kde.org>, Sven Radej <radej@kde.org>. - - @short Floatable toolbar with auto resize. - -*/ -public class TDEToolBar extends TQToolBar { - protected TDEToolBar(Class dummy){super((Class) null);} - public static final int IconOnly = 0; - public static final int IconTextRight = 1; - public static final int TextOnly = 2; - public static final int IconTextBottom = 3; - - /** - Possible bar positions. - @short Possible bar positions. - */ - public static final int Unmanaged = 0; - public static final int Floating = 1; - public static final int Top = 2; - public static final int Bottom = 3; - public static final int Right = 4; - public static final int Left = 5; - public static final int Flat = 6; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Normal constructor. - This constructor is used by the XML-GUI. If you use it, you need - to call TQMainWindow.addToolBar to specify the position of the toolbar. - So it's simpler to use the other constructor. - The toolbar will read in various global config settings for - things like icon size and text position, etc. However, some of - the settings will be honored only if <code>honorStyle</code> is set to - true. All other toolbars will be IconOnly and use Medium icons. - @param parent The standard toolbar parent (usually a - TDEMainWindow) - @param name The standard internal name - @param honorStyle If true, then global settings for IconSize and IconText will be honored - @param readConfig whether to apply the configuration (global and application-specific) - @short Normal constructor. - */ - public TDEToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig) { - super((Class) null); - newTDEToolBar(parent,name,honorStyle,readConfig); - } - private native void newTDEToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig); - public TDEToolBar(TQWidget parent, String name, boolean honorStyle) { - super((Class) null); - newTDEToolBar(parent,name,honorStyle); - } - private native void newTDEToolBar(TQWidget parent, String name, boolean honorStyle); - public TDEToolBar(TQWidget parent, String name) { - super((Class) null); - newTDEToolBar(parent,name); - } - private native void newTDEToolBar(TQWidget parent, String name); - public TDEToolBar(TQWidget parent) { - super((Class) null); - newTDEToolBar(parent); - } - private native void newTDEToolBar(TQWidget parent); - /** - Constructor for non-XML-GUI applications. - The toolbar will read in various global config settings for - things like icon size and text position, etc. However, some of - the settings will be honored only if <code>honorStyle</code> is set to - true. All other toolbars will be IconOnly and use Medium icons. - @param parentWindow The window that should be the parent of this toolbar - @param dock The position of the toolbar. Usually TQMainWindow.Top. - @param newLine If true, start a new line in the dock for this toolbar. - @param name The standard internal name - @param honorStyle If true, then global settings for IconSize and IconText will be honored - @param readConfig whether to apply the configuration (global and application-specific) - @short Constructor for non-XML-GUI applications. - */ - public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); - } - private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); - public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine,name,honorStyle); - } - private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle); - public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine,name); - } - private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name); - public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine); - } - private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine); - public TDEToolBar(TQMainWindow parentWindow, int dock) { - super((Class) null); - newTDEToolBar(parentWindow,dock); - } - private native void newTDEToolBar(TQMainWindow parentWindow, int dock); - /** - Constructor for non-XML-GUI applications. - The toolbar will read in various global config settings for - things like icon size and text position, etc. However, some of - the settings will be honored only if <code>honorStyle</code> is set to - true. All other toolbars will be IconOnly and use Medium icons. - @param parentWindow The window that should be the parent of this toolbar - @param dock Another widget than the mainwindow to dock toolbar to. - @param newLine If true, start a new line in the dock for this toolbar. - @param name The standard internal name - @param honorStyle If true, then global settings for IconSize and IconText will be honored - @param readConfig whether to apply the configuration (global and application-specific) - @short Constructor for non-XML-GUI applications. - */ - public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); - } - private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); - public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine,name,honorStyle); - } - private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle); - public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine,name); - } - private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name); - public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine) { - super((Class) null); - newTDEToolBar(parentWindow,dock,newLine); - } - private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine); - public TDEToolBar(TQMainWindow parentWindow, TQWidget dock) { - super((Class) null); - newTDEToolBar(parentWindow,dock); - } - private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock); - /** - Insert a button (a TDEToolBarButton) with a pixmap. The - pixmap is loaded by the button itself based on the global icon - settings. - You should connect to one or more signals in TDEToolBar: - clicked() , pressed() , released() , or - highlighted() and if the button is a toggle button - ( setToggle() ) toggled() . Those signals have <code>id</code> - of a button that caused the signal. If you want to bind a popup - to button, see setButton(). - @param icon The name of the icon to use as the active pixmap - @param id The id of this button - @param enabled Enable or disable the button at startup - @param text The tooltip or toolbar text (depending on state) - @param index The position of the button. (-1 = at end). - @param _instance instance this button will belong to - @return The item index. - - @short Insert a button (a TDEToolBarButton) with a pixmap. - */ - public native int insertButton(String icon, int id, boolean enabled, String text, int index, TDEInstanceInterface _instance); - public native int insertButton(String icon, int id, boolean enabled, String text, int index); - public native int insertButton(String icon, int id, boolean enabled, String text); - public native int insertButton(String icon, int id, boolean enabled); - public native int insertButton(String icon, int id); - /** - This is the same as above, but with specified signals and - slots to which this button will be connected. - You can add more signals with addConnection(). - @param icon The name of the icon to use as the active pixmap - @param id The id of this button - @param signal The signal to connect to - @param receiver The slot's parent - @param slot The slot to receive the signal specified in that argument. - @param enabled Enable or disable the button at startup - @param text The tooltip or toolbar text (depending on state) - @param index The position of the button. (-1 = at end). - @param _instance instance this button will belong to - @return The item index. - - @short This is the same as above, but with specified signals and slots to which this button will be connected. - */ - public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled, String text, int index, TDEInstanceInterface _instance); - public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled, String text, int index); - public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled, String text); - public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled); - public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot); - /** - Inserts a button (a TDEToolBarButton) with the specified - pixmap. This pixmap will be used as the "active" one and the - disabled and default ones will be autogenerated. - It is recommended that you use the insertButton function that - allows you to specify the icon name rather then the pixmap - itself. Specifying the icon name is much more flexible. - You should connect to one or more signals in TDEToolBar: - clicked() , pressed() , released() , or - highlighted() and if the button is a toggle button - ( setToggle() ) toggled() . Those signals have <code>id</code> - of a button that caused the signal. If you want to bind a popup - to button, see setButton(). - @param pixmap The active pixmap - @param id The id of this button - @param enabled Enable or disable the button at startup - @param text The tooltip or toolbar text (depending on state) - @param index The position of the button. (-1 = at end). - @return The item index. - - @short Inserts a button (a TDEToolBarButton) with the specified pixmap. - */ - public native int insertButton(TQPixmap pixmap, int id, boolean enabled, String text, int index); - public native int insertButton(TQPixmap pixmap, int id, boolean enabled, String text); - public native int insertButton(TQPixmap pixmap, int id, boolean enabled); - public native int insertButton(TQPixmap pixmap, int id); - /** - This is the same as above, but with specified signals and - slots to which this button will be connected. - You can add more signals with addConnection(). - @param pixmap The name of the icon to use as the active pixmap - @param id The id of this button - @param signal The signal to connect to - @param receiver The slot's parent - @param slot The slot to receive the signal specified in that argument. - @param enabled Enable or disable the button at startup - @param text The tooltip or toolbar text (depending on state) - @param index The position of the button. (-1 = at end). - @return The item index. - - @short This is the same as above, but with specified signals and slots to which this button will be connected. - */ - public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot, boolean enabled, String text, int index); - public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot, boolean enabled, String text); - public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot, boolean enabled); - public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot); - /** - Inserts a button with popupmenu. - Button will have small - triangle. You have to connect to popup's signals. The - signals KButton.pressed(), KButton.released(), - KButton.clicked() or KButton.doubleClicked() are <code>not</code> - emmited by - this button (see setDelayedPopup() for that). - You can add custom popups which inherit TQPopupMenu to get popups - with tables, drawings etc. Just don't fiddle with events there. - @short Inserts a button with popupmenu. - */ - public native int insertButton(String icon, int id, TQPopupMenu popup, boolean enabled, String _text, int index); - public native int insertButton(String icon, int id, TQPopupMenu popup, boolean enabled, String _text); - /** - Inserts a button with popupmenu. - Button will have small - triangle. You have to connect to popup's signals. The - signals KButton.pressed(), KButton.released(), - KButton.clicked() or KButton.doubleClicked() are <code>not</code> - emmited by - this button (see setDelayedPopup() for that). - You can add custom popups which inherit TQPopupMenu to get popups - with tables, drawings etc. Just don't fiddle with events there. - @short Inserts a button with popupmenu. - */ - public native int insertButton(TQPixmap pixmap, int id, TQPopupMenu popup, boolean enabled, String _text, int index); - public native int insertButton(TQPixmap pixmap, int id, TQPopupMenu popup, boolean enabled, String _text); - /** - Inserts a KLineEdit. You have to specify signals and slots to - which KLineEdit will be connected. KLineEdit has all slots TQLineEdit - has, plus signals KLineEdit.completion and KLineEdit.textRotation - KLineEdit can be set to autoresize itself to full free width - in toolbar, that is to last right aligned item. For that, - toolbar must be set to full width (which it is by default). - @return Item index. - - @short Inserts a KLineEdit. - @see #setFullWidth - @see #setItemAutoSized - @see KLineEdit - */ - public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled, String toolTipText, int size, int index); - public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled, String toolTipText, int size); - public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled, String toolTipText); - public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled); - public native int insertLined(String text, int id, String signal, TQObject receiver, String slot); - /** - Inserts a KComboBox with list. - Can be writable, but cannot contain - pixmaps. By default inserting policy is AtBottom, i.e. typed items - are placed at the bottom of the list. Can be autosized. If the size - argument is specified as -1, the width of the combobox is automatically - computed. - @return Item index. - - @short Inserts a KComboBox with list. - @see #setFullWidth - @see #setItemAutoSized - @see KComboBox - */ - public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index, int policy); - public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index); - public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size); - public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext); - public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled); - public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot); - /** - Insert a KComboBox with text. - The rest is the same as above. - @return Item index. - - @short Insert a KComboBox with text. - @see #setItemAutoSized - @see KComboBox - */ - public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index, int policy); - public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index); - public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size); - public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext); - public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled); - public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot); - /** - Inserts a separator into the toolbar with the given <code>id.</code> - @return the separator's index - - @short Inserts a separator into the toolbar with the given <code>id.</code> - */ - public native int insertSeparator(int index, int id); - public native int insertSeparator(int index); - public native int insertSeparator(); - /** - Inserts a line separator into the toolbar with the given <code>id.</code> - @return the separator's index - - @short Inserts a line separator into the toolbar with the given <code>id.</code> - */ - public native int insertLineSeparator(int index, int id); - public native int insertLineSeparator(int index); - public native int insertLineSeparator(); - /** - Inserts a user-defined widget. The widget <code>must</code> have this - toolbar as its parent. - Widget must have a TQWidget for base class. Widget can be - autosized to full width. If you forget about it, you can get a - pointer to this widget with getWidget(). - @return Item index. - - @short Inserts a user-defined widget. - @see #setItemAutoSized - */ - public native int insertWidget(int id, int width, TQWidget _widget, int index); - public native int insertWidget(int id, int width, TQWidget _widget); - /** - Inserts an animated widget. A KAnimWidget will be created - internally using the icon name you provide. - This will emit a signal (clicked()) whenever the - animation widget is clicked. - @param id The id for this toolbar item - @param receiver The parent of your slot - @param slot The slot to receive the clicked() signal - @param icons The name of the animation icon group to use - @param index The item index - @return The item index - - @short Inserts an animated widget. - @see #animatedWidget - */ - public native int insertAnimatedWidget(int id, TQObject receiver, String slot, String icons, int index); - public native int insertAnimatedWidget(int id, TQObject receiver, String slot, String icons); - /** - This will return a pointer to the animated widget with the - given <code>id</code>, if it exists. - @param id The id for the widget you want to get a pointer to - @return A pointer to the current animated widget or 0L - - @short This will return a pointer to the animated widget with the given <code>id</code>, if it exists. - @see #insertAnimatedWidget - */ - public native KAnimWidget animatedWidget(int id); - /** - Adds connections to items. - It is important that you - know the <code>id</code> of particular item. Nothing happens if you forget <code>id.</code> - @short Adds connections to items. - */ - public native void addConnection(int id, String signal, TQObject receiver, String slot); - /** - Enables/disables item. - @short Enables/disables item. - */ - public native void setItemEnabled(int id, boolean enabled); - /** - Sets the icon for a button. - Can be used while button is visible. - @short Sets the icon for a button. - */ - public native void setButtonIcon(int id, String _icon); - /** - Sets button pixmap. - Can be used while button is visible. - @short Sets button pixmap. - */ - public native void setButtonPixmap(int id, TQPixmap _pixmap); - /** - Sets a button icon from a TQIconSet. - Can be used while button is visible. - @short Sets a button icon from a TQIconSet. - */ - public native void setButtonIconSet(int id, TQIconSet iconset); - /** - Sets a delayed popup for a button. - Delayed popup is what you see in - Netscape Navigator's Previous and Next buttons: If you click them you - go back - or forth. If you press them long enough, you get a history-menu. - This is exactly what we do here. - You will insert a normal button with connection (or use signals from - toolbar): - <pre> - bar.insertButton(icon, id, SIGNAL("clicked ()"), this, - SLOT (slotClick()), true, "click or wait for popup"); - </pre> - And then add a delayed popup: - <pre> - bar.setDelayedPopup (id, historyPopup); - </pre> - Don't add delayed popups to buttons which have normal popups. - You may add popups which are derived from TQPopupMenu. You may - add popups that are already in the menu bar or are submenus of - other popups. - @short Sets a delayed popup for a button. - */ - public native void setDelayedPopup(int id, TQPopupMenu _popup, boolean toggle); - public native void setDelayedPopup(int id, TQPopupMenu _popup); - /** - Turns a button into an autorepeat button. - Toggle buttons, buttons with menus, or - buttons with delayed menus cannot be made into autorepeat buttons. - Moreover, you can and will receive - only the signal clicked(), but not pressed() or released(). - When the user presses this button, you will receive the signal clicked(), - and if the button is still pressed after some time, - you will receive more clicked() signals separated by regular - intervals. Since this uses TQButton.setAutoRepeat() , - I can't quantify 'some'. - @short Turns a button into an autorepeat button. - */ - public native void setAutoRepeat(int id, boolean flag); - public native void setAutoRepeat(int id); - /** - Turns button into a toggle button if <code>flag</code> is true. - @short Turns button into a toggle button if <code>flag</code> is true. - */ - public native void setToggle(int id, boolean flag); - public native void setToggle(int id); - /** - Toggles a togglebutton. - If the button is a toggle button (see setToggle()) - the button state will be toggled. This will also cause the toolbar to - emit the signal KButton.toggled() with parameter <code>id.</code> You must connect to - this signal, or use addConnection() to connect directly to the - button signal KButton.toggled(). - @short Toggles a togglebutton. - */ - public native void toggleButton(int id); - /** - Sets a toggle button state. - If the button is a toggle button (see setToggle()) - this will set its state flag. This will also emit the signal - KButton.toggled(). - @short Sets a toggle button state. - @see #setToggle - */ - public native void setButton(int id, boolean flag); - /** - Returns <code>true</code> if button is on and is a toggle button - @return <code>true</code> if button is on and is a toggle button - - @short Returns <code>true</code> if button is on and is a toggle button - @see #setToggle - */ - public native boolean isButtonOn(int id); - /** - Sets the text of a line editor. - Cursor is set at end of text. - @short Sets the text of a line editor. - */ - public native void setLinedText(int id, String text); - /** - Returns the line editor text. - @return the line editor text. - - @short Returns the line editor text. - */ - public native String getLinedText(int id); - /** - Inserts <code>text</code> in combobox <code>id</code> at position <code>index.</code> - @short Inserts <code>text</code> in combobox <code>id</code> at position <code>index.</code> - */ - public native void insertComboItem(int id, String text, int index); - /** - Inserts <code>list</code> in combobox <code>id</code> at position <code>index.</code> - @short Inserts <code>list</code> in combobox <code>id</code> at position <code>index.</code> - */ - public native void insertComboList(int id, String[] list, int index); - /** - Removes item <code>index</code> from combobox <code>id.</code> - @short Removes item <code>index</code> from combobox <code>id.</code> - */ - public native void removeComboItem(int id, int index); - /** - Sets item <code>index</code> to be current item in combobox <code>id.</code> - @short Sets item <code>index</code> to be current item in combobox <code>id.</code> - */ - public native void setCurrentComboItem(int id, int index); - /** - Changes item <code>index</code> in combobox <code>id</code> to text. - <code>index</code> = -1 refers current item (one displayed in the button). - @short Changes item <code>index</code> in combobox <code>id</code> to text. - */ - public native void changeComboItem(int id, String text, int index); - public native void changeComboItem(int id, String text); - /** - Clears the combobox <code>id.</code> - Does not delete it or hide it. - @short Clears the combobox <code>id.</code> - */ - public native void clearCombo(int id); - /** - Returns text of item <code>index</code> from combobox <code>id.</code> - <code>index</code> = -1 refers to current item. - @return text of item <code>index</code> from combobox <code>id.</code> - - @short Returns text of item <code>index</code> from combobox <code>id.</code> - */ - public native String getComboItem(int id, int index); - public native String getComboItem(int id); - /** - Returns a pointer to the combobox with <code>id.</code> - Example: - <pre> - KComboBox combo = toolbar.getCombo(combo_id); - </pre> - That way you can get access to other public methods - that KComboBox provides. - @return a pointer to the combobox with <code>id.</code> - - @short Returns a pointer to the combobox with <code>id.</code> - */ - public native KComboBox getCombo(int id); - /** - Returns a pointer to TDEToolBarLined with <code>id.</code> - Example: - <pre> - KLineEdit lined = toolbar.getTDEToolBarLined(lined_id); - </pre> - That way you can get access to other public methods - that KLineEdit provides. KLineEdit is the same thing - as TQLineEdit plus completion signals. - @return a pointer to TDEToolBarLined with <code>id.</code> - - @short Returns a pointer to TDEToolBarLined with <code>id.</code> - */ - public native KLineEdit getLined(int id); - /** - Returns a pointer to TDEToolBarButton. - Example: - <pre> - TDEToolBarButton button = toolbar.getButton(button_id); - </pre> - That way you can get access to other public methods - that TDEToolBarButton provides. - Using this method is not recommended. - @short Returns a pointer to TDEToolBarButton. - */ - public native TDEToolBarButton getButton(int id); - /** - Align item to the right. - This works only if toolbar is set to full width. - @short Align item to the right. - @see #setFullWidth - */ - public native void alignItemRight(int id, boolean right); - public native void alignItemRight(int id); - /** - Returns a pointer to the widget corresponding to <code>id.</code> - Wrong ids are not tested. - You can do with this whatever you want, - except change its height (hardcoded). If you change its width - you will probably have to call TQToolBar.updateRects(true) - @return a pointer to the widget corresponding to <code>id.</code> - - @short Returns a pointer to the widget corresponding to <code>id.</code> - @see org.kde.qt.TQWidget - @see #updateRects - */ - public native TQWidget getWidget(int id); - /** - Set item autosized. - This works only if the toolbar is set to full width. - Only <code>one</code> item can be autosized, and it has to be - the last left-aligned item. Items that come after this must be right - aligned. Items that can be right aligned are Lineds, Frames, Widgets and - Combos. An autosized item will resize itself whenever the toolbar geometry - changes to the last right-aligned item (or to end of toolbar if there - are no right-aligned items.) - @short Set item autosized. - @see #setFullWidth - @see #alignItemRight - */ - public native void setItemAutoSized(int id, boolean yes); - public native void setItemAutoSized(int id); - /** - Remove all items. - The toolbar is redrawn after it. - @short Remove all items. - */ - public native void clear(); - /** - Remove item <code>id.</code> - Item is deleted. Toolbar is redrawn after it. - @short Remove item <code>id.</code> - */ - public native void removeItem(int id); - /** - Remove item <code>id.</code> - Item is deleted when toolbar is redrawn. - @short Remove item <code>id.</code> - */ - public native void removeItemDelayed(int id); - /** - Hide item <code>id.</code> - @short Hide item <code>id.</code> - */ - public native void hideItem(int id); - /** - Show item <code>id.</code> - @short Show item <code>id.</code> - */ - public native void showItem(int id); - /** - Returns the index of the item <code>id.</code> - @return the index of the item <code>id.</code> - - @short Returns the index of the item <code>id.</code> - */ - public native int itemIndex(int id); - /** - Returns the id of the item at the given index. - @short Returns the id of the item at the given index. - */ - public native int idAt(int index); - /** - Set toolbar to full parent size (default). - In full size mode the bar extends over the parent's full width or height. - If the mode is disabled the toolbar tries to take as much space as it - needs without wrapping, but it does not exceed the parent box. You can - force a certain width or height with setMaxWidth() or - setMaxHeight(). - If you want to use right-aligned items or auto-sized items you must use - full size mode. - @short Set toolbar to full parent size (default). - */ - public native void setFullSize(boolean flag); - public native void setFullSize(); - /** - Returns the full-size mode enabled flag. - @return <code>true</code> if the full-size mode is enabled. - - @short Returns the full-size mode enabled flag. - */ - public native boolean fullSize(); - /** - Set position of toolbar. - @short Set position of toolbar. - @see BarPosition - */ - public native void setBarPos(int bpos); - /** - Returns the toolbar position. - @return position of toolbar. - - @short Returns the toolbar position. - */ - public native int barPos(); - /** - Set title for toolbar when it floats. - Titles are however not (yet) - visible. You can't change toolbar's title while it's floating. - @short Set title for toolbar when it floats. - */ - public native void setTitle(String _title); - /** - Set the kind of painting for buttons. - Choose from: - - <li> - IconOnly (only icons), - </li> - - <li> - IconTextRight (icon and text, text is left from icons), - </li> - - <li> - TextOnly (only text), - </li> - - <li> - IconTextBottom (icons and text, text is under icons). - </li> - @short Set the kind of painting for buttons. - @see IconText - */ - public native void setIconText(int it); - /** - Similar to setIconText(IconText it) but allows you to - disable or enable updating. If <code>update</code> is false, then the - buttons will not be updated. This is useful only if you know - that you will be forcing an update later. - @short Similar to setIconText(IconText it) but allows you to disable or enable updating. - */ - public native void setIconText(int it, boolean update); - /** - Returns the current text style for buttons. - @return the current text style for buttons. - - @short Returns the current text style for buttons. - */ - public native int iconTextId(); - /** - Set the icon size to load. Usually you should not call - this, the icon size is taken care of by TDEIconLoader - and globally configured. - By default, the toolbar will load icons of size 32 for main - toolbars and 22 for other toolbars - @param size The size to use - @short Set the icon size to load. - @see TDEIconLoader# - */ - public native void setIconSize(int size); - /** - Same as setIconText(int size) but allows you - to disable the toolbar update. - @param size The size to use - @param update If true, then the toolbar will be updated after - this - @short Same as setIconText(int size) but allows you to disable the toolbar update. - */ - public native void setIconSize(int size, boolean update); - /** - Returns the current icon size for buttons. - @return the current icon size for buttons. - - @short Returns the current icon size for buttons. - */ - public native int iconSize(); - /** - Returns the default size for this type of toolbar. - @return the default size for this type of toolbar. - - @short Returns the default size for this type of toolbar. - */ - public native int iconSizeDefault(); - /** - This allows you to enable or disable the context menu. - @param enable If false, then the context menu will be disabled - @short This allows you to enable or disable the context menu. - */ - public native void setEnableContextMenu(boolean enable); - public native void setEnableContextMenu(); - /** - Returns the context menu enabled flag - @return true if the context menu is disabled - - @short Returns the context menu enabled flag - */ - public native boolean contextMenuEnabled(); - /** - This will inform a toolbar button to ignore certain style - changes. Specifically, it will ignore IconText (always IconOnly) - and will not allow image effects to apply. - @param id The button to exclude from styles - @param no_style If true, then it is excluded (default: true). - @short This will inform a toolbar button to ignore certain style changes. - */ - public native void setItemNoStyle(int id, boolean no_style); - public native void setItemNoStyle(int id); - public native void setFlat(boolean flag); - /** - Returns the total number of items in the toolbar - @return the total number of items in the toolbar - - @short Returns the total number of items in the toolbar - */ - public native int count(); - /** - Instruct the toolbar to save it's current state to either the app - config file or to the XML-GUI resource file (whichever has - precedence). - @short Instruct the toolbar to save it's current state to either the app config file or to the XML-GUI resource file (whichever has precedence). - */ - public native void saveState(); - /** - Save the toolbar settings to group <code>configGroup</code> in <code>config.</code> - @short Save the toolbar settings to group <code>configGroup</code> in <code>config.</code> - */ - public native void saveSettings(TDEConfig config, String configGroup); - /** - Read the toolbar settings from group <code>configGroup</code> in <code>config</code> - and apply them. Even default settings are re-applied if <code>force</code> is set. - @short Read the toolbar settings from group <code>configGroup</code> in <code>config</code> and apply them. - */ - public native void applySettings(TDEConfig config, String configGroup, boolean force); - public native void applySettings(TDEConfig config, String configGroup); - public native void setXMLGUIClient(KXMLGUIClientInterface client); - /** - Assign a (translated) text to this toolbar. This is used - for the tooltip on the handle, and when listing the toolbars. - @short Assign a (translated) text to this toolbar. - */ - public native void setText(String txt); - /** - Returns the toolbar's text. - @return the toolbar's text. - - @short Returns the toolbar's text. - */ - public native String text(); - public native void setStretchableWidget(TQWidget w); - public native TQSizePolicy sizePolicy(); - public native boolean highlight(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native TQSize minimumSize(); - public native void hide(); - public native void show(); - public native void updateRects(boolean arg1); - public native void updateRects(); - /** - Load state from an XML element, called by KXMLGUIBuilder - @short Load state from an XML element, called by KXMLGUIBuilder - */ - public native void loadState(TQDomElement e); - public native void saveState(TQDomElement e); - /** - @short - */ - public native void positionYourself(boolean force); - public native void positionYourself(); - public native void setIconText(String txt); - /** - Returns the global setting for "Highlight buttons under mouse" - @return global setting for "Highlight buttons under mouse" - - @short Returns the global setting for "Highlight buttons under mouse" - */ - public static native boolean highlightSetting(); - /** - Returns the global setting for "Toolbars transparent when moving" - @return global setting for "Toolbars transparent when moving" - - @short Returns the global setting for "Toolbars transparent when moving" - */ - public static native boolean transparentSetting(); - /** - Returns the global setting for "Icon Text" - @return global setting for "Icon Text" - - @short Returns the global setting for "Icon Text" - */ - public static native int iconTextSetting(); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void childEvent(TQChildEvent e); - public native void showEvent(TQShowEvent e); - protected native void resizeEvent(TQResizeEvent e); - public native boolean event(TQEvent e); - protected native void applyAppearanceSettings(TDEConfig config, String _configGroup, boolean forceGlobal); - protected native void applyAppearanceSettings(TDEConfig config, String _configGroup); - protected native String settingsGroup(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToolBarButton.java b/kdejava/koala/org/kde/koala/TDEToolBarButton.java deleted file mode 100644 index 538619cc..00000000 --- a/kdejava/koala/org/kde/koala/TDEToolBarButton.java +++ /dev/null @@ -1,235 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPalette; -import org.kde.qt.TQToolButton; - -/** - - A toolbar button. This is used internally by TDEToolBar, use the - TDEToolBar methods instead. - See {@link TDEToolBarButtonSignals} for signals emitted by TDEToolBarButton - @short A toolbar button. - -*/ -public class TDEToolBarButton extends TQToolButton { - protected TDEToolBarButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a button with an icon loaded by the button itself. - This will trust the button to load the correct icon with the - correct size. - @param icon Name of icon to load (may be absolute or relative) - @param id Id of this button - @param parent This button's parent - @param name This button's internal name - @param txt This button's text (in a tooltip or otherwise) - @param _instance the instance to use for this button - @short Construct a button with an icon loaded by the button itself. - */ - public TDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt, TDEInstanceInterface _instance) { - super((Class) null); - newTDEToolBarButton(icon,id,parent,name,txt,_instance); - } - private native void newTDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt, TDEInstanceInterface _instance); - public TDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt) { - super((Class) null); - newTDEToolBarButton(icon,id,parent,name,txt); - } - private native void newTDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt); - public TDEToolBarButton(String icon, int id, TQWidget parent, String name) { - super((Class) null); - newTDEToolBarButton(icon,id,parent,name); - } - private native void newTDEToolBarButton(String icon, int id, TQWidget parent, String name); - public TDEToolBarButton(String icon, int id, TQWidget parent) { - super((Class) null); - newTDEToolBarButton(icon,id,parent); - } - private native void newTDEToolBarButton(String icon, int id, TQWidget parent); - /** - Construct a button with an existing pixmap. It is not - recommended that you use this as the internal icon loading code - will almost always get it "right". - @param pixmap Name of icon to load (may be absolute or relative) - @param id Id of this button - @param parent This button's parent - @param name This button's internal name - @param txt This button's text (in a tooltip or otherwise) - @short Construct a button with an existing pixmap. - */ - public TDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt) { - super((Class) null); - newTDEToolBarButton(pixmap,id,parent,name,txt); - } - private native void newTDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt); - public TDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name) { - super((Class) null); - newTDEToolBarButton(pixmap,id,parent,name); - } - private native void newTDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name); - public TDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent) { - super((Class) null); - newTDEToolBarButton(pixmap,id,parent); - } - private native void newTDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent); - /** - Construct a separator button - @param parent This button's parent - @param name This button's internal name - @short Construct a separator button - */ - public TDEToolBarButton(TQWidget parent, String name) { - super((Class) null); - newTDEToolBarButton(parent,name); - } - private native void newTDEToolBarButton(TQWidget parent, String name); - public TDEToolBarButton(TQWidget parent) { - super((Class) null); - newTDEToolBarButton(parent); - } - private native void newTDEToolBarButton(TQWidget parent); - public TDEToolBarButton() { - super((Class) null); - newTDEToolBarButton(); - } - private native void newTDEToolBarButton(); - /** - Set the text for this button. The text will be either used as a - tooltip (IconOnly) or will be along side the icon - @param text The button (or tooltip) text - @short Set the text for this button. - */ - public native void setText(String text); - /** - Set the icon for this button. The icon will be loaded internally - with the correct size. This function is preferred over setIconSet - @param icon The name of the icon - @short Set the icon for this button. - */ - public native void setIcon(String icon); - public native void setIcon(TQPixmap pixmap); - /** - Set the pixmaps for this toolbar button from a TQIconSet. - If you call this you don't need to call any of the other methods - that set icons or pixmaps. - @param iconset The iconset to use - @short Set the pixmaps for this toolbar button from a TQIconSet. - */ - public native void setIconSet(TQIconSet iconset); - /** - Turn this button on or off - @param flag true or false - @short Turn this button on or off - */ - public native void on(boolean flag); - public native void on(); - /** - Toggle this button - @short Toggle this button - */ - public native void toggle(); - /** - Turn this button into a toggle button or disable the toggle - aspects of it. This does not toggle the button itself. - Use toggle() for that. - @param toggle true or false - @short Turn this button into a toggle button or disable the toggle aspects of it. - */ - public native void setToggle(boolean toggle); - public native void setToggle(); - /** - Return a pointer to this button's popup menu (if it exists) - @short Return a pointer to this button's popup menu (if it exists) - */ - public native TQPopupMenu popup(); - /** - Returns the button's id. - @short Returns the button's id. - */ - public native int id(); - /** - Give this button a popup menu. There will not be a delay when - you press the button. Use setDelayedPopup if you want that - behavior. - @param p The new popup menu - @param unused Has no effect - ignore it. - @short Give this button a popup menu. - */ - public native void setPopup(TQPopupMenu p, boolean unused); - public native void setPopup(TQPopupMenu p); - /** - Gives this button a delayed popup menu. - This function allows you to add a delayed popup menu to the button. - The popup menu is then only displayed when the button is pressed and - held down for about half a second. - @param p the new popup menu - @param unused Has no effect - ignore it. - @short Gives this button a delayed popup menu. - */ - public native void setDelayedPopup(TQPopupMenu p, boolean unused); - public native void setDelayedPopup(TQPopupMenu p); - /** - Turn this button into a radio button - @param f true or false - @short Turn this button into a radio button - */ - public native void setRadio(boolean f); - public native void setRadio(); - /** - Toolbar buttons naturally will assume the global styles - concerning icons, icons sizes, etc. You can use this function to - explicitly turn this off, if you like. - @param no_style Will disable styles if true - @short Toolbar buttons naturally will assume the global styles concerning icons, icons sizes, etc. - */ - public native void setNoStyle(boolean no_style); - public native void setNoStyle(); - /** - This slot should be called whenever the toolbar mode has - potentially changed. This includes such events as text changing, - orientation changing, etc. - @short This slot should be called whenever the toolbar mode has potentially changed. - */ - public native void modeChange(); - public native void setTextLabel(String arg1, boolean tipToo); - public native boolean event(TQEvent e); - protected native void paletteChange(TQPalette arg1); - protected native void leaveEvent(TQEvent e); - protected native void enterEvent(TQEvent e); - protected native void drawButton(TQPainter p); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void showMenu(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native TQSize minimumSize(); - protected native boolean isRaised(); - protected native boolean isActive(); - protected native int iconTextMode(); - protected native void slotClicked(); - protected native void slotPressed(); - protected native void slotReleased(); - protected native void slotToggled(); - protected native void slotDelayTimeout(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToolBarButtonSignals.java b/kdejava/koala/org/kde/koala/TDEToolBarButtonSignals.java deleted file mode 100644 index f393d1f1..00000000 --- a/kdejava/koala/org/kde/koala/TDEToolBarButtonSignals.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPalette; - -public interface TDEToolBarButtonSignals { - /** - Emitted when the toolbar button is clicked (with LMB or MMB) - @short Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int arg1); - /** - Emitted when the toolbar button is clicked (with any mouse button) - @param state makes it possible to find out which button was pressed, - and whether any keyboard modifiers were held. - @short Emitted when the toolbar button is clicked (with any mouse button) - */ - void buttonClicked(int arg1, int state); - void doubleClicked(int arg1); - void pressed(int arg1); - void released(int arg1); - void toggled(int arg1); - void highlighted(int arg1, boolean arg2); -} diff --git a/kdejava/koala/org/kde/koala/TDEToolBarPopupAction.java b/kdejava/koala/org/kde/koala/TDEToolBarPopupAction.java deleted file mode 100644 index fcbdbaea..00000000 --- a/kdejava/koala/org/kde/koala/TDEToolBarPopupAction.java +++ /dev/null @@ -1,142 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - This action is a normal action everywhere, except in a toolbar - where it also has a popupmenu (optionnally delayed). This action is designed - for history actions (back/forward, undo/redo) and for any other action - that has more detail in a toolbar than in a menu (e.g. tool chooser - with "Other" leading to a dialog...). - @short This action is a normal action everywhere, except in a toolbar where it also has a popupmenu (optionnally delayed). - -*/ -public class TDEToolBarPopupAction extends TDEAction { - protected TDEToolBarPopupAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a TDEToolBarPopupAction, with a text, an icon, an optional accelerator, - parent and name. - @param text The text that will be displayed. - @param icon The icon to display. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short Create a TDEToolBarPopupAction, with a text, an icon, an optional accelerator, parent and name. - */ - public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent, String name) { - super((Class) null); - newTDEToolBarPopupAction(text,icon,cut,parent,name); - } - private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent, String name); - public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent) { - super((Class) null); - newTDEToolBarPopupAction(text,icon,cut,parent); - } - private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent); - public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut) { - super((Class) null); - newTDEToolBarPopupAction(text,icon,cut); - } - private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut); - public TDEToolBarPopupAction(String text, String icon) { - super((Class) null); - newTDEToolBarPopupAction(text,icon); - } - private native void newTDEToolBarPopupAction(String text, String icon); - /** - Create a TDEToolBarPopupAction, with a text, an icon, an accelerator, - a slot connected to the action, parent and name. - If you do not want or have a keyboard accelerator, set the - <code>cut</code> param to 0. - @param text The text that will be displayed. - @param icon The icon to display. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's owner. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short Create a TDEToolBarPopupAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. - */ - public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newTDEToolBarPopupAction(text,icon,cut,receiver,slot,parent,name); - } - private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newTDEToolBarPopupAction(text,icon,cut,receiver,slot,parent); - } - private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - Create a TDEToolBarPopupAction, with a KGuiItem, an accelerator, - a slot connected to the action, parent and name. The text and the - icon are taken from the KGuiItem. - If you do not want or have a keyboard accelerator, set the - <code>cut</code> param to 0. - @param item The text and icon that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's owner. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short Create a TDEToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name. - */ - public TDEToolBarPopupAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { - super((Class) null); - newTDEToolBarPopupAction(item,cut,receiver,slot,parent,name); - } - private native void newTDEToolBarPopupAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); - public native int plug(TQWidget widget, int index); - public native int plug(TQWidget widget); - /** - The popup menu that is shown when clicking (some time) on the toolbar - button. You may want to plug items into it on creation, or connect to - aboutToShow for a more dynamic menu. - @short The popup menu that is shown when clicking (some time) on the toolbar button. - */ - public native TDEPopupMenu popupMenu(); - /** - Returns true if this action creates a delayed popup menu - when plugged in a TDEToolbar. - @short Returns true if this action creates a delayed popup menu when plugged in a TDEToolbar. - */ - public native boolean delayed(); - /** - If set to true, this action will create a delayed popup menu - when plugged in a TDEToolbar. Otherwise it creates a normal popup. - Default: delayed. - @short If set to true, this action will create a delayed popup menu when plugged in a TDEToolbar. - */ - public native void setDelayed(boolean delayed); - /** - Returns true if this action creates a sticky popup menu. - See setStickyMenu(). - @short Returns true if this action creates a sticky popup menu. - */ - public native boolean stickyMenu(); - /** - If set to true, this action will create a sticky popup menu - when plugged in a TDEToolbar. - "Sticky", means it's visible until a selection is made or the mouse is - clicked elsewhere. This feature allows you to make a selection without - having to press and hold down the mouse while making a selection. - Only available if delayed() is true. - Default: sticky. - @short If set to true, this action will create a sticky popup menu when plugged in a TDEToolbar. - */ - public native void setStickyMenu(boolean sticky); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToolBarRadioGroup.java b/kdejava/koala/org/kde/koala/TDEToolBarRadioGroup.java deleted file mode 100644 index 8a1f0492..00000000 --- a/kdejava/koala/org/kde/koala/TDEToolBarRadioGroup.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - TDEToolBarRadioGroup is class for group of radio butons in toolbar. - Take toggle buttons which you already inserted into toolbar, - create TDEToolBarRadioGroup instance and add them here. - All buttons will emit signals toggled (boolean) (or you can - use sitgnal toggled (int id) from toolbar). When one button is set - down, all others are unset. All buttons emit signals - those who - "go down" and those who "go up". - @author Sven Radej <radej@kde.org> - - @short Class for group of radio butons in toolbar. - -*/ -public class TDEToolBarRadioGroup extends TQObject { - protected TDEToolBarRadioGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. Parent must be TDEToolBar . - @short Constructor. - */ - public TDEToolBarRadioGroup(TDEToolBar _parent, String _name) { - super((Class) null); - newTDEToolBarRadioGroup(_parent,_name); - } - private native void newTDEToolBarRadioGroup(TDEToolBar _parent, String _name); - public TDEToolBarRadioGroup(TDEToolBar _parent) { - super((Class) null); - newTDEToolBarRadioGroup(_parent); - } - private native void newTDEToolBarRadioGroup(TDEToolBar _parent); - /** - Adds button to group. Button cannot be unset by mouse clicks (you - must press some other button tounset this one) - @short Adds button to group. - */ - public native void addButton(int id); - /** - Removes button from group, making it again toggle button (i.e. - You can unset it with mouse). - @short Removes button from group, making it again toggle button (i. - */ - public native void removeButton(int id); - /** - Internal - nothing for you here. - @short Internal - nothing for you here. - */ - public native void slotToggled(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToolBarSeparator.java b/kdejava/koala/org/kde/koala/TDEToolBarSeparator.java deleted file mode 100644 index 300bf700..00000000 --- a/kdejava/koala/org/kde/koala/TDEToolBarSeparator.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQSizePolicy; -import org.kde.qt.TQToolBar; -import org.kde.qt.TQStyle; -import org.kde.qt.TQFrame; - -/** -*/ -public class TDEToolBarSeparator extends TQFrame { - protected TDEToolBarSeparator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name) { - super((Class) null); - newTDEToolBarSeparator(arg1,l,parent,name); - } - private native void newTDEToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name); - public TDEToolBarSeparator(int arg1, boolean l, TQToolBar parent) { - super((Class) null); - newTDEToolBarSeparator(arg1,l,parent); - } - private native void newTDEToolBarSeparator(int arg1, boolean l, TQToolBar parent); - public native TQSize sizeHint(); - public native int orientation(); - public native TQSizePolicy sizePolicy(); - public native boolean showLine(); - public native void setOrientation(int arg1); - public native void styleChange(TQStyle arg1); - protected native void drawContents(TQPainter arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/TDEToolBarSignals.java b/kdejava/koala/org/kde/koala/TDEToolBarSignals.java deleted file mode 100644 index 35737d4e..00000000 --- a/kdejava/koala/org/kde/koala/TDEToolBarSignals.java +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMainWindow; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQSizePolicy; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQChildEvent; - -public interface TDEToolBarSignals { - /** - Emitted when button <code>id</code> is clicked. - @short Emitted when button <code>id</code> is clicked. - */ - void clicked(int id); - /** - Emitted when button <code>id</code> is double-clicked. - Note: you will always - recive two clicked() , pressed() and released() signals. - There is no way to avoid it - at least no easy way. - If you need to resolve this all you can do is set up timers - which wait for TQApplication.doubleClickInterval() to expire. - If in that time you don't get this signal, you may belive that - button was only clicked and not double-clicked. - And please note that butons with popup menus do not emit this signal, - but those with delayed popup do. - @short Emitted when button <code>id</code> is double-clicked. - */ - void doubleClicked(int id); - /** - Emitted when button <code>id</code> is pressed. - @short Emitted when button <code>id</code> is pressed. - */ - void pressed(int arg1); - /** - Emits when button <code>id</code> is released. - @short Emits when button <code>id</code> is released. - */ - void released(int arg1); - /** - Emitted when a toggle button changes state. - Emitted also if you change state - with setButton() or toggleButton() - If you make a button normal again, with - setToggle(false), this signal won't - be emitted. - @short Emitted when a toggle button changes state. - */ - void toggled(int arg1); - /** - This signal is emitted when item <code>id</code> gets highlighted/unhighlighted - (i.e when mouse enters/exits). - Note that this signal is emitted from - all buttons (normal, disabled and toggle) even when there is no visible - change in buttons (i.e., buttons do not raise when mouse enters). - The parameter <code>isHighlighted</code> is <code>true</code> when mouse enters and <code>false</code> when - mouse exits. - @short This signal is emitted when item <code>id</code> gets highlighted/unhighlighted (i. - */ - void highlighted(int id, boolean isHighlighted); - /** - This signal is emitted when item <code>id</code> gets highlighted/unhighlighted - (i.e when mouse enters/exits). - Note that this signal is emitted from - all buttons (normal, disabled and toggle) even when there is no visible - change in buttons (i.e., buttons do not raise when mouse enters). - @short This signal is emitted when item <code>id</code> gets highlighted/unhighlighted (i. - */ - void highlighted(int id); - /** - Emitted when toolbar changes position, or when - an item is removed from toolbar. - If you subclass TDEMainWindow and reimplement - TDEMainWindow.resizeEvent() be sure to connect to - this signal. Note: You can connect this signal to a slot that - doesn't take parameter. - @short Emitted when toolbar changes position, or when an item is removed from toolbar. - */ - void moved(int arg1); - /** - This signal is emitted when toolbar detects changing of - following parameters: - highlighting, button-size, button-mode. This signal is - internal, aimed to buttons. - @short This signal is emitted when toolbar detects changing of following parameters: highlighting, button-size, button-mode. - */ - void modechange(); - /** - This signal is emitted when the toolbar is getting deleted, - and before ~TDEToolbar finishes (so it's still time to remove - widgets from the toolbar). - Used by KWidgetAction. - @short This signal is emitted when the toolbar is getting deleted, and before ~TDEToolbar finishes (so it's still time to remove widgets from the toolbar). - */ - void toolbarDestroyed(); -} diff --git a/kdejava/koala/org/kde/koala/TDETrader.java b/kdejava/koala/org/kde/koala/TDETrader.java deleted file mode 100644 index 1a93eec0..00000000 --- a/kdejava/koala/org/kde/koala/TDETrader.java +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - A Trader interface, similar to the CORBA Trader. - Basically, it provides a way for an application to query - all KDE services (that is, applications and components) that match - a specific set of requirements. This allows you to find an - application in real-time without you having to hard-code the name - and/or path of the application. It is mostly used when you want to - do complex queries that KServiceTypeProfile can't handle. - \par Examples - A few examples will make this a lot more clear. - Say you have an application that will display HTML. In this - example, you don't want to link to tdehtml... and furthermore, you - really don't care if the HTML browser is ours or not, as long as - it works. The way that you formulate your query as well as the way - that you execute the browser depends on whether or not you want the - browser to run stand-alone or embedded. - If you want the browser to run standalone, then you will limit the - query to search for all services that handle 'text/html' <b>and</b>, - furthermore, they must be applications (Type=Application). You - then will use KRun.run() to invoke the application. In "trader-speak", - this looks like so: - <pre> - ArrayList offers = TDETrader.self().query("text/html", "Type == 'Application'"); - KService.Ptr ptr = offers.first(); - KURL.List lst; - lst.append("http://www.kde.org/index.html"); - KRun.run(ptr, lst); - </pre> - It should be noted that in the above example, using - KServiceTypeProfile would be the better choice since you would - probably want the preferred service and the trader doesn't take - this into account. The trader does allow you to do more complex - things, though. Say, for instance, you want to only choose - Netscape. You can do it with the constraint: "(Type == - 'Application') and (Name == 'Netscape')" - More the likely, though, you will only use the trader for such - things as finding components. In our continuing example, we say - that we want to load any KParts component that can handle HTML. We - will need to use the KLibFactory and KLibLoader to - actually do something with our query, then. Our code would look - like so: - <pre> - ArrayList offers = TDETrader.self().query("text/html", "'KParts/ReadOnlyPart' in ServiceTypes"); - KService.Ptr ptr = offers.first(); - KLibFactory factory = KLibLoader.self().factory( ptr.library() ); - if (factory) - part = static_cast<KParts.ReadOnlyPart >(factory.create(this, ptr.name(), "KParts.ReadOnlyPart")); - </pre> - Please note that when including property names containing arithmetic operators like - or +, then you have - to put brackets around the property name, in order to correctly separate arithmetic operations from - the name. So for example a constraint expression like - X-TDE-Blah < 4 - needs to be written as - [X-TDE-Blah] < 4 - otherwise it could also be interpreted as - Substract the numeric value of the property "KDE" and "Blah" from the property "X" and make sure it - is less than 4. - Instead of the other meaning, make sure that the numeric value of "X-TDE-Blah" is less than 4. - See also the formal syntax defined in {@link #tradersyntax} . - @author Torben Weis <weis@kde.org> - - @short Provides a way to query the KDE infrastructure for specific applications or components. - -*/ -public class TDETrader extends TQObject { - protected TDETrader(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - The main function in the TDETrader class. - It will return a list of services that match your - specifications. The only required parameter is the service - type. This is something like 'text/plain' or 'text/html'. The - constraint parameter is used to limit the possible choices - returned based on the constraints you give it. - The <code>constraint</code> language is rather full. The most common - keywords are AND, OR, NOT, IN, and EXIST, all used in an - almost spoken-word form. An example is: - <pre> - (Type == 'Service') and (('KParts/ReadOnlyPart' in ServiceTypes) or (exist Exec)) - </pre> - The keys used in the query (Type, ServiceType, Exec) are all - fields found in the .desktop files. - @param servicetype A service type like 'text/plain', 'text/html', or 'KOfficePlugin'. - @param constraint A constraint to limit the choices returned, null to - get all services of the given <code>servicetype</code> - @param preferences Indicates a particular preference to return, null to ignore. - Uses an expression in the constraint language that must return - a number - @return A list of services that satisfy the query - - @short The main function in the TDETrader class. - @see #http://developer#kde#org/documentation/library/kdeqt/tradersyntax#html - */ - public native ArrayList query(String servicetype, String constraint, String preferences); - public native ArrayList query(String servicetype, String constraint); - public native ArrayList query(String servicetype); - /** - A variant of query(), that takes two service types as an input. - It is not exactly the same as adding the second service type - in the constraints of the other query call, because this one - takes into account user preferences for this combination of service types. - Example usage: - To get list of applications that can handle a given mimetype, - set <code>servicetype</code> to the mimetype and <code>genericServiceType</code> is "Application". - To get list of embeddable components that can handle a given mimetype, - set <code>servicetype</code> to the mimetype and <code>genericServiceType</code> is "KParts/ReadOnlyPart". - @param servicetype A service type like 'text/plain', 'text/html', or 'KOfficePlugin'. - @param genericServiceType a basic service type, like 'KParts/ReadOnlyPart' or 'Application' - @param constraint A constraint to limit the choices returned, null to - get all services of the given <code>servicetype</code> - @param preferences Indicates a particular preference to return, null to ignore. - Uses an expression in the constraint language that must return - a number - @return A list of services that satisfy the query - - @short A variant of query(), that takes two service types as an input. - @see #http://developer#kde#org/documentation/library/kdeqt/tradersyntax#html - */ - public native ArrayList query(String servicetype, String genericServiceType, String constraint, String preferences); - /** - This is a static pointer to a TDETrader instance. - You will need - to use this to access the TDETrader functionality since the - constuctors are protected. - @return Static TDETrader instance - - @short This is a static pointer to a TDETrader instance. - */ - public static native TDETrader self(); - /** - @short - */ - public TDETrader() { - super((Class) null); - newTDETrader(); - } - private native void newTDETrader(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/Text.java b/kdejava/koala/org/kde/koala/Text.java deleted file mode 100644 index 41bebbac..00000000 --- a/kdejava/koala/org/kde/koala/Text.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The <code>Text</code> interface represents the textual content - (termed <a href="&xml-spec;#syntax"> character data </a> in XML) of - an <code>Element</code> or <code>Attr</code> . If there is no - markup inside an element's content, the text is contained in a - single object implementing the <code>Text</code> interface that - is the only child of the element. If there is markup, it is parsed - into a list of elements and <code>Text</code> nodes that form the - list of children of the element. - When a document is first made available via the DOM, there is only - one <code>Text</code> node for each block of text. Users may - create adjacent <code>Text</code> nodes that represent the - contents of a given element without any intervening markup, but - should be aware that there is no way to represent the separations - between these nodes in XML or HTML, so they will not (in general) - persist between DOM editing sessions. The <code>normalize</code>() - method on <code>Element</code> merges any such adjacent - <code>Text</code> objects into a single node for each block of - text; this is recommended before employing operations that depend - on a particular document structure, such as navigation with - <code>XPointers</code>. - @short The <code>Text</code> interface represents the textual content (termed <a href="&xml-spec;#syntax"> character data </a> in XML) of an <code>Element</code> or <code>Attr</code> . - -*/ -public class Text extends CharacterData { - protected Text(Class dummy){super((Class) null);} - public Text() { - super((Class) null); - newText(); - } - private native void newText(); - public Text(Text other) { - super((Class) null); - newText(other); - } - private native void newText(Text other); - public Text(Node other) { - super((Class) null); - newText(other); - } - private native void newText(Node other); - /** - Breaks this <code>Text</code> node into two Text nodes at the - specified offset, keeping both in the tree as siblings. This - node then only contains all the content up to the <code>offset</code> - point. And a new <code>Text</code> node, which is - inserted as the next sibling of this node, contains all the - content at and after the <code>offset</code> point. - @param offset The offset at which to split, starting from 0. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @return The new <code>Text</code> node. - - @short Breaks this <code>Text</code> node into two Text nodes at the specified offset, keeping both in the tree as siblings. - */ - public native Text splitText(long offset); - // DOM::Text* Text(DOM::TextImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/TextEvent.java b/kdejava/koala/org/kde/koala/TextEvent.java deleted file mode 100644 index 1b498609..00000000 --- a/kdejava/koala/org/kde/koala/TextEvent.java +++ /dev/null @@ -1,178 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - DOM.TextEvent - The detail attribute inherited from UIEvent is used to indicate - the number of keypresses which have occurred during key repetition. - If this information is not available this value should be 0. - @short DOM.TextEvent The detail attribute inherited from UIEvent is used to indicate the number of keypresses which have occurred during key repetition. - -*/ -public class TextEvent extends UIEvent { - protected TextEvent(Class dummy){super((Class) null);} - public TextEvent() { - super((Class) null); - newTextEvent(); - } - private native void newTextEvent(); - public TextEvent(TextEvent other) { - super((Class) null); - newTextEvent(other); - } - private native void newTextEvent(TextEvent other); - public TextEvent(Event other) { - super((Class) null); - newTextEvent(other); - } - private native void newTextEvent(Event other); - /** - initTextEvent - The initTextEvent method is used to initialize the value of a - MouseEvent created through the DocumentEvent interface. This - method may only be called before the TextEvent has been dispatched - via the dispatchEvent method, though it may be called multiple - times during that phase if necessary. If called multiple times, - the final invocation takes precedence. This method has no effect - if called after the event has been dispatched. - Parameters: - typeArg of type DOMString - Specifies the event type. - canBubbleArg of type booleanean - Specifies whether or not the event can bubble. - cancelableArg of type booleanean - Specifies whether or not the event's default action can be prevent. - viewArg of type views.AbstractView - Specifies the TextEvent's AbstractView. - detailArg of type unsigned short - Specifies the number of repeated keypresses, if available. - outputStringArg of type DOMString - Specifies the TextEvent's outputString attribute - keyValArg of type unsigned long - Specifies the TextEvent's keyValattribute - virtKeyValArg of type unsigned long - Specifies the TextEvent's virtKeyValattribute - inputGeneratedArg of type booleanean - Specifies the TextEvent's inputGeneratedattribute - numPadArg of type booleanean - Specifies the TextEvent's numPadattribute - No Return Value. - No Exceptions. - @short initTextEvent - */ - public native void initTextEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, long detailArg, String outputStringArg, long keyValArg, long virtKeyValArg, boolean inputGeneratedArg, boolean numPadArg); - /** - initModifier - The initModifier method is used to initialize the values of any - modifiers associated with a TextEvent created through the - DocumentEvent interface. This method may only be called before the - TextEvent has been dispatched via the dispatchEvent method, though - it may be called multiple times during that phase if necessary. If - called multiple times with the same modifier property the final - invocation takes precedence. Unless explicitly give a value of - true, all modifiers have a value of false. This method has no - effect if called after the event has been dispatched. The list of - keys below represents the allowable modifier parameters for this - method: - DOM_VK_LEFT_ALT - DOM_VK_RIGHT_ALT - DOM_VK_LEFT_CONTROL - DOM_VK_RIGHT_CONTROL - DOM_VK_LEFT_SHIFT - DOM_VK_RIGHT_SHIFT - DOM_VK_META - Parameters: - modifier of type unsigned long - The modifier which the user wishes to initialize - value of type booleanean - The new value of the modifier. - No Return Value - No Exceptions - @short initModifier - */ - public native void initModifier(long modifierArg, boolean valueArg); - /** - inputGenerated of type booleanean - The inputGenerated attribute indicates whether the key event will - normally cause visible output. If the key event does not - generate any visible output, such as the use of a function key - or the combination of certain modifier keys used in conjunction - with another key, then the value will be false. If visible - output is normally generated by the key event then the value - will be true. The value of inputGenerated does not guarantee - the creation of a character. If a key event causing visible - output is cancelable it may be prevented from causing - output. This attribute is intended primarily to differentiate - between keys events which may or may not produce visible output - depending on the system state. - @short inputGenerated of type boolean - */ - public native boolean inputGenerated(); - /** keyVal of type unsigned long - The value of keyVal holds the value of the Unicode character - associated with the depressed key. If the key has no Unicode - representation or no Unicode character is available the value is - 0. - @short keyVal of type unsigned long - */ - public native long keyVal(); - /** numPad of type booleanean - The numPad attribute indicates whether or not the key event was - generated on the number pad section of the keyboard. If the number - pad was used to generate the key event the value is true, - otherwise the value is false. - @short numPad of type boolean - */ - public native boolean numPad(); - /** - outputString of type DOMString - outputString holds the value of the output generated by the key - event. This may be a single Unicode character or it may be a - string. It may also be null in the case where no output was - generated by the key event. - @short outputString of type DOMString - */ - public native String outputString(); - /** virtKeyVal of type unsigned long - When the key associated with a key event is not representable via - a Unicode character virtKeyVale holds the key code - associated with the depressed key. If the key has a Unicode - representation or no code is available the value is - DOM_VK_UNDEFINED. - @short virtKeyVal of type unsigned long - */ - public native long virtKeyVal(); - /** - checkModifier - Note: the below description does not match the actual behavior. - it's extended in a way that you can query multiple modifiers - at once by logically OR`ing them. - also, we use the Qt modifier enum instead of the DOM one. - The CheckModifier method is used to check the status of a single - modifier key associated with a TextEvent. The identifier of the - modifier in question is passed into the CheckModifier function. If - the modifier is triggered it will return true. If not, it will - return false. The list of keys below represents the allowable - modifier parameters for this method: - DOM_VK_LEFT_ALT - DOM_VK_RIGHT_ALT - DOM_VK_LEFT_CONTROL - DOM_VK_RIGHT_CONTROL - DOM_VK_LEFT_SHIFT - DOM_VK_RIGHT_SHIFT - DOM_VK_META - Parameters: - modifier of type unsigned long - The modifier which the user wishes to query. - Return Value: booleanean - The status of the modifier represented as a booleanean. - No Exceptions - @short checkModifier - */ - public native boolean checkModifier(long modifierArg); - // DOM::TextEvent* TextEvent(DOM::TextEventImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/TransferJob.java b/kdejava/koala/org/kde/koala/TransferJob.java deleted file mode 100644 index e6076eb7..00000000 --- a/kdejava/koala/org/kde/koala/TransferJob.java +++ /dev/null @@ -1,117 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The transfer job pumps data into and/or out of a Slave. - Data is sent to the slave on request of the slave ( dataReq). - If data coming from the slave can not be handled, the - reading of data from the slave should be suspended. - See {@link TransferJobSignals} for signals emitted by TransferJob - @short The transfer job pumps data into and/or out of a Slave. - -*/ -public class TransferJob extends SimpleJob { - protected TransferJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a TransferJob. Use TDEIO.get() or TDEIO.put() - instead. - @param url the url to get or put - @param command the command to issue - @param packedArgs the arguments - @param _staticData additional data to transmit (e.g. in a HTTP Post) - @param showProgressInfo true to show progress information to the user - @short Do not create a TransferJob. - */ - public TransferJob(KURL url, int command, byte[] packedArgs, byte[] _staticData, boolean showProgressInfo) { - super((Class) null); - newTransferJob(url,command,packedArgs,_staticData,showProgressInfo); - } - private native void newTransferJob(KURL url, int command, byte[] packedArgs, byte[] _staticData, boolean showProgressInfo); - /** - Called by the scheduler when a <code>slave</code> gets to - work on this job. - @param slave the slave that starts working on this job - @short - */ - public native void start(Slave slave); - /** - Called when m_subJob finishes. - @param job the job that finished - @short Called when m_subJob finishes. - */ - public native void slotResult(Job job); - /** - Flow control. Suspend data processing from the slave. - @short Flow control. - */ - public native void suspend(); - /** - Flow control. Resume data processing from the slave. - @short Flow control. - */ - public native void resume(); - /** - Flow control. - @return true if the job is suspended - - @short Flow control. - */ - public native boolean isSuspended(); - /** - Checks whether we got an error page. This currently only happens - with HTTP urls. Call this from your slot connected to result(). - @return true if we got an (HTML) error page from the server - instead of what we asked for. - - @short Checks whether we got an error page. - */ - public native boolean isErrorPage(); - /** - Enable the async data mode. - When async data is enabled, data should be provided to the job by - calling sendAsyncData() instead of returning data in the - dataReq() signal. - @short Enable the async data mode. - */ - public native void setAsyncDataEnabled(boolean enabled); - /** - Provide data to the job when async data is enabled. - Should be called exactly once after receiving a dataReq signal - Sending an empty block indicates end of data. - @short Provide data to the job when async data is enabled. - */ - public native void sendAsyncData(byte[] data); - /** - When enabled, the job reports the amount of data that has been sent, - instead of the amount of data that that has been received. - @short When enabled, the job reports the amount of data that has been sent, instead of the amount of data that that has been received. - @see #slotProcessedSize - @see #slotSpeed - */ - public native void setReportDataSent(boolean enabled); - /** - Returns whether the job reports the amount of data that has been - sent (true), or whether the job reports the amount of data that - has been received (false) - @short Returns whether the job reports the amount of data that has been sent (true), or whether the job reports the amount of data that has been received (false) - */ - public native boolean reportDataSent(); - protected native void slotRedirection(KURL url); - protected native void slotFinished(); - protected native void slotData(byte[] data); - protected native void slotDataReq(); - protected native void slotMimetype(String mimetype); - protected native void slotNeedSubURLData(); - protected native void slotSubURLData(Job arg1, byte[] arg2); - // void slotMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED - protected native void slotErrorPage(); - protected native void slotCanResume(long offset); - protected native void slotPostRedirection(); -} diff --git a/kdejava/koala/org/kde/koala/TransferJobSignals.java b/kdejava/koala/org/kde/koala/TransferJobSignals.java deleted file mode 100644 index 05dc42b9..00000000 --- a/kdejava/koala/org/kde/koala/TransferJobSignals.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface TransferJobSignals { - /** - Data from the slave has arrived. - @param job the job that emitted this signal - @param data data received from the slave. - End of data (EOD) has been reached if data.size() == 0, however, you - should not be certain of data.size() == 0 ever happening (e.g. in case - of an error), so you should rely on result() instead. - @short Data from the slave has arrived. - */ - void data(Job job, byte[] data); - /** - Request for data. - Please note, that you shouldn't put too large chunks - of data in it as this requires copies within the frame - work, so you should rather split the data you want - to pass here in reasonable chunks (about 1MB maximum) - @param job the job that emitted this signal - @param data buffer to fill with data to send to the - slave. An empty buffer indicates end of data. (EOD) - @short Request for data. - */ - void dataReq(Job job, byte[] data); - /** - Signals a redirection. - Use to update the URL shown to the user. - The redirection itself is handled internally. - @param job the job that emitted this signal - @param url the new URL - @short Signals a redirection. - */ - void redirection(Job job, KURL url); - /** - Signals a permanent redirection. - The redirection itself is handled internally. - @param job the job that emitted this signal - @param fromUrl the original URL - @param toUrl the new URL - @short Signals a permanent redirection. - */ - void permanentRedirection(Job job, KURL fromUrl, KURL toUrl); - /** - Mimetype determined. - @param job the job that emitted this signal - @param type the mime type - @short Mimetype determined. - */ - void mimetype(Job job, String type); - /** - Emitted if the "put" job found an existing partial file - (in which case offset is the size of that file) - and emitted by the "get" job if it supports resuming to - the given offset - in this case <code>offset</code> is unused) - @short - */ - void canResume(Job job, long offset); -} diff --git a/kdejava/koala/org/kde/koala/TreeWalker.java b/kdejava/koala/org/kde/koala/TreeWalker.java deleted file mode 100644 index 29df505b..00000000 --- a/kdejava/koala/org/kde/koala/TreeWalker.java +++ /dev/null @@ -1,175 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - <code>TreeWalker</code> objects are used to navigate a document - tree or subtree using the view of the document defined by its - <code>whatToShow</code> flags and any filters that are defined - for the <code>TreeWalker</code> . Any function which performs - navigation using a <code>TreeWalker</code> will automatically - support any view defined by a <code>TreeWalker</code> . - Omitting nodes from the logical view of a subtree can result in a - structure that is substantially different from the same subtree in - the complete, unfiltered document. Nodes that are siblings in the - TreeWalker view may be children of different, widely separated - nodes in the original view. For instance, consider a Filter that - skips all nodes except for Text nodes and the root node of a - document. In the logical view that results, all text nodes will be - siblings and appear as direct children of the root node, no matter - how deeply nested the structure of the original document. - @short <code>TreeWalker</code> objects are used to navigate a document tree or subtree using the view of the document defined by its <code>whatToShow</code> flags and any filters that are defined for the <code>TreeWalker</code> . - -*/ -public class TreeWalker implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TreeWalker(Class dummy){} - - public TreeWalker() { - newTreeWalker(); - } - private native void newTreeWalker(); - public TreeWalker(TreeWalker other) { - newTreeWalker(other); - } - private native void newTreeWalker(TreeWalker other); - /** - The root node of the TreeWalker, as specified when it was created. - @short The root node of the TreeWalker, as specified when it was created. - */ - public native Node root(); - /** - This attribute determines which node types are presented via the - TreeWalker. The available set of constants is defined in the NodeFilter - interface. Nodes not accepted by whatToShow will be skipped, but their - children may still be considered. Note that this skip takes precedence - over the filter, if any. - @short This attribute determines which node types are presented via the TreeWalker. - */ - public native long whatToShow(); - /** - The filter used to screen nodes. - @short The filter used to screen nodes. - */ - public native NodeFilter filter(); - /** - The value of this flag determines whether the children of entity - reference nodes are visible to the TreeWalker. If false, they and their - descendents will be rejected. Note that this rejection takes precedence - over whatToShow and the filter, if any. - To produce a view of the document that has entity references expanded - and does not expose the entity reference node itself, use the whatToShow - flags to hide the entity reference node and set expandEntityReferences - to true when creating the TreeWalker. To produce a view of the document - that has entity reference nodes but no entity expansion, use the - whatToShow flags to show the entity reference node and set - expandEntityReferences to false. - @short The value of this flag determines whether the children of entity reference nodes are visible to the TreeWalker. - */ - public native boolean expandEntityReferences(); - /** - The node at which the TreeWalker is currently positioned. - Alterations to the DOM tree may cause the current node to no longer be - accepted by the TreeWalker's associated filter. currentNode may also be - explicitly set to any node, whether or not it is within the subtree - specified by the root node or would be accepted by the filter and - whatToShow flags. Further traversal occurs relative to currentNode even - if it is not part of the current view, by applying the filters in the - requested direction; if no traversal is possible, currentNode is not changed. - @short The node at which the TreeWalker is currently positioned. - */ - public native Node currentNode(); - /** - see currentNode - @short see currentNode - */ - public native void setCurrentNode(Node _currentNode); - /** - Moves to and returns the parent node of the current node. If - there is no parent node, or if the current node is the root - node from which this TreeWalker was created, retains the - current position and returns null. - @return The new parent node, or null if the current node has no - parent in the TreeWalker's logical view. - - @short Moves to and returns the parent node of the current node. - */ - public native Node parentNode(); - /** - Moves the <code>TreeWalker</code> to the first child of the - current node, and returns the new node. If the current node has - no children, returns <code>null</code> , and retains the - current node. - @return The new node, or <code>null</code> if the current - node has no children. - - @short Moves the <code>TreeWalker</code> to the first child of the current node, and returns the new node. - */ - public native Node firstChild(); - /** - Moves the <code>TreeWalker</code> to the last child of the - current node, and returns the new node. If the current node has - no children, returns <code>null</code> , and retains the - current node. - @return The new node, or <code>null</code> if the current - node has no children. - - @short Moves the <code>TreeWalker</code> to the last child of the current node, and returns the new node. - */ - public native Node lastChild(); - /** - Moves the <code>TreeWalker</code> to the previous sibling of - the current node, and returns the new node. If the current node - has no previous sibling, returns <code>null</code> , and - retains the current node. - @return The new node, or <code>null</code> if the current - node has no previous sibling. - - @short Moves the <code>TreeWalker</code> to the previous sibling of the current node, and returns the new node. - */ - public native Node previousSibling(); - /** - Moves the <code>TreeWalker</code> to the next sibling of the - current node, and returns the new node. If the current node has - no next sibling, returns <code>null</code> , and retains the - current node. - @return The new node, or <code>null</code> if the current - node has no next sibling. - - @short Moves the <code>TreeWalker</code> to the next sibling of the current node, and returns the new node. - */ - public native Node nextSibling(); - /** - Moves the <code>TreeWalker</code> to the previous node in - document order relative to the current node, and returns the - new node. If the current node has no previous node, returns - <code>null</code> , and retains the current node. - @return The new node, or <code>null</code> if the current - node has no previous node. - - @short Moves the <code>TreeWalker</code> to the previous node in document order relative to the current node, and returns the new node. - */ - public native Node previousNode(); - /** - Moves the <code>TreeWalker</code> to the next node in - document order relative to the current node, and returns the - new node. If the current node has no next node, returns - <code>null</code> , and retains the current node. - @return The new node, or <code>null</code> if the current - node has no next node. - - @short Moves the <code>TreeWalker</code> to the next node in document order relative to the current node, and returns the new node. - */ - public native Node nextNode(); - /** - not part of the DOM - @short - */ - // DOM::TreeWalkerImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::TreeWalker* TreeWalker(DOM::TreeWalkerImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/UIEvent.java b/kdejava/koala/org/kde/koala/UIEvent.java deleted file mode 100644 index 3de80239..00000000 --- a/kdejava/koala/org/kde/koala/UIEvent.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2 - The UIEvent interface provides specific contextual information associated - with User Interface events. - @short Introduced in DOM Level 2 - -*/ -public class UIEvent extends Event { - protected UIEvent(Class dummy){super((Class) null);} - public UIEvent() { - super((Class) null); - newUIEvent(); - } - private native void newUIEvent(); - public UIEvent(UIEvent other) { - super((Class) null); - newUIEvent(other); - } - private native void newUIEvent(UIEvent other); - public UIEvent(Event other) { - super((Class) null); - newUIEvent(other); - } - private native void newUIEvent(Event other); - /** - The view attribute identifies the AbstractView from which the event was - generated. - @short The view attribute identifies the AbstractView from which the event was generated. - */ - public native AbstractView view(); - /** - Specifies some detail information about the Event, depending on the type - of event. - @short Specifies some detail information about the Event, depending on the type of event. - */ - public native long detail(); - /** - Non-standard extension to support IE-style keyCode event property. - @short Non-standard extension to support IE-style keyCode event property. - */ - public native int keyCode(); - /** - Non-standard extension to support IE-style charCode event property. - @short Non-standard extension to support IE-style charCode event property. - */ - public native int charCode(); - /** - Non-standard extensions to support Netscape-style pageX and pageY event properties. - @short Non-standard extensions to support Netscape-style pageX and pageY event properties. - */ - public native int pageX(); - public native int pageY(); - /** - Non-standard extensions to support Netscape-style layerX and layerY event properties. - @short Non-standard extensions to support Netscape-style layerX and layerY event properties. - */ - public native int layerX(); - public native int layerY(); - /** - Non-standard extension to support Netscape-style "which" event property. - @short Non-standard extension to support Netscape-style "which" event property. - */ - public native int which(); - /** - The initUIEvent method is used to initialize the value of a UIEvent - created through the DocumentEvent interface. This method may only be - called before the UIEvent has been dispatched via the dispatchEvent - method, though it may be called multiple times during that phase if - necessary. If called multiple times, the final invocation takes - precedence. - @param typeArg Specifies the event type. - @param canBubbleArg Specifies whether or not the event can bubble. - @param cancelableArg Specifies whether or not the event's default action - can be prevented. - @param viewArg Specifies the Event's AbstractView. - @param detailArg Specifies the Event's detail. - @short The initUIEvent method is used to initialize the value of a UIEvent created through the DocumentEvent interface. - */ - public native void initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, long detailArg); - // DOM::UIEvent* UIEvent(DOM::UIEventImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/URLArgs.java b/kdejava/koala/org/kde/koala/URLArgs.java deleted file mode 100644 index e1a9f7d5..00000000 --- a/kdejava/koala/org/kde/koala/URLArgs.java +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - URLArgs is a set of arguments bundled into a structure, - to allow specifying how a URL should be opened by openURL(). - In other words, this is like arguments to openURL(), but without - have to change the signature of openURL() (since openURL is a - generic KParts method). - The parts (with a browser extension) who care about urlargs will - use those arguments, others will ignore them. - This can also be used the other way round, when a part asks - for a URL to be opened (with openURLRequest or createNewWindow). - @short URLArgs is a set of arguments bundled into a structure, to allow specifying how a URL should be opened by openURL(). - -*/ -public class URLArgs implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected URLArgs(Class dummy){} - - public URLArgs() { - newURLArgs(); - } - private native void newURLArgs(); - public URLArgs(URLArgs args) { - newURLArgs(args); - } - private native void newURLArgs(URLArgs args); - public URLArgs(boolean reload, int xOffset, int yOffset, String serviceType) { - newURLArgs(reload,xOffset,yOffset,serviceType); - } - private native void newURLArgs(boolean reload, int xOffset, int yOffset, String serviceType); - public URLArgs(boolean reload, int xOffset, int yOffset) { - newURLArgs(reload,xOffset,yOffset); - } - private native void newURLArgs(boolean reload, int xOffset, int yOffset); - /** - TDEHTML-specific field, header defining the type of the POST data. - @short TDEHTML-specific field, header defining the type of the POST data. - */ - public native void setContentType(String contentType); - /** - TDEHTML-specific field, header defining the type of the POST data. - @short TDEHTML-specific field, header defining the type of the POST data. - */ - public native String contentType(); - /** - TDEHTML-specific field, whether to do a POST instead of a GET, - for the next openURL. - @short TDEHTML-specific field, whether to do a POST instead of a GET, for the next openURL. - */ - public native void setDoPost(boolean enable); - /** - TDEHTML-specific field, whether to do a POST instead of a GET, - for the next openURL. - @short TDEHTML-specific field, whether to do a POST instead of a GET, for the next openURL. - */ - public native boolean doPost(); - /** - Whether to lock the history when opening the next URL. - This is used during e.g. a redirection, to avoid a new entry - in the history. - @short Whether to lock the history when opening the next URL. - */ - public native void setLockHistory(boolean lock); - public native boolean lockHistory(); - /** - Whether the URL should be opened in a new tab instead in a new window. - @short Whether the URL should be opened in a new tab instead in a new window. - */ - public native void setNewTab(boolean newTab); - public native boolean newTab(); - /** - Meta-data to associate with the next TDEIO operation - @short Meta-data to associate with the next TDEIO operation - @see TransferJob - @see #etc# - */ - // TQMap<TQString, TQString>& metaData(); >>>> NOT CONVERTED - /** - @return true if the request was a result of a META refresh/redirect request or - HTTP redirect. - - @short - */ - public native boolean redirectedRequest(); - /** - Set the redirect flag to indicate URL is a result of either a META redirect - or HTTP redirect. - @param redirected @short Set the redirect flag to indicate URL is a result of either a META redirect or HTTP redirect. - */ - public native void setRedirectedRequest(boolean redirected); - /** - Set whether the URL specifies to be opened in a new window - @short Set whether the URL specifies to be opened in a new window - */ - public native void setForcesNewWindow(boolean forcesNewWindow); - /** - Whether the URL specifies to be opened in a new window - @short Whether the URL specifies to be opened in a new window - */ - public native boolean forcesNewWindow(); -} diff --git a/kdejava/koala/org/kde/koala/WindowArgs.java b/kdejava/koala/org/kde/koala/WindowArgs.java deleted file mode 100644 index b53372ec..00000000 --- a/kdejava/koala/org/kde/koala/WindowArgs.java +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; - -/** - - The WindowArgs are used to specify arguments to the "create new window" - call (see the createNewWindow variant that uses WindowArgs). - The primary reason for this is the javascript window.open function. - @short The WindowArgs are used to specify arguments to the "create new window" call (see the createNewWindow variant that uses WindowArgs). - -*/ -public class WindowArgs implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected WindowArgs(Class dummy){} - - public WindowArgs() { - newWindowArgs(); - } - private native void newWindowArgs(); - public WindowArgs(WindowArgs args) { - newWindowArgs(args); - } - private native void newWindowArgs(WindowArgs args); - public WindowArgs(TQRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable) { - newWindowArgs(_geometry,_fullscreen,_menuBarVisible,_toolBarsVisible,_statusBarVisible,_resizable); - } - private native void newWindowArgs(TQRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable); - public WindowArgs(int _x, int _y, int _width, int _height, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable) { - newWindowArgs(_x,_y,_width,_height,_fullscreen,_menuBarVisible,_toolBarsVisible,_statusBarVisible,_resizable); - } - private native void newWindowArgs(int _x, int _y, int _width, int _height, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable); -} diff --git a/kdejava/koala/org/kde/koala/kdejava.java b/kdejava/koala/org/kde/koala/kdejava.java deleted file mode 100644 index 4bd595e7..00000000 --- a/kdejava/koala/org/kde/koala/kdejava.java +++ /dev/null @@ -1,38 +0,0 @@ -/*************************************************************************** - kdejava.java - description - ------------------- - copyright : (C) 2000-2001 Lost Highway Ltd. All rights reserved. - email : Lost_Highway@tipitina.demon.co.uk - written by : Richard Dale. - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ - -package org.kde.koala; - -import java.util.*; -import java.lang.Error; - -/** The 'Load the KDE Java library' class' - @author Richard Dale */ -public class kdejava { - private static boolean _initialized = false; - - public static void initialize() { - if (!_initialized) { - System.loadLibrary("kdejava"); - TDEApplication.setJavaSlotFactory(); - _initialized = true; - } - } - - static { - initialize(); - } -} diff --git a/kdejava/koala/test/dcop/JavaDCOPObject.java b/kdejava/koala/test/dcop/JavaDCOPObject.java deleted file mode 100644 index babb1056..00000000 --- a/kdejava/koala/test/dcop/JavaDCOPObject.java +++ /dev/null @@ -1,45 +0,0 @@ -import org.kde.koala.*; -import org.kde.qt.*; -import java.util.*; -import java.io.*; - -public class JavaDCOPObject extends DCOPObject{ - public JavaDCOPObject(){ - super("JavaDCOPObject"); - } - public ArrayList functions(){ - ArrayList operations = new ArrayList(); - operations.add("TQString myOperation()"); - return operations; - } - public ArrayList interfaces(){ - ArrayList list = new ArrayList(); - list.add("JavaDCOPObject"); - return list; - } - public DCOPAnswer javaProcess( String fun, byte[] data){ - DCOPAnswer answer = new DCOPAnswer(); - try{ - if("myOperation()".equals(fun)){ - answer.setReplyType("TQString"); - answer.setSucces(true); - - ByteArrayOutputStream stream = new ByteArrayOutputStream(); - DataOutputStream os = new DataOutputStream(stream); - Marchaller.write_QString(os, this.myOperation()); - answer.setReplyData(stream.toByteArray()); - return answer; - } else{ - return answer; - } - }catch(IOException ioe){ - ioe.printStackTrace(); - return answer; - } - } - - public String myOperation(){ - return "test from Java"; - } - -} diff --git a/kdejava/koala/test/dcop/README b/kdejava/koala/test/dcop/README deleted file mode 100644 index 1fb7fac7..00000000 --- a/kdejava/koala/test/dcop/README +++ /dev/null @@ -1,28 +0,0 @@ -This directory contains a test for using a DCOPObject written Java. - -The java DCOP object is in JavaDCOPObject.java -The test app is in Test.java - - -To test it, you should do the following: - -set your CLASSPATH (qtjava.jar & koala.jar) -set your LD_LIBRARY_PATH (${TDEDIR}/lib - -compile it (javac *.java) -$javac *.java - -run it -$java Test - -open kdcop and look voor a program called "JavaTest" -open it and the JavaDCOPObjet appears. The JavaDCOPObject contains one -operation called myOperation. If you select it and run it, you should see 'test from Java' - -You can quit the java program by calling quit() on the application dcop object! (or just hit ctrl-c) - - -Note that the JavaDCOPObject implements javaProcess(), interfaces() and functions(). -These should be generated, but for the timebeing this is done manually. - - diff --git a/kdejava/koala/test/dcop/Test.java b/kdejava/koala/test/dcop/Test.java deleted file mode 100644 index 3e6a087a..00000000 --- a/kdejava/koala/test/dcop/Test.java +++ /dev/null @@ -1,30 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -public class Test{ - static String description = "DCOP test application for Java"; - - - /** - * test the DCOP stuff. - * - * This test doesn't simply construct a DCOPClient, because - * dcop needs the eventloop (app.exec()) - */ - public static void main(String[] argv){ - TDEAboutData aboutData = new TDEAboutData( "test", "Test", - "0.1", description, TDEAboutData.License_GPL, - "(C) 2002 Gert-Jan van der Heiden"); - TDECmdLineArgs.init( argv, aboutData ); - - TDEApplication app = new TDEApplication(); - app.dcopClient().registerAs("JavaTest", false); - JavaDCOPObject object = new JavaDCOPObject(); - app.exec(); - } - - static{ - qtjava.initialize(); - kdejava.initialize(); - } -} diff --git a/kdejava/koala/test/kbase/KBase.java b/kdejava/koala/test/kbase/KBase.java deleted file mode 100644 index 1be572bd..00000000 --- a/kdejava/koala/test/kbase/KBase.java +++ /dev/null @@ -1,596 +0,0 @@ -import java.util.*; - -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * The base class for JavaApiTest application windows. It sets up the main - * window and reads the config file as well as providing a menubar, toolbar - * and statusbar. An instance of KBaseView creates your center view, which is connected - * to the window's Doc object. - * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports - * full session management as well as using TDEActions. - * @see TDEMainWindow - * @see TDEApplication - * @see TDEConfig - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class KBase extends TDEMainWindow -{ - public static final int ID_STATUS_MSG = 1; - - /** the configuration object of the application */ - private TDEConfig config; - /** view is the main widget which represents your working area. The View - * class should handle all events of the view widget. It is kept empty so - * you can create your view according to your application's needs by - * changing the view class. - */ - private KBaseView view; - /** doc represents your actual document and is created only once. It keeps - * information such as filename and does the serialization of your files. - */ - private KBaseDoc doc; - - // TDEAction references to enable/disable actions - private TDEAction fileNewWindow; - private TDEAction fileNew; - private TDEAction fileOpen; - private TDERecentFilesAction fileOpenRecent; - private TDEAction fileSave; - private TDEAction fileSaveAs; - private TDEAction fileClose; - private TDEAction filePrint; - private TDEAction fileQuit; - private TDEAction editCut; - private TDEAction editCopy; - private TDEAction editPaste; - private TDEToggleAction viewToolBar; - private TDEToggleAction viewStatusBar; - - /** construtor of KBase, calls all init functions to create the application. - */ -public KBase(TQWidget parent, String name) -{ - super(parent, name, 0); - TDEApplication kapp = TDEApplication.kApplication(); - config=kapp.config(); - - /////////////////////////////////////////////////////////////////// - // call inits to invoke all other construction parts - initStatusBar(); - initActions(); - initDocument(); - initView(); - - readOptions(); - - /////////////////////////////////////////////////////////////////// - // disable actions at startup - fileSave.setEnabled(false); - fileSaveAs.setEnabled(false); - filePrint.setEnabled(false); - editCut.setEnabled(false); - editCopy.setEnabled(false); - } - -public KBase() -{ - this(null, null); -} - - /** initializes the TDEActions of the application */ -protected void initActions() -{ - fileNewWindow = new TDEAction(tr("New &Window"), "", new TDEShortcut(), this, SLOT("slotFileNewWindow()"), actionCollection(),"file_new_window"); - fileNew = KStdAction.openNew(this, SLOT("slotFileNew()"), actionCollection()); - fileOpen = KStdAction.open(this, SLOT("slotFileOpen()"), actionCollection()); - fileOpenRecent = (TDERecentFilesAction) KStdAction.openRecent(this, SLOT("slotFileOpenRecent(KURL)"), actionCollection()); - fileSave = KStdAction.save(this, SLOT("slotFileSave()"), actionCollection()); - fileSaveAs = KStdAction.saveAs(this, SLOT("slotFileSaveAs()"), actionCollection()); - // this one crashes for me... -// fileClose = KStdAction.close(this, SLOT(slotFileClose()), actionCollection()); - filePrint = KStdAction.print(this, SLOT("slotFilePrint()"), actionCollection()); - fileQuit = KStdAction.quit(this, SLOT("slotFileQuit()"), actionCollection()); - editCut = KStdAction.cut(this, SLOT("slotEditCut()"), actionCollection()); - editCopy = KStdAction.copy(this, SLOT("slotEditCopy()"), actionCollection()); - editPaste = KStdAction.paste(this, SLOT("slotEditPaste()"), actionCollection()); - createStandardStatusBarAction(); -// viewToolBar = KStdAction.showToolbar(this, SLOT("slotViewToolBar()"), actionCollection()); - viewStatusBar = KStdAction.showStatusbar(this, SLOT("slotViewStatusBar()"), actionCollection()); - - fileNewWindow.setToolTip(tr("Opens a new application window")); - fileNew.setToolTip(tr("Creates a new document")); - fileOpen.setToolTip(tr("Opens an existing document")); - fileOpenRecent.setToolTip(tr("Opens a recently used file")); - fileSave.setToolTip(tr("Saves the actual document")); - fileSaveAs.setToolTip(tr("Saves the actual document as...")); -// fileClose.setToolTip(tr("Closes the actual document")); - filePrint .setToolTip(tr("Prints out the actual document")); - fileQuit.setToolTip(tr("Quits the application")); - editCut.setToolTip(tr("Cuts the selected section and puts it to the clipboard")); - editCopy.setToolTip(tr("Copies the selected section to the clipboard")); - editPaste.setToolTip(tr("Pastes the clipboard contents to actual position")); -// viewToolBar.setToolTip(tr("Enables/disables the toolbar")); - viewStatusBar.setToolTip(tr("Enables/disables the statusbar")); - - // use the absolute path to your kbaseui.rc file for testing purpose in createGUI(); - createGUI(); - -} - - - - /** sets up the kstatusBar for the main window by initialzing a statuslabel. - */ -protected void initStatusBar() -{ - /////////////////////////////////////////////////////////////////// - // STATUSBAR - // TODO: add your own items you need for displaying current application status. - kstatusBar().insertItem(tr("Ready."), ID_STATUS_MSG); -} - - /** initializes the document object of the main window that is connected to the view in initView(). - * @see initView(); - */ -public void initDocument() -{ - doc = new KBaseDoc(this, null); - doc.newDocument(); -} - - /** creates the centerwidget of the KTMainWindow instance and sets it as the view - */ -protected void initView() -{ - //////////////////////////////////////////////////////////////////// - // create the main widget here that is managed by KTMainWindow's view-region and - // connect the widget to your document to display document contents. - - view = new KBaseView(this, null); - doc.addView(view); - setCentralWidget(view); - setCaption(doc.URL().fileName(),false); - -} - - /** opens a file specified by commandline option - */ -public void openDocumentFile(KURL url) -{ - slotStatusMsg(tr("Opening file...")); - -// doc.openDocument( url); - fileOpenRecent.addURL( url ); - slotStatusMsg(tr("Ready.")); -} - -public void openDocumentFile() -{ - openDocumentFile(new KURL("")); - return; -} - - - /** returns a pointer to the current document connected to the KTMainWindow instance and is used by - * the View class to access the document object's methods - */ -public KBaseDoc getDocument() -{ - return doc; -} - - /** save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration - * file - */ -protected void saveOptions() -{ - config.setGroup("General Options"); - config.writeEntry("Geometry", size()); -// config.writeEntry("Show Toolbar", viewToolBar.isChecked()); - config.writeEntry("Show Statusbar",viewStatusBar.isChecked()); -// config.writeEntry("ToolBarPos", (int) toolBar("mainToolBar").barPos()); - fileOpenRecent.saveEntries(config,"Recent Files"); -} - - - /** read general Options again and initialize all variables like the recent file list - */ -protected void readOptions() -{ - - config.setGroup("General Options"); - - // bar status settings -// boolean bViewToolbar = config.readBoolEntry("Show Toolbar", true); -// viewToolBar.setChecked(bViewToolbar); -// slotViewToolBar(); - - boolean bViewStatusbar = config.readBoolEntry("Show Statusbar", true); - viewStatusBar.setChecked(bViewStatusbar); - slotViewStatusBar(); - - - // bar position settings -// int toolBarPos; - //Pos=(int) config.readNumEntry("ToolBarPos", TDEToolBar.Top); -// toolBar("mainToolBar").setBarPos(toolBarPos); - - // initialize the recent file list - fileOpenRecent.loadEntries(config,"Recent Files"); - - TQSize size=config.readSizeEntry("Geometry", null); - if(!size.isEmpty()) - { - resize(size); - } -} - - /** saves the window properties for each open window during session end to the session config file, including saving the currently - * opened file by a temporary filename provided by TDEApplication. - * @see KTMainWindow#saveProperties - */ -protected void saveProperties(TDEConfig _cfg) -{ - if(doc.URL().fileName()!=tr("Untitled") && !doc.isModified()) - { - // saving to tempfile not necessary - - } - else - { - KURL url=doc.URL(); - _cfg.writeEntry("filename", url.url()); - _cfg.writeEntry("modified", doc.isModified()); - String tempname = TDEApplication.kApplication().tempSaveName(url.url()); - String tempurl= KURL.encode_string(tempname, 0); - KURL _url = new KURL(tempurl); - doc.saveDocument(_url); - } -} - - - /** reads the session config file and restores the application's state including the last opened files and documents by reading the - * temporary files saved by saveProperties() - * @see KTMainWindow#readProperties - */ -protected void readProperties(TDEConfig _cfg) -{ - String filename = _cfg.readEntry("filename", ""); - KURL url = new KURL(filename); - boolean modified = _cfg.readBoolEntry("modified", false); - if(modified) - { - boolean canRecover = false; - String tempname = TDEApplication.kApplication().checkRecoverFile(filename, canRecover); - KURL _url = new KURL(tempname); - - if(canRecover) - { - doc.openDocument(_url); - doc.setModified(); - setCaption(_url.fileName(),true); - TQFile.remove(tempname); - } - } - else - { - if(filename.length() > 0) - { - doc.openDocument(url); - setCaption(url.fileName(),false); - } - } -} - - /** queryClose is called by KTMainWindow on each closeEvent of a window. Against the - * default implementation (only returns true), this calles saveModified() on the document object to ask if the document shall - * be saved if Modified; on cancel the closeEvent is rejected. - * @see KTMainWindow#queryClose - * @see KTMainWindow#closeEvent - */ -protected boolean queryClose() -{ - return doc.saveModified(); -} - - /** queryExit is called by KTMainWindow when the last window of the application is going to be closed during the closeEvent(). - * Against the default implementation that just returns true, this calls saveOptions() to save the settings of the last window's - * properties. - * @see KTMainWindow#queryExit - * @see KTMainWindow#closeEvent - */ -protected boolean queryExit() -{ - saveOptions(); - return true; -} - -///////////////////////////////////////////////////////////////////// -// SLOT IMPLEMENTATION -///////////////////////////////////////////////////////////////////// - - /** open a new application window by creating a new instance of KBase */ -public void slotFileNewWindow() -{ - slotStatusMsg(tr("Opening a new application window...")); - - KBase new_window= new KBase(); - new_window.show(); - - slotStatusMsg(tr("Ready.")); -} - - /** clears the document in the actual view to reuse it as the new document */ -public void slotFileNew() -{ - slotStatusMsg(tr("Creating new document...")); - - if(!doc.saveModified()) - { - // here saving wasn't successful - - } - else - { - doc.newDocument(); - setCaption(doc.URL().fileName(), false); - } - - slotStatusMsg(tr("Ready.")); -} - - /** open a file and load it into the document*/ -public void slotFileOpen() -{ -System.out.println("ENTER slotFileOpen()"); - slotStatusMsg(tr("Opening file...")); - - if(!doc.saveModified()) - { - // here saving wasn't successful - - } - else - { - KURL url=KFileDialog.getOpenURL("", - tr("*|All files"), this, tr("Open File...")); - if(!url.isEmpty()) - { - doc.openDocument(url); - setCaption(url.fileName(), false); - fileOpenRecent.addURL( url ); - } - } - slotStatusMsg(tr("Ready.")); -} - - /** opens a file from the recent files menu */ -public void slotFileOpenRecent(KURL url) -{ - slotStatusMsg(tr("Opening file...")); - - if(!doc.saveModified()) - { - // here saving wasn't successful - } - else - { - doc.openDocument(url); - setCaption(url.fileName(), false); - } - - slotStatusMsg(tr("Ready.")); -} - - /** save a document */ -public void slotFileSave() -{ - slotStatusMsg(tr("Saving file...")); - - doc.saveDocument(doc.URL()); - - slotStatusMsg(tr("Ready.")); -} - - /** save a document by a new filename*/ -public void slotFileSaveAs() -{ - slotStatusMsg(tr("Saving file with a new filename...")); - - KURL url=KFileDialog.getSaveURL(TQDir.currentDirPath(), - tr("*|All files"), this, tr("Save as...")); - if(!url.isEmpty()) - { - doc.saveDocument(url); - fileOpenRecent.addURL(url); - setCaption(url.fileName(),doc.isModified()); - } - - slotStatusMsg(tr("Ready.")); -} - - /** asks for saving if the file is modified, then closes the actual file and window*/ -public void slotFileClose() -{ - slotStatusMsg(tr("Closing file...")); - - close(); - - slotStatusMsg(tr("Ready.")); -} - - /** print the actual file */ -public void slotFilePrint() -{ - slotStatusMsg(tr("Printing...")); - - TQPrinter printer = new TQPrinter(); - if (printer.setup(this)) - { - view.print(printer); - } - - slotStatusMsg(tr("Ready.")); -} - - /** closes all open windows by calling close() on each memberList item until the list is empty, then quits the application. - * If queryClose() returns false because the user canceled the saveModified() dialog, the closing breaks. - */ -public void slotFileQuit() -{ - slotStatusMsg(tr("Exiting...")); - saveOptions(); - // close the first window, the list makes the next one the first again. - // This ensures that queryClose() is called on each window to ask for closing - TDEMainWindow w; - Iterator it = memberList().iterator(); - while(it.hasNext()) - { - w=(TDEMainWindow)it.next(); - // only close the window if the closeEvent is accepted. If the user presses Cancel on the saveModified() dialog, - // the window and the application stay open. - if(!w.close()) - break; - } - - slotStatusMsg(tr("Ready.")); -} - - /** put the marked text/object into the clipboard and remove - * it from the document - */ -public void slotEditCut() -{ - slotStatusMsg(tr("Cutting selection...")); - - slotStatusMsg(tr("Ready.")); -} - - /** put the marked text/object into the clipboard - */ -public void slotEditCopy() -{ - slotStatusMsg(tr("Copying selection to clipboard...")); - - slotStatusMsg(tr("Ready.")); -} - - /** paste the clipboard into the document - */ -public void slotEditPaste() -{ - slotStatusMsg(tr("Inserting clipboard contents...")); - - slotStatusMsg(tr("Ready.")); -} - - /** toggles the toolbar - */ -public void slotViewToolBar() -{ - slotStatusMsg(tr("Toggling toolbar...")); - /////////////////////////////////////////////////////////////////// - // turn Toolbar on or off -// if(!viewToolBar.isChecked()) -// { -// toolBar("mainToolBar").hide(); -// } -// else -// { -// toolBar("mainToolBar").show(); -// } - - slotStatusMsg(tr("Ready.")); -} - - /** toggles the statusbar - */ -public void slotViewStatusBar() -{ - slotStatusMsg(tr("Toggle the statusbar...")); - /////////////////////////////////////////////////////////////////// - //turn Statusbar on or off - if(!viewStatusBar.isChecked()) - { - kstatusBar().hide(); - } - else - { - kstatusBar().show(); - } - - slotStatusMsg(tr("Ready.")); -} - - - /** changes the statusbar contents for the standard label permanently, used to indicate current actions. - * @param text the text that is displayed in the statusbar - */ -public void slotStatusMsg(String text) -{ - /////////////////////////////////////////////////////////////////// - // change status message permanently - kstatusBar().clear(); - kstatusBar().changeItem(text, ID_STATUS_MSG); -} - -static String description = - "JavaApiTest"; -// INSERT A DESCRIPTION FOR YOUR APPLICATION HERE - - -static String[][] options = -{ - { "+[File]", "file to open", null } - // INSERT YOUR COMMANDLINE OPTIONS HERE -}; - -static String VERSION = "0.1"; - -public static void main(String[] cmdLineArgs) -{ - - TDEAboutData aboutData = new TDEAboutData( "kbase", "JavaApiTest", - VERSION, description, TDEAboutData.License_GPL, - "(c) 2001, Richard Dale"); - aboutData.addAuthor("Richard Dale",null, "Lost_Highway@tipitina.demon.co.uk"); - TDECmdLineArgs.init( cmdLineArgs, aboutData ); - TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. - - TDEApplication app = new TDEApplication(); - - if (app.isRestored()) - { - RESTORE("KBase"); - } - else - { - KBase kbase = new KBase(); - kbase.show(); - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - - if (args.count() > 0) - { - kbase.openDocumentFile(new KURL(args.arg(0))); - } - else - { - kbase.openDocumentFile(); - } - args.clear(); - } - - app.exec(); - return; -} - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/kbase/KBaseDoc.java b/kdejava/koala/test/kbase/KBaseDoc.java deleted file mode 100644 index 8c42c40d..00000000 --- a/kdejava/koala/test/kbase/KBaseDoc.java +++ /dev/null @@ -1,198 +0,0 @@ -import java.util.*; - -import org.kde.qt.*; -import org.kde.koala.*; - -/** KBaseDoc provides a document object for a document-view model. - * - * The KBaseDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KBaseView - * to create a document-view model for standard KDE applications based on TDEApplication and TDEMainWindow. Thereby, the document object - * is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document - * data by KBaseView objects. Also, KBaseDoc contains the methods for serialization of the document data from and to files. - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class KBaseDoc extends TQObject { - - /** the list of the views currently connected to the document */ - public ArrayList pViewList; - - /** the modified flag of the current document */ - private boolean modified; - private KURL doc_url; - - /** Constructor for the fileclass of the application */ -public KBaseDoc(TQWidget parent, String name) -{ - super(parent, name); - setURL(new KURL()); - - if(pViewList == null) - { - pViewList = new ArrayList(); - } - -// pViewList.setAutoDelete(true); -} - - /** adds a view to the document which represents the document contents. Usually this is your main view. */ -public void addView(KBaseView view) -{ - pViewList.add(view); -} - - /** removes a view from the list of currently connected views */ -public void removeView(KBaseView view) -{ - pViewList.remove(view); -} - - /** sets the modified flag for the document after a modifying action on the view connected to the document.*/ -public void setModified(boolean _m){ modified=_m; } -public void setModified(){ modified=true; } - - /** returns if the document is modified or not. Use this to determine if your document needs saving by the user on closing.*/ -public boolean isModified(){ return modified; } - - /** sets the URL of the document */ -public void setURL(KURL url) -{ - doc_url=url; -} - - /** returns the KURL of the document */ -public KURL URL() -{ - return doc_url; -} - - /** calls repaint() on all views connected to the document object and is called by the view by which the document has been changed. - * As this view normally repaints itself, it is excluded from the paintEvent. - */ -public void slotUpdateAllViews(KBaseView sender) -{ - KBaseView w; - if(pViewList != null) - { - Iterator it = pViewList.iterator(); - while(it.hasNext()) - { - w=(KBaseView)it.next(); - if(w!=sender) - w.repaint(); - } - } - -} - - /** "save modified" - asks the user for saving if the document is modified */ -public boolean saveModified() -{ - boolean completed=true; - - if(modified) - { - KBase win=(KBase ) parent(); - int want_save = KMessageBox.warningYesNoCancel(win, tr("Warning"), - tr("The current file has been modified.\n" - + "Do you want to save it?")); - switch(want_save) - { - case 1: - if (doc_url.fileName() == tr("Untitled")) - { - win.slotFileSaveAs(); - } - else - { - saveDocument(URL()); - }; - - deleteContents(); - completed=true; - break; - - case 2: - setModified(false); - deleteContents(); - completed=true; - break; - - case 3: - completed=false; - break; - - default: - completed=false; - break; - } - } - - return completed; -} - - /** closes the acutal document */ -public void closeDocument() -{ - deleteContents(); -} - - /** initializes the document generally */ -public boolean newDocument() -{ - ///////////////////////////////////////////////// - // TODO: Add your document initialization code here - ///////////////////////////////////////////////// - modified=false; - doc_url.setFileName(tr("Untitled")); - - return true; -} - - /** loads the document by filename and format and emits the updateViews() signal */ -public boolean openDocument(KURL url, String format) -{ - StringBuffer tmpfile = new StringBuffer(""); - NetAccess.download( url, tmpfile, null ); - ///////////////////////////////////////////////// - // TODO: Add your document opening code here - ///////////////////////////////////////////////// - - NetAccess.removeTempFile( tmpfile.toString() ); - - modified=false; - return true; -} - -public boolean openDocument(KURL url) -{ - return openDocument(url, null); -} - - /** saves the document under filename and format.*/ -public boolean saveDocument(KURL url, String format) -{ - ///////////////////////////////////////////////// - // TODO: Add your document saving code here - ///////////////////////////////////////////////// - - modified=false; - return true; -} - -public boolean saveDocument(KURL url) -{ - return saveDocument(url, null); -} - - /** deletes the document's contents */ -public void deleteContents() -{ - ///////////////////////////////////////////////// - // TODO: Add implementation to delete the document contents - ///////////////////////////////////////////////// - -} - -} diff --git a/kdejava/koala/test/kbase/KBaseView.java b/kdejava/koala/test/kbase/KBaseView.java deleted file mode 100644 index 59554607..00000000 --- a/kdejava/koala/test/kbase/KBaseView.java +++ /dev/null @@ -1,36 +0,0 @@ -import org.kde.qt.*; - -/** The KBaseView class provides the view widget for the KBase instance. - * The View instance inherits TQWidget as a base class and represents the view object of a KTMainWindow. As KBaseView is part of the - * docuement-view model, it needs a reference to the document object connected with it by the KBase class to manipulate and display - * the document structure provided by the KBaseDoc class. - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 0.4 code generation - */ -public class KBaseView extends TQWidget { - -public KBaseView(TQWidget parent, String name) -{ - super(parent, name); - setBackgroundMode(PaletteBase); -} - -public KBaseDoc getDocument() -{ - KBase theApp=(KBase) parentWidget(); - - return theApp.getDocument(); -} - -public void print(TQPrinter pPrinter) -{ - TQPainter printpainter = new TQPainter(); - printpainter.begin(pPrinter); - - // TODO: add your printing code here - - printpainter.end(); -} - -} diff --git a/kdejava/koala/test/kbase/kbase.desktop b/kdejava/koala/test/kbase/kbase.desktop deleted file mode 100644 index 4d079aec..00000000 --- a/kdejava/koala/test/kbase/kbase.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=Application -Exec=java -cp ".:/home/duke/src/qt-2.2.1java/javalib:.." KBase KBase -caption "%c" %i %m -Icon=kbase.xpm -DocPath=kbase/index.html -Comment= -Comment[de]= -Terminal=false -Name=KBase -Name[de]=KBase diff --git a/kdejava/koala/test/kbase/kbaseui.rc b/kdejava/koala/test/kbase/kbaseui.rc deleted file mode 100644 index 03958feb..00000000 --- a/kdejava/koala/test/kbase/kbaseui.rc +++ /dev/null @@ -1,8 +0,0 @@ -<!DOCTYPE kpartgui> -<kpartgui name="kbase" version="0.1"> -<MenuBar> - <Menu name="file"><text>&File</text> - <Action name="file_new_window"/> - </Menu> -</MenuBar> -</kpartgui> diff --git a/kdejava/koala/test/kblend/KBlendTest.java b/kdejava/koala/test/kblend/KBlendTest.java deleted file mode 100644 index 1395f379..00000000 --- a/kdejava/koala/test/kblend/KBlendTest.java +++ /dev/null @@ -1,130 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -// -// Simple little hack to show off blending effects. -// -// (C) KDE Artistic Cristian Tibirna <tibirna@kde.org> -// - -/** - * Class to test KImageEffect blending effects. - * - * This is a translation to java from kblendtest.cpp in the tests library - * of tdeui source. - * - * @see TDEApplication - * @see KImageEffect - * - * @author Cristian Tibirna <tibirna@kde.org>, java translation Kenneth J. Pouncey, kjpou@hotmail.com - * @version 0.1 - */ - -public class KBlendTest { - - public static void main(String[] args) { - TDECmdLineArgs.init(args, "kblendtest", "KBlendTest", "It blends!", "0.1"); - TDEApplication app = new TDEApplication(); - KBlendWidget w = new KBlendWidget(null,"KBlendTest"); - w.setCaption(app.name()); - app.setMainWidget(w); - w.show(); - app.exec(); - return; - } - - - public static class KBlendWidget extends TQWidget { - - TQImage image; - TQColor bgnd; - - String testImage = "testimage.png"; - - public KBlendWidget (TQWidget parent, String name) { - - // change the colors to see the effects. -// bgnd = new TQColor(TQColor.qRgb(255, 255, 255)); - bgnd = Qt.blue(); -// bgnd = Qt.red(); - - image = new TQImage(testImage); - - resize(image.width()*2+60, image.height()*3+80); - setBackgroundColor(bgnd); - } - - protected void paintEvent(TQPaintEvent pe ) { - - long it, ft; - String say = ""; - - image = new TQImage(testImage); - - TQPainter p = new TQPainter(this); - - p.setPen(Qt.black()); - - // you see here use of anti_dir param (blend from down to up, here) - it = System.currentTimeMillis(); - KImageEffect.blend(image, 0.2f, bgnd, KImageEffect.VerticalGradient,true); - ft = System.currentTimeMillis(); - say = (ft - it) + " ms, Vertical"; - p.drawImage(20, 20, image); - p.drawText(5 , 15, say); - - image = new TQImage(testImage); - - // here a negative initial intensity is used (1/2 of image is unaffected) - it = System.currentTimeMillis(); - KImageEffect.blend(image, -0.5f, bgnd, KImageEffect.HorizontalGradient); - ft = System.currentTimeMillis(); - say = (ft - it) + " ms, Horizontal"; - p.drawImage(40+image.width(), 20, image); - p.drawText(15+image.width() , 15, say); - - image = new TQImage(testImage); - - it = System.currentTimeMillis(); - KImageEffect.blend(image, 0.0f, bgnd, KImageEffect.DiagonalGradient,true); - ft = System.currentTimeMillis(); - say = (ft - it) + " ms, Diagonal"; - p.drawImage(20, 40+image.height(), image); - p.drawText(5 , 35+image.height(), say); - - image = new TQImage(testImage); - - it = System.currentTimeMillis(); - KImageEffect.blend(image, 0.1f, bgnd, KImageEffect.CrossDiagonalGradient); - ft = System.currentTimeMillis(); - say = (ft - it) + " ms, CrossDiagonal"; - p.drawImage(40+image.width(), 40+image.height(), image); - p.drawText(25+image.width() , 35 + image.height(), say); - - image = new TQImage(testImage); - - it = System.currentTimeMillis(); - KImageEffect.blend(image, -0.6f, bgnd, KImageEffect.RectangleGradient); - ft = System.currentTimeMillis(); - say = (ft - it) + " ms, Rectangle"; - p.drawImage(20, 60+2*image.height(), image); - p.drawText(5 , 55+2*image.height(), say); - - image = new TQImage(testImage); - - it = System.currentTimeMillis(); - KImageEffect.blend(image, 0.2f, bgnd, KImageEffect.EllipticGradient); - ft = System.currentTimeMillis(); - say = (ft - it) + " ms, Elliptic"; - p.drawImage(40+image.width(), 60+2*image.height(), image); - p.drawText(25+image.width(), 55+2*image.height(), say); - p.end(); - } - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/kblend/testimage.png b/kdejava/koala/test/kblend/testimage.png Binary files differdeleted file mode 100644 index c6f06474..00000000 --- a/kdejava/koala/test/kblend/testimage.png +++ /dev/null diff --git a/kdejava/koala/test/kcharselect/KCharSelectTest.java b/kdejava/koala/test/kcharselect/KCharSelectTest.java deleted file mode 100644 index 03c6f66a..00000000 --- a/kdejava/koala/test/kcharselect/KCharSelectTest.java +++ /dev/null @@ -1,31 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * - * Taken from test program of the tdeui tests - **/ -public class KCharSelectTest { - - - public static void main (String[] args) { - - TDECmdLineArgs.init(args, "kcharselecttest", "KCharSelectTest", - "A KCharSelect test app", "0.1"); - TDEApplication app = new TDEApplication(); - KCharSelect selector = new KCharSelect(null,"char selector"); - selector.resize( selector.sizeHint() ); - app.setMainWidget(selector); - selector.show(); - selector.setCaption( "KCharSelect Test"); - app.exec(); - return; - - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/kcombobox/KComboBoxTest.java b/kdejava/koala/test/kcombobox/KComboBoxTest.java deleted file mode 100644 index 8cb8ab09..00000000 --- a/kdejava/koala/test/kcombobox/KComboBoxTest.java +++ /dev/null @@ -1,122 +0,0 @@ -import java.util.*; - - import org.kde.qt.*; - import org.kde.koala.*; - - /** - * Class to text KComboBox widgets. - * - * This is a translation to java from kcomboboxtest.cpp in the tests library - * of tdeui source. - * - * Combo boxes tested - * - Editable ComboBox - * - Select Only ComboBox - * @see KComboBox - * @see TDEApplication - * @see TDEConfig - * - * @author original author unknown, java translation Kenneth J. Pouncey, - kjpou@hotmail.com - * @version 0.1 - */ - public class KComboBoxTest { - - static String description = "Java KComboBox test program."; - static String[][] options = { }; - static String VERSION = "0.1"; - - public static void main(String[] cmdLineArgs) { - - TDEAboutData aboutData = new TDEAboutData( "kcomboboxtest", "KComboBoxTest", - VERSION, description, TDEAboutData.License_GPL, - "(c) 2002, Kenneth J. Pouncey"); - aboutData.addAuthor("Kenneth J. Pouncey",null, "kjpou@hotmail.com"); - TDECmdLineArgs.init( cmdLineArgs, aboutData ); - TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. - - TDEApplication app = new TDEApplication(); - - // parse the args - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - - // Make a central widget to contain the other widgets - TQWidget w = new TQWidget(); - // Insert the widget container (parent widget) into - // a layout manager (VERTICAL). - TQVBoxLayout vbox = new TQVBoxLayout( w, KDialog.marginHint(), - KDialog.spacingHint() ); - // Resize the widget - w.resize( 500, 100 ); - - String[] list = {"Stone" , "Tree" , "Pebbles" , "Ocean" , "Sand" , "Chips" - , "Computer" , "Mankind"}; - - // Create and modify read-write widget - KComboBox rwc = new KComboBox( true, w, "rwcombobox" ); - TQLabel lblrw = new TQLabel( rwc, "&Editable ComboBox", w, "rwcombolabel",0 - ); - rwc.setDuplicatesEnabled( true ); - rwc.completionObject().setItems( list ); - rwc.setInsertionPolicy( TQComboBox.NoInsertion ); - rwc.insertStringList( list ); - rwc.setEditText( "KDE Java Bindings" ); - - // Create a read-write combobox and reproduce konqueror's code - KComboBox konqc = new KComboBox( true, w, "konqc" ); - konqc.setMaxCount( 10 ); - KSimpleConfig historyConfig = new KSimpleConfig("konq_history"); - historyConfig.setGroup( "Location Bar" ); - TDECompletion s_pCompletion = new TDECompletion(); - s_pCompletion.setOrder( TDECompletion.Weighted ); - - String[] rle = null; - // historyConfig.readListEntry( "ComboContents" ,rle); - s_pCompletion.setItems( rle ); - s_pCompletion.setCompletionMode( TDEGlobalSettings.completionMode() ); - konqc.setCompletionObject( s_pCompletion ); - - TQLabel lblkonq = new TQLabel( konqc, "&Konqueror's ComboBox", w ); - // konqc.insertItem( TDEIconLoader.SmallIcon("www"), - // "http://www.kde.org" ); - konqc.insertItem( app.iconLoader().loadIcon("www",0 ), - "http://www.kde.org" ); - konqc.setCurrentItem( konqc.count()-1 ); - - // Create a read-only widget - KComboBox soc = new KComboBox( w, "socombobox" ); - TQLabel lblso = new TQLabel( soc, "&Select-Only ComboBox", w, "socombolabel",0 ); - soc.setCompletionMode( TDEGlobalSettings.CompletionAuto ); - soc.completionObject().setItems( list ); - soc.insertStringList( list ); - - // Create an exit button - TQPushButton push = new TQPushButton( "E&xit", w ); - - TQObject.connect( push, Qt.SIGNAL("clicked()"), app, Qt.SLOT("closeAllWindows()" ) ); - - // Insert the widgets into the layout manager. - vbox.addWidget( lblrw ); - vbox.addWidget( rwc ); - vbox.addWidget( lblso ); - vbox.addWidget( soc ); - vbox.addWidget( lblkonq ); - vbox.addWidget( konqc ); - vbox.addWidget( push ); - - app.setMainWidget(w); - rwc.setFocus(); - w.show(); - - app.exec(); - return; - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - - } - - diff --git a/kdejava/koala/test/kdatepicker/KDatePickTest.java b/kdejava/koala/test/kdatepicker/KDatePickTest.java deleted file mode 100644 index 8d6cdca8..00000000 --- a/kdejava/koala/test/kdatepicker/KDatePickTest.java +++ /dev/null @@ -1,26 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -public class KDatePickTest { - - - public static void main (String[] args) { - - TDELocale.setMainCatalogue("tdelibs"); - TDECmdLineArgs.init(args, "kdatepickertest", "KDatePickTest", - "A KDatePicker test..", "0.1"); - TDEApplication app = new TDEApplication(); - KDatePicker picker = new KDatePicker(); - app.setMainWidget(picker); - picker.show(); - app.exec(); - return; - - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/khelpers/KHelpers.java b/kdejava/koala/test/khelpers/KHelpers.java deleted file mode 100644 index 47803457..00000000 --- a/kdejava/koala/test/khelpers/KHelpers.java +++ /dev/null @@ -1,103 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * Class KHelpers is the main application window. - * - * Taken from KDE 2.0 Development book - * - * ToolTips, What's This?, and More - * - * - * - * @see TDEMainWindow - * @see TDEApplication - * - * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com - * @version 0.1 - */ - -public class KHelpers extends TDEMainWindow { - - // File menu item id's - protected int idfilenew; - protected int idfileopen; - protected int idfilesave; - protected int idfilequit; - - // reference to the application - TDEApplication kapp; - - // time to display the message in the status bar - int HelpMessageTime = 200; - - public KHelpers () { - - // get a reference to the application - kapp = TDEApplication.kApplication(); - - TQPopupMenu file = new TQPopupMenu(this); - - idfilenew = file.insertItem("&New"); - idfileopen = file.insertItem("&Open..."); - idfilesave = file.insertItem("&Save"); - idfilequit = file.insertItem("&Quit", kapp, SLOT("closeAllWindows()")); - - connect ( file, SIGNAL( "highlighted(int)"), this, SLOT( "slotMenuEntryHelp (int)")); - - menuBar().insertItem("&File",file); - - TQPopupMenu help = helpMenu("KHelpers\n" + - "Copyright (C) 2000 By Joe Developer\n\n" + - "KHelpers demonstates a few of the ways " + - "that your application can provide help to a user"); - - help.insertSeparator(); - help.insertItem("Help on a special topic", this, SLOT("slotSpecialHelp()")); - - menuBar().insertItem("&Help",help); - - // Create the statusbar - statusBar(); - - TQLabel clientarea = new TQLabel(this); - clientarea.setBackgroundColor(Qt.white()); - - TQToolTip.add(clientarea, "Functionless client area"); - TQWhatsThis.add(clientarea,"This client area doesn't do anything."); - - setCentralWidget(clientarea); - - clientarea.setFocus(); - } - - public void slotMenuEntryHelp (int id) { - - if (id == idfilenew) { - statusBar().message("Create a new document.",HelpMessageTime); - } - else if (id == idfileopen) { - - statusBar().message("Open a file.",HelpMessageTime); - - } - else if (id == idfilesave) { - - statusBar().message("Save the current document.",HelpMessageTime); - - } - else if (id == idfilequit) { - - statusBar().message("Quit the application.",HelpMessageTime); - - } - } - - public void slotSpecialHelp() { - - String helpfilename = kapp.name(); - helpfilename += "/specialhelp.html"; - kapp.invokeHelp(helpfilename,""); - } - -} diff --git a/kdejava/koala/test/khelpers/Main.java b/kdejava/koala/test/khelpers/Main.java deleted file mode 100644 index ee04d747..00000000 --- a/kdejava/koala/test/khelpers/Main.java +++ /dev/null @@ -1,52 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * Main class. - * - * Taken from KDE 2.0 Development book - * - * Helping the User Use Your Application - * - * ToolTips, What's This?, and More - * - * @see TDEApplication - * @see TDECmdLineArgs - * - * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com - * @version 0.1 - */ - -public class Main { - - static String description = "KDE 2 Development example"; - - - static String[][] options = { }; - - -static String VERSION = "0.1"; - - public static void main(String[] cmdLineArgs) { - - TDEAboutData aboutData = new TDEAboutData( "KHelpers", "KHelpers", - VERSION, description, TDEAboutData.License_GPL, - "KDE 2 Development"); - TDECmdLineArgs.init( cmdLineArgs, aboutData ); - TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. - - TDEApplication app = new TDEApplication(); - KHelpers khelpers = new KHelpers(); - - khelpers.show(); - - app.exec(); - return; - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/kmenu/KdeMenuSample.java b/kdejava/koala/test/kmenu/KdeMenuSample.java deleted file mode 100644 index 3ffbb4d0..00000000 --- a/kdejava/koala/test/kmenu/KdeMenuSample.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * KdeMenuSample.java - * - * Created on 8. Marz 2002, 20:31 - */ - -//package com.werpu.sample3; - -//import com.werpu.common.*; -import org.kde.koala.kdejava; -import org.kde.qt.qtjava; - -import org.kde.koala.TDEMainWindow; -import org.kde.koala.TDECmdLineArgs; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQTextView; -import org.kde.koala.KMenuBar; -import org.kde.koala.TDEApplication; -import org.kde.koala.KURL; -import org.kde.koala.KFileDialog; -import org.kde.koala.KMessageBox; -import org.kde.qt.TQColor; -import org.kde.qt.TQButton; -import org.kde.koala.KPushButton; - - - -/** - * @author Werner Punz werpu@gmx.at - * To Java translated KDE Menu Example from - * The kde.org KDE Tutorial from Antonio Larrosa Jimenez - * http://person.wanadoo.es/antlarr/tutorial - */ -public class KdeMenuSample extends TDEMainWindow { - - static { - qtjava.initialize(); - kdejava.initialize(); - } - - TDEApplication kApp = null; - - /** Creates a new instance of KdeMenuSample */ - public KdeMenuSample(TDEApplication kApp) { - super(null,"Menu Sample",1); - this.kApp = kApp; - setCaption("TDE Tutorial"); - createMenu(); - TQTextView centralWidget = createTextView(); - - this.setCentralWidget(centralWidget); - } - - - /** - * creates the file menu - */ - private TQPopupMenu createFileMenu() { - TQPopupMenu fileMenu = new TQPopupMenu(this); - fileMenu.insertItem("&Open",this,this.SLOT("fileOpen()")); - fileMenu.insertItem("&Save",this,this.SLOT("fileSave()")); - fileMenu.insertItem("&Quit",kApp,kApp.SLOT("quit()")); - return fileMenu; - } - - /** - * creates the about menu - */ - private TQPopupMenu createAboutMenu() { - StringBuffer aboutText = new StringBuffer(); - - aboutText.append("Menu Example: \n "); - aboutText.append("Originally written by Antonio Larrosa Jimenez larossa@kde.org \n"); - aboutText.append("Translated to Java by Werner Punz werpu@gmx.at \n"); - aboutText.append("Simple TDE Tutorial\n"); - aboutText.append("This tutorial comes with ABSOLUTELY NO WARRANTY\n"); - aboutText.append("This is free software, and you are welcome to redistribute it\n"); - aboutText.append("under certain conditions\n"); - - TQPopupMenu aboutMenu = helpMenu(aboutText.toString(),true); - - return aboutMenu; - } - - /** - * creates the menu - */ - private void createMenu() { - KMenuBar mainMenu = kmenuBar(); - mainMenu.insertItem("&File",createFileMenu()); - mainMenu.insertSeparator(); - mainMenu.insertItem("&About",createAboutMenu()); - } - - /** - * creates the textview of the window - */ - private TQTextView createTextView() { - StringBuffer textBuf = new StringBuffer(); - textBuf.append("<H2>Hello World !</H2><BR>This is a simple"); - textBuf.append(" window with <I><font size=5><B>R<font color=red"); - textBuf.append(" size=5>ich </font><font color=blue size=5>Text"); - textBuf.append("</font></B></I> capabilities<BR>Try to resize"); - textBuf.append(" this window, all this is automatic !</H2>"); - - TQTextView mainTextView = new TQTextView(this,""); - mainTextView.setText(textBuf.toString()); - - - return mainTextView; - } - - //-------------------------------------------------------------- - //Slots - //-------------------------------------------------------------- - public void fileOpen() { - //System.out.println("File Open"); - KURL filename = KFileDialog.getOpenURL("", "*", this,"Open File" ); - String msg = "Now this app should open the url " + filename.url(); - KMessageBox.information(this , msg, "Information" , "fileOpenInformationDialog" ); - } - - public void fileSave() { - KURL filename = KFileDialog.getSaveURL( "" , "*", this, "Save File" ); - } - - //---------------------------------------------------------------- - // main method - //---------------------------------------------------------------- - public static void main(String [] argv) { - TDECmdLineArgs.init(argv, "menuapp", "MenuApp", - "A simple menu example", "0.1"); - TDEApplication menuApp = new TDEApplication(); - KdeMenuSample mainWnd = new KdeMenuSample(menuApp); - - mainWnd.resize(100,300); - menuApp.setMainWidget(mainWnd); - - mainWnd.show(); - menuApp.exec(); - } -} diff --git a/kdejava/koala/test/kprogress/KProgressTest.java b/kdejava/koala/test/kprogress/KProgressTest.java deleted file mode 100644 index ccb1d267..00000000 --- a/kdejava/koala/test/kprogress/KProgressTest.java +++ /dev/null @@ -1,88 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * Class to test KProgress widget. - * - * This is a translation to java from kprogresstest.cpp in the tests library - * of tdeui source. - * - * @see KProgress - * @see TDEApplication - * - * @author orignal unknown, java translation Kenneth J. Pouncey, kjpou@hotmail.com - * @version 0.1 - */ - -public class KProgressTest { - - static String description = "Java KProgress test program"; - static String[][] options = { }; - static String VERSION = "0.1"; - - public static void main(String[] cmdLineArgs) { - - TDEAboutData aboutData = new TDEAboutData( "kprogresstest", "KProgressTest", - VERSION, description, TDEAboutData.License_GPL, - "(c) 2002, Kenneth J. Pouncey"); - aboutData.addAuthor("Kenneth J. Pouncey",null, "kjpou@hotmail.com"); - TDECmdLineArgs.init( cmdLineArgs, aboutData ); - TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. - - TDEApplication app = new TDEApplication(); - - // parse the args - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - - MyWidget mine = new MyWidget(); - - mine.setCaption(description); - - app.setMainWidget(mine); - mine.show(); - - app.exec(); - - return; - } - - private static class MyWidget extends TQWidget { - - private KProgress Progress; - static int fwd = 0; - static int back = 1; - static int direction = fwd; - - public MyWidget () { - super(); - setFixedSize(440, 80); - Progress = new KProgress(this); - Progress.resize(400, 40); - Progress.move(20, 20); - startTimer(50); - } - - public void timerEvent(TQTimerEvent timer) { - - if (direction == fwd) { - if (Progress.progress() == Progress.totalSteps()) - direction = back; - else - Progress.advance(1); - } - else { - if (Progress.progress() == 0) { /*Progress.minValue()*/ - direction = fwd; - } - else - Progress.advance(-1); - } - } - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/ksystemtray/Test.java b/kdejava/koala/test/ksystemtray/Test.java deleted file mode 100644 index e1fd9c7e..00000000 --- a/kdejava/koala/test/ksystemtray/Test.java +++ /dev/null @@ -1,28 +0,0 @@ -import org.kde.koala.*; -import org.kde.qt.*; - -public class Test { - static String description = "Systemtray test application for Java"; - static String[][] options = {{ "+[File]", "image file to open", null }}; -// static String[][] options = new String[0][0];//{{ null, null, null }}; - - public static void main(String[] argv){ - TDEAboutData aboutData = new TDEAboutData( "test", "Test", - "0.1", description, TDEAboutData.License_GPL, - "(C) 2002 Gert-Jan van der Heiden"); - TDECmdLineArgs.init( argv, aboutData ); - TDECmdLineArgs.addCmdLineOptions(options); - System.out.println("1"); - TDEApplication app = new TDEApplication(); - System.out.println("2"); - KSystemTray systemTrayIcon = new KSystemTray(null, "test"); - System.out.println("3"); - systemTrayIcon.show(); - app.exec(); - System.exit(0); - } - static { - qtjava.initialize(); - kdejava.initialize(); - } -} diff --git a/kdejava/koala/test/simplebrowser/KSimpleBrowser.java b/kdejava/koala/test/simplebrowser/KSimpleBrowser.java deleted file mode 100644 index b859f60d..00000000 --- a/kdejava/koala/test/simplebrowser/KSimpleBrowser.java +++ /dev/null @@ -1,65 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * Class KSimpleBrowser is the main application window. - * - * Taken from KDE 2.0 Development book - * - * Rendering HTML Files - * - * A Simple Web Browser - A feature-limited Web Browser. - * - * @see TDEMainWindow - * @see TDEApplication - * @see TDEHTMLPart - * - * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com - * @version 0.1 - */ - -public class KSimpleBrowser extends TDEMainWindow { - - - static final int URLLined = 1; - - TDEHTMLPart tdehtmlpart; - - public KSimpleBrowser (String name) { - - super(null,name,0); - - toolBar().insertLined( "", URLLined, SIGNAL("returnPressed()"), - this, SLOT ("slotNewURL()")); - - - toolBar().setItemAutoSized(URLLined); - - tdehtmlpart = new TDEHTMLPart(this); - tdehtmlpart.begin(); - - tdehtmlpart.write("<HTML><BODY><H1>KSimpleBrowser</H1>" + - "<P>To load a web page, type its URL in the line " + - "edit box and press enter,</P>" + - "</BODY></HTML>"); - - tdehtmlpart.end(); - - setCaption("KDE 2 Development book example - KSimpleBrowser"); - - setCentralWidget(tdehtmlpart.view()); - - } - - public void slotNewURL () { - - tdehtmlpart.openURL(new KURL(this.toolBar().getLinedText(URLLined))) ; - } - - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/simplebrowser/Main.java b/kdejava/koala/test/simplebrowser/Main.java deleted file mode 100644 index 2964f45f..00000000 --- a/kdejava/koala/test/simplebrowser/Main.java +++ /dev/null @@ -1,40 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * Main class. - * - * Taken from KDE 2.0 Development book - * - * Rendering HTML Files - * - * A Simple Web Browser - * - * - * @see TDEApplication - * - * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com - * @version 0.1 - */ - -public class Main { - - public static void main(String[] cmdLineArgs) { - - TDECmdLineArgs.init(cmdLineArgs, "ksimplebrowser", "KSimpleBrowser", - "A KDE 3 Development Example - KSimpleBrowser", "0.1"); - TDEApplication app = new TDEApplication(); - KSimpleBrowser kbrowser = new KSimpleBrowser("KSimpleBrowser"); - - kbrowser.show(); - - app.exec(); - return; - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/tdefontdialog/TDEFontDialogTest.java b/kdejava/koala/test/tdefontdialog/TDEFontDialogTest.java deleted file mode 100644 index 22585369..00000000 --- a/kdejava/koala/test/tdefontdialog/TDEFontDialogTest.java +++ /dev/null @@ -1,164 +0,0 @@ -import java.util.*; - -import org.kde.qt.*; -import org.kde.koala.*; -/* - $Id$ - - Requires the Qt widget libraries, available at no cost at - http://www.troll.no - - Copyright (C) 1996 Bernd Johannes Wuebben - wuebben@math.cornell.edu - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -*/ - -/** - * Class to test TDEFontDialog widgets. - * - * This is a translation to java from tdefontdialogtest.cpp in the tests library - * of tdeui source. - * - * @see TDEFontDialog - * @see TDEApplication - * @see TDEConfig - * - * @author Bernd Johannes Wuebben, java translation Kenneth J. Pouncey, kjpou@hotmail.com - * @version 0.1 - */ -public class TDEFontDialogTest { - - static String description = "Java TDEFontDialog test program."; - static String[][] options = { }; - static String VERSION = "0.1"; - - public static void main(String[] cmdLineArgs) { - - TDEAboutData aboutData = new TDEAboutData( "tdefontdialogtest", "TDEFontDialogTest", - VERSION, description, TDEAboutData.License_GPL, - "(c) 2002, Kenneth J. Pouncey"); - aboutData.addAuthor("Kenneth J. Pouncey",null, "kjpou@hotmail.com"); - TDECmdLineArgs.init( cmdLineArgs, aboutData ); - TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. - - TDEApplication app = new TDEApplication(); - - // parse the args - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - - TDEConfig aConfig = new TDEConfig(); - aConfig.setGroup( "TDEFontDialog-test" ); - - // parameters are Font name, Font Point Size, Font Style, Font Italic - app.setFont(new TQFont("Helvetica",12,TQFont.Normal,false)); -// app.setFont(new TQFont("Times",18,TQFont.Bold,true)); - - TQFont font = aConfig.readFontEntry( "Chosen" ); - - int nRet = TDEFontDialog.getFont(font); - - // return values from TDEFontDialog - // nRet = 1 for OK Button - // nRet = 0 for Cancel button - - if (nRet == 1) { // print out font values - System.out.println("Ok Button pressed from TDEFontDialog "); - System.out.println(" Font name selected: " + font.family()); - System.out.println(" Font Point Size selected: " + font.pointSize()); - System.out.println(" Font Bold?: " + font.bold()); - System.out.println(" Font Italic?: " + font.italic()); - System.out.println(" Font Underline?: " + font.underline()); -// System.out.println(" Font Character Set: " + getCharacterSet(font.charSet())); - System.out.println(" Font raw name selected: " + font.rawName()); - } - - int[] flags = { 0 }; - - //Static method for TDEFontDialog needs to be generated - nRet = TDEFontDialog.getFontDiff(font, flags); - if (nRet == 1) { - System.out.println("Ok Button pressed from TDEFontDialog diff dialog "); - System.out.println(" Font diff flags: " + flags[0]); - System.out.println(" Font name selected: " + font.family()); - System.out.println(" Font Point Size selected: " + font.pointSize()); - System.out.println(" Font Bold?: " + font.bold()); - System.out.println(" Font Italic?: " + font.italic()); - System.out.println(" Font Underline?: " + font.underline()); - System.out.println(" Font raw name selected: " + font.rawName()); - } - - // This should save off the font chose in the configuration so it can - // be read next time. - aConfig.writeEntry( "Chosen", font,true,false,false ); - - aConfig.sync(); - - app.exec(); - return; - } - - /** - * Returns the string representation of the character set. - * Others should be added here. - */ -/* private static String getCharacterSet (int cs) { - - switch (cs) { - - case TQFont.ISO_8859_1 : - return "ISO_8859_1"; - case TQFont.ISO_8859_2 : - return "ISO_8859_2"; - case TQFont.ISO_8859_3 : - return "ISO_8859_3"; - case TQFont.ISO_8859_4 : - return "ISO_8859_4"; - case TQFont.ISO_8859_5 : - return "ISO_8859_5"; - case TQFont.ISO_8859_6 : - return "ISO_8859_6"; - case TQFont.ISO_8859_7 : - return "ISO_8859_7"; - case TQFont.ISO_8859_8 : - return "ISO_8859_8"; - case TQFont.ISO_8859_9 : - return "ISO_8859_9"; - case TQFont.ISO_8859_10 : - return "ISO_8859_10"; - case TQFont.ISO_8859_11 : - return "ISO_8859_11"; - case TQFont.ISO_8859_12 : - return "ISO_8859_12"; - case TQFont.ISO_8859_13 : - return "ISO_8859_13"; - case TQFont.ISO_8859_14 : - return "ISO_8859_14"; - case TQFont.ISO_8859_15 : - return "ISO_8859_15"; - - // more should be added - default : - return " other "; - - } - } */ - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/test/tdeioslave/KioslaveTest.java b/kdejava/koala/test/tdeioslave/KioslaveTest.java deleted file mode 100644 index 5966430c..00000000 --- a/kdejava/koala/test/tdeioslave/KioslaveTest.java +++ /dev/null @@ -1,589 +0,0 @@ - /* - This file is or will be part of KDE desktop environment - - Copyright 1999 Matt Koss <koss@miesto.sk> - - It is licensed under GPL version 2. - - If it is part of KDE libraries than this file is licensed under - LGPL version 2. - */ - -import org.kde.qt.*; -import org.kde.koala.*; -import java.io.ByteArrayOutputStream; - -class KioslaveTest extends TDEMainWindow { - - static final int List = 0; - static final int ListRecursive = 1; - static final int Stat = 2; - static final int Get = 3; - static final int Put = 4; - static final int Copy = 5; - static final int Move = 6; - static final int Delete = 7; - static final int Shred = 8; - static final int Mkdir = 9; - static final int Mimetype = 10; - - static final int ProgressNone = 0; - static final int ProgressDefault = 1; - static final int ProgressStatus = 2; - - // info stuff - TQLabel lb_from; - TQLineEdit le_source; - - TQLabel lb_to; - TQLineEdit le_dest; - - // operation stuff - TQButtonGroup opButtons; - - TQRadioButton rbList; - TQRadioButton rbListRecursive; - TQRadioButton rbStat; - TQRadioButton rbGet; - TQRadioButton rbPut; - TQRadioButton rbCopy; - TQRadioButton rbMove; - TQRadioButton rbDelete; - TQRadioButton rbShred; - TQRadioButton rbMkdir; - TQRadioButton rbMimetype; - - // progress stuff - TQButtonGroup progressButtons; - - TQRadioButton rbProgressNone; - TQRadioButton rbProgressDefault; - TQRadioButton rbProgressStatus; - - TQPushButton pbStart; - TQPushButton pbStop; - - TQPushButton close; - - -private Job job; -private TQWidget main_widget; - -private StatusbarProgress statusProgress; - -private int selectedOperation; -private int progressMode; -private int putBuffer; -private Slave slave; - - /* - This file is or will be part of KDE desktop environment - - Copyright 1999 Matt Koss <koss@miesto.sk> - - It is licensed under GPL version 2. - - If it is part of KDE libraries than this file is licensed under - LGPL version 2. - */ - - - - - -KioslaveTest( String src, String dest, int op, int pr ) -{ - super(null, ""); - job = null; - - main_widget = new TQWidget( this, ""); - TQBoxLayout topLayout = new TQVBoxLayout( main_widget, 10, 5 ); - - TQGridLayout grid = new TQGridLayout( 2, 2, 10 ); - topLayout.addLayout( grid ); - - grid.setRowStretch(0,1); - grid.setRowStretch(1,1); - - grid.setColStretch(0,1); - grid.setColStretch(1,100); - - lb_from = new TQLabel( "From :", main_widget ); - grid.addWidget( lb_from, 0, 0 ); - - le_source = new TQLineEdit( main_widget ); - grid.addWidget( le_source, 0, 1 ); - le_source.setText( src ); - - lb_to = new TQLabel( "To :", main_widget ); - grid.addWidget( lb_to, 1, 0 ); - - le_dest = new TQLineEdit( main_widget ); - grid.addWidget( le_dest, 1, 1 ); - le_dest.setText( dest ); - - // Operation groupbox & buttons - opButtons = new TQButtonGroup( "Operation", main_widget ); - topLayout.addWidget( opButtons, 10 ); - connect( opButtons, SIGNAL("clicked(int)"), SLOT("changeOperation(int)") ); - - TQBoxLayout hbLayout = new TQHBoxLayout( opButtons, 15 ); - - rbList = new TQRadioButton( "List", opButtons ); - opButtons.insert( rbList, List ); - hbLayout.addWidget( rbList, 5 ); - - rbListRecursive = new TQRadioButton( "ListRecursive", opButtons ); - opButtons.insert( rbListRecursive, ListRecursive ); - hbLayout.addWidget( rbListRecursive, 5 ); - - rbStat = new TQRadioButton( "Stat", opButtons ); - opButtons.insert( rbStat, Stat ); - hbLayout.addWidget( rbStat, 5 ); - - rbGet = new TQRadioButton( "Get", opButtons ); - opButtons.insert( rbGet, Get ); - hbLayout.addWidget( rbGet, 5 ); - - rbPut = new TQRadioButton( "Put", opButtons ); - opButtons.insert( rbPut, Put ); - hbLayout.addWidget( rbPut, 5 ); - - rbCopy = new TQRadioButton( "Copy", opButtons ); - opButtons.insert( rbCopy, Copy ); - hbLayout.addWidget( rbCopy, 5 ); - - rbMove = new TQRadioButton( "Move", opButtons ); - opButtons.insert( rbMove, Move ); - hbLayout.addWidget( rbMove, 5 ); - - rbDelete = new TQRadioButton( "Delete", opButtons ); - opButtons.insert( rbDelete, Delete ); - hbLayout.addWidget( rbDelete, 5 ); - - rbShred = new TQRadioButton( "Shred", opButtons ); - opButtons.insert( rbShred, Shred ); - hbLayout.addWidget( rbShred, 5 ); - - rbMkdir = new TQRadioButton( "Mkdir", opButtons ); - opButtons.insert( rbMkdir, Mkdir ); - hbLayout.addWidget( rbMkdir, 5 ); - - rbMimetype = new TQRadioButton( "Mimetype", opButtons ); - opButtons.insert( rbMimetype, Mimetype ); - hbLayout.addWidget( rbMimetype, 5 ); - - opButtons.setButton( op ); - changeOperation( op ); - - // Progress groupbox & buttons - progressButtons = new TQButtonGroup( "Progress dialog mode", main_widget ); - topLayout.addWidget( progressButtons, 10 ); - connect( progressButtons, SIGNAL("clicked(int)"), SLOT("changeProgressMode(int)") ); - - hbLayout = new TQHBoxLayout( progressButtons, 15 ); - - rbProgressNone = new TQRadioButton( "None", progressButtons ); - progressButtons.insert( rbProgressNone, ProgressNone ); - hbLayout.addWidget( rbProgressNone, 5 ); - - rbProgressDefault = new TQRadioButton( "Default", progressButtons ); - progressButtons.insert( rbProgressDefault, ProgressDefault ); - hbLayout.addWidget( rbProgressDefault, 5 ); - - rbProgressStatus = new TQRadioButton( "Status", progressButtons ); - progressButtons.insert( rbProgressStatus, ProgressStatus ); - hbLayout.addWidget( rbProgressStatus, 5 ); - - progressButtons.setButton( pr ); - changeProgressMode( pr ); - - // statusbar progress widget - statusProgress = new StatusbarProgress( statusBar() ); - statusBar().addWidget( statusProgress, 0, true ); - - // run & stop butons - hbLayout = new TQHBoxLayout( topLayout, 15 ); - - pbStart = new TQPushButton( "&Start", main_widget ); - pbStart.setFixedSize( pbStart.sizeHint() ); - connect( pbStart, SIGNAL("clicked()"), SLOT("startJob()") ); - hbLayout.addWidget( pbStart, 5 ); - - pbStop = new TQPushButton( "Sto&p", main_widget ); - pbStop.setFixedSize( pbStop.sizeHint() ); - pbStop.setEnabled( false ); - connect( pbStop, SIGNAL("clicked()"), SLOT("stopJob()") ); - hbLayout.addWidget( pbStop, 5 ); - - // close button - close = new TQPushButton( "&Close", main_widget ); - close.setFixedSize( close.sizeHint() ); - connect(close, SIGNAL("clicked()"), this, SLOT("slotQuit()")); - - topLayout.addWidget( close, 5 ); - - main_widget.setMinimumSize( main_widget.sizeHint() ); - setCentralWidget( main_widget ); - - slave = null; -// slave = Scheduler.getConnectedSlave(new KURL("ftp://ftp.kde.org")); - Scheduler.connect(SIGNAL("slaveConnected(Slave)"), - this, SLOT("slotSlaveConnected()")); - Scheduler.connect(SIGNAL("slaveError(Slave,int,String)"), - this, SLOT("slotSlaveError()")); -} - - -protected void closeEvent( TQCloseEvent e ){ - slotQuit(); -} - - -void slotQuit(){ - if ( job != null ) { - job.kill( true ); // kill the job quietly - } - if (slave != null ) - Scheduler.disconnectSlave(slave); - TDEApplication.kApplication().quit(); -} - - -void changeOperation( int id ) { - // only two urls for copy and move - boolean enab = rbCopy.isChecked() || rbMove.isChecked(); - - le_dest.setEnabled( enab ); - - selectedOperation = id; -} - - -void changeProgressMode( int id ) { - progressMode = id; - - if ( progressMode == ProgressStatus ) { - statusBar().show(); - } else { - statusBar().hide(); - } -} - - -void startJob() { - String sCurrent = TQDir.currentDirPath()+"/"; - KURL.encode_string(sCurrent); - String sSrc = le_source.text(); - KURL src = new KURL( new KURL(sCurrent), sSrc ); - - if ( !src.isValid() ) { - TQMessageBox.critical(this, "Kioslave Error Message", "Source URL is malformed" ); - return; - } - - String sDest = le_dest.text(); - KURL dest = new KURL( new KURL(sCurrent), sDest ); - - if ( !dest.isValid() && - ( selectedOperation == Copy || selectedOperation == Move ) ) { - TQMessageBox.critical(this, "Kioslave Error Message", - "Destination URL is malformed" ); - return; - } - - pbStart.setEnabled( false ); - - boolean observe = true; - if (progressMode != ProgressDefault) { - observe = false; - } - - SimpleJob myJob = null; - - switch ( selectedOperation ) { - case List: - myJob = TDEIO.listDir( src ); -// connect(myJob, SIGNAL(" entries( Job, const TDEIO.UDSEntryList&)"), -// SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)")); - break; - - case ListRecursive: - myJob = TDEIO.listRecursive( src ); -// connect(myJob, SIGNAL(" entries( TDEIO.Job, const TDEIO.UDSEntryList&)"), - // SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)")); - break; - - case Stat: - myJob = TDEIO.stat( src ); - break; - - case Get: - myJob = TDEIO.get( src, true ); - connect(myJob, SIGNAL("data( Job, byte[])"), - SLOT("slotData( Job, byte[])")); - break; - - case Put: - putBuffer = 0; - myJob = TDEIO.put( src, -1, true, false); - connect(myJob, SIGNAL("dataReq( Job, ByteArrayOutputStream)"), - SLOT("slotDataReq( Job, ByteArrayOutputStream)")); - break; - - case Copy: - job = TDEIO.copy( src, dest, observe ); - break; - - case Move: - job = TDEIO.move( src, dest, observe ); - break; - - case Delete: - job = TDEIO.del( src, false, observe ); - break; - - case Shred: - job = TDEIO.del(src, true, observe); - break; - - case Mkdir: - myJob = TDEIO.mkdir( src ); - break; - - case Mimetype: - myJob = TDEIO.mimetype( src ); - break; - } - if (myJob != null) - { - if (slave != null) - Scheduler.assignJobToSlave(slave, myJob); - job = myJob; - } - - connect( job, SIGNAL(" result( Job )"), - SLOT(" slotResult( Job )") ); - - connect( job, SIGNAL(" canceled( Job )"), - SLOT(" slotResult( Job )") ); - - if (progressMode == ProgressStatus) { - statusProgress.setJob( job ); - } - - pbStop.setEnabled( true ); -} - - -void slotResult(Job _job ) -{ - if ( _job.error() != 0 ) - { - _job.showErrorDialog(); - } - else if ( selectedOperation == Stat ) - { -// UDSEntry entry = ((TDEIO.StatJob)_job).statResult(); -// printUDSEntry( entry ); - } - else if ( selectedOperation == Mimetype ) - { - System.out.println("mimetype is " + ((MimetypeJob)_job).mimetype()); - } - - if (job == _job) - job = null; - pbStart.setEnabled( true ); - pbStop.setEnabled( false ); -} - -void slotSlaveConnected() -{ - System.out.println("Slave connected."); -} - -void slotSlaveError() -{ - System.out.println("Error connected."); - slave = null; -} - -/* -void UDSEntry & entry ) -{ - TDEIO.UDSEntry.ConstIterator it = entry.begin(); - for( ; it != entry.end(); it++ ) { - switch ((it).m_uds) { - case TDEIO.UDS_FILE_TYPE: - kdDebug() << "File Type : " << (mode_t)((it).m_long) << endl; - if ( S_ISDIR( (mode_t)((it).m_long) ) ) - { - kdDebug() << "is a dir" << endl; - } - break; - case TDEIO.UDS_ACCESS: - kdDebug() << "Access permissions : " << (mode_t)((it).m_long) << endl; - break; - case TDEIO.UDS_USER: - kdDebug() << "User : " << ((it).m_str.ascii() ) << endl; - break; - case TDEIO.UDS_GROUP: - kdDebug() << "Group : " << ((it).m_str.ascii() ) << endl; - break; - case TDEIO.UDS_NAME: - kdDebug() << "Name : " << ((it).m_str.ascii() ) << endl; - //m_strText = decodeFileName( (it).m_str ); - break; - case TDEIO.UDS_URL: - kdDebug() << "URL : " << ((it).m_str.ascii() ) << endl; - break; - case TDEIO.UDS_MIME_TYPE: - kdDebug() << "MimeType : " << ((it).m_str.ascii() ) << endl; - break; - case TDEIO.UDS_LINK_DEST: - kdDebug() << "LinkDest : " << ((it).m_str.ascii() ) << endl; - break; - } - } -} - -void UDSEntryList& list) { - - UDSEntryListConstIterator it=list.begin(); - for (; it != list.end(); ++it) { - UDSEntry.ConstIterator it2 = (it).begin(); - for( ; it2 != (it).end(); it2++ ) { - if ((it2).m_uds == UDS_NAME) - kdDebug() << "" << ( it2 ).m_str << endl; - } - } -} -*/ - -void slotData(Job job, byte[] data) -{ - if (data.length == 0) - { - System.out.println("Data: <End>"); - } - else - { - String myString = new String(data); - System.out.println("Data: \"" + myString + "\""); - } -} - -void slotDataReq(Job job, ByteArrayOutputStream data) -{ - String[] fileDataArray = - { - "Hello world\n", - "This is a test file\n", - "You can safely delete it.\n", - null - }; - String fileData = fileDataArray[putBuffer++]; - - if (fileData == null) - { - System.out.println("DataReq: <End>"); - return; - } - - try { - data.write(fileData.getBytes()); - } catch (java.io.IOException e) { - ; - } - - System.out.println("DataReq: \"" + fileData + "\""); -} - -void stopJob() { - System.out.println("KioslaveTest.stopJob()"); - job.kill(); - job = null; - - pbStop.setEnabled( false ); - pbStart.setEnabled( true ); -} - -static String version = "v0.0.0 0000"; // :-) -static String description = "Test for tdeioslaves"; -static String[][] options = -{ - { "s", null, null }, - { "src <src>", "Source URL", "" }, - { "d", null, null }, - { "dest <dest>", "Destination URL", "" }, - { "o", null, null }, - { "operation <operation>", "Operation (list,listrecursive,stat,get,copy,move,del,shred,mkdir)", "copy" }, - { "p", null, null }, - { "progress <progress>", "Progress Type (none,default,status)", "default" } -}; - -public static void main(String[] argv) { - TDECmdLineArgs.init( argv, "tdeioslavetest", "KIOSlaveTest", description, version ); - TDECmdLineArgs.addCmdLineOptions( options ); - TDEApplication app = new TDEApplication(); - - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - - String src = args.getOption("src"); - String dest = args.getOption("dest"); - - int op = 0; - int pr = 0; - - String tmps; - - tmps = args.getOption("operation"); - if ( tmps.equals("list")) { - op = KioslaveTest.List; - } else if ( tmps.equals("listrecursive")) { - op = KioslaveTest.ListRecursive; - } else if ( tmps.equals("stat")) { - op = KioslaveTest.Stat; - } else if ( tmps.equals("get")) { - op = KioslaveTest.Get; - } else if ( tmps.equals("copy")) { - op = KioslaveTest.Copy; - } else if ( tmps.equals("move")) { - op = KioslaveTest.Move; - } else if ( tmps.equals("del")) { - op = KioslaveTest.Delete; - } else if ( tmps.equals("shred")) { - op = KioslaveTest.Shred; - } else if ( tmps.equals("mkdir")) { - op = KioslaveTest.Mkdir; - } else TDECmdLineArgs.usage("unknown operation"); - - tmps = args.getOption("progress"); - if ( tmps.equals("none")) { - pr = KioslaveTest.ProgressNone; - } else if ( tmps.equals("default")) { - pr = KioslaveTest.ProgressDefault; - } else if ( tmps.equals("status")) { - pr = KioslaveTest.ProgressStatus; - } else TDECmdLineArgs.usage("unknown progress mode"); - - args.clear(); // Free up memory - - KioslaveTest test = new KioslaveTest( src, dest, op, pr ); - test.show(); - // Bug in KTMW / Qt / layouts ? - test.resize( test.sizeHint() ); - - app.setMainWidget(test); - app.exec(); - return; -} - - static { - qtjava.initialize(); - kdejava.initialize(); - } -} - - |